{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"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":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"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":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"SwitchModelModal.SwitchModelModal (cyclomatic 107): SwitchModelModal.SwitchModelModal has cyclomatic complexity 107 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 73 belong to 22 function items inside it that branch. 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":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f746808a3a536d9fa652a14eae5264487aa9332f492d056d69040cc768a40b60"}},{"ruleId":"D1","level":"warning","message":{"text":"McpAppRenderer.McpAppRenderer (cyclomatic 104): McpAppRenderer.McpAppRenderer has cyclomatic complexity 104 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 72 belong to 25 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":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb7b50770db6c11c86a708f956196aa64fa6e2ce0f7b6ea4b73e73c49356c90"}},{"ruleId":"D1","level":"warning","message":{"text":"main.appMain (cyclomatic 94): main.appMain has cyclomatic complexity 94 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 46 belong to 17 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f43ff6e4ab1bd25aebab8ed2aa59fd6d2215aea740f33a9c8fd1a90e849474"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::openai::response_to_streaming_message (cyclomatic 93): goose_provider_types::formats::openai::response_to_streaming_message has cyclomatic complexity 93 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9a44e5f3b760c7609bb93ae35816dfbc1e7d7ec6f2b25de83c1d64270805ea"}},{"ruleId":"D1","level":"warning","message":{"text":"MentionPopover.MentionPopover (cyclomatic 80): MentionPopover.MentionPopover has cyclomatic complexity 80 (threshold 15). Most of this is not in the body itself: 9 of the 80 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 189, a function literal at line 461, a function literal at line 528, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MentionPopover.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6ca036c52960a14ad7d29c3e54d83f018dfc777818aab2fe8bf7ede85b284e"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateEditRecipeModal.CreateEditRecipeModal (cyclomatic 80): CreateEditRecipeModal.CreateEditRecipeModal has cyclomatic complexity 80 (threshold 15). Most of this is not in the body itself: 15 of the 80 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 211, a function literal at line 126, a function literal at line 346, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"977ea79e0512e3f19c2a31204d6a6e80ee8e38778bd21a8cfc4815871ce182aa"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionStorage::apply_update (cyclomatic 79): SessionStorage::apply_update has cyclomatic complexity 79 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a42d582d2e199a34747aaf02e0a0eeac9acdca916637dd02d5ffdb75e8d9f4c"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseChat.BaseChat (cyclomatic 75): BaseChat.BaseChat has cyclomatic complexity 75 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 45 belong to 17 function items inside it that branch. 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":"ui/desktop/src/components/BaseChat.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"602521cb5c6d09071272c4d4d2366b55c5f5448dc42da5852dc060c41c80af11"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatInput.ChatInput (cyclomatic 70): ChatInput.ChatInput has cyclomatic complexity 70 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ChatInput.ChatInput::handleHistoryNavigation) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"544e0a126b5a0f832167b6bc43198dba1eabe3907c3cf847ddff9c0ce5327a8a"}},{"ruleId":"D1","level":"warning","message":{"text":"RecipesView.RecipesView (cyclomatic 69): RecipesView.RecipesView has cyclomatic complexity 69 (threshold 15). Most of this is not in the body itself: 14 of the 69 points are its own statements and the rest belongs to 20 function items inside it that branch (RecipeItem, handleSaveSlashCommand, renderContent, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"364281988a976b366f0b96dba6cab61e3d3cec6123d06313870f9b375bd405db"}},{"ruleId":"D1","level":"warning","message":{"text":"main.createChat (cyclomatic 66): main.createChat has cyclomatic complexity 66 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 24 belong to 12 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":"ui/desktop/src/main.ts"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae657d7968957e500cc14fa71c5dd597b7fff55199ec522fde3315198a38258"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleModal.ScheduleModal (cyclomatic 64): ScheduleModal.ScheduleModal has cyclomatic complexity 64 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 41 belong to 11 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":"ui/desktop/src/components/schedule/ScheduleModal.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf41df0dfb94d1500e8a08fb490a16f256a857575b7eca07b05aac86da0460f"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::anthropic::response_to_streaming_message (cyclomatic 62): goose_provider_types::formats::anthropic::response_to_streaming_message has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2c40676d2126a0ebe8a43c8edd7bce0bfa84d74f5fcbfdf3d2e00b4ad0bbd1"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderConfigurationModal.ProviderConfigurationModal (cyclomatic 62): ProviderConfigurationModal.ProviderConfigurationModal has cyclomatic complexity 62 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 26 belong to 11 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":"ui/desktop/src/components/settings/providers/modal/ProviderConfigurationModal.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c173fcd6ff4420d76f3e26d0fa8668c21b179dbdc832aa2f485db2b0a235f1e0"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateSection.UpdateSection (cyclomatic 57): UpdateSection.UpdateSection has cyclomatic complexity 57 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 37 belong to 10 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/UpdateSection.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee16942436390ecb621d5155c5f48834a74f0fc582ef0d09f06d80d3e7c923cd"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageQueue.MessageQueue (cyclomatic 56): MessageQueue.MessageQueue has cyclomatic complexity 56 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 40 belong to 9 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":"ui/desktop/src/components/MessageQueue.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"56750ba8062998f9566db238f67480d6a1ed3d2d54831ebb738f2d9d005fa5c7"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultProviderSetupForm.DefaultProviderSetupForm (cyclomatic 55): DefaultProviderSetupForm.DefaultProviderSetupForm has cyclomatic complexity 55 (threshold 15). Most of this is not in the body itself: 10 of the 55 points are its own statements and the rest belongs to 13 function items inside it that branch (getPlaceholder, a function literal at line 100, getFieldLabel, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/DefaultProviderSetupForm.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0f5bfc12dc23130c5011eb746e9464353686151dda3c34821224a80362f805"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSchemaForm.JsonSchemaForm (cyclomatic 55): JsonSchemaForm.JsonSchemaForm has cyclomatic complexity 55 (threshold 15). Most of this is not in the body itself: 4 of the 55 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 106, a function literal at line 82, renderField, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ui/JsonSchemaForm.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c795dc9052cfbeb652b1b97226dc19ab0e6a5dfe34d35196a5ac4c61977f28a"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::openai::format_messages_with_options (cyclomatic 53): goose_provider_types::formats::openai::format_messages_with_options has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e85629c53ca6a291fa90555ef51da228e07346e0bf6325f08a025f2bf4ea6e6"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchView.SearchView (cyclomatic 53): SearchView.SearchView has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 4 of the 53 points are its own statements and the rest belongs to 18 function literals inside it that branch (lines 314, 114, 182, \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":"ui/desktop/src/components/conversation/SearchView.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"97082a9e7409eeee865a9d2107687a70b38fd9ac3e9b2c30cb9c965ae603eb79"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionListView.SessionListView (cyclomatic 52): SessionListView.SessionListView has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 4 of the 52 points are its own statements and the rest belongs to 18 function items inside it that branch (renderActualContent, a function literal at line 378, a function literal at line 349, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84bdfb639dbc92336990db955b6655fddbff0fafddbe873a6a32ed151c4fe46"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::agents::platform_extensions::analyze::parser::extract_inheritance (cyclomatic 51): goose::agents::platform_extensions::analyze::parser::extract_inheritance has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"db334862ee9b59629415e2eadf6eb99f890bde5c2c1a6c7925ad70921288eab2"}},{"ruleId":"D1","level":"warning","message":{"text":"CliSession::process_agent_response (cyclomatic 51): CliSession::process_agent_response has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e3634231569bd23ddb224a31ee1ca8443d12dda91cf1ff63068507e230990b"}},{"ruleId":"D1","level":"warning","message":{"text":"index.CopyPageButton (cyclomatic 51): index.CopyPageButton has cyclomatic complexity 51 (threshold 15). Most of this is not in the body itself: 7 of the 51 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 129, handleCopy, a function literal at line 85, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/theme/DocItem/Layout/index.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea601ebd038bb93ec28a0ef4748ef082b519dae441098d1d8916346e8ee57ff7"}},{"ruleId":"D1","level":"warning","message":{"text":"SecurityToggle.SecurityToggle (cyclomatic 50): SecurityToggle.SecurityToggle has cyclomatic complexity 50 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 11 belong to 5 function items inside it that branch. 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":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bdaa1c4390b3a7dc2d1987f19187aa5f5ddd0283983f990f28e9d732795b46"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleDetailView.ScheduleDetailView (cyclomatic 50): ScheduleDetailView.ScheduleDetailView has cyclomatic complexity 50 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 22 belong to 10 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleDetailView.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c1cbe34c0f504ded4a25b39de25931be67ac9e3402ca58958c14455afb1cb7"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomProviderForm.CustomProviderForm (cyclomatic 48): CustomProviderForm.CustomProviderForm has cyclomatic complexity 48 (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 shape REPEATS in the file: one other method here (CustomProviderForm.CustomProviderForm::handleSubmit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"513de8126516f5d7490d8f6eb095225cc2f719da6cbc4e1cbb2e733dff80268f"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalInferenceSettings.LocalInferenceSettings (cyclomatic 47): LocalInferenceSettings.LocalInferenceSettings has cyclomatic complexity 47 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 29 belong to 16 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba8595130e00c3e670350cd192cb291fe94f80da7553f4f4ac1c99491838c58"}},{"ruleId":"D1","level":"warning","message":{"text":"GooseMessage.GooseMessage (cyclomatic 46): GooseMessage.GooseMessage has cyclomatic complexity 46 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/GooseMessage.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd3ea525424af6deeed1fa2e6b114a8ec9e75f980253bab29bb08d2b1b4de6d"}},{"ruleId":"D1","level":"warning","message":{"text":"RecipeFormFields.RecipeFormFields (cyclomatic 46): RecipeFormFields.RecipeFormFields has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 2 of the 46 points are its own statements and the rest belongs to 19 function items inside it that branch (a function literal at line 227, a function literal at line 568, isParameterUsed, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7398a5f5317927b7cca6e8532055c673b2d512d2facad754bb871154e198261"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalModelPicker.LocalModelPicker (cyclomatic 44): LocalModelPicker.LocalModelPicker has cyclomatic complexity 44 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 23 belong to 9 function items inside it that branch. 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":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f4ea62728ca0b3b9a3cb7632268aea3dca691daf6255a996e2150d5038c9a0"}},{"ruleId":"D1","level":"warning","message":{"text":"deeplink-generator.DeeplinkGenerator (cyclomatic 43): deeplink-generator.DeeplinkGenerator has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 10 of the 43 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 68, generateDeeplink, a function literal at line 240, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/pages/deeplink-generator.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"092739e4edb0ee49f2e9263ed0232be08b0ed7dec5b89dc4187919d645eda852"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionActionsHeader.SessionActionsHeader (cyclomatic 43): SessionActionsHeader.SessionActionsHeader has cyclomatic complexity 43 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 27 belong to 11 function literals inside it that branch. 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":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6638d1319fc10f32fa3157d53a13ea97d6a1dc82619748b1c75d33c61f10c5e4"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::anthropic::format_messages_with_options (cyclomatic 42): goose_provider_types::formats::anthropic::format_messages_with_options has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0988c694fd65defe547fe5d8d21f07a8776403a927e5b11bb2d62e970634526b"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCallWithResponse.ToolCallView (cyclomatic 42): ToolCallWithResponse.ToolCallView has cyclomatic complexity 42 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 17 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"498cd01b8db46bcf02a82eadd88864c0a79b9a178add8742e60f4187581519a1"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadManager::download_one_file (cyclomatic 41): DownloadManager::download_one_file has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-download-manager/src/lib.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68318bf02ff4f177afb217b869fd94fd01c1a544fd4542d04e4c2eb5e22e368"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_mcp::computercontroller::pdf_tool::pdf_tool (cyclomatic 40): goose_mcp::computercontroller::pdf_tool::pdf_tool has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (goose_mcp::computercontroller::pdf_tool::pdf_tool::get_image_extension) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/pdf_tool.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae88313b6f42282967b61f9ef9400578f0610ddbb0ac6b07a75fda6a4e29f79"}},{"ruleId":"D1","level":"warning","message":{"text":"SchedulesView.SchedulesView (cyclomatic 40): SchedulesView.SchedulesView has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 14 of the 40 points are its own statements and the rest belongs to 10 function items inside it that branch (handleModalSubmit, a function literal at line 282, handleDeleteSchedule, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65f870fe79c6bc51058cd138f5b0f7e4685499675d8edd213a70efdc74f3170"}},{"ruleId":"D1","level":"warning","message":{"text":"McpAppRenderer.GooseAppFrame (cyclomatic 40): McpAppRenderer.GooseAppFrame has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 1 of the 40 points is its own statement and the rest belongs to 16 function literals inside it that branch (lines 324, 381, 388, \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":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae288bd57834878d018b944f0db30f61ea58cd807f15741b77f272cd80174c12"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::session::export_markdown::tool_response_to_markdown_for_audience (cyclomatic 37): goose::session::export_markdown::tool_response_to_markdown_for_audience has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_markdown.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a261ccc134f75045b1a6803ad8dc7a6128a8a08c35af3202a43e604bf158028"}},{"ruleId":"D1","level":"warning","message":{"text":"CronPicker.CronPicker (cyclomatic 37): CronPicker.CronPicker has cyclomatic complexity 37 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 18 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd3abe9a9d923efe249a2037e242d573a1731eb14f8b0112c8703747ad3c556"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpConnectionHandler::handle_dispatch_from (cyclomatic 36): AcpConnectionHandler::handle_dispatch_from has cyclomatic complexity 36 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/dispatch.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76c552f6d63414359f3b17a2e88b894b0f6b17e8bedf2bbe28d5ac36bd99a90"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeCodeProvider::stream (cyclomatic 36): ClaudeCodeProvider::stream has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/claude_code.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3e2bebb903eb404d408ed2f0fe9d879f4b1d842f406e452d7bb0760ca1dc67"}},{"ruleId":"D1","level":"warning","message":{"text":"ParameterInputModal.ParameterInputModal (cyclomatic 36): ParameterInputModal.ParameterInputModal has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 2 of the 36 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 216, a function literal at line 141, a function literal at line 103, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ParameterInputModal.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e00664c12276466fd1a73c54af50dee510262e4cc44bd1c32237834d3f4150e"}},{"ruleId":"D1","level":"warning","message":{"text":"HuggingFaceModelSearch.HuggingFaceModelSearch (cyclomatic 36): HuggingFaceModelSearch.HuggingFaceModelSearch has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 15 of the 36 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 307, a function literal at line 122, toggleRepo, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2580af9d28aec8f7249123b44cc43735f2775d92f09b3201cb9d35c184e9eef1"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsBottomBar.ModelsBottomBar (cyclomatic 36): ModelsBottomBar.ModelsBottomBar has cyclomatic complexity 36 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 15 belong to 9 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/bottom_bar/ModelsBottomBar.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b1f5f70aa19418b3d23655cc2acd688139c5cfb7b860dcce1649456c4c7ec3"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::agents::reply_parts::stream_response_from_provider (cyclomatic 35): goose::agents::reply_parts::stream_response_from_provider has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/reply_parts.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc89740f29b0cc3afac957b18070e6515bd3fbe1ed80e6ecd7d1bd77d9681284"}},{"ruleId":"D1","level":"warning","message":{"text":"autoUpdater.registerUpdateIpcHandlers (cyclomatic 35): autoUpdater.registerUpdateIpcHandlers has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 2 of the 35 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 81, 222, 277, \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":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f30c9e34b9e0937ea3b9f08688cd200e5d976c5c253f5b4d26809e65976ee1"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_local_inference::llamacpp::inference_native_tools::generate_with_native_tools (cyclomatic 34): goose_local_inference::llamacpp::inference_native_tools::generate_with_native_tools has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/inference_native_tools.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a156359a51142ca4cd2c807f578a1d806bff40657a55a72fe2ed6959a2406c1"}},{"ruleId":"D1","level":"warning","message":{"text":"generate-acp-docs.schemaType (cyclomatic 34): generate-acp-docs.schemaType has cyclomatic complexity 34 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/scripts/generate-acp-docs.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31efe3f84b0ea86737b4fe423413fe33118e98cb169dff7adea5fc03b6390a6"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageUsageStats.MessageUsageStats (cyclomatic 34): MessageUsageStats.MessageUsageStats has cyclomatic complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageUsageStats.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e527bd8ff92f358674dcc7605916f8352bd686150044d957ee1dddfe22ee8cc5"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::openai_responses::responses_api_to_streaming_message (cyclomatic 33): goose_provider_types::formats::openai_responses::responses_api_to_streaming_message has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd0a6482bec38a2e8ed66f351d9d944b8685213a936827a1f100d0ba0464ca4"}},{"ruleId":"D1","level":"warning","message":{"text":"community_stars.main (cyclomatic 33): community_stars.main has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/scripts/community_stars.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c4490145bc1bf36d3674569674ac8cc18865ef296d836d1646abaed9cc5f4e"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalModelManager.LocalModelManager (cyclomatic 33): LocalModelManager.LocalModelManager has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 7 of the 33 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 197, a function literal at line 127, loadSelectedModel, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/LocalModelManager.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"840cc1e109439c9ece7315a52e87a68c1344c89eeb26e8cdaadcc924cc09ed77"}},{"ruleId":"D1","level":"warning","message":{"text":"DictationSettings.DictationSettings (cyclomatic 33): DictationSettings.DictationSettings has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 10 of the 33 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 105, handleSaveKey, handleRemoveKey, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/DictationSettings.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddda35cc6b22f146474eb3623efba7be0a46f130d37b721d5e85ab89d45f1ae"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpProvider::stream (cyclomatic 32): AcpProvider::stream has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f5da618aebf2599e4628a0d5febeb2e544451ed344ff119bae4e99d2e5cc14"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::recipe::validate_recipe::schema_field (cyclomatic 32): goose::recipe::validate_recipe::schema_field has cyclomatic complexity 32 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/recipe/validate_recipe.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cc8abf0e5da3ea3bb1fbcbb0c594f5c1cbf17a5cc1fc7111c73199345e8c1d"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::databricks::format_messages (cyclomatic 32): goose_provider_types::formats::databricks::format_messages has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"19122c5f854b962730c2d81114793c348f65ab34fa0c8a07134d10265c3d849e"}},{"ruleId":"D1","level":"warning","message":{"text":"CLIExtensionInstructions.CLIExtensionInstructions (cyclomatic 32): CLIExtensionInstructions.CLIExtensionInstructions has cyclomatic complexity 32 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/components/CLIExtensionInstructions.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cb64a9ef8fa6c16bf76193afbbf515c24a50a93c6586f2bda3e66784e1e877"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpReadinessPanel.AcpReadinessPanel (cyclomatic 32): AcpReadinessPanel.AcpReadinessPanel has cyclomatic complexity 32 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/AcpReadinessPanel.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3bb29931183063fa3c6313143b0d176fc58eb512810959bb68b914a8397d53"}},{"ruleId":"D1","level":"warning","message":{"text":"scroll-area.ScrollArea (cyclomatic 32): scroll-area.ScrollArea has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 4 of the 32 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 107, 154, 188, \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":"ui/desktop/src/components/ui/scroll-area.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"014e1837220af84ad9046c6ef656387ab91ecd53b51da616ccf692a70e21ef5c"}},{"ruleId":"D1","level":"warning","message":{"text":"ImportRecipeForm.ImportRecipeForm (cyclomatic 32): ImportRecipeForm.ImportRecipeForm has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 3 of the 32 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 234, a function literal at line 290, a function literal at line 119, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/ImportRecipeForm.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03911df8a598f1696b78af0e32a9d4ea4b3283587cbb661ec45a9a9ab4e4f99"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::google::format_messages (cyclomatic 31): goose_provider_types::formats::google::format_messages has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c7f031d56007e7123be48be67985ab219df53304f9f807d45f7c50a650a737"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelSettingsPanel.ModelSettingsPanel (cyclomatic 31): ModelSettingsPanel.ModelSettingsPanel has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 15 of the 31 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 396, setChatTemplateMode, a function literal at line 423, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"6593cf8629a20141474fe1ccbf7c519f588f299ad982628c2b6ccf24e1c41b83"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveVoiceButton.LiveVoiceButton (cyclomatic 31): LiveVoiceButton.LiveVoiceButton has cyclomatic complexity 31 (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":"ui/desktop/src/components/LiveVoiceButton.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0ade5aaa525c84a153cd49689bcc7630c9181cd8a463df61976d6889b221d2"}},{"ruleId":"D1","level":"warning","message":{"text":"AppsView.AppsView (cyclomatic 31): AppsView.AppsView has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 7 of the 31 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 330, a function literal at line 118, a function literal at line 156, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/apps/AppsView.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa4848611552307ea19e999dae0b7aded702f5affdcb1351311d2c9a6145fe7"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpClientLoop::run (cyclomatic 30): AcpClientLoop::run has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbcfa26c0859e7bd5002ef22f56cf44260dd40046efb1cc336cb8f73a38fb72"}},{"ruleId":"D1","level":"warning","message":{"text":"GatewayHandler::relay_to_session (cyclomatic 30): GatewayHandler::relay_to_session has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/handler.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23f0b437b6e319c592f1f38386244a0129644bc52cf7e78c795b65896f9da17"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_cli::session::input::handle_slash_command (cyclomatic 30): goose_cli::session::input::handle_slash_command 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":"crates/goose-cli/src/session/input.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe6b4185309b745a71e71ec8d98237eef9b8ee0f3310c7d425e9a82d69fda1a"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionInstallModal.ExtensionInstallModal (cyclomatic 30): ExtensionInstallModal.ExtensionInstallModal has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 4 of the 30 points are its own statements and the rest belongs to 8 function items inside it that branch (generateModalConfig, a function literal at line 273, determineModalType, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ExtensionInstallModal.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb378d66e577829554fd8c6e513a1cc06ce8971e9adf5d18276c22ab39ca41a"}},{"ruleId":"D1","level":"warning","message":{"text":"ItemIcon.getItemIcon (cyclomatic 30): ItemIcon.getItemIcon has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ItemIcon.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3981279ed5804f4c4af492ddfe99bce77eaa9a79d9e03d9429bbf6d5af75087d"}},{"ruleId":"D1","level":"warning","message":{"text":"SnowflakeProvider::post (cyclomatic 29): SnowflakeProvider::post has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/snowflake.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e8209509ad32be585940578046e6b144847a7d7a009e1f530c81a0a3003827"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionStorage::apply_migration (cyclomatic 28): SessionStorage::apply_migration has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"860f75fa74a5e5a9954728070a4005ba1d758c8c35051095b3ea0b2d55b005af"}},{"ruleId":"D1","level":"warning","message":{"text":"PromptsSettingsSection.PromptsSettingsSection (cyclomatic 28): PromptsSettingsSection.PromptsSettingsSection has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 11 function items inside it that branch (handleReset, handleResetAll, handleRestoreDefault, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/PromptsSettingsSection.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2909907af70eb15ef812bf2926257cb998b22fbeaab411e3dcff886725c41047"}},{"ruleId":"D1","level":"warning","message":{"text":"UserMessage.UserMessage (cyclomatic 28): UserMessage.UserMessage has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 168, 209, 226, \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":"ui/desktop/src/components/UserMessage.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4955eef76c349ffe7042ced7e79ef9886279d30e604dade4c7b8b9f285d32b6f"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::openai_responses::create_responses_request_for_model (cyclomatic 27): goose_provider_types::formats::openai_responses::create_responses_request_for_model has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a10b178b081c65c2cd7af4ce66565eb27879cf674eb9d21e7b4b27683591cbe"}},{"ruleId":"D1","level":"warning","message":{"text":"template.renderContentBlock (cyclomatic 27): template.renderContentBlock has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"db857ec2aebdef2573615bbddcd25a518730ec00292ef145b610d1ef1d1e82ca"}},{"ruleId":"D1","level":"warning","message":{"text":"AppSettingsSection.AppSettingsSection (cyclomatic 27): AppSettingsSection.AppSettingsSection has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 8 function items inside it that branch (handleMenuBarIconToggle, handleDockIconToggle, handleLanguageChange, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e66e5b0f6c00e99bb9264d4c73ef61d0f52e88a03a9951ac41306c20182725e"}},{"ruleId":"D1","level":"warning","message":{"text":"App.AppInner (cyclomatic 27): App.AppInner has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 457, 340, 548, \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":"ui/desktop/src/App.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffefd6c54c78358290358646340c39910c9d5da4eefba265699b28ad79ce30e"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_cli::session::elicitation::collect_elicitation_input_inner (cyclomatic 26): goose_cli::session::elicitation::collect_elicitation_input_inner has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/elicitation.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"460923c859cfae03ed688a4830eb1d8a4644a3d2044ca926adf03715e5695a47"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.parseCommandLine (cyclomatic 26): utils.parseCommandLine has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/utils.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cb24b89c3fccbf466c70cefb4537e0c37e8f9f08f6655adbd882a0ebe02c30"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionsSection.ExtensionsSection (cyclomatic 26): ExtensionsSection.ExtensionsSection has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 7 of the 26 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 84, handleUpdateExtension, a function literal at line 80, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/ExtensionsSection.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e93e50c2f0cfdb5c2e33876a99557dc95f3b514199bd5df83dc9df25fcd59a"}},{"ruleId":"D1","level":"warning","message":{"text":"RecipeModelSelector.RecipeModelSelector (cyclomatic 26): RecipeModelSelector.RecipeModelSelector has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 12 of the 26 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 136, 103, 153, \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":"ui/desktop/src/components/recipes/shared/RecipeModelSelector.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e96d4150d1fe6d98d1d63e36a8de76fa01a5d00f161e38c99271cccf1bd8b8"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_cli::commands::configure::configure_single_key (cyclomatic 25): goose_cli::commands::configure::configure_single_key has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc37acc89daf20cbe9d24291870ba636ded6f7032283c8c8416b0e93232ed12"}},{"ruleId":"D1","level":"warning","message":{"text":"radar_template.html.renderRadar (cyclomatic 25): radar_template.html.renderRadar has cyclomatic complexity 25 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/templates/radar_template.html"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"17373b1a88e3051c42f05f627f5ddadbfc86015f54c2e837d8aa6ea87762acba"}},{"ruleId":"D1","level":"warning","message":{"text":"DirSwitcher.DirSwitcher (cyclomatic 25): DirSwitcher.DirSwitcher has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 10 function items inside it that branch (handleDirectoryChange, handleDirectoryClick, a function literal at line 240, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/bottom_menu/DirSwitcher.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad94e195d855f3f915f6d0ec4c4c212244e7b7ae8a88c7a02a0a2b7b572dcb54"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchBar.SearchBar (cyclomatic 25): SearchBar.SearchBar has cyclomatic complexity 25 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 12 belong to 6 function items inside it that branch. 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":"ui/desktop/src/components/conversation/SearchBar.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a487ec82c2eef14b80d76d334060dee6c9d6cb5ea1c0e7755fd06c9573b931"}},{"ruleId":"D1","level":"warning","message":{"text":"autoUpdater.setupAutoUpdater (cyclomatic 25): autoUpdater.setupAutoUpdater has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 8 of the 25 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 572, 470, 414, \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":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc17fc0eee42369475a0e7cb5a4714c68b50d59d1740c8c3689575dc898d0dc"}},{"ruleId":"D1","level":"warning","message":{"text":"PermissionInspector::inspect (cyclomatic 24): PermissionInspector::inspect has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/permission/permission_inspector.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96e4b940934db2e647af88799c76fd8737dc40753426c1c958cf99a3e5c86ed"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::providers::bedrock::process_stream_event (cyclomatic 24): goose::providers::bedrock::process_stream_event has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/bedrock.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfda38869e1c576b403d12c26260daab3df897311adc0bd88ca4f8ce5969397b"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::session::import_formats::codex::convert (cyclomatic 24): goose::session::import_formats::codex::convert has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/codex.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e8ebaf797be07ef3c14e7d1d79ae7d86c6cb90e69dceb4dc0f9dd39c2e148c"}},{"ruleId":"D1","level":"warning","message":{"text":"CliSession::handle_input (cyclomatic 24): CliSession::handle_input has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"6347497e23cd5cd9dbf04bf2cb830547ff98a55b2cafff2e26c6e3406c6a2b45"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownBuffer::process_inline_token (cyclomatic 24): MarkdownBuffer::process_inline_token has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/streaming_buffer.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a40557532c34c2c5a90a93ce7498d3c3a0f865f6eb40d79cc1c29938cef889f"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_cli::cli::handle_local_models_command (cyclomatic 24): goose_cli::cli::handle_local_models_command has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bb7a17873797690a5639c85609579ee612ce5186f63850f00c953859be3505"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::google::response_to_streaming_message (cyclomatic 24): goose_provider_types::formats::google::response_to_streaming_message has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a799250e1185a7b48cd7d1f9f995bda5b285948ac1dc04313ca7826cb18e2a2"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentCard.ContentCard (cyclomatic 24): ContentCard.ContentCard has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/components/ContentCard.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1861d143ad25f963259c1842e9be4c3dcee5f564d242e87ef2e0c32a8bb7dbf0"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigSettings.ConfigSettings (cyclomatic 24): ConfigSettings.ConfigSettings has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 189, a function literal at line 253, a function literal at line 106, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/config/ConfigSettings.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1114d44910939b855fd600010af9e5520d8a54df291efeb206b3b147356469a"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpConnection::run_live_delegation (cyclomatic 23): AcpConnection::run_live_delegation has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/live_voice.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"752bd6c110453604c6eff116d40d4536b2eb794743929f2e5f12a240226af188"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpConnection::forward_agent_stream (cyclomatic 23): AcpConnection::forward_agent_stream has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":2075}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdaf7feb4ef8580ea53c02f523d690106a775ac8665dddb3333dfc3b02c9f28"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::bin::generate_acp_schema::main (cyclomatic 23): goose::bin::generate_acp_schema::main has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/bin/generate_acp_schema.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0261120a96da6c596dac63e7423d9eb9026b3cb9b9cdbe25d87e0df454ef43"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::snowflake::format_messages (cyclomatic 23): goose_provider_types::formats::snowflake::format_messages has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/snowflake.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba2001244fb44d32504cf9aaffdc24451735b82f932de538a280732f2b055b7"}},{"ruleId":"D1","level":"warning","message":{"text":"detail.RecipeDetailPage (cyclomatic 23): detail.RecipeDetailPage has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/pages/recipes/detail.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d976bb857351beab4edca38fb22fef85887e5c1ff1c805ac8a57af4fc962716d"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingGuard.OnboardingGuard (cyclomatic 23): OnboardingGuard.OnboardingGuard has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (checkProvider, a function literal at line 108, finishOnboarding, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/OnboardingGuard.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a774c75a215e307169a5fe5b55b0d6d397a2cb048c8b06d09882a99f2014186"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatInput.ChatInput::handleHistoryNavigation (cyclomatic 23): ChatInput.ChatInput::handleHistoryNavigation has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (ChatInput.ChatInput) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7c8f7e9e5bcc0b254c6ccb1759d46895c032ec1407d4e0103b38463fdc3e91"}},{"ruleId":"D1","level":"warning","message":{"text":"Hub.Hub (cyclomatic 23): Hub.Hub has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 7 function items inside it that branch (createHubSession, handleSubmit, a function literal at line 91, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Hub.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c9a8ae60df23015fa2acf0beeced8e640ad4c4512f117580c766312eb37c78"}},{"ruleId":"D1","level":"warning","message":{"text":"useDisplayMode.useDisplayMode (cyclomatic 23): useDisplayMode.useDisplayMode has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 158, 134, 141, \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":"ui/desktop/src/components/McpApps/useDisplayMode.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7643e8ac349fb98e6fb72cfb4caf436fecd5328473dee122138f0e7beebd4430"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineEditText.InlineEditText (cyclomatic 23): InlineEditText.InlineEditText has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 87, 122, 67, \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":"ui/desktop/src/components/common/InlineEditText.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa57eafc1ec8d04af20c87e3143c0e4497968d6a812b8c3bbaa35c74040f7321"}},{"ruleId":"D1","level":"warning","message":{"text":"EnvVarsSection.EnvVarsSection (cyclomatic 23): EnvVarsSection.EnvVarsSection has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 144, a function literal at line 69, handleAdd, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acbe4ab2a3713389b04d5c662f8af07283ed12d98cfe0b3021225a3503e6d76"}},{"ruleId":"D1","level":"warning","message":{"text":"StandaloneAppView.StandaloneAppView (cyclomatic 23): StandaloneAppView.StandaloneAppView has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 39, 70, 54, \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":"ui/desktop/src/components/apps/StandaloneAppView.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b331515035624ebf5e0cdfe27e340bbafe8185d553b17e74b653537fff0daa"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::posthog::classify_error (cyclomatic 22): goose::posthog::classify_error has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/posthog.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"419e5b0b93d7c9a99565447a4002971cdaed3cf7c188c253774e6a6cc3b96479"}},{"ruleId":"D1","level":"warning","message":{"text":"InferenceRunner::infer (cyclomatic 22): InferenceRunner::infer has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/inference.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab06dd09c5b71d346d014b47f9620f8988a0ec741671aa16302b405952cef11a"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_cli::session::output::render_message_streaming (cyclomatic 22): goose_cli::session::output::render_message_streaming has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bc78554330ade27e081b9da1201cbb494871f73464c765581664db619e1a07"}},{"ruleId":"D1","level":"warning","message":{"text":"ComputerControllerServer::peekaboo_impl (cyclomatic 22): ComputerControllerServer::peekaboo_impl has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/mod.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"72367c3085c28b4fe69e7984ba2d006726afa0c5da3813f35cccf5f01e8fc26e"}},{"ruleId":"D1","level":"warning","message":{"text":"generate.parse_bindings (cyclomatic 22): generate.parse_bindings 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":"documentation/automation/gdk-api/generate.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"681aeaad451449d3c584c5c63dd8af09821b7f3f0ed42d3de06c8894cf27f8bb"}},{"ruleId":"D1","level":"warning","message":{"text":"release_risk_report.assess_risk (cyclomatic 22): release_risk_report.assess_risk has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"workflow_recipes/release_risk_check/release_risk_report.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e55c2e11ac8af08ad9beb0033696b4a125906d7a1f1ca8a01377cb405db5a4a"}},{"ruleId":"D1","level":"warning","message":{"text":"CostTracker.CostTracker (cyclomatic 22): CostTracker.CostTracker has cyclomatic complexity 22 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 11 belong to 3 function items inside it that branch. 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":"ui/desktop/src/components/bottom_menu/CostTracker.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa05cc76d7adfdb34b4d25b44062ecf27db9f246dcaf1bfea4f2852deaa3887c"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyboardShortcutsSection.KeyboardShortcutsSection (cyclomatic 22): KeyboardShortcutsSection.KeyboardShortcutsSection has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 7 function items inside it that branch (handleSave, handleToggle, a function literal at line 527, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae261f357839cdc5d1a2f6ef330e6bb18f41ea42256c3a37fd5ccf91c7f91258"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderGrid.ProviderCards (cyclomatic 22): ProviderGrid.ProviderCards has cyclomatic complexity 22 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 9 belong to 6 function literals inside it that branch. 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":"ui/desktop/src/components/settings/providers/ProviderGrid.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd26fb35358b38d7d7a030ebb00cba872793d3358aec171561af78a0b19c458c"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolExecutionOperation::run (cyclomatic 21): ToolExecutionOperation::run has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_toolcalling.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a7a5cedeacd0ed7f0e0958d7c2750543a836ffd5a3486186e3e89827a5a898"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::acp::provider::handle_requests (cyclomatic 21): goose::acp::provider::handle_requests has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fa43c591114483fb6064e53169f84ad6a14e896cd1cccc08441ab3ee84347d"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_acp_macros::custom_methods (cyclomatic 21): goose_acp_macros::custom_methods has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-acp-macros/src/lib.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e747a08da27d960109e8f613101dfbab497b9cacf5b9e658e41610b460ecc905"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_cli::commands::configure::configure_provider_dialog (cyclomatic 21): goose_cli::commands::configure::configure_provider_dialog has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5ac985ced1695ccb7e7e638a815c1d44d53b25eb5aed5f373cc86559e34309"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_cli::session::builder::try_build_session (cyclomatic 21): goose_cli::session::builder::try_build_session has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/builder.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"8858956f7755a30b9ff3332f795fdd9392acbf38534747f8a0d597e596007c94"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalInferenceProvider::stream (cyclomatic 21): LocalInferenceProvider::stream has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/lib.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dd5834b31453b29ee96b6f4b0a7d9a688c51ea14e78a2dc30044d65a1c476b"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::canonical::name_builder::map_to_canonical_model (cyclomatic 21): goose_provider_types::canonical::name_builder::map_to_canonical_model has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/canonical/name_builder.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0520b1df1afd1d6c01b092866a0db22d6971dfffe96c931352451c652bee87da"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::openai_responses::add_message_items (cyclomatic 21): goose_provider_types::formats::openai_responses::add_message_items has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"173e5b46f2f06c6d17a5f1fd3f9ea12cab7676b9c4e44650399ad26669c35667"}},{"ruleId":"D1","level":"warning","message":{"text":"reporter.trial_turns (cyclomatic 21): reporter.trial_turns has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/harbor/reporter.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9fa725080decccd3c4fa3445da3c2d533cc5f51e19fa9d81ab1c4040c2d341"}},{"ruleId":"D1","level":"warning","message":{"text":"index.verifyOidcToken (cyclomatic 21): index.verifyOidcToken has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oidc-proxy/src/index.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d109f5d297264fdd43c5057c22a5ff9f3caa887260071148ac852a503a8b39"}},{"ruleId":"D1","level":"warning","message":{"text":"MicrophoneSelector.MicrophoneSelector (cyclomatic 21): MicrophoneSelector.MicrophoneSelector has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 9 function items inside it that branch (startTest, selectedLabel, a function literal at line 106, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/MicrophoneSelector.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecf4b06fe15aa4b2f8843edaddda50e4597801ee53101e5fae1094507c99dd5"}},{"ruleId":"D1","level":"warning","message":{"text":"useChatSession.useChatSession.handleSubmit (cyclomatic 21): useChatSession.useChatSession.handleSubmit has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useChatSession.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"425469ba2d1a0bbe7ba40bfa6313153468fbc87ea509994ed320dd244d641aa4"}},{"ruleId":"D1","level":"warning","message":{"text":"person (cyclomatic 21): person has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"buzz/github_manager.mjs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26981c1d1995bc94704dfc0f4cd4b0c9b94498f476e9227a8e83462c75652fe"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexProvider::parse_response (cyclomatic 20): CodexProvider::parse_response has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/codex.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"06794ffb566336e44f11cb210879388be7faffa5ff02f3983ac687114b66123f"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionStorage::list_sessions_matching (cyclomatic 20): SessionStorage::list_sessions_matching has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"21279e1b8bacc989a0bfcda03b39c95819717d9f5ab5edfe02d2d5408a1a3104"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::agents::tool_schema_normalize::collect_used_defs (cyclomatic 20): goose::agents::tool_schema_normalize::collect_used_defs has cyclomatic complexity 20 (threshold 15). Of this number, 11 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":"crates/goose/src/agents/tool_schema_normalize.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e2f3b9ecfecf07cd845a299715505ccfce7ac5c4fc84133035ae79214b0f7a"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::sources::import_sources (cyclomatic 20): goose::sources::import_sources has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a50d416253a0b522fe05794a3c1a489b4a03b6ea0d10348a616f14f5dc671e"}},{"ruleId":"D1","level":"warning","message":{"text":"GooseCompleter::complete_argument_keys (cyclomatic 20): GooseCompleter::complete_argument_keys has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/completion.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"774ad37b70a95530edb07cbdc889414e8221a498431f583e63c546f308fc6fb0"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_context_management::format::format_message_for_compacting (cyclomatic 20): goose_context_management::format::format_message_for_compacting has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-context-management/src/format.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db7427b229189b01f140614bb98a8502231c1c00ddf2582e6b231a27e9925f3"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::thinking::parse_think_tag (cyclomatic 20): goose_provider_types::thinking::parse_think_tag has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/thinking.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b289ebe8fe15d8406648abdf0eef97c629a11de42d5e7d79b5f1476d3b048e"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_providers::live::run_actor (cyclomatic 20): goose_providers::live::run_actor has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/live.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4308a8be16b3ea03891701b880a5433f4a81f04b3115ce086ca08e507fad253f"}},{"ruleId":"D1","level":"warning","message":{"text":"reporter.cmd_task (cyclomatic 20): reporter.cmd_task 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":"evals/harbor/reporter.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"6545e367ec3707be479e484de561d94fcb5b8a94b01f3e4a6a3f8d9d02199d9e"}},{"ruleId":"D1","level":"warning","message":{"text":"template.tocLabel (cyclomatic 20): template.tocLabel has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"af21bb502b78aefb152bb2396e9d8ca72e33227c740933bc9924f5a34b73b69b"}},{"ruleId":"D1","level":"warning","message":{"text":"detail.ExtensionDetail (cyclomatic 20): detail.ExtensionDetail has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 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":"documentation/src/pages/extensions/detail.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c9ea660c2092de8208d43b4fdd9f47f9b65a89e8b793b3722ff34ce48b9ae4"}},{"ruleId":"D1","level":"warning","message":{"text":"index.RecipePage (cyclomatic 20): index.RecipePage has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/pages/recipes/index.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a5f3f2f0401e68a0aaa9fe71d6653ae3b28d3fd592e6ebf2486fd6c7ea4c73"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderCatalogPicker.ProviderCatalogPicker (cyclomatic 20): ProviderCatalogPicker.ProviderCatalogPicker has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 5 function items inside it that branch (fetchProviders, handleProviderSelect, a function literal at line 149, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderCatalogPicker.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffca4b389ede7f2f3f35172ca82780153302814375f236b4a32cfc8143bb07cc"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthSettingsSection.AuthSettingsSection (cyclomatic 20): AuthSettingsSection.AuthSettingsSection has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 217, confirmDelete, configureSecret, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/auth/AuthSettingsSection.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9766f5c80c01e7d9b3b63ea4201ec369b334d243dc27670b8a211b41783dc2e"}},{"ruleId":"D1","level":"warning","message":{"text":"cronSchedule.parseCron (cyclomatic 20): cronSchedule.parseCron 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":"ui/desktop/src/utils/cronSchedule.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5f0c0ab752d954392f8c8d13542e0c50ea611573b9994898e8ae4819c4cb61"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionActionsHeader.JsonTreeNode (cyclomatic 20): SessionActionsHeader.JsonTreeNode has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d4c62e457e82d11f7292e4b7e13b90a505d942176bd5d4ed9d49de910df369"}},{"ruleId":"D1","level":"warning","message":{"text":"main.openDirectoryDialog (cyclomatic 20): main.openDirectoryDialog 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":"ui/desktop/src/main.ts"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"97676f6f66d23676209d95bdddb47552bfe812ba6130781726b90a58a8896623"}},{"ruleId":"D1","level":"warning","message":{"text":"GcpVertexAIProvider::send_request_with_retry (cyclomatic 19): GcpVertexAIProvider::send_request_with_retry has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpvertexai.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0a65f8577e94659f8cf8f67f81816b9df80b87a770ef1f04854c74dd1a8f55"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::agents::platform_extensions::analyze::parser::find_enclosing_class (cyclomatic 19): goose::agents::platform_extensions::analyze::parser::find_enclosing_class has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8df686399b0a7500861b143e199edde2cf715573806f9362e5078e2478aaf6"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::providers::toolshim::parse_tokenized_tool_calls_with_status (cyclomatic 19): goose::providers::toolshim::parse_tokenized_tool_calls_with_status has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/toolshim.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"263532e4d3234320f723a3cbf4476edcc671600c971170f652153d7c0fa63d82"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::security::egress_inspector::detect_direction (cyclomatic 19): goose::security::egress_inspector::detect_direction has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/egress_inspector.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c526133dabb104b6ccdeb49ee9d7eac6d3571c793cea93b7b4f56abfbb847337"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::session::import_formats::pi::convert (cyclomatic 19): goose::session::import_formats::pi::convert has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/pi.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"263b028a840cd8529f09f1d4131920b5bd49c0e8c34eadbccd4920207415efc0"}},{"ruleId":"D1","level":"warning","message":{"text":"GooseCompleter::complete (cyclomatic 19): GooseCompleter::complete has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/completion.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"204f56150f14144cbd39d60c0646e095f8a61143b8b65b86f0612d8250742d7b"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_cli::session::output::render_message (cyclomatic 19): goose_cli::session::output::render_message has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85a4a348519b8479cdf374d8fe08cca6b80d7e4de7f8e0650feb5dd93686ff6"}},{"ruleId":"D1","level":"warning","message":{"text":"Conversation::push (cyclomatic 19): Conversation::push has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/conversation.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ee53495a22da592ad37d859bdbe47c3fdad693d1af1fb693ca954a26382b7f"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::conversation::fix_tool_calling (cyclomatic 19): goose_provider_types::conversation::fix_tool_calling has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/conversation.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ac22b51043520b0b8d479c248c2cd5c9a9f895a5d512623c07c6b3fd5c6259"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::databricks::response_to_message (cyclomatic 19): goose_provider_types::formats::databricks::response_to_message has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10f06b3a80b148b47ce006ca4bff5b5a51c6bcd2cd24b1f0433177d888833a1"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::openai::response_to_message (cyclomatic 19): goose_provider_types::formats::openai::response_to_message has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"859233ca674afb3e370432b99ffe550e537b97d921c491bb209611126d925cbf"}},{"ruleId":"D1","level":"warning","message":{"text":"reporter.cmd_compare (cyclomatic 19): reporter.cmd_compare has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/harbor/reporter.py"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"017586b1990161c56181741a2e6425b65a7ab8aa5d88585a2a472651e95bec37"}},{"ruleId":"D1","level":"warning","message":{"text":"chart_template.html.getChartOptions (cyclomatic 19): chart_template.html.getChartOptions has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/templates/chart_template.html"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae2e99c90d31449e3b80523f9c9f936b11170af6ff70e91000ced6a9f2f19ab"}},{"ruleId":"D1","level":"warning","message":{"text":"template.renderToolHeader (cyclomatic 19): template.renderToolHeader has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d5db0ece87e023ae0e773be7acb423b42806899a9148501b22fd0434e4011e"}},{"ruleId":"D1","level":"warning","message":{"text":"GooseDesktopInstaller.GooseDesktopInstaller (cyclomatic 19): GooseDesktopInstaller.GooseDesktopInstaller has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 2 function items inside it that branch (getStep3Content, buildGooseUrl). 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":"documentation/src/components/GooseDesktopInstaller.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c0ba405a36de49aea37d1747a10bfd189de8141abcc75ca769257991df620f"}},{"ruleId":"D1","level":"warning","message":{"text":"recipes.normalizeRecipe (cyclomatic 19): recipes.normalizeRecipe has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/utils/recipes.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"751f54e9ee7637c34801d6f8046ca5313e60fdbfe4213bcc8e865196629f2c5e"}},{"ruleId":"D1","level":"warning","message":{"text":"DocsIndex.addDocument (cyclomatic 19): DocsIndex.addDocument has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/tools/docs.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d28a0307b9211f963fa39cf9294b47b8a89085283e8943a23fc015caac99d01"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageList.MessageList (cyclomatic 19): MessageList.MessageList has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 243, a function literal at line 217, a function literal at line 192, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageList.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25862832fdc5f9991e6b86a27910f6878d8238782f8d44ac37c276bd512c2c8"}},{"ruleId":"D1","level":"warning","message":{"text":"allowlistFetcher.fetchAllowlistContent (cyclomatic 19): allowlistFetcher.fetchAllowlistContent has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 78, 56, 36, \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":"ui/desktop/src/allowlistFetcher.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba487c442b7cf197ed2dc77f7317a757c9eb23f98b48b346758791ddaa99d183"}},{"ruleId":"D1","level":"warning","message":{"text":"main.app.on(\u0022open-url\u0022) (cyclomatic 19): main.app.on(\u0022open-url\u0022) has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"941bd014d6c4ae0d0e0369031e0927041e085969c141713007ebbdf1eecdd37f"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellTool::shell_with_cwd_and_emitter (cyclomatic 18): ShellTool::shell_with_cwd_and_emitter has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/developer/shell.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"942b3046c9d9e981726bbfb7e9ec083a171945d4f2766ec5b9e136d131762b1e"}},{"ruleId":"D1","level":"warning","message":{"text":"BedrockProvider::stream (cyclomatic 18): BedrockProvider::stream has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/bedrock.rs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aeafd2861a2f17a5a7879e25d9f9bf0532f850cf77455815818ef19b3f66669"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionManager::apply_effects (cyclomatic 18): SessionManager::apply_effects has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/session.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2ee542e5053ad4f92ccb4a9e252ad2ff94614e215ddc26382358dac77cdb4f"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::agents::platform_extensions::javascript::evaluate (cyclomatic 18): goose::agents::platform_extensions::javascript::evaluate has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/javascript.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0d4df5efdc525afc7eb8c7fcc521d8981608b9c26b68e8e0d02f4dc6476c59"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::dictation::providers::resolve_model_native_config (cyclomatic 18): goose::dictation::providers::resolve_model_native_config has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/providers.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd74c03054cbbf1d30910e6f89cfac4af2382cd4b8b4b29d157244af418bf9c4"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::providers::chatgpt_codex::build_input_items (cyclomatic 18): goose::providers::chatgpt_codex::build_input_items has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa783d8f7130a23024f5968f95299fba3440913a44eb4d6489ac449f1ef73dda"}},{"ruleId":"D1","level":"warning","message":{"text":"CliSession::handle_model (cyclomatic 18): CliSession::handle_model has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"4901706791a798348e811b4504bbcb3ebba8459cd3a9ee0ff67a5995eb040c30"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_cli::cli::handle_mcp_probe (cyclomatic 18): goose_cli::cli::handle_mcp_probe 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. This is NOT this file\u0027s highest cyclomatic complexity: goose_cli::cli::cli (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d2357319318e4ec9b668c22ec84ed8c76d2b18984229b82f07e4632740d6c7"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_cli::session::builder::resolve_provider_and_model (cyclomatic 18): goose_cli::session::builder::resolve_provider_and_model has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/builder.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba89b57a5601ceb9c225f9da2763941431145e58a832199f21535f264082599"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_cli::session::output::extract_markdown_table (cyclomatic 18): goose_cli::session::output::extract_markdown_table has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d858b5642dfc62a47ab5aabcd9733fb8b3188b4f35a0d3bad06931f5c5d66ac"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::anthropic::apply_thinking_config (cyclomatic 18): goose_provider_types::formats::anthropic::apply_thinking_config has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"be337fc1cab50dd3329c6fd600d23f73ae2ab8f401cffe91196ab69cf3e2278e"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::openai::merge_split_tool_call_messages (cyclomatic 18): goose_provider_types::formats::openai::merge_split_tool_call_messages has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac6c77f54e504d8fa0255dc3a22bd9ee672c27d86dd74fe99270c6f0459830a"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::snowflake::parse_streaming_response (cyclomatic 18): goose_provider_types::formats::snowflake::parse_streaming_response has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/snowflake.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f418f6d084afbec972c2a298ef3daed7b548ce9d2347b7698a410d02a903ec6"}},{"ruleId":"D1","level":"warning","message":{"text":"deeplink.addExtensionFromDeepLink (cyclomatic 18): deeplink.addExtensionFromDeepLink has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ui/desktop/src/components/settings/extensions/deeplink.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b290183b72772efde5c4dd19d278733ccf30a9e158251b2dc811b21455ae78"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.extensionToFormData (cyclomatic 18): utils.extensionToFormData 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":"ui/desktop/src/components/settings/extensions/utils.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94acec4dd43f57b88245cca89b6782a9995200af5df555b1722d734e47322ec"}},{"ruleId":"D1","level":"warning","message":{"text":"ShortcutRecorder.ShortcutRecorder::handleKeyDown (cyclomatic 18): ShortcutRecorder.ShortcutRecorder::handleKeyDown 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":"ui/desktop/src/components/settings/keyboard/ShortcutRecorder.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eae461cb4de66232add970f467787e75474a1fd90d4c146a9be98a75caf27d2"}},{"ruleId":"D1","level":"warning","message":{"text":"SubRecipeModal.SubRecipeModal (cyclomatic 18): SubRecipeModal.SubRecipeModal has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (handleSave, a function literal at line 119, handleBrowseFile). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e94e16f55c90140e204efba890b14a9b3230cd1906321f9a89cf9834904d410"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubUpdater.checkForUpdates (cyclomatic 18): GitHubUpdater.checkForUpdates 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":"ui/desktop/src/utils/githubUpdater.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a734d940caadfd425f54a0b1b658c0e0125979ee85b67e5d9ea92106c7d665"}},{"ruleId":"D1","level":"warning","message":{"text":"main.handleProtocolUrl (cyclomatic 18): main.handleProtocolUrl 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":"ui/desktop/src/main.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9c60e2af2a6a49bcccc1f3d2def45f863faad11e194110e0958c9627bb3533"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiCliProvider::stream (cyclomatic 17): GeminiCliProvider::stream has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gemini_cli.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8114e92225522afa64e805cacfbae7044910a172e14dc7e13bbacb356d22ee5d"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::sources::list_sources_with_roots (cyclomatic 17): goose::sources::list_sources_with_roots has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"545ac432b50003900838c4fca936f5eb211567f88b2aedead5505a4668b5a4f6"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownBuffer::find_safe_end (cyclomatic 17): MarkdownBuffer::find_safe_end has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/streaming_buffer.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cebd26f83f43e65a860f48796d56991414f8ebb51e487acb91324ee3e53a37"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_cli::bin::generate_manpages::generate_see_also (cyclomatic 17): goose_cli::bin::generate_manpages::generate_see_also has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/bin/generate_manpages.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03c1b070a32ba5bd2107c9992cb2ca18f09df31325aefebdb465fe74060cd32"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_local_inference::llamacpp::inference_emulated_tools::generate_with_emulated_tools (cyclomatic 17): goose_local_inference::llamacpp::inference_emulated_tools::generate_with_emulated_tools has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/inference_emulated_tools.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a170a8593a8124ff78af01ffb31b98ebaf55654e2eb8b0c74f1117ca4e3c79"}},{"ruleId":"D1","level":"warning","message":{"text":"ThinkFilter::process_buffer (cyclomatic 17): ThinkFilter::process_buffer has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/thinking.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdeb911da03d28fad990a265b8588138378310d6fca06711092d4c9c357eb4e"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_provider_types::formats::openai::create_request_for_model_with_options (cyclomatic 17): goose_provider_types::formats::openai::create_request_for_model_with_options has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"d609dfdf308c6311ce7544c1ecb4e1991c5ad85ef5333481d56b9bbe261841fb"}},{"ruleId":"D1","level":"warning","message":{"text":"chart_template.html.processDatasets (cyclomatic 17): chart_template.html.processDatasets has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 220). 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":"crates/goose-mcp/src/autovisualiser/templates/chart_template.html"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e20b46614651f6be1d853496d0dacbfc910a7fa6acfcf89d2e022b3f3e5b405"}},{"ruleId":"D1","level":"warning","message":{"text":"map_template.html.renderMarkers (cyclomatic 17): map_template.html.renderMarkers has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 147, 145). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/templates/map_template.html"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f514b893a6b236ed728f8c1a68ade3da47ee6e3d0c23fe22d50210c24dc40bf"}},{"ruleId":"D1","level":"warning","message":{"text":"gooseServe.startGooseServe (cyclomatic 17): gooseServe.startGooseServe has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/gooseServe.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1867c5ccc4a94c471115e38ce93593eb377c0d09a6edd31291ed78f3ec89271"}},{"ruleId":"D1","level":"warning","message":{"text":"GroupedExtensionLoadingToast.GroupedExtensionLoadingToast (cyclomatic 17): GroupedExtensionLoadingToast.GroupedExtensionLoadingToast has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 149, getStatusIcon, getSummaryText, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/GroupedExtensionLoadingToast.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56b8fc7c1fd36c4c7c07b337554671bb3062fe38c61801b46f99241d772603f"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderConfigForm.ApiKeyForm (cyclomatic 17): ProviderConfigForm.ApiKeyForm has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (handleSubmit, a function literal at line 186, a function literal at line 204, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/ProviderConfigForm.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"940422df9142c6de25ba03ddebae1114fcfd932da53d230bc542942acec658b4"}},{"ruleId":"D1","level":"warning","message":{"text":"useAudioRecorder.useAudioRecorder.startRecording (cyclomatic 17): useAudioRecorder.useAudioRecorder.startRecording has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useAudioRecorder.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa832e5c2708faaaa2d146108c489be9e6923400656cb4b1cb346b75ad5714e1"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalBackendSection.ExternalBackendSection (cyclomatic 17): ExternalBackendSection.ExternalBackendSection has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (validateUrl, saveConfig, handleUrlBlur, \u2026). 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":"ui/desktop/src/components/settings/app/ExternalBackendSection.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b56911a9a22920ed5a5ddf9b9b141f4f05a6394128a02025fca2aa39eb7ffff"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchHighlighter.constructor (cyclomatic 17): SearchHighlighter.constructor has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. 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":"ui/desktop/src/utils/searchHighlighter.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a0d572e601b2a6809740d6baea4727ea7be601ae60da94ba62407af3d510d3"}},{"ruleId":"D1","level":"warning","message":{"text":"ElicitationRequest.ElicitationRequest (cyclomatic 17): ElicitationRequest.ElicitationRequest has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. 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":"ui/desktop/src/components/ElicitationRequest.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae7b1635365a931d2bc400e5d024cd82ac84a4dee7d952781bd4b722e4e946e"}},{"ruleId":"D1","level":"warning","message":{"text":"messageRowContext.deriveMessageRowContexts (cyclomatic 17): messageRowContext.deriveMessageRowContexts has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/messageRowContext.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2418521a8b829bef2ebd43b93fb04916f50e8695c63148dcf40d2d74cdcdee53"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopFileAccess.writeGoosehints (cyclomatic 17): DesktopFileAccess.writeGoosehints has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/desktopFileAccess.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"050b98f3f298cee0b14b824c0ccbce6f18a9c3cb5707b39a79ce353eac5fcde2"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpConnection::handle_message_content (cyclomatic 16): AcpConnection::handle_message_content has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf6d6e88530efbbdc12aa5d5e7fc2bddf4d69a74143c40f17e0072a07f27507"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexProvider::execute_command (cyclomatic 16): CodexProvider::execute_command has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/codex.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b68e5febe6df9f5e6a3a0460cb9a1b4b4bc5818f1bc944cdc0b202563455dc"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillsClient::call_tool (cyclomatic 16): SkillsClient::call_tool has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/client.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12db2a70bef4dd64655ea8a041c0c14c2e45659df0d7d1d32b70d551a296100"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::agents::tool_schema_normalize::inline_refs_scoped (cyclomatic 16): goose::agents::tool_schema_normalize::inline_refs_scoped has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/tool_schema_normalize.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"283c8681b7a8660eeb83bacc0490a34b45bfee15ed313bac1995455a1464a6d2"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::config::declarative_providers::update_custom_provider (cyclomatic 16): goose::config::declarative_providers::update_custom_provider has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/declarative_providers.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"00eae862571984644c19a63977e8aa593e9ae26ae69e0c2efef20f0911df4f95"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::context_mgmt::compact_messages (cyclomatic 16): goose::context_mgmt::compact_messages has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/context_mgmt/mod.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca1722c92d3586712987342170fb381cb8671ae693d93cbb2d736f5ca2f61f0"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::providers::formats::bedrock::to_bedrock_message_content (cyclomatic 16): goose::providers::formats::bedrock::to_bedrock_message_content has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/formats/bedrock.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"288b3ebef3a85da96ee9959c88e7d67288eac57fe87077d4a0b767ddaacaab48"}},{"ruleId":"D1","level":"warning","message":{"text":"goose::providers::inventory::enrich_model_ids_with_canonical (cyclomatic 16): goose::providers::inventory::enrich_model_ids_with_canonical has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/inventory/mod.rs"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"346c3f7983f7c744383d961ce35d37bf6951e2a5463424368def2bde4871f1f8"}},{"ruleId":"D1","level":"warning","message":{"text":"goose_mcp::computercontroller::pdf_tool::pdf_tool::get_image_extension (cyclomatic 16): goose_mcp::computercontroller::pdf_tool::pdf_tool::get_image_extension has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (goose_mcp::computercontroller::pdf_tool::pdf_tool) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/pdf_tool.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff42f19b1226bb9596805a05495d3cc5e7fc63da0efa273f0a5998c6510b7bf"}},{"ruleId":"D1","level":"warning","message":{"text":"GooseBinaryAgent._compute_cost_from_pricing (cyclomatic 16): GooseBinaryAgent._compute_cost_from_pricing has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/harbor/agent.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f48b93f06d3d5c351801811b9b1d1c2ceccd5b16515833f1e140bf6ac8dce1e"}},{"ruleId":"D1","level":"warning","message":{"text":"LinuxDesktopInstallButtons.LinuxDesktopInstallButtons (cyclomatic 16): LinuxDesktopInstallButtons.LinuxDesktopInstallButtons has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 37, 63, 66, \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":"documentation/src/components/LinuxDesktopInstallButtons.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ea7e9fc51b84b8b3f0abf919e010328d2ac4d6ae2687e0db2fbde77502a072"}},{"ruleId":"D1","level":"warning","message":{"text":"prepare-platform-binaries.cleanBinDirectory (cyclomatic 16): prepare-platform-binaries.cleanBinDirectory has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 164). 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":"ui/desktop/scripts/prepare-platform-binaries.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"540f9a12daa747b68fec42bb50e9051b62396adba6c48d6f424f092580c92e78"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.applyContentChunk (cyclomatic 16): messages.applyContentChunk 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":"ui/desktop/src/acp/adapter/messages.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8688f5e807cfa756096b87408e77fa174d8f60e74fe2527615b96cdb2af5efef"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelAndProviderContext.ModelAndProviderProvider (cyclomatic 16): ModelAndProviderContext.ModelAndProviderProvider has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 93, 145, 158, \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":"ui/desktop/src/components/ModelAndProviderContext.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacb01cc89bc1714eb11ca214d6a3b1fb4a36c18f42b1032105257d0849b86d5"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomProviderForm.CustomProviderForm::handleSubmit (cyclomatic 16): CustomProviderForm.CustomProviderForm::handleSubmit 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 shape REPEATS in the file: one other method here (CustomProviderForm.CustomProviderForm) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22d5b81858aec0ab34d809126e069f647927ed08926dd33d1e6148e4b093e61"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderSelector.ProviderSelector (cyclomatic 16): ProviderSelector.ProviderSelector has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 5 function items inside it that branch. 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":"ui/desktop/src/components/onboarding/ProviderSelector.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f26a1a5574a4f079f33bc333fb235b6eaad5caeec388b4175b25e6515d45d9"}},{"ruleId":"D1","level":"warning","message":{"text":"MentionPopover.fuzzyMatch (cyclomatic 16): MentionPopover.fuzzyMatch 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":"ui/desktop/src/components/MentionPopover.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"221c2d2eade0bd0c3e36863654b7b64ba62796437e9a1a217b5b64910b66a3d2"}},{"ruleId":"D1","level":"warning","message":{"text":"PermissionModal.PermissionModal (cyclomatic 16): PermissionModal.PermissionModal has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionModal.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8dad5cfe4723d16939f600f328f83e962330cce5d32200b02a7400303128c1"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionListView.EditSessionModal (cyclomatic 16): SessionListView.EditSessionModal has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 200, 157, 166, \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":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6630df85d1dd147237c5030cbf2628dac7474568361f62ac659d187f55fc7e7b"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateSubRecipeInline.CreateSubRecipeInline (cyclomatic 16): CreateSubRecipeInline.CreateSubRecipeInline has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 163). 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":"ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef940235b35a0c11821924a9644a7d87fbbe88e9a7f5cb6445b99d25db8abb26"}},{"ruleId":"D1","level":"warning","message":{"text":"remoteBackends.connectRemoteBackend (cyclomatic 16): remoteBackends.connectRemoteBackend has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (resolve, run). 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":"ui/desktop/src/remoteBackends.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4ae833cde6638c76eb9d966b6b76719cb49b48046df0a9e06347ff7ba4d4cd"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubUpdater.downloadUpdate (cyclomatic 16): GitHubUpdater.downloadUpdate 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":"ui/desktop/src/utils/githubUpdater.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"98657f1b5327463413e5ae48f52cb4031a4e160c98d2e866759f36824eda0da4"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).init (cyclomatic 16): (anonymous).init has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 161, 200, 205). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/templates/assets/mcp-app-bridge.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e08262fdf12a9e8234c4fe08a41c7e16c04d0285ae41fe8dc31b496776f9124"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::openai::response_to_streaming_message (cognitive 364): goose_provider_types::formats::openai::response_to_streaming_message has cognitive complexity 364 (threshold 15). Drivers by points: if/else 80 (314 pts), loops 6 (34 pts), boolean chains 10, match/switch 1 (6 pts) (nesting depth added 267). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edda4500d7c1186c6379ba6c70949ebb48b57f91645f61d495d556dce5be060"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_mcp::computercontroller::pdf_tool::pdf_tool (cognitive 245): goose_mcp::computercontroller::pdf_tool::pdf_tool has cognitive complexity 245 (threshold 15). Drivers by points: if/else 28 (187 pts), match/switch 10 (52 pts), loops 6 (43 pts), boolean chains 1 (nesting depth added 238). 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. This shape REPEATS in the file: one other method here (goose_mcp::computercontroller::pdf_tool::pdf_tool::get_image_extension) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/pdf_tool.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2b60e3220372d478efecbd2ed09f1b5a99f3a48e6546a873d61883542634bc"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::anthropic::response_to_streaming_message (cognitive 177): goose_provider_types::formats::anthropic::response_to_streaming_message has cognitive complexity 177 (threshold 15). Drivers by points: if/else 50 (155 pts), match/switch 4 (16 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 118). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc96396980073d035235a7468c15cebf0556b14f16e8a87d57fc6cc59df2fc1"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::openai::format_messages_with_options (cognitive 141): goose_provider_types::formats::openai::format_messages_with_options has cognitive complexity 141 (threshold 15). Drivers by points: if/else 37 (99 pts), match/switch 6 (24 pts), loops 4 (10 pts), boolean chains 8 (nesting depth added 86). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4bf39314f150d81eaa69f20fef4df2aa3c2d78e7187ec9eb14552528992b62"}},{"ruleId":"D2","level":"warning","message":{"text":"main.appMain (cognitive 138): main.appMain has cognitive complexity 138 (threshold 15). Drivers by points: if/else 65 (106 pts), boolean chains 17, error handling 7 (8 pts), ternaries 3 (6 pts), loops 1 (nesting depth added 45). Of this number, 89 points are the body\u0027s own statements and 49 belong to 17 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dfd6782c7a6453844cfd4e2f7792a3986c08877ae55372686b6a090b01f3c3"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::anthropic::format_messages_with_options (cognitive 128): goose_provider_types::formats::anthropic::format_messages_with_options has cognitive complexity 128 (threshold 15). Drivers by points: if/else 26 (104 pts), match/switch 4 (13 pts), loops 4 (9 pts), boolean chains 2 (nesting depth added 92). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce7cd9b480a48fc6acf67fa5a6d72157fac79e8941d904be0dd76724443f9c5"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::platform_extensions::analyze::parser::extract_inheritance (cognitive 121): goose::agents::platform_extensions::analyze::parser::extract_inheritance has cognitive complexity 121 (threshold 15). Drivers by points: if/else 36 (110 pts), loops 3 (7 pts), boolean chains 3, match/switch 1 (nesting depth added 78). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"38efd41ca57a77f54b3b3b80fecb8455b2a0b9c12f21fa93a7523a9f6d7ca8e9"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeCodeProvider::stream (cognitive 120): ClaudeCodeProvider::stream has cognitive complexity 120 (threshold 15). Drivers by points: if/else 19 (92 pts), match/switch 5 (24 pts), boolean chains 2, loops 2 (nesting depth added 92). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/claude_code.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea3a2af4cb93019830c2356a28b907f48637e5ef8ab74bb188d0958827af117"}},{"ruleId":"D2","level":"warning","message":{"text":"CliSession::process_agent_response (cognitive 118): CliSession::process_agent_response has cognitive complexity 118 (threshold 15). Drivers by points: if/else 34 (91 pts), match/switch 6 (20 pts), boolean chains 6, loops 1 (nesting depth added 71). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3928dbe0051f7d83dd81fdf6046a96c06c760d0e0ee8049a4522b040a59a988"}},{"ruleId":"D2","level":"warning","message":{"text":"McpAppRenderer.McpAppRenderer (cognitive 115): McpAppRenderer.McpAppRenderer has cognitive complexity 115 (threshold 15). Drivers by points: if/else 42 (56 pts), boolean chains 35, ternaries 14 (20 pts), error handling 1 (2 pts), loops 2 (nesting depth added 21). Of this number, 25 points are the body\u0027s own statements and 90 belong to 25 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2465fe5ed7c47d379ec094ecd144069fdff1c68a50a5f2690dd2fdf4c57b24d"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_local_inference::llamacpp::inference_native_tools::generate_with_native_tools (cognitive 109): goose_local_inference::llamacpp::inference_native_tools::generate_with_native_tools has cognitive complexity 109 (threshold 15). Drivers by points: if/else 29 (93 pts), loops 4 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 74). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/inference_native_tools.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e542c05b2dbab469d2cf1947ce609778c7752f58c53f0a0e4b9216dd0c5e9911"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionStorage::apply_update (cognitive 106): SessionStorage::apply_update has cognitive complexity 106 (threshold 15). Drivers by points: if/else 78 (106 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7022ec9e26f70015d19dc29478330969e1a1ce95c8a416aa65b80d839131eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadManager::download_one_file (cognitive 105): DownloadManager::download_one_file has cognitive complexity 105 (threshold 15). Drivers by points: if/else 34 (89 pts), boolean chains 8, match/switch 2 (5 pts), loops 2 (3 pts) (nesting depth added 59). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-download-manager/src/lib.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"192a2d55fbc302a64d565932e75a16789589257b7eafe12f838338e0639398d6"}},{"ruleId":"D2","level":"warning","message":{"text":"main.createChat (cognitive 99): main.createChat has cognitive complexity 99 (threshold 15). Drivers by points: if/else 38 (63 pts), ternaries 6 (15 pts), error handling 6 (10 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 39). Of this number, 62 points are the body\u0027s own statements and 37 belong to 12 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5285eec462dbd9d1e295f00ec4afc2ba4468d24e8967df72747ffc38befb1e8"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::commands::configure::configure_single_key (cognitive 97): goose_cli::commands::configure::configure_single_key has cognitive complexity 97 (threshold 15). Drivers by points: if/else 30 (93 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 64). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"163bb1383bdfbb210f223db7d417195b9087d1a9b4473812e2d1d608faeef9de"}},{"ruleId":"D2","level":"warning","message":{"text":"MentionPopover.MentionPopover (cognitive 95): MentionPopover.MentionPopover has cognitive complexity 95 (threshold 15). Drivers by points: if/else 40 (58 pts), boolean chains 18, ternaries 9 (14 pts), error handling 3 (4 pts), loops 1 (nesting depth added 24). Most of this is not in the body itself: 6 of the 95 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 189, a function literal at line 528, a function literal at line 250, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MentionPopover.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96a3164b5b3bae4bf51c978a4f9918f9d3730c824405a328e6eedcee156ae90"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayHandler::relay_to_session (cognitive 87): GatewayHandler::relay_to_session has cognitive complexity 87 (threshold 15). Drivers by points: if/else 15 (71 pts), match/switch 4 (10 pts), loops 3 (6 pts) (nesting depth added 65). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/handler.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"44068857c4b6597a8c665ad654fa4422a720ae37ee5e60083220369883e73cea"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::reply_parts::stream_response_from_provider (cognitive 84): goose::agents::reply_parts::stream_response_from_provider has cognitive complexity 84 (threshold 15). Drivers by points: if/else 22 (48 pts), match/switch 6 (22 pts), loops 4 (11 pts), boolean chains 3 (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/reply_parts.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed04a7ba927a247c2a59e91dfa35f77406d3fd527947f463e389327a1104e7d9"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpClientLoop::run (cognitive 78): AcpClientLoop::run has cognitive complexity 78 (threshold 15). Drivers by points: if/else 27 (73 pts), match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 48). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6e651bdb71b1303d0078f40fa5cca56fa22618764949c1f098f61cb6f31800"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::google::format_messages (cognitive 76): goose_provider_types::formats::google::format_messages has cognitive complexity 76 (threshold 15). Drivers by points: if/else 15 (42 pts), match/switch 7 (28 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf91adc594cf469eda78b4ccf1a7378fadba97ac121c70b8a25c05c36b9b8e20"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateEditRecipeModal.CreateEditRecipeModal (cognitive 76): CreateEditRecipeModal.CreateEditRecipeModal has cognitive complexity 76 (threshold 15). Drivers by points: boolean chains 39, if/else 19 (20 pts), ternaries 8 (10 pts), error handling 5 (7 pts) (nesting depth added 5). Most of this is not in the body itself: 10 of the 76 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 211, a function literal at line 126, a function literal at line 346, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ace20863137fb9ce1de1d8ee93a92b8e56567a8da5189dad2f1fd387bd6282f"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::databricks::format_messages (cognitive 73): goose_provider_types::formats::databricks::format_messages has cognitive complexity 73 (threshold 15). Drivers by points: if/else 17 (46 pts), loops 4 (13 pts), match/switch 4 (11 pts), boolean chains 3 (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc7ec37a8d498f2a975a73bf33b371f1f5d2c63f233996a6023b13c8216caff"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpProvider::stream (cognitive 71): AcpProvider::stream has cognitive complexity 71 (threshold 15). Drivers by points: if/else 25 (62 pts), match/switch 4 (6 pts), boolean chains 2, loops 1 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23feee1af1f3527085c8f96df1ae1ac0c8ab8b768d11b20821697b3fc470e64"}},{"ruleId":"D2","level":"warning","message":{"text":"community_stars.main (cognitive 70): community_stars.main has cognitive complexity 70 (threshold 15). Drivers by points: if/else 26 (48 pts), loops 6 (11 pts), error handling 3 (5 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/scripts/community_stars.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3eba7c4473a652008ef00d0ff41dc3ecc3eeedfd097d1922cbad33ce994c0e1"}},{"ruleId":"D2","level":"warning","message":{"text":"SnowflakeProvider::post (cognitive 69): SnowflakeProvider::post has cognitive complexity 69 (threshold 15). Drivers by points: if/else 21 (47 pts), match/switch 5 (16 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/snowflake.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d48d227342f535bdf40805a0d0898a9890f899b959fa093fed0c849840e1d0"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseChat.BaseChat (cognitive 68): BaseChat.BaseChat has cognitive complexity 68 (threshold 15). Drivers by points: if/else 25 (29 pts), boolean chains 26, ternaries 8 (12 pts), loops 1 (nesting depth added 8). Of this number, 28 points are the body\u0027s own statements and 40 belong to 17 function items inside it that branch. 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":"ui/desktop/src/components/BaseChat.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f460dbdd26ae9d20529d57db89510e9051243e9be46d5da5b97ca791366b20"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSchemaForm.JsonSchemaForm (cognitive 67): JsonSchemaForm.JsonSchemaForm has cognitive complexity 67 (threshold 15). Drivers by points: if/else 24 (33 pts), boolean chains 21, ternaries 5 (9 pts), loops 2 (4 pts) (nesting depth added 15). Most of this is not in the body itself: 3 of the 67 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 106, a function literal at line 82, renderField, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ui/JsonSchemaForm.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d614b9aabc11666cba6c1eec1a19e0bb7d9369ec632844fa85e8a8c9220ef0d9"}},{"ruleId":"D2","level":"warning","message":{"text":"RecipesView.RecipesView (cognitive 64): RecipesView.RecipesView has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 24, if/else 16 (17 pts), error handling 12, ternaries 10 (11 pts) (nesting depth added 2). Most of this is not in the body itself: 8 of the 64 points are its own statements and the rest belongs to 20 function items inside it that branch (RecipeItem, handleSaveSlashCommand, renderContent, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"770de71fea66f5d86ec71327ea541cf24e15042e466e6e3c03566ecbaf59c2b1"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderConfigurationModal.ProviderConfigurationModal (cognitive 62): ProviderConfigurationModal.ProviderConfigurationModal has cognitive complexity 62 (threshold 15). Drivers by points: boolean chains 22, if/else 15 (18 pts), ternaries 9 (17 pts), error handling 3, loops 1 (2 pts) (nesting depth added 12). Of this number, 32 points are the body\u0027s own statements and 30 belong to 11 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/ProviderConfigurationModal.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f0fb43a0aa9bd4045599546a3f3a17959eb2acbd7dbe566b21584a520c1536"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::platform_extensions::analyze::parser::find_enclosing_class (cognitive 61): goose::agents::platform_extensions::analyze::parser::find_enclosing_class has cognitive complexity 61 (threshold 15). Drivers by points: if/else 12 (47 pts), loops 4 (12 pts), boolean chains 2 (nesting depth added 43). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"208cfe52a3237279ea69598f50ecc44a52b23c8b95bd15ca7fa1d53e396a0e62"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageQueue.MessageQueue (cognitive 61): MessageQueue.MessageQueue has cognitive complexity 61 (threshold 15). Drivers by points: if/else 16 (24 pts), ternaries 14 (22 pts), boolean chains 15 (nesting depth added 16). Of this number, 17 points are the body\u0027s own statements and 44 belong to 9 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageQueue.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e28ac73d2a517fca6f77fa5b684717e9104b3c45df99b9116dd1060b3b72a0"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionModal.ExtensionModal (cognitive 61): ExtensionModal.ExtensionModal has cognitive complexity 61 (threshold 15). Drivers by points: boolean chains 31, if/else 15 (19 pts), ternaries 6 (8 pts), error handling 2 (3 pts) (nesting depth added 7). Most of this is not in the body itself: 13 of the 61 points are its own statements and the rest belongs to 16 function items inside it that branch (handleSubmit, handleHeaderChange, hasFormChanges, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9be0327b9277e3f8ed572926d30d5671e5f68664c95dbc94071d1528b6bb7d5"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::session::import_formats::codex::convert (cognitive 56): goose::session::import_formats::codex::convert has cognitive complexity 56 (threshold 15). Drivers by points: if/else 18 (46 pts), loops 2 (6 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/codex.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ba00d9d302eda0cd409b06c40e4f4f1ab3226c01c47f505731499a55f8c008"}},{"ruleId":"D2","level":"warning","message":{"text":"index.CopyPageButton (cognitive 56): index.CopyPageButton has cognitive complexity 56 (threshold 15). Drivers by points: if/else 20 (28 pts), boolean chains 22, ternaries 4 (5 pts), error handling 1 (nesting depth added 9). Most of this is not in the body itself: 7 of the 56 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 129, a function literal at line 186, a function literal at line 96, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/theme/DocItem/Layout/index.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd349b0f532ca95f54344bfe8643e352d2403a17225663ea34bf5982acad505d"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultProviderSetupForm.DefaultProviderSetupForm (cognitive 56): DefaultProviderSetupForm.DefaultProviderSetupForm has cognitive complexity 56 (threshold 15). Drivers by points: if/else 22 (24 pts), boolean chains 22, ternaries 5 (8 pts), error handling 1, loops 1 (nesting depth added 5). Most of this is not in the body itself: 7 of the 56 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 100, getPlaceholder, getFieldLabel, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/DefaultProviderSetupForm.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc500c82f7595a7ddead01a129541e01f88da8aa8665e531a63ea0e6d6d80dd1"}},{"ruleId":"D2","level":"warning","message":{"text":"autoUpdater.registerUpdateIpcHandlers (cognitive 56): autoUpdater.registerUpdateIpcHandlers has cognitive complexity 56 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 11, error handling 5 (8 pts), ternaries 4 (8 pts) (nesting depth added 19). Most of this is not in the body itself: 1 of the 56 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 81, 222, 277, \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":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d17ce4d43968e6049c62f373b6d9297a148d7137649d3abff5cd561aea5cb2"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::session::export_markdown::tool_response_to_markdown_for_audience (cognitive 55): goose::session::export_markdown::tool_response_to_markdown_for_audience has cognitive complexity 55 (threshold 15). Drivers by points: if/else 11 (32 pts), match/switch 5 (17 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 34). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_markdown.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"839c9eda2281a0596efc469e72d88bf5d106d7201c153ebb60975cc04ce33258"}},{"ruleId":"D2","level":"warning","message":{"text":"GooseCompleter::complete_argument_keys (cognitive 55): GooseCompleter::complete_argument_keys has cognitive complexity 55 (threshold 15). Drivers by points: if/else 14 (45 pts), loops 2 (6 pts), boolean chains 4 (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/completion.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9707a43e49c6e13ef14b302176b2057189277d3dc903b79a2ba3bfccca2d2987"}},{"ruleId":"D2","level":"warning","message":{"text":"deeplink-generator.DeeplinkGenerator (cognitive 55): deeplink-generator.DeeplinkGenerator has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 13, ternaries 8, error handling 3 (4 pts) (nesting depth added 16). Most of this is not in the body itself: 7 of the 55 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 68, generateDeeplink, a function literal at line 240, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/pages/deeplink-generator.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"80496ff0a97e9d9d46d89dc6ebecddc71974e7373648ced038ec0bc292111d2b"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityToggle.SecurityToggle (cognitive 55): SecurityToggle.SecurityToggle has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 19 (23 pts), boolean chains 19, if/else 9 (12 pts), error handling 1 (nesting depth added 7). Of this number, 40 points are the body\u0027s own statements and 15 belong to 5 function items inside it that branch. 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":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d77f4aab5be9159c248add104afd5d7f28011c13d9600a0e563148cd8ba970"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListView.SessionListView (cognitive 55): SessionListView.SessionListView has cognitive complexity 55 (threshold 15). Drivers by points: if/else 26 (32 pts), boolean chains 8, error handling 7 (8 pts), ternaries 5, loops 2 (nesting depth added 7). Most of this is not in the body itself: 3 of the 55 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 378, a function literal at line 608, renderActualContent, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05bc8286a6c7fc9759be3ed045376e018a52013e3e837c817380c4ca4564d2f"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpConnectionHandler::handle_dispatch_from (cognitive 54): AcpConnectionHandler::handle_dispatch_from has cognitive complexity 54 (threshold 15). Drivers by points: match/switch 24 (43 pts), if/else 7 (11 pts) (nesting depth added 23). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/dispatch.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dd24b3f593f6c4ed4f0f665c55c775774b55c5b39b9a226f0c31cf38c02357"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::databricks::response_to_message (cognitive 54): goose_provider_types::formats::databricks::response_to_message has cognitive complexity 54 (threshold 15). Drivers by points: if/else 11 (30 pts), match/switch 3 (14 pts), loops 3 (10 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8b3d95113896f74d7d29e27a43f932ed9695c54fc88cbbd47a8cf26a90252e"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::cli::handle_local_models_command (cognitive 53): goose_cli::cli::handle_local_models_command has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (39 pts), loops 4 (9 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f73f39f5a5c1ef5a9c2b462061d77c2e39b7c4458572a38a16d5a42bea0e9c3"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramGateway::start (cognitive 52): TelegramGateway::start has cognitive complexity 52 (threshold 15). Drivers by points: if/else 7 (26 pts), match/switch 5 (20 pts), loops 3 (6 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a3ac117b265594ba1dc2e153159d6a43ddcd59658a9f9f6bdcca82f4482fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::google::response_to_streaming_message (cognitive 52): goose_provider_types::formats::google::response_to_streaming_message has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (40 pts), match/switch 2 (6 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0985b1cff228e63fc62f21d5495aa58a06b8aa6805683bc50cd1af81979d9cf"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatInput.ChatInput (cognitive 52): ChatInput.ChatInput has cognitive complexity 52 (threshold 15). Drivers by points: if/else 115 (161 pts), boolean chains 96, ternaries 16 (22 pts), error handling 4, loops 1 (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (ChatInput.ChatInput::handlePaste, ChatInput.ChatInput::handleHistoryNavigation, ChatInput.ChatInput::handleKeyDown) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"6083b576fdd9732cfa214a9bb7f4991df5e30ab1dcb586942f26857680b843a4"}},{"ruleId":"D2","level":"warning","message":{"text":"ParameterInputModal.ParameterInputModal (cognitive 51): ParameterInputModal.ParameterInputModal has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 8 (22 pts), boolean chains 16, if/else 11 (13 pts) (nesting depth added 16). Most of this is not in the body itself: 1 of the 51 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 216, a function literal at line 141, a function literal at line 103, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ParameterInputModal.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76e71d03e906d5c9d06b16326e2fb2370bf667c301e22f4278a020060b3c753"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionInspector::inspect (cognitive 50): PermissionInspector::inspect has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (30 pts), match/switch 5 (15 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/permission/permission_inspector.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44e27e5ca64abcfffe6cad939b835c8f77627c9944cf53dd7d053faafdd41a5"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_acp_macros::custom_methods (cognitive 49): goose_acp_macros::custom_methods has cognitive complexity 49 (threshold 15). Drivers by points: if/else 26 (43 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-acp-macros/src/lib.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"156710d727f1bbec4c0522246bdf3037a0d1febb7d4e53786f93bda4e1a5911b"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::openai_responses::add_message_items (cognitive 49): goose_provider_types::formats::openai_responses::add_message_items has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (32 pts), match/switch 4 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4756bf7c438646da3dadd8e6e8766ef9ae1a7ab9a7460d5f70151a45ca573579"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::snowflake::format_messages (cognitive 49): goose_provider_types::formats::snowflake::format_messages has cognitive complexity 49 (threshold 15). Drivers by points: if/else 10 (41 pts), match/switch 2 (5 pts), loops 2 (3 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/snowflake.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77130a8085b4a9fc03a0c0ad29688a32ad30e1755bb99a76720640092a90256"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpConnection::run_live_delegation (cognitive 48): AcpConnection::run_live_delegation has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (31 pts), match/switch 4 (11 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/live_voice.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c6f8c77b3aebff7128a33ab6e5a5fe117fbbeb18c56b60f7e1cc2840bf22f1"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::providers::chatgpt_codex::build_input_items (cognitive 48): goose::providers::chatgpt_codex::build_input_items has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (31 pts), match/switch 4 (14 pts), loops 2 (3 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05823112995224c62b2a91310af6b7a0f90a084e0eb51a16a40024739ad87d5"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchView.SearchView (cognitive 47): SearchView.SearchView has cognitive complexity 47 (threshold 15). Drivers by points: if/else 29 (33 pts), boolean chains 14 (nesting depth added 4). Most of this is not in the body itself: 2 of the 47 points are its own statements and the rest belongs to 18 function literals inside it that branch (lines 314, 114, 182, \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":"ui/desktop/src/components/conversation/SearchView.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5cc3063e49c46644f23f9383e70abd7a89a14ed3b2daae79b1bec76d693861"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleDetailView.ScheduleDetailView (cognitive 47): ScheduleDetailView.ScheduleDetailView has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 21, if/else 14, error handling 8 (9 pts), ternaries 2 (3 pts) (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 26 belong to 10 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleDetailView.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a679b5e02effe52d3b1977453bf018e9e4c87baf697d93dfffb0cf75be5fb12e"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::openai_responses::responses_api_to_streaming_message (cognitive 46): goose_provider_types::formats::openai_responses::responses_api_to_streaming_message has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (39 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d64b4bd262104e56bc081755d177469bf3ee8e1a1d9506a83ad79db2ede4fd7"}},{"ruleId":"D2","level":"warning","message":{"text":"reporter.trial_turns (cognitive 46): reporter.trial_turns has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (27 pts), error handling 3 (8 pts), ternaries 3 (6 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/harbor/reporter.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdcdcc2eae963688f128b3cf13b095d8417e9d660e817c5e763eab1c305dfef"}},{"ruleId":"D2","level":"warning","message":{"text":"reporter.cmd_task (cognitive 46): reporter.cmd_task has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 4 (14 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/harbor/reporter.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8344e8c05ecf47ba9a39277b78fd4c44f143cce96e5017e6a7bc2eee6250e7"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalInferenceSettings.LocalInferenceSettings (cognitive 46): LocalInferenceSettings.LocalInferenceSettings has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 20, if/else 14 (18 pts), error handling 7, ternaries 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 29 belong to 16 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e954bbe381d274b0bd32ad3de046788f824efa79e03aa12f95cdfd96fa6c85c"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_providers::live::run_actor (cognitive 45): goose_providers::live::run_actor has cognitive complexity 45 (threshold 15). Drivers by points: if/else 6 (25 pts), match/switch 7 (18 pts), loops 2 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/live.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"11772bd28707ec0db69b1a86b9939aa2f0ced40abcbb45cfc3e7321a1cfb6c97"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpConnection::forward_agent_stream (cognitive 43): AcpConnection::forward_agent_stream has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (33 pts), match/switch 2 (6 pts), loops 2 (4 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":2075}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4914dc36c47cc8ce7f5b70df5d6bdc7c12de9a3178082c32a91894a169b9be"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::bin::generate_acp_schema::main (cognitive 43): goose::bin::generate_acp_schema::main has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (34 pts), loops 8, boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/bin/generate_acp_schema.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f796b0860bb8783bc9e00aa0df19fcfdc244743ef2871b406901bb96e9862a"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::sources::list_sources_with_roots (cognitive 43): goose::sources::list_sources_with_roots has cognitive complexity 43 (threshold 15). Drivers by points: loops 5 (19 pts), if/else 4 (17 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae05516c22a9e49535a0d228aa840038a66025919acad2edb8ae4dd17310a280"}},{"ruleId":"D2","level":"warning","message":{"text":"ThinkFilter::process_buffer (cognitive 43): ThinkFilter::process_buffer has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (37 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/thinking.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bca5719241bbb09991b042b24adebbe5b399d9c732a633c3bbb762d9d383bd"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::conversation::fix_tool_calling (cognitive 43): goose_provider_types::conversation::fix_tool_calling has cognitive complexity 43 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 7 (16 pts), match/switch 3 (10 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/conversation.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbab2d32a2a46aaf71519cbb2c2d0a858448c3541898b9a44265b66c821e093"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::openai_responses::create_responses_request_for_model (cognitive 43): goose_provider_types::formats::openai_responses::create_responses_request_for_model has cognitive complexity 43 (threshold 15). Drivers by points: if/else 21 (33 pts), boolean chains 4, match/switch 2 (4 pts), loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"951edd8d1624e99ad7f3d5927823d16488712c44901aa179aa11560c9298b5ea"}},{"ruleId":"D2","level":"warning","message":{"text":"GcpVertexAIProvider::send_request_with_retry (cognitive 42): GcpVertexAIProvider::send_request_with_retry has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (34 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpvertexai.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a64a74b4e9f8c145b210cd7198e0cbf6721b8569d66e805fcdf65dc364eaa4b"}},{"ruleId":"D2","level":"warning","message":{"text":"InferenceRunner::infer (cognitive 42): InferenceRunner::infer has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (25 pts), match/switch 3 (9 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/inference.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f71bd61c19a54692f4c828e6ee607c915a7ddd7f2581536756633854e73ccd0"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::openai::response_to_message (cognitive 42): goose_provider_types::formats::openai::response_to_message has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (34 pts), match/switch 1 (4 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e337a60f977a91f5bf01f96f73f7d3a0b7b69e48c5dd0096f31faae06d104a4"}},{"ruleId":"D2","level":"warning","message":{"text":"ItemIcon.getItemIcon (cognitive 42): ItemIcon.getItemIcon has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (34 pts), boolean chains 7, match/switch 1 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ItemIcon.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6e3732f67821340b3d56003d15985c0902ecffbe6303a4b1aa25c681c8a0a5"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionActionsHeader.SessionActionsHeader (cognitive 42): SessionActionsHeader.SessionActionsHeader has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 9, ternaries 9, error handling 4 (nesting depth added 2). Most of this is not in the body itself: 13 of the 42 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 428, 459, 375, \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":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3665158de18a1d3e259a097d4753ae7d3280f9a53a63dc7fdb17c401a774c7"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexProvider::parse_response (cognitive 41): CodexProvider::parse_response has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (35 pts), match/switch 1 (4 pts), boolean chains 1, loops 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/codex.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6a8eb5d1c34fde94c98255653115402ba75f4f694924ab633b49344944a323"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::elicitation::collect_elicitation_input_inner (cognitive 41): goose_cli::session::elicitation::collect_elicitation_input_inner has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (29 pts), match/switch 4 (9 pts), boolean chains 2, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/elicitation.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea9fb93ca1c46568c8a17e2114365735d3bdf06f2d74daba2aff8e98fa87af3"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::snowflake::parse_streaming_response (cognitive 41): goose_provider_types::formats::snowflake::parse_streaming_response has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (32 pts), match/switch 2 (7 pts), boolean chains 1, loops 1 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/snowflake.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"576d0d4fb4010a1ab5e73c5d54e79b2d4cceeaf157d8cc2b81cf3a7bc40ebeac"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-acp-docs.schemaType (cognitive 41): generate-acp-docs.schemaType has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 9, ternaries 3 (8 pts), loops 1 (nesting depth added 11). Of this number, 37 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/scripts/generate-acp-docs.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"754ec3dda2b17bfd52753bd33e03a56968f685e3dc96226ec72ab6e4457f146b"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateSection.UpdateSection (cognitive 41): UpdateSection.UpdateSection has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 15, if/else 9 (13 pts), ternaries 4 (7 pts), error handling 3, match/switch 3 (nesting depth added 7). Most of this is not in the body itself: 12 of the 41 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 145, getStatusMessage, checkForUpdates, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/UpdateSection.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1705b319ad51503c72b6243e49dfadbe72d3afb64452e546118e886d7c9d1e"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::acp::provider::handle_requests (cognitive 40): goose::acp::provider::handle_requests has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (25 pts), match/switch 4 (11 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfb1d4db62531a17692ba7e91ef15b56d72c15b77e924e883fd2834f693c21c"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_local_inference::native_tool_parsing::json_candidates (cognitive 40): goose_local_inference::native_tool_parsing::json_candidates has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (33 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/native_tool_parsing.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5343215305861877888515489711516f6b885ac0b832c1ed08c0ed523d8ef048"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.parseCommandLine (cognitive 40): utils.parseCommandLine has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/utils.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9955fc33686c3b215160fcfcff73b5c54837d1031b887d09858bd580f8ee73"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::providers::toolshim::parse_tokenized_tool_calls_with_status (cognitive 39): goose::providers::toolshim::parse_tokenized_tool_calls_with_status has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (35 pts), boolean chains 3, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/toolshim.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"242521da0ddb046712bb34487db105eaf3eaf0080cbc4a50ffc568f3905f8b37"}},{"ruleId":"D2","level":"warning","message":{"text":"autoUpdater.setupAutoUpdater (cognitive 39): autoUpdater.setupAutoUpdater has cognitive complexity 39 (threshold 15). Drivers by points: if/else 20 (26 pts), error handling 3 (5 pts), boolean chains 4, ternaries 4 (nesting depth added 8). Most of this is not in the body itself: 9 of the 39 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 572, 470, 449, \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":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b49f1c63bd1ea9776ba846069ac06a5d9506317d2505cfa99410671940597e"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::tool_schema_normalize::collect_used_defs (cognitive 37): goose::agents::tool_schema_normalize::collect_used_defs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 7 (15 pts), match/switch 2 (nesting depth added 19). Of this number, 26 points are the body\u0027s own statements and 11 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/tool_schema_normalize.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dbb3474864fc3664f5670a72357cdfdaed7e92ef9c4ecc29da597cdb906200"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::providers::bedrock::process_stream_event (cognitive 37): goose::providers::bedrock::process_stream_event has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (26 pts), match/switch 4 (10 pts), boolean chains 1 (nesting depth added 21). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/bedrock.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"081789dbb030ce0a21927efc61a0bfae50f1fa72bfcf5c35a671c470aff62e8f"}},{"ruleId":"D2","level":"warning","message":{"text":"GooseCompleter::complete (cognitive 37): GooseCompleter::complete has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 3 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/completion.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e4b986f7bde6a853e5534c4b77d17095ec6aee29b22dd847c4bdde4c78f6e0"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::handle_mcp_notification (cognitive 37): goose_cli::session::handle_mcp_notification has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (35 pts), boolean chains 1, match/switch 1 (nesting depth added 23). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":2395}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5d87c247bf223c2f01922fa4f43bf55f94973ba3e8da319772d46a9b7ce801"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::images::detect_image_path (cognitive 37): goose_provider_types::images::detect_image_path has cognitive complexity 37 (threshold 15). Drivers by points: if/else 6 (22 pts), loops 3 (8 pts), match/switch 1 (6 pts), boolean chains 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/images.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21b872860d7b710bcb28babb47a4a79c34b169244080ba441bd0bcc769158d9"}},{"ruleId":"D2","level":"warning","message":{"text":"RecipeFormFields.RecipeFormFields (cognitive 37): RecipeFormFields.RecipeFormFields has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 20, ternaries 12, if/else 5. Most of this is not in the body itself: 1 of the 37 points is its own statement and the rest belongs to 19 function items inside it that branch (a function literal at line 227, a function literal at line 568, isParameterUsed, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84089ebf01567ed56e1c17117bdd043a2020413000404a3142a2c5912430e08"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenCounter::count_tokens_for_tools (cognitive 36): TokenCounter::count_tokens_for_tools has cognitive complexity 36 (threshold 15). Drivers by points: if/else 5 (22 pts), loops 3 (14 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/token_counter.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"750e6ec9ef20ab20a89ce6d9b69ffb03a38e6816bf0e8a900d9906e3e8e9dee2"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingEmulatorParser::process_chunk (cognitive 36): StreamingEmulatorParser::process_chunk has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (33 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/tool_emulation.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"9289e4cc900a45a2cc851e5afdb0c7eeabe72edb3d25c43d7326bfbc967049be"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_local_inference::llamacpp::inference_emulated_tools::generate_with_emulated_tools (cognitive 36): goose_local_inference::llamacpp::inference_emulated_tools::generate_with_emulated_tools has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 3 (6 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/inference_emulated_tools.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3432f8fc5d94441fc40de39e3ffbf3c3fd60ee209a97f6cf1537a752bb27178"}},{"ruleId":"D2","level":"warning","message":{"text":"generate.parse_bindings (cognitive 36): generate.parse_bindings has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 8, ternaries 1 (3 pts), loops 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":"documentation/automation/gdk-api/generate.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ef8501a04aabe62c202a06d8141d4a993f58160a27c6810556b8626d557319"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomProviderForm.CustomProviderForm (cognitive 36): CustomProviderForm.CustomProviderForm has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 37, if/else 24 (29 pts), ternaries 4 (6 pts), error handling 1 (nesting depth added 7). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (CustomProviderForm.CustomProviderForm::handleSubmit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16e5afad5fd5441441dfea77f248637b621b67b6a9605ffc433eb1026ce8e1c"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallWithResponse.ToolCallView (cognitive 36): ToolCallWithResponse.ToolCallView has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 17, ternaries 8 (10 pts), if/else 7, match/switch 2 (nesting depth added 2). Of this number, 22 points are the body\u0027s own statements and 14 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"778af7c1b25e6671ba384f118304a2fd4e5fb55d2c20ad625349518e76b0f041"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiCliProvider::stream (cognitive 35): GeminiCliProvider::stream has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (27 pts), match/switch 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gemini_cli.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1878d0ac38f6539ebdeea68c7244194e6feedcea4dd976c186de9be89ebab5ec"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::hooks::load_hooks_file (cognitive 35): goose::hooks::load_hooks_file has cognitive complexity 35 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 3 (12 pts), loops 4 (9 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hooks/mod.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37e0b25662fe1efdc2dbb300cc444bca8b666fad7c90201be32786349c2d022"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::session::diagnostics::generate_diagnostics (cognitive 35): goose::session::diagnostics::generate_diagnostics has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (23 pts), match/switch 2 (8 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/diagnostics.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caf5067d2b661207f6c051c96e2289672ca3bebd7d9b0ead7930db130b13a25"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::session::export_markdown::value_to_markdown (cognitive 35): goose::session::export_markdown::value_to_markdown has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 3 (9 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 20). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_markdown.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"767e0cdc84c50dc47c870e3315522782f995de7e26989ccb6cb5519bf42e1500"}},{"ruleId":"D2","level":"warning","message":{"text":"CliSession::handle_prompt_command (cognitive 35): CliSession::handle_prompt_command has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 2 (8 pts), match/switch 2 (4 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf17fdb1d6f15a8a1de9355edc329f1f8797e795e5df730b32e99e0f8ca7fb2"}},{"ruleId":"D2","level":"warning","message":{"text":"main.openDirectoryDialog (cognitive 35): main.openDirectoryDialog has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (24 pts), error handling 3 (7 pts), boolean chains 4 (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":"ui/desktop/src/main.ts"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c46b9c0c230694872685bc3b90aa85dd3a9b6eb0f727c410821299dc4feaf40"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsClient::call_tool (cognitive 34): SkillsClient::call_tool has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (20 pts), match/switch 3 (9 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/client.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"392de4d1d9efe949538d01976dfc3a6b79ce2a923e0128583a32e73fc119b1f9"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::session::import_formats::pi::convert (cognitive 34): goose::session::import_formats::pi::convert has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (27 pts), match/switch 3 (6 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/pi.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf34da8d7fef215bcb60a8f7a32eddee6269efcb08b7673fa6351f8e2b28c2fc"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownBuffer::find_safe_end (cognitive 34): MarkdownBuffer::find_safe_end has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/streaming_buffer.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"6577abcde0e61c187680264c8c859371bdc18ccf554e3677b95662325b5f91c3"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::display_log_notification (cognitive 34): goose_cli::session::display_log_notification has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 1 (4 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":2614}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab034360e0d8d01a142149832d0ee6749d23c45022fb9301b738c431866dbce"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_mcp::computercontroller::docx_tool::do_replace (cognitive 34): goose_mcp::computercontroller::docx_tool::do_replace has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 3 (11 pts) (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/docx_tool.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"935bf8093ae71ac120e6bc745e768ce4f48fd434d7c409cc56ea4b7b6ad7886a"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::openai::normalize_nullable (cognitive 34): goose_provider_types::formats::openai::normalize_nullable has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (28 pts), loops 1 (6 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e3222c4fe5be65a54d55f1018ca0d395a93d4ae5a18c61e6183823f1dd9ad0"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalModelPicker.LocalModelPicker (cognitive 34): LocalModelPicker.LocalModelPicker has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 12, error handling 4 (5 pts) (nesting depth added 5). Most of this is not in the body itself: 10 of the 34 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 179, handleCancelDownload, handlePrimaryAction, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe975045503615ecfa3ad81087ec3d758c5e3fdf16da9a17d1718648c0d6baa"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportRecipeForm.ImportRecipeForm (cognitive 34): ImportRecipeForm.ImportRecipeForm has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 9, ternaries 9, error handling 3 (5 pts) (nesting depth added 5). Most of this is not in the body itself: 2 of the 34 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 119, handleRecipeUploadChange, a function literal at line 234, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/ImportRecipeForm.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ef7afcb97de6c0bdbc688be67ea30e1752c9d77f5592f8fb7ac23bf790c64f"}},{"ruleId":"D2","level":"warning","message":{"text":"CallGraph::bfs_chains (cognitive 33): CallGraph::bfs_chains has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 4 (8 pts), match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/graph.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa96262d8c9849335f93a1455dd6ce288726579106e5e1b9747f0dc17784726"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::platform_extensions::analyze::parser::extract_fn_signature_from_node (cognitive 33): goose::agents::platform_extensions::analyze::parser::extract_fn_signature_from_node has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (32 pts), loops 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e76ea412f17776039e29423c79353f3d00235299a4981c8f8383a6de56db6f"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::commands::recipe::handle_list (cognitive 33): goose_cli::commands::recipe::handle_list has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (24 pts), match/switch 3 (6 pts), loops 1 (3 pts) (nesting depth added 20). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/recipe.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe8fa61badbb1f4b710c945e272a797115364ccb802ef90e03f7e91af9d54ce"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalModelManager.LocalModelManager (cognitive 33): LocalModelManager.LocalModelManager has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 13, if/else 8 (9 pts), error handling 6, ternaries 4 (5 pts) (nesting depth added 2). Most of this is not in the body itself: 5 of the 33 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 197, a function literal at line 127, loadSelectedModel, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/LocalModelManager.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44437ad8471b38e3f1e2e86d3307df8ecb113387bdbb3f3140c4303634acb86"}},{"ruleId":"D2","level":"warning","message":{"text":"main.app.on(\u0022open-url\u0022) (cognitive 33): main.app.on(\u0022open-url\u0022) has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a27a96f6a4489914673a13bd89b71e772dfca425f2058df4a2cec10adaf8c9e"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::providers::inventory::enrich_model_ids_with_canonical (cognitive 32): goose::providers::inventory::enrich_model_ids_with_canonical has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/inventory/mod.rs"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed42ed5247b91b3c6ae1188618320e545977801164c86e54a2e791cb933e9c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ComputerControllerServer::peekaboo_impl (cognitive 32): ComputerControllerServer::peekaboo_impl has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 7 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/mod.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"94736e23cfb7f92d1b6da23c9bc41e09a4d81faf546291f35fbe910f2605b8db"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::canonical::name_builder::map_to_canonical_model (cognitive 32): goose_provider_types::canonical::name_builder::map_to_canonical_model has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (29 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":"crates/goose-provider-types/src/canonical/name_builder.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9683416ed84801cd5bcabc285ae983d1e50629d92e0f87afa49c21671db922d"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::openai::merge_split_tool_call_messages (cognitive 32): goose_provider_types::formats::openai::merge_split_tool_call_messages has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 4 (8 pts), boolean chains 6 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"23815e96559c28b9d71d5a8b09b9dc3e1aa0da118507945f0ba2992f4e9910a4"}},{"ruleId":"D2","level":"warning","message":{"text":"CLIExtensionInstructions.CLIExtensionInstructions (cognitive 32): CLIExtensionInstructions.CLIExtensionInstructions has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 18 (27 pts), boolean chains 5 (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":"documentation/src/components/CLIExtensionInstructions.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c10a8e4d96e7ecfb7ab758dfb2a41fbdc543146cc133f5e63c2a541bca11f41"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelSettingsPanel.ModelSettingsPanel (cognitive 32): ModelSettingsPanel.ModelSettingsPanel has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14, boolean chains 8, ternaries 6 (8 pts), error handling 2 (nesting depth added 2). Most of this is not in the body itself: 14 of the 32 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 396, setChatTemplateMode, a function literal at line 423, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"2176cb55500257cb7dc23d025d4579fee11c90fc69f85f5864a720019cbb1f44"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleModal.ScheduleModal::handleBrowseFile (cognitive 32): ScheduleModal.ScheduleModal::handleBrowseFile has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (23 pts), ternaries 1 (4 pts), error handling 1 (3 pts), boolean chains 2 (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. This shape REPEATS in the file: one other method here (ScheduleModal.ScheduleModal) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleModal.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad5896ea0e9f46147786460b9a3c000838c04270b0d07cd1349ded46977ed6c"}},{"ruleId":"D2","level":"warning","message":{"text":"McpAppRenderer.GooseAppFrame (cognitive 32): McpAppRenderer.GooseAppFrame has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 9, ternaries 2 (3 pts), error handling 1 (nesting depth added 2). None of this is in the body itself: all 32 points belong to 16 function literals inside it that branch (lines 324, 259, 298, \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":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c8e4c81d3a05c6fb1c20325c67d23f3cb285d28407d75bbdcb2b96f238b985"}},{"ruleId":"D2","level":"warning","message":{"text":"WhisperTranscriber::apply_timestamp_pairing_rule (cognitive 31): WhisperTranscriber::apply_timestamp_pairing_rule has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (22 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/whisper.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e79348f59f621f9baaad9167142c73851d535d0d1d4528ba5f62a03fb75729"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorAgentProvider::parse_cursor_agent_response (cognitive 31): CursorAgentProvider::parse_cursor_agent_response has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (30 pts), loops 1 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/cursor_agent.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e435bb7e7888204c989f9b75886cc0b40858e3d4366b2a35a5c44d41c29625e"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::goose_apps::app::fetch_mcp_apps (cognitive 31): goose::goose_apps::app::fetch_mcp_apps has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (25 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/goose_apps/app.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0daab4291dbc23edb024e13579c9505f9f09648f7363921d12cf707a4270685"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_local_inference::extract_text_content (cognitive 31): goose_local_inference::extract_text_content has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (5 pts), match/switch 2 (5 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/lib.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"f108beef086c0d9409c2f05cf4a434ce99fd27f50f78ad08ee688bb124e927ef"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_local_inference::hf_models::cached_local_models (cognitive 31): goose_local_inference::hf_models::cached_local_models has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/hf_models.rs"},"region":{"startLine":2767}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9dc6be119efa6118676638e89e7765d6fbf25cbc68b0f840c5de6230daae9c"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAiProvider::sanitize_request_for_compat (cognitive 31): OpenAiProvider::sanitize_request_for_compat has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 1 (4 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bfe151ae3af0ed0f034ee76a3f59c212f62a94ce1e6ca1104b98f7de544a49"}},{"ruleId":"D2","level":"warning","message":{"text":"PromptsSettingsSection.PromptsSettingsSection (cognitive 31): PromptsSettingsSection.PromptsSettingsSection has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 6, error handling 5 (6 pts), loops 1, ternaries 1 (nesting depth added 5). Most of this is not in the body itself: 6 of the 31 points are its own statements and the rest belongs to 11 function items inside it that branch (handleRestoreDefault, handleReset, handleResetAll, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/PromptsSettingsSection.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ce2d55f44320af0114c055ca479958365d93454e9db3f0adfe296f903974e0"}},{"ruleId":"D2","level":"warning","message":{"text":"CronPicker.CronPicker (cognitive 31): CronPicker.CronPicker has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 17, ternaries 9, if/else 4, error handling 1. Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 117, 143, 136, \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":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"da68f823ac471344a5780bfc487f4792db9fa6a51c07c1dfdeae56671d22d023"}},{"ruleId":"D2","level":"warning","message":{"text":"GooseMessage.GooseMessage (cognitive 31): GooseMessage.GooseMessage has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 25, ternaries 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/GooseMessage.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1899438d735363ac0dba973ea143b67d061fbc37719403edc76ed50b6c88e322"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_mcp::computercontroller::pdf_tool::pdf_tool::get_image_extension (cognitive 30): goose_mcp::computercontroller::pdf_tool::pdf_tool::get_image_extension has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (20 pts), match/switch 3 (9 pts), boolean chains 1 (nesting depth added 20). 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. This shape REPEATS in the file: one other method here (goose_mcp::computercontroller::pdf_tool::pdf_tool) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/pdf_tool.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9c9ac8114876bffcae42654a7f591d7bb71b467721877b4eb5f9137ddb482b"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsBottomBar.ModelsBottomBar (cognitive 30): ModelsBottomBar.ModelsBottomBar has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 12, if/else 9 (10 pts), ternaries 6, error handling 1 (2 pts) (nesting depth added 2). Most of this is not in the body itself: 12 of the 30 points are its own statements and the rest belongs to 9 function items inside it that branch (handleRecentModelClick, a function literal at line 142, handleModelMenuCloseAutoFocus, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/bottom_bar/ModelsBottomBar.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8f75b59625019f5e401048d8dca18134c21766ffa7d9493f8ac9c5e85c4fae"}},{"ruleId":"D2","level":"warning","message":{"text":"RecipeModelSelector.RecipeModelSelector (cognitive 30): RecipeModelSelector.RecipeModelSelector has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 11, ternaries 7 (11 pts), if/else 6 (7 pts), error handling 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 15 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeModelSelector.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f4f32b766741bb53c639a3cf87d502d84d07206b9faaa0a034707a7088aa7f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatRecallClient::handle_chatrecall (cognitive 29): ChatRecallClient::handle_chatrecall has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (9 pts), match/switch 2 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/chatrecall.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ce7478923a6bf2dc542b1201cfb3aa84f239fc16cc378fc1dccac143da8cd6"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::bin::generate_manpages::generate_see_also (cognitive 29): goose_cli::bin::generate_manpages::generate_see_also has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/bin/generate_manpages.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c329e487cef3c8282b8440ef9713440b96f2925f3c6fa6de33b63208e048b0"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::anthropic::apply_thinking_config (cognitive 29): goose_provider_types::formats::anthropic::apply_thinking_config has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 2, match/switch 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":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbe9eaf942014e771daaf5ac9a82e4e3e30a0c1d6be42515506b041c34a289c"}},{"ruleId":"D2","level":"warning","message":{"text":"prepare-platform-binaries.cleanBinDirectory (cognitive 29): prepare-platform-binaries.cleanBinDirectory has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 4, error handling 1 (4 pts), ternaries 1 (3 pts) (nesting depth added 14). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to one function literal inside it that branches (line 164). 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":"ui/desktop/scripts/prepare-platform-binaries.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15213e4c2ad72d51f57006f8a184507b20aad0d5a2df9c946deca642aef962d"}},{"ruleId":"D2","level":"warning","message":{"text":"scroll-area.ScrollArea (cognitive 29): scroll-area.ScrollArea has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 8, ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 107, 154, 188, \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":"ui/desktop/src/components/ui/scroll-area.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e128c7298618de2f4dcde62fec26eb05d0916fdf42853d2abd921b46e5480488"}},{"ruleId":"D2","level":"warning","message":{"text":"AppsView.AppsView (cognitive 29): AppsView.AppsView has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 9, if/else 8 (9 pts), error handling 6, ternaries 2 (3 pts), loops 2 (nesting depth added 2). Most of this is not in the body itself: 6 of the 29 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 118, a function literal at line 330, a function literal at line 156, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/apps/AppsView.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9318f63667ad54204ce3691fa4d00633256e5cfe8d7e30afea347fcabca926"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeCodeProvider::last_user_content_blocks (cognitive 28): ClaudeCodeProvider::last_user_content_blocks has cognitive complexity 28 (threshold 15). Drivers by points: if/else 4 (14 pts), match/switch 4 (11 pts), loops 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/claude_code.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51e6fa9a325a160bb6131f8223875f8e48f76f34a4a352603dcb2d5f57b21a7"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::dictation::providers::resolve_model_native_config (cognitive 28): goose::dictation::providers::resolve_model_native_config has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (25 pts), match/switch 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/providers.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"881aa77c60f54cd05335781a42750abd5357725047c42123acd061df7a9b2623"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::providers::oauth::get_oauth_token_with_cache (cognitive 28): goose::providers::oauth::get_oauth_token_with_cache has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), match/switch 2 (7 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/oauth.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ecda57a3e97cd8f6e36405577c1e3b2d837c7092289a939da0163dadada20a"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::sources::import_sources (cognitive 28): goose::sources::import_sources has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 3 (9 pts), match/switch 2, 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":"crates/goose/src/sources.rs"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"783605e63f1b8cc285ec86c9547b56288bfb4a1897a8bbfe2d41bd01da5b9e70"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::builder::resolve_provider_and_model (cognitive 28): goose_cli::session::builder::resolve_provider_and_model has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21 (23 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/builder.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"092c7336c116660b31b4a8f8c1766a6a5df134bca409a20c90b0249f416b6116"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::output::print_params (cognitive 28): goose_cli::session::output::print_params has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (8 pts), loops 2 (7 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":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eefd4270fb0f72320fb567fa95a882906191c72010543ca1bf6fce772d453c8"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadManager::download_model_sharded_with_bearer_token (cognitive 28): DownloadManager::download_model_sharded_with_bearer_token has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 2 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-download-manager/src/lib.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b23bb550c64cf945568f8b172418a226322ed714e2265fa177686cd7f1024f"}},{"ruleId":"D2","level":"warning","message":{"text":"detail.ExtensionDetail (cognitive 28): detail.ExtensionDetail has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 7 (18 pts), boolean chains 8, if/else 2 (nesting depth added 11). Of this number, 26 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. 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":"documentation/src/pages/extensions/detail.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c7f2f69c1bc59b8a7c73c8aae0cdb33232321dad79375a0c6596cded97600c"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveVoiceButton.LiveVoiceButton (cognitive 28): LiveVoiceButton.LiveVoiceButton has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 12, ternaries 6 (9 pts), if/else 7 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/LiveVoiceButton.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b4f943224a3c0f8620c3d5fef1a34a757a441d75d2854186b0e946ef47a525"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageUsageStats.MessageUsageStats (cognitive 28): MessageUsageStats.MessageUsageStats has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 21, if/else 5, ternaries 1 (2 pts) (nesting depth added 1). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageUsageStats.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e566dafcc5770860a5d8d5435179f1ae82817f7c7d14430161521cfc68ebceaa"}},{"ruleId":"D2","level":"warning","message":{"text":"toolCallChaining.identifyConsecutiveToolCalls (cognitive 28): toolCallChaining.identifyConsecutiveToolCalls has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/toolCallChaining.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"19926ead3a99cfcb74993e9a21c24b24a97d6b6c2af8fc2a46096ede9244b1ba"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubUpdater.checkForUpdates (cognitive 28): GitHubUpdater.checkForUpdates has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (20 pts), ternaries 3 (6 pts), boolean chains 1, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/githubUpdater.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"753c6c6d3e105f79943ca3b2ac6b4d6f5c56fdf19fd2e9f00f660077a724614e"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolExecutionOperation::run (cognitive 27): ToolExecutionOperation::run has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 5 (10 pts), loops 5 (7 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_toolcalling.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfda179523b7e7c09e77e9eaece1a5afe5375b8ef6bf8dd93841720e6c56795"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::tool_schema_normalize::inline_refs_scoped (cognitive 27): goose::agents::tool_schema_normalize::inline_refs_scoped has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 7, match/switch 1 (4 pts), loops 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/tool_schema_normalize.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd521919b60eca9ef0b39c2635d89999cc8cb83e174474980a492fa651e53237"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::session::export_markdown::tool_request_to_markdown (cognitive 27): goose::session::export_markdown::tool_request_to_markdown has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (21 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_markdown.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10a02769ee5882759527bddf4f2873619a270ad74a5bf11fe08f7155a0424cc"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::sources::list_agent_sources (cognitive 27): goose::sources::list_agent_sources has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 4 (10 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7ed8649e4ce45353de47402a79fc22ed0e612d386a73d842524ddb7cff68eb"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_agent::skills::discovery::scan_skills_from_dir (cognitive 27): goose_agent::skills::discovery::scan_skills_from_dir has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (23 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/skills/discovery.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a0a6549f1a2db164a591700987e3381c9255118202c0469eb53f064acf8569"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_local_inference::convert_text_media_markers (cognitive 27): goose_local_inference::convert_text_media_markers has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/lib.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"9825bb4d41f519d20d97664f6e7696a96e6ba091eb37b934012fb579367e65d2"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::ollama::response_to_streaming_message_ollama (cognitive 27): goose_provider_types::formats::ollama::response_to_streaming_message_ollama has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 3, 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":"crates/goose-provider-types/src/formats/ollama.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2435b8d69ca5980b8df65646385b860265131d62ed6fcd1241b58d38c3926b91"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::openai::create_request_for_model_with_options (cognitive 27): goose_provider_types::formats::openai::create_request_for_model_with_options has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (22 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c465202cca12b11efdc09751446ca538168e5f0ee8c8f5195e3eb48b6e8444c"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::openai_responses::process_streaming_output_items (cognitive 27): goose_provider_types::formats::openai_responses::process_streaming_output_items has cognitive complexity 27 (threshold 15). Drivers by points: if/else 3 (15 pts), match/switch 2 (6 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1db26dbc84b4345c569aec8243754aa9e23b5935e9db70c9da62f230f940ada"}},{"ruleId":"D2","level":"warning","message":{"text":"release_risk_report.generate_report (cognitive 27): release_risk_report.generate_report has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (4 pts), ternaries 1 (3 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":"workflow_recipes/release_risk_check/release_risk_report.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1325fcef56a60b05de3951bd575c16d546e82def411428fafad2e57058d1792"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingGuard.OnboardingGuard (cognitive 27): OnboardingGuard.OnboardingGuard has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 4, error handling 2 (3 pts), ternaries 2, loops 1 (nesting depth added 7). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to 4 function items inside it that branch (checkProvider, finishOnboarding, a function literal at line 108, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/OnboardingGuard.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1752d0f475dfd122aebccf23c869c2dfde09439daf642e02cbfec7578fbf4f"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyboardShortcutsSection.KeyboardShortcutsSection (cognitive 27): KeyboardShortcutsSection.KeyboardShortcutsSection has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 5). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 7 function items inside it that branch (handleToggle, handleSave, a function literal at line 527, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f80d4b9d43414be295f49c3a481226f35f8ab93b2386934ec2f3bb90e0ee371"}},{"ruleId":"D2","level":"warning","message":{"text":"main.handleProtocolUrl (cognitive 27): main.handleProtocolUrl has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, ternaries 2 (3 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":"ui/desktop/src/main.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fca99492c62803baa7b5835aaf454c092d1c8ee72cf774bf935fd151442417"}},{"ruleId":"D2","level":"warning","message":{"text":"SageMakerTgiProvider::create_tgi_request (cognitive 26): SageMakerTgiProvider::create_tgi_request has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (7 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/sagemaker_tgi.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ab36a17418596cf79af7ac15a5b9284a998bfcb695bfdbbd26cc08afad505d"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionStorage::list_sessions_matching (cognitive 26): SessionStorage::list_sessions_matching has cognitive complexity 26 (threshold 15). Drivers by points: if/else 21, loops 4 (5 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c48ce9f891bff1a153a51d56a131122b5aec1ae1cc3df9210157a1c90059be"}},{"ruleId":"D2","level":"warning","message":{"text":"ObservationLayer::handle_record (cognitive 26): ObservationLayer::handle_record has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 1 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/tracing/observation_layer.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"122371acd377940b6feb976c1f3fdcdb7d547561214de08c1444b3e32ce19fa6"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::platform_extensions::javascript::evaluate (cognitive 26): goose::agents::platform_extensions::javascript::evaluate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 2 (5 pts), loops 3, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/javascript.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdaa84e5d277d1b5c0fb31377540865968b074d5e5f58bf7238cc03f4f9f827"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::providers::codex::prepare_input (cognitive 26): goose::providers::codex::prepare_input has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 4 (14 pts), if/else 3 (9 pts), loops 2 (3 pts) (nesting depth added 17). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/codex.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"33522c6521ed695ebe7951d97fba71510a54d6e686fcbc3880458b38e9656414"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::builder::try_build_session (cognitive 26): goose_cli::session::builder::try_build_session has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 5 (8 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/builder.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed9729e36d76469448ec8f8b31a67af04865390b03122843bbc9d1ff57e2d03"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_download_manager::cleanup_partial_downloads (cognitive 26): goose_download_manager::cleanup_partial_downloads has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 2 (7 pts), boolean chains 2 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-download-manager/src/lib.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb1e60e643566de6160653edb46acfa7b4e76eaa21a272787be910ef3d11621"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalInferenceProvider::stream (cognitive 26): LocalInferenceProvider::stream has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 7 (12 pts), if/else 4 (9 pts), loops 3 (5 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/lib.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9db7ecf021c5652d6628ca5eee00e60643e6237103b1ffd5f7915e5e35f4e4"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_local_inference::llamacpp::inference_native_tools::extract_oai_tool_call_contents (cognitive 26): goose_local_inference::llamacpp::inference_native_tools::extract_oai_tool_call_contents has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (22 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/inference_native_tools.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff299bb78ce1aebd279cf0e472cfb785dbd6585c903de9deab31aee64c596e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Conversation::push (cognitive 26): Conversation::push has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 9, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/conversation.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ad29bcb556b00eda0fc17287b29e00f09f2e4a14011e4cf358ad299349f30b"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::base::collect_stream (cognitive 26): goose_provider_types::base::collect_stream has cognitive complexity 26 (threshold 15). Drivers by points: if/else 3 (10 pts), match/switch 3 (9 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/base.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb91ab9243b63f715079cd932c6beb6ed5e32f76f5c194d3f3eb549287308a5"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::databricks::create_request_for_provider (cognitive 26): goose_provider_types::formats::databricks::create_request_for_provider has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (21 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a241495529ed319088c2186a03738bac9fee67525e2b1140f78aa2957b6356"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::openai::sanitize_schema_node (cognitive 26): goose_provider_types::formats::openai::sanitize_schema_node has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 5 (9 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89556132199bd10b7e1808bc6ee3b65b59697c2074ceb2df7ed61952f9d3606"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderStream::next_chunk (cognitive 26): ProviderStream::next_chunk has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 3 (9 pts), loops 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":"crates/goose-sdk/src/bindings.rs"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fd33c7898b682acdf75851acde8a4bdc638d9d9765910c6ed204de937a4703"}},{"ruleId":"D2","level":"warning","message":{"text":"reporter.cmd_compare (cognitive 26): reporter.cmd_compare has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 3 (7 pts), boolean chains 5 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/harbor/reporter.py"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b99f6125e757957d7e36bee8a35d34f1d3607815987bf1f0af160d385fdd07"}},{"ruleId":"D2","level":"warning","message":{"text":"index.verifyOidcToken (cognitive 26): index.verifyOidcToken has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 4, ternaries 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oidc-proxy/src/index.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab26d6fc3a76a32f35035d9ab653d6b48b7bd5f563cb0b4ec8616ac7c05ed0aa"}},{"ruleId":"D2","level":"warning","message":{"text":"DirSwitcher.DirSwitcher (cognitive 26): DirSwitcher.DirSwitcher has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 9, error handling 1 (2 pts), ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 5 of the 26 points are its own statements and the rest belongs to 10 function items inside it that branch (applyDirectoryChange, a function literal at line 240, handleDirectoryChange, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/bottom_menu/DirSwitcher.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b9c9530938e9212bad189b3b39087f4a1b34e4071ffff87ed97f2f4ba6686f"}},{"ruleId":"D2","level":"warning","message":{"text":"useDisplayMode.useDisplayMode (cognitive 26): useDisplayMode.useDisplayMode has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 9, ternaries 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 158, 134, 141, \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":"ui/desktop/src/components/McpApps/useDisplayMode.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4005db5dd8b7f6ca009965fe71c84ddc4684a791420215b2c432345ed6ac069b"}},{"ruleId":"D2","level":"warning","message":{"text":"App.AppInner (cognitive 26): App.AppInner has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13, boolean chains 7, error handling 2 (3 pts), ternaries 2, loops 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 13 function literals inside it that branch (lines 457, 340, 532, \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":"ui/desktop/src/App.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfa21901044e16f1518092b575606cd5f94336afcdae4bfe5ed6071d8a4aaed"}},{"ruleId":"D2","level":"warning","message":{"text":"McpAppCache::list_apps (cognitive 25): McpAppCache::list_apps has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 2 (9 pts), loops 2 (3 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":"crates/goose/src/goose_apps/cache.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d537b4057dd35cb1a2b336f64fb8beb33029e27cedbd7891ba34f6feb40216ca"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::acp::provider::acp_tool_call_content_to_rmcp (cognitive 25): goose::acp::provider::acp_tool_call_content_to_rmcp has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 4 (14 pts), if/else 4 (9 pts), loops 1 (2 pts) (nesting depth added 16). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":2073}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2b9779ffb8b0e6c8d6855bb7c08e3685c34b98dc43649b79e4e5b7ff9ae845"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::config::migrations::migrate_platform_extensions (cognitive 25): goose::config::migrations::migrate_platform_extensions has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 5 (13 pts), if/else 5 (10 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/migrations.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7beb297ce24e421cedd3801a5ef35c76a7c1457eb9a4b1ce6b3501b2d966ee5b"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::commands::configure::configure_provider_dialog (cognitive 25): goose_cli::commands::configure::configure_provider_dialog has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 5 (6 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0276481716a883a36c9908b3bc9b01b06e3339db0b1b201351549f0df19fa9b"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::output::extract_markdown_table (cognitive 25): goose_cli::session::output::extract_markdown_table has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"43adca6b93484625a4e664c4cd637bbafdb7878652458cc661b238220f804c8e"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadManager::download_files_sequentially (cognitive 25): DownloadManager::download_files_sequentially has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-download-manager/src/lib.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"3162ca571a4c8c16756f278d0c5229ac8796fc6bbf87a8c3aa71107555d1d489"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_local_inference::mlx::imp::generate_single_model (cognitive 25): goose_local_inference::mlx::imp::generate_single_model has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (22 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/mlx.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b79999cf9b1cee66bb4305768f4c8c4b0fad56951718f33c8da7c441dc8052"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::conversation::message::sanitize_tool_result_in_place (cognitive 25): goose_provider_types::conversation::message::sanitize_tool_result_in_place has cognitive complexity 25 (threshold 15). Drivers by points: if/else 3 (15 pts), match/switch 3 (8 pts), loops 1 (2 pts) (nesting depth added 18). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/conversation/message.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a45560e32e3fe490971823cad13fd6c4c718111dd5a226c91f514258f99e8d1"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::openai_responses::responses_api_to_message (cognitive 25): goose_provider_types::formats::openai_responses::responses_api_to_message has cognitive complexity 25 (threshold 15). Drivers by points: if/else 3 (15 pts), match/switch 2 (6 pts), loops 2 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87bc97b6710a51e289b66e5797a9e5c1fc3b506afe18baba5d8061775465dc6"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::thinking::parse_think_tag (cognitive 25): goose_provider_types::thinking::parse_think_tag has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 3 (4 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/thinking.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cfd648a0492370b69a26a5dc3046ea50f98271cb64a806c64b8a91ff1fc235"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabricksProvider::stream (cognitive 25): DatabricksProvider::stream has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (22 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a94eab009b86db808c33296758cc13e3e45a6d2ccc78aa7ebfab2ea6db839e6"}},{"ruleId":"D2","level":"warning","message":{"text":"DocsIndex.addDocument (cognitive 25): DocsIndex.addDocument has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 4 (6 pts), boolean chains 3, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/tools/docs.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b828e383be5ce73f2ceb281ad744147146c98cac0473c2dde3c98685699b7ce"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFaceModelSearch.HuggingFaceModelSearch (cognitive 25): HuggingFaceModelSearch.HuggingFaceModelSearch has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 6, error handling 4 (5 pts), loops 1 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 12 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe95e6e80e936aee2d614a682ad380d074d2b04f39f1f27fd05eab77e4bebc82"}},{"ruleId":"D2","level":"warning","message":{"text":"interruptionDetector.detectInterruption (cognitive 25): interruptionDetector.detectInterruption has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 6 (11 pts), boolean chains 2 (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":"ui/desktop/src/utils/interruptionDetector.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bfc63ec47cdc00d08077910c4712427107f77342a41d518af271ca6cc84213"}},{"ruleId":"D2","level":"warning","message":{"text":"AppSettingsSection.AppSettingsSection (cognitive 25): AppSettingsSection.AppSettingsSection has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 10, error handling 2, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 8 function items inside it that branch (handleMenuBarIconToggle, handleDockIconToggle, handleLanguageChange, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bb57d6c51924beadbd29b4d06bc0b00db7dc8fe79e36f99ba62acd63cddaeb"}},{"ruleId":"D2","level":"warning","message":{"text":"DictationSettings.DictationSettings (cognitive 25): DictationSettings.DictationSettings has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 14, if/else 10, ternaries 1. Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 105, handleSaveKey, handleRemoveKey, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/DictationSettings.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec0e36cda13c53a498da4b3bcf1e0abe226e8f739f58ca09a6b3c685d04c1b6"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMessage.UserMessage (cognitive 25): UserMessage.UserMessage has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, if/else 9 (10 pts), ternaries 2 (3 pts) (nesting depth added 2). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 168, 209, 226, \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":"ui/desktop/src/components/UserMessage.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b35451516cf61e7eee2faa76881c6072d68a4f531db6c473a2f867836ab2b04"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubUpdater.downloadUpdate (cognitive 25): GitHubUpdater.downloadUpdate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 3 (5 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/githubUpdater.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b290801229155fb52eca7b50ae2f33a152bb2a1f73d2e36665d344de6e8961b"}},{"ruleId":"D2","level":"warning","message":{"text":"renderContentBlock (cognitive 25): renderContentBlock has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (10 pts), ternaries 1 (4 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a346d8bfe791ab7d825697d8b4b3f76c2f2a641b59157cced238780f687fff"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellTool::shell_with_cwd_and_emitter (cognitive 24): ShellTool::shell_with_cwd_and_emitter has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (16 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/developer/shell.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbce0b48a2ee3fbabdd5494e7fc8c89cb71c87be7b6ab65656c6fa08732a94ed"}},{"ruleId":"D2","level":"warning","message":{"text":"MappingReport::compare_with_previous (cognitive 24): MappingReport::compare_with_previous has cognitive complexity 24 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 6 (10 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/bin/build_canonical_models.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d18f766a70c5956012409bb98956e8b2a24646e122ddd45c98e8904ea6120c"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderInventoryService::refresh_with_provider (cognitive 24): ProviderInventoryService::refresh_with_provider has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 4 (11 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/inventory/mod.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b77655114a5ff6375b3859d9d0e1357973efb7c64064251faeb90580101e1c"}},{"ruleId":"D2","level":"warning","message":{"text":"OllamaInterpreter::process_interpreter_response (cognitive 24): OllamaInterpreter::process_interpreter_response has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 1 (5 pts), boolean chains 3 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/toolshim.rs"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"67236fdeb8398bc6ef8025319ed124ad3761d24dc779d09d0d1ec38f273174c9"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::platform_extensions::analyze::parser::collect_field_names (cognitive 24): goose::agents::platform_extensions::analyze::parser::collect_field_names has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 2 (5 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5f789f750db4b38cf02657fe19e1161bb1722c0616a2fcf6724041e5fa0d85"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::platform_extensions::developer::shell::collect_tagged_lines (cognitive 24): goose::agents::platform_extensions::developer::shell::collect_tagged_lines has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (18 pts), match/switch 2 (5 pts), loops 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":"crates/goose/src/agents/platform_extensions/developer/shell.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f92c694ecc6a6c56e04a1c477a1bf57dad44a18b90f19b30c2b98ccd594be84"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::tool_schema_normalize::for_each_subschema_mut (cognitive 24): goose::agents::tool_schema_normalize::for_each_subschema_mut has cognitive complexity 24 (threshold 15). Drivers by points: loops 4 (13 pts), if/else 2 (6 pts), match/switch 2 (5 pts) (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/tool_schema_normalize.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4622aab3cb4ca31c9262b1d197be0b04af2444473246b04ffe1b788243ae3c12"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::context_mgmt::compact_messages (cognitive 24): goose::context_mgmt::compact_messages has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 3, loops 1, 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":"crates/goose/src/context_mgmt/mod.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d0a1fb0474b9331176497f48c33d9cd58f6b575427ae87efe1c661fd614035"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::oauth::oauth_flow_with_challenge (cognitive 24): goose::oauth::oauth_flow_with_challenge has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/oauth/mod.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fc3f4e7b023feec7b22ad17d486295662c9b94f592cd6b51f8641c86382da7"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::session::import_formats::claude_code::convert (cognitive 24): goose::session::import_formats::claude_code::convert has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/claude_code.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9665734149737a87c1704cf59fda9015138e783d2eddbafe3871329467f54d"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::tool_inspection::apply_inspection_results_to_permissions (cognitive 24): goose::tool_inspection::apply_inspection_results_to_permissions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 4, match/switch 2 (4 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":"crates/goose/src/tool_inspection.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0097c8644bcfc9b807e64f45bff3456b0ac4f057fee6e8296355e47f8f3eda"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::commands::info::handle_info (cognitive 24): goose_cli::commands::info::handle_info has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (5 pts), match/switch 2 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/info.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1ee5b467c3a84dd8eabfc2049b6c3acce828d9f4908dbaf99020f65ed102bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorProxy.detect_provider (cognitive 24): ErrorProxy.detect_provider has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 3 (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":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a0d4430bea468690bd4d1aac2c0435317144c7900bd8d19c47a41d2d28ff37"}},{"ruleId":"D2","level":"warning","message":{"text":"index.RecipePage (cognitive 24): index.RecipePage has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 12 (18 pts), if/else 3, boolean chains 2, error handling 1 (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 9 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/pages/recipes/index.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d57cb79f5debcca109c2a2048ed309adf01519ae8498834651cabd7efbe3de"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpReadinessPanel.AcpReadinessPanel (cognitive 24): AcpReadinessPanel.AcpReadinessPanel has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (6 pts), ternaries 4 (6 pts), error handling 2 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/AcpReadinessPanel.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f715d30570f6f943d72f34bdb63947bb4865a9cb86496cf90322097cb3d72b"}},{"ruleId":"D2","level":"warning","message":{"text":"CostTracker.CostTracker (cognitive 24): CostTracker.CostTracker has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 10, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to 3 function items inside it that branch (getTooltipContent, a function literal at line 64, getUnavailableTooltip). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/bottom_menu/CostTracker.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"66033ccaeca30b241f7222efc1120a116fa45498395d390f5ba12e925e87a742"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigSettings.ConfigSettings (cognitive 24): ConfigSettings.ConfigSettings has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 8, ternaries 4 (5 pts), error handling 1 (nesting depth added 1). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 189, a function literal at line 253, a function literal at line 126, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/config/ConfigSettings.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caaa623dfb0e0a7b59646b3337932e0061a08539d30c56751b9bf4f9810b0b7"}},{"ruleId":"D2","level":"warning","message":{"text":"cronSchedule.parseCron (cognitive 24): cronSchedule.parseCron has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 3 (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":"ui/desktop/src/utils/cronSchedule.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"052761c76f2c26d2ed4f7b00ae23f2a722800b7fca44d378caf36542b49c6ec0"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderGrid.ProviderCards (cognitive 24): ProviderGrid.ProviderCards has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 7, if/else 5 (6 pts), error handling 1 (3 pts) (nesting depth added 4). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 132, 233, 162, \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":"ui/desktop/src/components/settings/providers/ProviderGrid.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c53d6588d20ad5bea3a150cc415df8340491dbf9e2fed56aa992063654867d"}},{"ruleId":"D2","level":"warning","message":{"text":"KimiCodeProvider::use_or_refresh (cognitive 23): KimiCodeProvider::use_or_refresh has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (20 pts), match/switch 1 (2 pts), loops 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":"crates/goose/src/providers/kimicode.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c84fa43b115d31624655bd91efae5c3f8de6d6613bb2ffbb31a9eee238c6d9e"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::platform_extensions::analyze::format::format_chain_group (cognitive 23): goose::agents::platform_extensions::analyze::format::format_chain_group has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (7 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":"crates/goose/src/agents/platform_extensions/analyze/format.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3576cc8365b81916a4230f2ec20c5fd8c6253cafcc657334e2de9c087d64ad3c"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::dictation::whisper::deduplicate_text (cognitive 23): goose::dictation::whisper::deduplicate_text has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (9 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/whisper.rs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37b610984150827998ac9f9d95ddfdd91c8d96e574974120ef60ff859ab6e3c"}},{"ruleId":"D2","level":"warning","message":{"text":"CliSession::handle_model (cognitive 23): CliSession::handle_model has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 3, match/switch 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4828f2840f1bca641f787f6c86f50ea76eb87ebaa81f738f918f95043774ae"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownBuffer::process_inline_token (cognitive 23): MarkdownBuffer::process_inline_token has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 3, 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":"crates/goose-cli/src/session/streaming_buffer.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63cd6258be2fa119933c62e7df5449e08faee285c86518cb8517695bc51d5a0"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::commands::roam::handle_peers (cognitive 23): goose_cli::commands::roam::handle_peers has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/roam.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe732168dc4afcc752ca6898b2acb221f849d1635066597ac3f2313fb865a27"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::input::get_input (cognitive 23): goose_cli::session::input::get_input has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 3 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/input.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef7055c61ccda3134aa7bc5a04dbb7665ba601f4fa5474e5511e418b18e5331"}},{"ruleId":"D2","level":"warning","message":{"text":"gooseServe.startGooseServe (cognitive 23): gooseServe.startGooseServe has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 7 (8 pts), boolean chains 2, error handling 1 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/gooseServe.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"d111de802e0cbb184b4652ba67dc0cd16f3f59e80f90a5c66d8dab57def308b7"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.applyContentChunk (cognitive 23): messages.applyContentChunk has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (6 pts), boolean chains 4 (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":"ui/desktop/src/acp/adapter/messages.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96cbeacab24849e1d066ef27b66c919d630372595ea5055a188fc00d8139bbb"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionInstallModal.ExtensionInstallModal (cognitive 23): ExtensionInstallModal.ExtensionInstallModal has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7, ternaries 5 (7 pts), boolean chains 3, error handling 3, match/switch 3 (nesting depth added 2). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 273, determineModalType, generateModalConfig, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ExtensionInstallModal.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e538bb31e6f1557c210e76ce4599a6f5bd08937f7b22f210de47493e0b191b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatInput.ChatInput::handleHistoryNavigation (cognitive 23): ChatInput.ChatInput::handleHistoryNavigation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 9, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 3 other methods here (ChatInput.ChatInput, ChatInput.ChatInput::handlePaste, ChatInput.ChatInput::handleKeyDown) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ae33097b9a802acc61beb4c2158d1b9349ffc61a0126261a0f8bb2e0dc4c2b"}},{"ruleId":"D2","level":"warning","message":{"text":"Hub.Hub (cognitive 23): Hub.Hub has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 5, boolean chains 3, error handling 2 (nesting depth added 1). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 91, createHubSession, handleSubmit, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Hub.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"239d63c436f4d705506fc460b8271d9b5210a0e61e1abebbcdb55c8545a9b871"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineEditText.InlineEditText (cognitive 23): InlineEditText.InlineEditText has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12, boolean chains 6, ternaries 3 (4 pts), error handling 1 (nesting depth added 1). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 87, 122, 67, \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":"ui/desktop/src/components/common/InlineEditText.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f34674400fa280029f4c1d75d61974a6c82cfbcd181b89006c7222022d97b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionsSection.ExtensionsSection (cognitive 23): ExtensionsSection.ExtensionsSection has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, if/else 8, error handling 3, ternaries 2. Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 84, handleUpdateExtension, a function literal at line 80, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/ExtensionsSection.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dc4e5184f274c410b3cdde7c1bacb5068378e42396a4d8caf4304e5290e5c4"}},{"ruleId":"D2","level":"warning","message":{"text":"StateMachineServices::start_reply (cognitive 22): StateMachineServices::start_reply has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/services.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f571dac25609767c90905673a9c191cc08ca98513e342be1564e5df9ce3a37"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolExecutionOperation::run_prompt (cognitive 22): ToolExecutionOperation::run_prompt has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (4 pts), 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":"crates/goose/src/agents/state_machine/ops_toolcalling.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"1100576fd4f6cd0a98415f969978ba3847d6959611e0167965abb8382617ffcd"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveVoiceInteraction::run (cognitive 22): LiveVoiceInteraction::run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 2 (5 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":"crates/goose/src/live_voice/interaction.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8154e3d376af1331d06503600d3447d133b46b0fe52c1c290d4ee4ddb215f33b"}},{"ruleId":"D2","level":"warning","message":{"text":"BedrockProvider::stream (cognitive 22): BedrockProvider::stream has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/bedrock.rs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ef5431759d87acf24b71029d80d11279129f57eff087101212ddba168c8f90"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::config::declarative_providers::update_custom_provider (cognitive 22): goose::config::declarative_providers::update_custom_provider has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/declarative_providers.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc262406c7c4e3438654206f3504056e9c947a67ca8b9b2492279bafc4868244"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::security::egress_inspector::detect_direction (cognitive 22): goose::security::egress_inspector::detect_direction has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/egress_inspector.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"21acdb995570dfd3ca8e0d741bda4e25d0dcf56d216e6f5ec25b9d5739a89fd8"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::session::legacy::load_session (cognitive 22): goose::session::legacy::load_session has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/legacy.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3112c23622933238554056c3cbb4ebc0eb46fecf4bf73748c854b50e66228920"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::output::print_table (cognitive 22): goose_cli::session::output::print_table has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ae94f38e3b70d18eaed3996232e4fdb74adfa015443ff6f8c699a8be585e86"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_providers::openrouter_format::add_reasoning_details_to_request (cognitive 22): goose_providers::openrouter_format::add_reasoning_details_to_request has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openrouter_format.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8deb9ecfcaed5cfa5a4ae25dd0af63fa4b27c25caa85fbf445ce5a7b7e111e"}},{"ruleId":"D2","level":"warning","message":{"text":"chart_template.html.processDatasets (cognitive 22): chart_template.html.processDatasets has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (22 pts) (nesting depth added 8). None of this is in the body itself: all 22 points belong to one function literal inside it that branches (line 220). 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":"crates/goose-mcp/src/autovisualiser/templates/chart_template.html"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbb277b79174199f020151b4872e0be2f4eb078ce114d4dd250052f7a5106d6"}},{"ruleId":"D2","level":"warning","message":{"text":"detail.RecipeDetailPage (cognitive 22): detail.RecipeDetailPage has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, if/else 6, ternaries 2, error handling 1. Of this number, 16 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/pages/recipes/detail.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f4b0ceaea7ac182779d6027935cad9d6e70ff4d59c81f2af13df26ca66bbf8"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchBar.SearchBar (cognitive 22): SearchBar.SearchBar has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 7, ternaries 2 (nesting depth added 1). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to 6 function items inside it that branch (handleKeyDown, a function literal at line 100, handleSearch, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/conversation/SearchBar.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0db991587be0d278b931bf41c0eb5b259335d3f11b8ea8ec42309701ef83ab9"}},{"ruleId":"D2","level":"warning","message":{"text":"messageRowContext.deriveMessageRowContexts (cognitive 22): messageRowContext.deriveMessageRowContexts has cognitive complexity 22 (threshold 15). Drivers by points: loops 7 (11 pts), if/else 3 (6 pts), boolean chains 4, ternaries 1 (nesting depth added 7). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/messageRowContext.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac50b84a466f600f6a0305d2bb36cc1cd3c85d6f89219a4e5926a8895f1f26f"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolPairCompactionOperation::run (cognitive 21): ToolPairCompactionOperation::run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_tool_pair_compaction.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c9b123ba3d64fc6c27226e9ba2ff80eccb01aae19ce584b05f68db54630a43"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorAgentProvider::messages_to_cursor_agent_format (cognitive 21): CursorAgentProvider::messages_to_cursor_agent_format has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 3 (10 pts), if/else 2 (8 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/cursor_agent.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd26c10c00f7099f7b47d65ca4975e1c521ae3f89045cae0eada9a22ab7174f"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionStorage::apply_migration (cognitive 21): SessionStorage::apply_migration has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3113fa68678274dd7e1492b8b93ab0574d65aa3aa2b52795ff5440440356adc"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::extension_malware_check::parse_npm_token (cognitive 21): goose::agents::extension_malware_check::parse_npm_token has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_malware_check.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8012e4536a1739cc01d7acf87d5f7b678a5d73f9c52071d3864c501a7802fb9"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::state_machine::ops_llm::prepare_tool_requests (cognitive 21): goose::agents::state_machine::ops_llm::prepare_tool_requests has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_llm.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"291f6e755e19a99f1d7d2b7f2d1f231750527494004ac1c10d1b7fe444248d03"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::config::migrations::migrate_provider_config (cognitive 21): goose::config::migrations::migrate_provider_config has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/migrations.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1139e7d6e26210eed8e52d727e30cdb71afdbfe1ecc16936f032ae3fd0c7e822"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::hints::load_hints::load_hint_files (cognitive 21): goose::hints::load_hints::load_hint_files has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hints/load_hints.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"132d7c4158890f72ddd6da8484f03870203bd12fc316c623b944e827b37c8ef5"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::permission::permission_judge::extract_read_only_request_ids (cognitive 21): goose::permission::permission_judge::extract_read_only_request_ids has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (20 pts), loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/permission/permission_judge.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"630dbeb5bac1d4c3fc1bbb3cd25f74ad29e3446f24e0b14ad829445015c815e1"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::posthog::classify_error (cognitive 21): goose::posthog::classify_error has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/posthog.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fe95860b191c06a946fb33615d46ac04fdde4e546d3bc99499df5b4230ca41"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::session::session_naming::extract_short_title (cognitive 21): goose::session::session_naming::extract_short_title has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_naming.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f292abf0a6920786697e0be25a289c1f92e5b8b19a8064e557c439368f94d004"}},{"ruleId":"D2","level":"warning","message":{"text":"GooseCompleter::complete_model_names (cognitive 21): GooseCompleter::complete_model_names has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/completion.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa4e2ced4f241d7ed05daaf5983efffbd6f8e605451c0b28adbd6353ce6f78f"}},{"ruleId":"D2","level":"warning","message":{"text":"CliSession::handle_interrupted_messages (cognitive 21): CliSession::handle_interrupted_messages has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2 (4 pts), match/switch 1 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b15f7b4f0ef150af7a7598048d21dff6fac13819d6b521d9063a1dce49ce33"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::cli::handle_mcp_probe (cognitive 21): goose_cli::cli::handle_mcp_probe has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (12 pts), match/switch 4 (8 pts), loops 1 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"c331a0b2dc9c7435ac1386ecb5ca23ba7c8eae95584a1deeac0f8d0116303e49"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::cli::handle_interactive_session (cognitive 21): goose_cli::cli::handle_interactive_session has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":1933}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c83b3dec845496d0c7d28371b6a437f7108be1f8b70e9a23593d3b18d85a3fc"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::commands::session::handle_session_list (cognitive 21): goose_cli::commands::session::handle_session_list has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/session.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"0456a6409bc7addb2e5a87b0c5e68ad9f9d4be9ed1b3c76c9bb2c89e7af7320e"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::format_logging_notification (cognitive 21): goose_cli::session::format_logging_notification has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3b8b23dc015b4cb38ecceab86e5b01b40f9c1b8edf59e3e01444fbdeed3acc"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::log_tool_metrics (cognitive 21): goose_cli::session::log_tool_metrics has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"d185548a6c57da717978982beadae55c5c871e588195bf8b95ad3021afe53cc0"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_local_inference::hf_models::delete_cached_local_model (cognitive 21): goose_local_inference::hf_models::delete_cached_local_model has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/hf_models.rs"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"7194199d6d2c1a42f4c9b89c663af507ea573a787206ccd8b82e374903be8bf6"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_providers::ollama::from_declarative_config (cognitive 21): goose_providers::ollama::from_declarative_config has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/ollama.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cd602010f005a37e584bcdb7db3dc76e33453e73619bca958c069cb3f0f4e9"}},{"ruleId":"D2","level":"warning","message":{"text":"reporter.cmd_show (cognitive 21): reporter.cmd_show has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 5 (8 pts), boolean chains 2, 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":"evals/harbor/reporter.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"6762107c879348bb975b050743601d194c36452b0635957bcc67960745cc2fa1"}},{"ruleId":"D2","level":"warning","message":{"text":"radar_template.html.renderRadar (cognitive 21): radar_template.html.renderRadar has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 18, ternaries 2, if/else 1. Of this number, 12 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/templates/radar_template.html"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"239286f0e874b566a2122159633c70204b2755bfe7f6970960d4a5bcae33a38c"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentCard.ContentCard (cognitive 21): ContentCard.ContentCard has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, ternaries 9 (10 pts), if/else 1 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 5 belong to 5 function literals inside it that branch. 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":"documentation/src/components/ContentCard.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d1e6311919093d4897a0d50d7a7df467b3dd1e717181c8544cc469178dbeab"}},{"ruleId":"D2","level":"warning","message":{"text":"recipes.normalizeRecipe (cognitive 21): recipes.normalizeRecipe has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (5 pts), if/else 2 (4 pts), loops 1 (2 pts) (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/utils/recipes.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0636a14597cfadf05bbccce43b36457a5f2f181ef359e1bc4030cdbc9a7d05a5"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionModal.PermissionModal (cognitive 21): PermissionModal.PermissionModal has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (11 pts), boolean chains 5, if/else 3, error handling 2 (nesting depth added 6). Of this number, 13 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionModal.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1d8065681e969b8d970b29e9c3291cef31598848988edecfabc5a7aaf1a37c"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionActionsHeader.JsonTreeNode (cognitive 21): SessionActionsHeader.JsonTreeNode has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (14 pts), boolean chains 6, if/else 1 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e2791701b82d629498323e6ad303f396f3f79c570e2e5d1098956dcc27c8bb"}},{"ruleId":"D2","level":"warning","message":{"text":"EnvVarsSection.EnvVarsSection (cognitive 21): EnvVarsSection.EnvVarsSection has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 14, ternaries 4, if/else 3. Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 144, a function literal at line 69, handleAdd, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a4a8c8703fc78036247a4f3b41f7c1e6934285b4cf742ff9589bbc826d8ae1"}},{"ruleId":"D2","level":"warning","message":{"text":"allowlistFetcher.fetchAllowlistContent (cognitive 21): allowlistFetcher.fetchAllowlistContent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), error handling 3 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 4). None of this is in the body itself: all 21 points belong to 5 function literals inside it that branch (lines 78, 56, 36, \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":"ui/desktop/src/allowlistFetcher.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d608dc9807600867ad78ada20b2c9695c67f369c604c11e61aedb19408edca9c"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::platform_extensions::analyze::parser::find_enclosing_fn (cognitive 20): goose::agents::platform_extensions::analyze::parser::find_enclosing_fn has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (18 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9a67afc492c77ac3e11c426e5b0111070a03e1995f262b411bf9196f560c7a"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::recipe::validate_recipe::classify_conversion_error (cognitive 20): goose::recipe::validate_recipe::classify_conversion_error has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/recipe/validate_recipe.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc7a7da2a77f6532fcca8321a62a669946e132ecf4d39ae297857c1796e530a"}},{"ruleId":"D2","level":"warning","message":{"text":"StateMachine::step (cognitive 20): StateMachine::step has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (8 pts), match/switch 4 (8 pts), loops 2 (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":"crates/goose-agent/src/machine.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"957134ba423a44b178b532f8411c7f7c538a3286d3d313e9f35042255b648eed"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::commands::configure::add_provider (cognitive 20): goose_cli::commands::configure::add_provider has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":2187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9b70999f964a7e12055423b2143293f5fc3928add4f5fb6e479a759b88b792"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::input::handle_slash_command (cognitive 20): goose_cli::session::input::handle_slash_command has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 1, match/switch 1 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/input.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d610214a325989a0e4ce228b182121f148ee4792a3796e7f5c9be703497562"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::output::render_tool_response (cognitive 20): goose_cli::session::output::render_tool_response has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 2 (4 pts), loops 1 (2 pts) (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"314e80d3bcd557134a2033f109f1ad5cacebad3e11654e102f4f1c753b1da93c"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabricksV2Provider::stream_mlflow_chat_completions (cognitive 20): DatabricksV2Provider::stream_mlflow_chat_completions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks_v2.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"08861724a04f55b8950b460adbb69eb0209938e593675d3200a40d458820bf2f"}},{"ruleId":"D2","level":"warning","message":{"text":"GooseDesktopInstaller.GooseDesktopInstaller (cognitive 20): GooseDesktopInstaller.GooseDesktopInstaller has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 6, boolean chains 4 (nesting depth added 4). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 2 function items inside it that branch (getStep3Content, buildGooseUrl). 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":"documentation/src/components/GooseDesktopInstaller.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e3556751ae9be0cc35698a19918aaf18c70c85c99e7841fc0ab2547f778698"}},{"ruleId":"D2","level":"warning","message":{"text":"useAudioRecorder.useAudioRecorder.startRecording (cognitive 20): useAudioRecorder.useAudioRecorder.startRecording has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3, error handling 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useAudioRecorder.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7615b6af93971b72219c82498308a17d55410cbc1218f03a4d54167a1b184bd"}},{"ruleId":"D2","level":"warning","message":{"text":"MentionPopover.fuzzyMatch (cognitive 20): MentionPopover.fuzzyMatch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, 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":"ui/desktop/src/components/MentionPopover.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9527fdb438eaffbf68f3f9b8c2e979c5d2b43a5034b209b32007ec8b212413b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatInput.ChatInput::handleKeyDown (cognitive 20): ChatInput.ChatInput::handleKeyDown has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (ChatInput.ChatInput, ChatInput.ChatInput::handlePaste, ChatInput.ChatInput::handleHistoryNavigation) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1499aad46d916611f0cd2a00d07137ec29062fd303884f3b08a1f6a438b85b69"}},{"ruleId":"D2","level":"warning","message":{"text":"MicrophoneSelector.MicrophoneSelector (cognitive 20): MicrophoneSelector.MicrophoneSelector has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, error handling 3, ternaries 3, loops 1 (nesting depth added 1). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 9 function items inside it that branch (startTest, selectedLabel, a function literal at line 106, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/MicrophoneSelector.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b5a056ac019c146c54d71087de6cb4d58b9572b2f4a69fb8d67d88cbe15a60"}},{"ruleId":"D2","level":"warning","message":{"text":"SubRecipeModal.SubRecipeModal (cognitive 20): SubRecipeModal.SubRecipeModal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 3, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 119, handleSave, handleBrowseFile). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcc98c606f27dbbdaf69607c6a5ec7a2a24d68b4d45a70adc30b413d40e665b"}},{"ruleId":"D2","level":"warning","message":{"text":"StandaloneAppView.StandaloneAppView (cognitive 20): StandaloneAppView.StandaloneAppView has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8, error handling 2 (nesting depth added 1). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 70, 39, 54, \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":"ui/desktop/src/components/apps/StandaloneAppView.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef2569747e3773c579f2ea9912091090f520dc6717d5e454c35e1eb51ab3dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"main.parseRecipeDeeplink (cognitive 20): main.parseRecipeDeeplink has cognitive complexity 20 (threshold 15). Drivers by points: error handling 2 (6 pts), if/else 4 (6 pts), boolean chains 4, ternaries 2 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd055ed805448dcef0a2af53d8aaceba051c454a96a60f63445a999fba95097"}},{"ruleId":"D2","level":"warning","message":{"text":"XaiOAuthAuthProvider::get_valid_token (cognitive 19): XaiOAuthAuthProvider::get_valid_token has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/xai_oauth.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe02d93c1a9db51041af2a05215d95828384377d0f97005fd40f80f6573aa78"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::acp::server::load_session::replay_conversation_to_client (cognitive 19): goose::acp::server::load_session::replay_conversation_to_client has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/load_session.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9868f24a7479973cc315c79709a6b55cd4b48634f054c5e1cf967bc0581810ad"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::platform_extensions::analyze::format::format_semantic (cognitive 19): goose::agents::platform_extensions::analyze::format::format_semantic has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/format.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"66593a937ce9b8211778fd0dcb3387f60a5bd4019db6e4d9da0044cf95f494f9"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::platform_extensions::javascript::json_value::convert (cognitive 19): goose::agents::platform_extensions::javascript::json_value::convert has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2 (4 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/javascript.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50f05e1e1158f58f36b58f0262b2afa387d4468726d5bac995eed68ef5c865f"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::gateway::telegram::cleanup_legacy_voice_files (cognitive 19): goose::gateway::telegram::cleanup_legacy_voice_files has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a2102cbf4ad98d7a3ba3155e309f8640b60d300927d7610273e1558d203991"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::providers::gemini_oauth::setup_code_assist (cognitive 19): goose::providers::gemini_oauth::setup_code_assist has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gemini_oauth.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d46899836571503fdc78652aa8a9e61740eb7e7b5f08aef712e3fba8c5975f"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::recipe::validate_recipe::schema_field (cognitive 19): goose::recipe::validate_recipe::schema_field has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 10 (19 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/recipe/validate_recipe.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b919afd94e5964e8d88ff7d1ea5436b553552aa707adb6e715711f654287e403"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::output::render_message_streaming (cognitive 19): goose_cli::session::output::render_message_streaming has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae5c9a2bf01b90f0e4b3e56ad44aa28268a38daa02ab2e44749a683a4cd8b78"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::output::render_delegate_request (cognitive 19): goose_cli::session::output::render_delegate_request has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 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":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"332f6ff5c32fa89a042d7d38653d907587fc1b239cfd56b710b1727d6b7e42f3"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaCppBackend::generate (cognitive 19): LlamaCppBackend::generate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/mod.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"9244ffd96157bb7a9dae828ebb23649776f4368100d365a35198b4dd4b1b40c5"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::google::process_response_part_impl (cognitive 19): goose_provider_types::formats::google::process_response_part_impl has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"359af85281abd6651f2e2a80a3f4cbfaa6642f07a9bc7f4a899bd0219a3a2ff3"}},{"ruleId":"D2","level":"warning","message":{"text":"proxy.parse_command (cognitive 19): proxy.parse_command has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"97783653690166460eba56511553839ab4f21fed04ec92e79fec816547783d15"}},{"ruleId":"D2","level":"warning","message":{"text":"release_risk_report.assess_risk (cognitive 19): release_risk_report.assess_risk has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"workflow_recipes/release_risk_check/release_risk_report.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e53650826bf267d7269f4b70a459216058767af9055137cb374e028f044908"}},{"ruleId":"D2","level":"warning","message":{"text":"release_risk_report.extract_testing_section (cognitive 19): release_risk_report.extract_testing_section has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"workflow_recipes/release_risk_check/release_risk_report.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc9dadd1053a849b52552a8bf46b199221605add0296358a554b6dd78802dbb"}},{"ruleId":"D2","level":"warning","message":{"text":"template.tocLabel (cognitive 19): template.tocLabel has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 5, ternaries 3 (4 pts) (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf69c15ae0a2a21f4c9a51bfa0ceea4b08bf1245da1211097cc287b36faa3913"}},{"ruleId":"D2","level":"warning","message":{"text":"index.getLocale (cognitive 19): index.getLocale has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, error handling 1 (3 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/i18n/index.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d3b0d02e67be1e071392fd4f8088cfa2dd616e51aeababf717773c6781e3a5"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderCatalogPicker.ProviderCatalogPicker (cognitive 19): ProviderCatalogPicker.ProviderCatalogPicker has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 4, ternaries 2 (4 pts), error handling 2 (nesting depth added 2). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 5 function items inside it that branch (fetchProviders, handleProviderSelect, a function literal at line 87, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderCatalogPicker.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a852ce0094d244ea086e78217a5bb840fd5011af4354065c8dd6c1b86306ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatInput.ChatInput::handlePaste (cognitive 19): ChatInput.ChatInput::handlePaste has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 1, 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. This shape REPEATS in the file: 3 other methods here (ChatInput.ChatInput, ChatInput.ChatInput::handleHistoryNavigation, ChatInput.ChatInput::handleKeyDown) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2051a11be367238a6b83955205fc396850c71df13b2d42dcd73da2d1c5a7e2"}},{"ruleId":"D2","level":"warning","message":{"text":"ShortcutRecorder.ShortcutRecorder::handleKeyDown (cognitive 19): ShortcutRecorder.ShortcutRecorder::handleKeyDown has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 6, ternaries 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. This shape REPEATS in the file: one other method here (ShortcutRecorder.ShortcutRecorder) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/keyboard/ShortcutRecorder.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3427d99ce1877803eca44ae53302510d51b4296d9bead0b004f9d6c6a09acc6"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopFileAccess.writeGoosehints (cognitive 19): DesktopFileAccess.writeGoosehints has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, error handling 2, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/desktopFileAccess.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5027c823a99234c40a7ddaddabdd088c940a28f0c151e03136aacabe92f878"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpConnection::spawn_provider_inventory_refresh_jobs (cognitive 18): AcpConnection::spawn_provider_inventory_refresh_jobs has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 6 (17 pts), loops 1 (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/providers.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"69240694d7889e47cfa59f0f9e312144429ef59578d1af35c48931216a5f046b"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextRelevanceOperation::request (cognitive 18): ContextRelevanceOperation::request has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_context_relevance.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad3005da613753b2cafce54de1b8dd12142f211b13544c6ab7ff9a2f40219a2"}},{"ruleId":"D2","level":"warning","message":{"text":"RetryOperation::run_command (cognitive 18): RetryOperation::run_command has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_retry.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb147d4290986e352188e3f4c7d4a56d0e63ef8c7307a3c224b515030a826aee"}},{"ruleId":"D2","level":"warning","message":{"text":"SubdirectoryHintTracker::record_tool_arguments (cognitive 18): SubdirectoryHintTracker::record_tool_arguments has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (2 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":"crates/goose/src/hints/load_hints.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f746aa2d10adb5af98bce58d4575825e2dbf0f7924a033533789101b131b48cb"}},{"ruleId":"D2","level":"warning","message":{"text":"HookManager::emit_collecting_banners (cognitive 18): HookManager::emit_collecting_banners has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (4 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hooks/mod.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a85e9f81a49259a7c43e27bc12c12e094056328de29bab558c8abf9e9bb552"}},{"ruleId":"D2","level":"warning","message":{"text":"Scheduler::load_jobs_from_storage (cognitive 18): Scheduler::load_jobs_from_storage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 5 (8 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32fe187c53535ba7d24856a18a6ad87f8fc380a78c0de747341d79a00b7466a"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::gateway::telegram::cleanup_orphaned_voice_files (cognitive 18): goose::gateway::telegram::cleanup_orphaned_voice_files has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"479c9749e3e4e5a8bd54e846a2063faf5efe38d88dfe7c3bea68d5cd3a5d20b7"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::session::import_formats::detect_format (cognitive 18): goose::session::import_formats::detect_format has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/mod.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6b09a49957ba1515b860362355240b559c707c2cf4d9bea054a428761f2d43"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::slash_commands::recipe_slash_command::parse_recipe_args (cognitive 18): goose::slash_commands::recipe_slash_command::parse_recipe_args has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/slash_commands/recipe_slash_command.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66733a63aca037d7826aa09727b86e2136ad45224ec0befc336b4128210c65b"}},{"ruleId":"D2","level":"warning","message":{"text":"CliSession::refresh_completion_cache (cognitive 18): CliSession::refresh_completion_cache has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (7 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e2de321fcffc0b1caa8188acfb08889719589ce3ed918542e8a99e8a07307e"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::cli::handle_session_subcommand (cognitive 18): goose_cli::cli::handle_session_subcommand has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 4 (6 pts) (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":"crates/goose-cli/src/cli.rs"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ac570d285f3832b413fce2f59339334688aaabf790eaf8c8df55e0e830bf4c"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::paste::drain_console_paste (cognitive 18): goose_cli::session::paste::drain_console_paste has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/paste.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3087b16ad7d21ad40f029dd02de904d65bc19e39603feac51ef5fd4105d5760f"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_context_management::format::format_message_for_compacting (cognitive 18): goose_context_management::format::format_message_for_compacting has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 4 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-context-management/src/format.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"42987ddf2b3d3f19097e9889a6655432470cd0a830bc6f583eda22e64a79ddca"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_mcp::computercontroller::docx_tool::extract_structure_from_docx (cognitive 18): goose_mcp::computercontroller::docx_tool::extract_structure_from_docx has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/docx_tool.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f66eedb2d11230ee98f4b9cd34c3d6858a462ae45e086aa878fa2568f70d4e"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_mcp::peekaboo::auto_install_peekaboo (cognitive 18): goose_mcp::peekaboo::auto_install_peekaboo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (18 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/peekaboo/mod.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6391c5729e41da6f4e722ac85233f56963b945144e4bb85a76697ef8a6955960"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::errors::provider_error_from_reqwest (cognitive 18): goose_provider_types::errors::provider_error_from_reqwest has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (18 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/errors.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"35dcd8b7389d5d4d477b7cdef250ac7a0350573acc46addf0259f266a103b6e4"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_providers::openai::from_declarative_config (cognitive 18): goose_providers::openai::from_declarative_config has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), match/switch 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"a732a3b609925a3af07baed8e41059e2a4886485e50d1a7252525837a0049efa"}},{"ruleId":"D2","level":"warning","message":{"text":"gdk-release.check_config (cognitive 18): gdk-release.check_config has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-sdk/scripts/gdk-release.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"273e6961af4873aa7c6445e36e7a3c42c82eeed486091fffcf391797d98e03c2"}},{"ruleId":"D2","level":"warning","message":{"text":"community_stars.parse_date_range (cognitive 18): community_stars.parse_date_range has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 1 (4 pts), loops 1 (3 pts), boolean chains 2, ternaries 1 (2 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":"documentation/scripts/community_stars.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ed84298c7b5d9e075f37139aa0f68aa118e20c986d1521e8e2d328d7dc6d13"}},{"ruleId":"D2","level":"warning","message":{"text":"release_risk_report.main (cognitive 18): release_risk_report.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), error handling 1 (2 pts), loops 2 (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":"workflow_recipes/release_risk_check/release_risk_report.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"686a21f6ba3f6f18f89913fe0ee5dec1c5c37aef2bd7b8eba35dee6f38f8dfa7"}},{"ruleId":"D2","level":"warning","message":{"text":"api.signature (cognitive 18): api.signature has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 11 (16 pts), if/else 2 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/components/GdkApiReference/api.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed128924414f8afc20aa68c7b7a53cfe791bf51444ce58a334607b554a8f63c"}},{"ruleId":"D2","level":"warning","message":{"text":"codebase-search.walkAndSearch (cognitive 18): codebase-search.walkAndSearch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 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":"services/ask-ai-bot/utils/ai/tools/codebase-search.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"455362f6c908795b11235e75489842806e4f715b6c67c3a981b9328dec138a7e"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.apiContentBlockFromAcpContentBlock (cognitive 18): tools.apiContentBlockFromAcpContentBlock has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/adapter/tools.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e3aa1d0408f9bd4c91e5c7f03778a3d42fbf0f1646582a60556b5baedc837c"}},{"ruleId":"D2","level":"warning","message":{"text":"chatSessionController.submitMessage (cognitive 18): chatSessionController.submitMessage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/chatSessionController.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d40f361dc7f991cac69aba60d63f592ab6aaebbe8d780e4a269b328b1763b99"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchModelModal.SwitchModelModal (cognitive 18): SwitchModelModal.SwitchModelModal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 50 (63 pts), boolean chains 37, ternaries 4 (5 pts), error handling 3 (nesting depth added 14). 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. This shape REPEATS in the file: one other method here (SwitchModelModal.SwitchModelModal::handleSubmit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f907db9ec4ac952cdb34931a01b6ab72a4393d32015549abeff4beac325b4c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalBackendSection.ExternalBackendSection (cognitive 18): ExternalBackendSection.ExternalBackendSection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, error handling 2, ternaries 1 (2 pts) (nesting depth added 2). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (validateUrl, saveConfig, handleUrlBlur, \u2026). 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":"ui/desktop/src/components/settings/app/ExternalBackendSection.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5ff84556ea05785ba2950a09af4f815ce3af2c5b25512fa86a50f8c187da56"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleModal.ScheduleModal (cognitive 18): ScheduleModal.ScheduleModal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 35 (59 pts), boolean chains 16, ternaries 7 (12 pts), error handling 2 (5 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. This shape REPEATS in the file: one other method here (ScheduleModal.ScheduleModal::handleBrowseFile) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleModal.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e4f8d6736a0e78500503198a0a6b063ea5a616bab2e6daec1754bff8da3dde"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpConnection::on_authenticate_provider_config (cognitive 17): AcpConnection::on_authenticate_provider_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (17 pts) (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/providers.rs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a07a32a9bcdc794a3111347c1693df808845088382e19fd05dd884ae20d7035"}},{"ruleId":"D2","level":"warning","message":{"text":"StateMachineServices::build_context_report (cognitive 17): StateMachineServices::build_context_report has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/context_report.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c0dae32c8dca2dce5b3d500c1a8754d943ad890392373c95065ee78b0203d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextRelevanceOperation::run (cognitive 17): ContextRelevanceOperation::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, match/switch 3 (7 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_context_relevance.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"31191e03c3de3249966cb7709539c8d16a264016e208e3f364f80bf5c57431db"}},{"ruleId":"D2","level":"warning","message":{"text":"McpAppCache::delete_extension_apps (cognitive 17): McpAppCache::delete_extension_apps has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/goose_apps/cache.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd50b285eb5b7e44ddf9252fb515da6fe68491e996376eb24938cc364042f14"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexProvider::execute_command (cognitive 17): CodexProvider::execute_command has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 3, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/codex.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd0b63726fd067d22582b1173b43ab9b0936ab3b07d4119281417d8f9be335b"}},{"ruleId":"D2","level":"warning","message":{"text":"MuseCodeAuth::use_or_refresh (cognitive 17): MuseCodeAuth::use_or_refresh has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/muse_code_def.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"b844489c4be764f99891465731162c76b32f65a5f9eed6f345d78de34694b39d"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::acp::server::extensions::goose_extension_to_config (cognitive 17): goose::acp::server::extensions::goose_extension_to_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 1 (3 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/extensions.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b63d32c18d18b9a826cd9b79f12f0b920972365663236f1fbad3a792a732cc9"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::acp::server::tool_calls::conversion::default_tool_title (cognitive 17): goose::acp::server::tool_calls::conversion::default_tool_title has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/tool_calls/conversion.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3496cb41b6d248a8c480c0df2b319d4a40d6e5c9d1d85c5acff20e18f548827d"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::platform_extensions::chatrecall::format_agent_visible_excerpt (cognitive 17): goose::agents::platform_extensions::chatrecall::format_agent_visible_excerpt has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (8 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/chatrecall.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d444e3170e88ac9c1675ea78eb3e6613f0beda3f594bd6bd148c8d9fe8ea2a3"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::tool_schema_normalize::collapse_node (cognitive 17): goose::agents::tool_schema_normalize::collapse_node has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 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":"crates/goose/src/agents/tool_schema_normalize.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c40362c7f7b2c297665ed97268c25b89d341327c263f1f15f0268f0a81cc72e"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::validate_extensions::validate_bundled_extensions (cognitive 17): goose::agents::validate_extensions::validate_bundled_extensions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/validate_extensions.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbd5cade1e9d202e391b8bcfd4dfa919f4229d4de3f417cadd87b056fe72be4"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::checks::discover_with_globals (cognitive 17): goose::checks::discover_with_globals has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 6 (8 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/checks/mod.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"9405cafb19bd5d30370b6194b3a09513b32bd14e302f67ae0d87cb990bd13bc1"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::hints::load_hints::load_hints_from_directory (cognitive 17): goose::hints::load_hints::load_hints_from_directory has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hints/load_hints.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1073767c10325612aff8cf82970f5abd6cd6aa51ed26079e3b567541d545d0c"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::recipe::local_recipes::scan_directory_for_recipes (cognitive 17): goose::recipe::local_recipes::scan_directory_for_recipes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 1 (5 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/recipe/local_recipes.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d74ff808dd97eb2fe660f0096b20cdcce8a6d734fab44a3574aa4d7464e95f4"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::recipe::read_recipe_file_content::convert_path_with_tilde_expansion (cognitive 17): goose::recipe::read_recipe_file_content::convert_path_with_tilde_expansion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/recipe/read_recipe_file_content.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"622df45004b3005e51bf6eaf2bfc9631468d4b21dadceddf33f62a34a0c1fbbc"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::recipe::yaml_format_utils::reformat_fields_with_multiline_values (cognitive 17): goose::recipe::yaml_format_utils::reformat_fields_with_multiline_values has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/recipe/yaml_format_utils.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da07a9bbf3a7f1e389c25cc3eea60c13196b10b20e7c990511d88a0b217783c"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::cli::get_or_create_session_id (cognitive 17): goose_cli::cli::get_or_create_session_id has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2110dad84e1584b6d77a478167c4990a03f663623cbb10ff6083dd5e2319e2"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::commands::configure::interactive_model_search (cognitive 17): goose_cli::commands::configure::interactive_model_search has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"468f46778ee13e4712625b3f090211ccead5eeab88eb56c0a4cc1db16aff674c"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_local_inference::hf_models::parse_quantization (cognitive 17): goose_local_inference::hf_models::parse_quantization has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/hf_models.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3349d1f28838ac04a825505a7e4656c1fcffb35e0fbefc584ed688ccf16d79c7"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_local_inference::mlx::imp::build_prompt (cognitive 17): goose_local_inference::mlx::imp::build_prompt has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/mlx.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13b0081c006307bb6a9bc6e27372912e55a1bf8034d87d02e493673a4b6589a"}},{"ruleId":"D2","level":"warning","message":{"text":"XlsxTool::find_in_worksheet (cognitive 17): XlsxTool::find_in_worksheet has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/xlsx_tool.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6931a9c5fd631f4eb63a7c56279e8dcbaa5df146ea0285ed5f486544f1568156"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::google::get_thinking_config (cognitive 17): goose_provider_types::formats::google::get_thinking_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"40617723f4ec7773194440ff33ff6697265b057135e08c4dd50fa2685b842ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::snowflake::response_to_message (cognitive 17): goose_provider_types::formats::snowflake::response_to_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/snowflake.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae272a8fc657d7258cde1521d69ad123d0a8bde5270e6c0476c955018d6d324e"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_providers::anthropic::from_declarative_config (cognitive 17): goose_providers::anthropic::from_declarative_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b2ad4c907ae7ea71d1ac203fce51be5051e5202b39c9cea70eaba35b8098cd"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_providers::openrouter_format::apply_reasoning_config (cognitive 17): goose_providers::openrouter_format::apply_reasoning_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openrouter_format.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"77269e7f861108982c31c9530d035f60cb54edf7d9cc1be0bbf8b0f307f74b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"template.renderResultContent (cognitive 17): template.renderResultContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8d34b047ff7596b3a5b38abbc1db37dd4bde1dbc68f075b1c94e5d6c026b48"}},{"ruleId":"D2","level":"warning","message":{"text":"index.HomePage (cognitive 17): index.HomePage has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 3, error handling 1 (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 4 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":"documentation/src/pages/extensions/index.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4845002d7e82af9d21a9c9ac945e5d7ff18c1e9eef5487d75e1f5f172765a2"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.initializeTheme (cognitive 17): index.html.initializeTheme has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (5 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/index.html"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf50393633fb031d27777c055a1a46c24d5ed9cd60a5ca5c6ee96e358979e091"}},{"ruleId":"D2","level":"warning","message":{"text":"deeplink.addExtensionFromDeepLink (cognitive 17): deeplink.addExtensionFromDeepLink has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, ternaries 5, if/else 3 (4 pts), loops 1 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"ui/desktop/src/components/settings/extensions/deeplink.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2960e6240a242277fa40a80fbd51a5b9b1d17d0e6b2864d6666aa6b29d642a36"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.createExtensionConfig (cognitive 17): utils.createExtensionConfig has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 3, if/else 2 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"ui/desktop/src/components/settings/extensions/utils.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d1e354fea045111c6785435dbadd012ad64df2dead3d8f7988c0a4594cdbc8"}},{"ruleId":"D2","level":"warning","message":{"text":"ShortcutRecorder.ShortcutRecorder (cognitive 17): ShortcutRecorder.ShortcutRecorder has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (17 pts), if/else 13 (14 pts), boolean chains 9 (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. This shape REPEATS in the file: one other method here (ShortcutRecorder.ShortcutRecorder::handleKeyDown) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/keyboard/ShortcutRecorder.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5979d2326d4b15dd27c7cb1798e97feb735df5220791ccef6881d7bca03d08aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallWithResponse.getSubagentSessionId (cognitive 17): ToolCallWithResponse.getSubagentSessionId has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd2dbaf6b778ee44d88b976e8056c408df88131c642c8cb9e045554c7fb4fb3"}},{"ruleId":"D2","level":"warning","message":{"text":"useChatSession.useChatSession.handleSubmit (cognitive 17): useChatSession.useChatSession.handleSubmit has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 3 (4 pts) (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":"ui/desktop/src/hooks/useChatSession.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c549b74163fabc848a5b70e9f06b2ad7f9de5d9f685cae9866d8b5be09f7697"}},{"ruleId":"D2","level":"warning","message":{"text":"RecipeExtensionSelector.RecipeExtensionSelector (cognitive 17): RecipeExtensionSelector.RecipeExtensionSelector has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 3 (5 pts) (nesting depth added 3). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 203, handleToggle, a function literal at line 195, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeExtensionSelector.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dae60dbf9205ba762e2b00205c408d10550b9c659262a982d075c7bfef18c3"}},{"ruleId":"D2","level":"warning","message":{"text":"renderToolHeader (cognitive 17): renderToolHeader has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, if/else 6, ternaries 3 (5 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8692ade15c585c30aeccbc127541df15a0ac76b40910c95bae341ee302037a15"}},{"ruleId":"D2","level":"warning","message":{"text":"Extension::fetch_public_tools (cognitive 16): Extension::fetch_public_tools has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/mod.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31fb570093a1b0902a7e9ae24dccf724bfcb4ec1b63a9163f6b9f0392c9c54d"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayHandler::handle_message (cognitive 16): GatewayHandler::handle_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/handler.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"552f6a39328404b65fc00d871bbaac832bcd4c4e2bc04d76ad78639e8cc1de08"}},{"ruleId":"D2","level":"warning","message":{"text":"GooseApp::to_html (cognitive 16): GooseApp::to_html has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (16 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/goose_apps/app.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea0d9e9b564758e9dfc633a28eefe4af1392f6b722a052f20385c0294ac6417"}},{"ruleId":"D2","level":"warning","message":{"text":"HookManager::emit_serialized (cognitive 16): HookManager::emit_serialized has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hooks/mod.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f6b0d1b9f028a79e9f4a5056b31de91af88282b8871e1333f3b4b379286fdc"}},{"ruleId":"D2","level":"warning","message":{"text":"CliProcess::drain_pending_response (cognitive 16): CliProcess::drain_pending_response has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/claude_code.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ed735f64b84a97d8baf24b54c9ea1074776b0bdcd525b74f0568fec3e21054"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionManager::apply_effects (cognitive 16): SessionManager::apply_effects has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 2 (4 pts), loops 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/session.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"62723262ad0369adf5c18d9363e3ebcf06bb8ac37747fa2b92ff66eb17933dcc"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::acp::handoff::selection_units (cognitive 16): goose::acp::handoff::selection_units has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (7 pts), loops 4 (6 pts), match/switch 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/handoff.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f006c500c39ddc41bcd8e15e7fec295a6583cb1839ab756d19933e4679f2a4d6"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::acp::provider::forward_child_stderr (cognitive 16): goose::acp::provider::forward_child_stderr has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"92840d14acd3f8b411e4b28833eb203e893fbd13b75d806c7b3e658515301a43"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::large_response_handler::process_tool_response (cognitive 16): goose::agents::large_response_handler::process_tool_response has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 2 (5 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/large_response_handler.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b921a445e9a9612f843be4d8ca5cfe9a0cbb16600b7c1e66b2ebaf7a21b92f30"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::agents::platform_extensions::summon::scan_recipes_from_dir (cognitive 16): goose::agents::platform_extensions::summon::scan_recipes_from_dir has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 3 (5 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summon.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffa6944150d8ce1e328c0445d9e1b943dbd35c33a98431b8bed9eb234a5fdd3"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::providers::toolshim::escape_invalid_backslashes_in_json_strings (cognitive 16): goose::providers::toolshim::escape_invalid_backslashes_in_json_strings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/toolshim.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"24addeb81f2e982ea1a83ddcf45c28701644482de8c474c091f9f0165304009d"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::providers::toolshim::convert_tool_messages_to_text (cognitive 16): goose::providers::toolshim::convert_tool_messages_to_text has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 4 (6 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/toolshim.rs"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a5fa1002bd1a524c102dd304b2d17ef63970b7522e42e381aa437ae945616c"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::recipe_deeplink::decode (cognitive 16): goose::recipe_deeplink::decode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (16 pts) (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/recipe_deeplink.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd09334c801a4ab8e0edb20e22de83de44d561d4eee3868702c0d735c062ece"}},{"ruleId":"D2","level":"warning","message":{"text":"goose::security::egress_inspector::extract_destinations (cognitive 16): goose::security::egress_inspector::extract_destinations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 8 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/egress_inspector.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c147b54a93869df732a3c30cdc0dc4b20cbf1cbcacc9da03e4d1e62abbd0ecb4"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_agent::extension::substitute_env_vars (cognitive 16): goose_agent::extension::substitute_env_vars has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/extension.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe6a849bff369ad959c5d750fade39217b4491f612e209b5aef86ae2d5e85e6"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownBuffer::process_line_start (cognitive 16): MarkdownBuffer::process_line_start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/streaming_buffer.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eeb61f893ebb58dc306ad282323703a65085962179d0d52dcf3e8b2c8ff7cec"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownBuffer::check_code_fence (cognitive 16): MarkdownBuffer::check_code_fence has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/streaming_buffer.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81ec7ae249cca3e6916cdfc2049f613b8c5966837130a531a8e9d95c8aa208b"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::recipes::github_recipe::discover_github_recipes (cognitive 16): goose_cli::recipes::github_recipe::discover_github_recipes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/recipes/github_recipe.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d135e6b2090167f8485683119c57bc39b0a2a6fb68d58ea7b1f6c458d043c6"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::print_run_stats (cognitive 16): goose_cli::session::print_run_stats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), match/switch 4 (6 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32e6682a1b33fad74064476ab78bd26c3242f09795e13680c04b3921d93b584"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_cli::session::task_execution_display::format_task_display (cognitive 16): goose_cli::session::task_execution_display::format_task_display has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/task_execution_display/mod.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1395a7c3dd4790e546703370c0ec60eb626b7f385b423a5c5139945b6fe681"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingEmulatorParser::flush (cognitive 16): StreamingEmulatorParser::flush has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/tool_emulation.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25a30602aafee2f3d5201bc348e7057e8e18bfbcc733a0af03ce5970b098b32"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryServer::retrieve_all (cognitive 16): MemoryServer::retrieve_all has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/memory/mod.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce661b5cbecded0735a8b0a26a1b930f73dc0a12d0995d0e174c06f0286a62bf"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::ollama::response_to_message (cognitive 16): goose_provider_types::formats::ollama::response_to_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (16 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/ollama.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99f071b817eeb786833dbb5fd09ab2fcabeed44296ed91ebe9f1ed3ca13496d"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::formats::openai::defer_tool_images (cognitive 16): goose_provider_types::formats::openai::defer_tool_images has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c734f8e1927431747b3da42598d2cc915235211b90ceaefa743f2c072ebd51"}},{"ruleId":"D2","level":"warning","message":{"text":"goose_provider_types::json::looks_truncated (cognitive 16): goose_provider_types::json::looks_truncated has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/json.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d79e10cd3aadfd085fe17774e78e920fa1e52ba465474ae3f01c5e9e8d240a"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorProxy.handle_request (cognitive 16): ErrorProxy.handle_request has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 2 (3 pts), loops 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":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7f74e8e5aeae7c613c9efdc8033c8b98e7ad1d4ed483bc7b16e5ac55e16e9d"}},{"ruleId":"D2","level":"warning","message":{"text":"GooseBinaryAgent._compute_cost_from_pricing (cognitive 16): GooseBinaryAgent._compute_cost_from_pricing has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 3 (4 pts), error handling 1, loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/harbor/agent.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4486fc49e4df8e62f2d2d722ff4ec28d07dcedce683b791d178e7f2846358fe8"}},{"ruleId":"D2","level":"warning","message":{"text":"api.mapType (cognitive 16): api.mapType has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 6, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/components/GdkApiReference/api.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d45ac46cfb27bff1041c88873d4b93e2004d164492566da937f82ece94e3673"}},{"ruleId":"D2","level":"warning","message":{"text":"message-content.messageContent (cognitive 16): message-content.messageContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 1 (3 pts), ternaries 1 (3 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":"services/ask-ai-bot/utils/discord/message-content.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"79bb35370cf98ac697c1033ff365fc84d695f91375512a79f5b7b573e21b6bd5"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.extensionToFormData (cognitive 16): utils.extensionToFormData has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7, boolean chains 6, if/else 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/utils.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ce57ff50e59c72b75457306bdba0e9b7245ad4e9d76ad8b40e68e59ed7016d"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelAndProviderContext.ModelAndProviderProvider (cognitive 16): ModelAndProviderContext.ModelAndProviderProvider has cognitive complexity 16 (threshold 15). Drivers by points: error handling 7 (8 pts), if/else 6, boolean chains 2 (nesting depth added 1). None of this is in the body itself: all 16 points belong to 7 function literals inside it that branch (lines 93, 145, 158, \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":"ui/desktop/src/components/ModelAndProviderContext.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0050efae7c0a49c1f3022bb066fca12a71e5454ce77cb0c00394e593b7c92ed1"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomProviderForm.CustomProviderForm::handleSubmit (cognitive 16): CustomProviderForm.CustomProviderForm::handleSubmit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (CustomProviderForm.CustomProviderForm) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3706677141fa276f4bf6f4f8d9ccdd8cd8d70db9f9e4a61d34b8c64432dc2cce"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchModelModal.SwitchModelModal::handleSubmit (cognitive 16): SwitchModelModal.SwitchModelModal::handleSubmit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5 (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. This shape REPEATS in the file: one other method here (SwitchModelModal.SwitchModelModal) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbca19a8a0434e3f23b6a882761dcce4697daefa0027934d9df1e8722c3dc69"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionMenu.ExtensionMenu (cognitive 16): ExtensionMenu.ExtensionMenu has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 5, if/else 2 (nesting depth added 3). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 52, 42, 111, \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":"ui/desktop/src/components/bottom_menu/ExtensionMenu.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ac1ad39baf0125207153f8a1ded35380153fe013d303bbeb385d2b29b56216"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulesView.SchedulesView::handleModalSubmit (cognitive 16): SchedulesView.SchedulesView::handleModalSubmit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 2 (7 pts), boolean chains 1, error handling 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":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bb6eb52fb5064a1327faebcb03cd5240c2151fdf264c7098bd74cce5220355"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).init (cognitive 16): (anonymous).init has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (7 pts), error handling 1 (nesting depth added 1). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 161, 200, 205). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/templates/assets/mcp-app-bridge.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ad05be22f7d4a70e2c5407e1e3ca6a46d6dc66856a418d911d757dd36d0322"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatInput.ChatInput: FunctionTooLong \u2014 ChatInput runs 1235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1135 over it, 12.35\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":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"55da399881e3cdde1ef9078ce4415d4bd4ab91d724b2405b6b9b1d4cb1f290dc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AcpConnection: TooManyMethods \u2014 309 methods, declared across 26 files: server/custom_dispatch.rs (112), acp/server.rs (51), server/providers.rs (23), recipe/mod.rs (17), \u002B22 more file(s). The bar is 30 methods; this is 279 over it, 10.30\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8940b97b8fe524a32dc6c59fe711c4c1bc1e3f37d3b9996ce5e9e60714cc41"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionListView.SessionListView: FunctionTooLong \u2014 SessionListView runs 643 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 543 over it, 6.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":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2d02d06a8192bb25b25f099fef3465385b6de6e3d0b20b322127fe8cb8bf37"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CustomProviderForm.CustomProviderForm: FunctionTooLong \u2014 CustomProviderForm runs 623 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 523 over it, 6.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a543f2be40b6bdfc78533f46a37ac79892934c1bc946192936490df6668d7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RecipesView.RecipesView: FunctionTooLong \u2014 RecipesView runs 605 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 505 over it, 6.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a065f399b9fbcfbd26cfe067f477b5961db956be2e3a47b0283e2b1d2af9634"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: deeplink-generator.DeeplinkGenerator: FunctionTooLong \u2014 DeeplinkGenerator runs 504 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 404 over it, 5.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":"documentation/src/pages/deeplink-generator.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fff0ca18af5887aa810e5c42a1f367e63208b8cfec55291ee9a631588ae33d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/session_manager.rs: FileTooLong \u2014 2429 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 66% of them inside a single declaration: SessionStorage (2 blocks, 846-3165). The bar is 500 significant lines; this is 1929 over it, 4.86\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10da83d93dddaef458181224b80108db8b3ba1c24c87be4ec3543faee6e0d23a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: McpAppRenderer.McpAppRenderer: FunctionTooLong \u2014 McpAppRenderer runs 448 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 348 over it, 4.48\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":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b881fbb32e077c6c300be82cb6f1195ca4643e4277b493057b50251e4a06281"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BaseChat.BaseChat: FunctionTooLong \u2014 BaseChat runs 431 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 331 over it, 4.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/BaseChat.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"90366f8f0b9ddeba2650d130986c53698d8aaf950120bdae47135ebe9598aa2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/cli.rs: FileTooLong \u2014 2082 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 32 free functions. The bar is 500 significant lines; this is 1582 over it, 4.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9ce4e0850eca2cda29392aedd2f1af739c0ab2eecf5a66c14da0419328c339"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SessionStorage: ClassTooLong \u2014 1605 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), 40 methods, 2 blocks, lines 846-3165. The bar is 400 significant lines; this is 1205 over it, 4.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"95826410d1321ef0a1e79243ec3c65697d55a89e2b213f40294d618bb63f3758"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RecipeFormFields.RecipeFormFields: FunctionTooLong \u2014 RecipeFormFields runs 400 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 300 over it, 4.00\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":"ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"639ff36b86a66631c174dfd9ddd001ab2b0177ffbb4943a3ff9e6a3a7f3fd952"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.ts: FileTooLong \u2014 1986 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1486 over it, 3.97\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":"ui/desktop/src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda20865336c6aab98cf355ef69105f1235cad14db23c99bc3d3fe95467468a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/mod.rs: FileTooLong \u2014 1981 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 65% of them inside a single declaration: CliSession (2 blocks, 239-2088). The bar is 500 significant lines; this is 1481 over it, 3.96\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a549f598641cf7e67f7e7b0536bfd9ef76d87e70a778e525f21aa06bfa460c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.appMain: FunctionTooLong \u2014 appMain runs 390 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 290 over it, 3.90\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":"ui/desktop/src/main.ts"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"64de530baa86386c9a0a35352c34e3c47951ba2355221ad68b9871171e47d630"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/server.rs: FileTooLong \u2014 1934 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 62% of them inside a single declaration: AcpConnection (4 blocks, 311-2613), declaring 42 free functions. The bar is 500 significant lines; this is 1434 over it, 3.87\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0190ca18ffc421e59657b63581e7b6db01bc6991417b70b8f86da7ea1892349f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScheduleModal.ScheduleModal: FunctionTooLong \u2014 ScheduleModal runs 382 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 282 over it, 3.82\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":"ui/desktop/src/components/schedule/ScheduleModal.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"800dbe7f9e98a0acb08ab75a240627fdfb45d5764b189d1183c6a380500b8d3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateEditRecipeModal.CreateEditRecipeModal: FunctionTooLong \u2014 CreateEditRecipeModal runs 375 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 275 over it, 3.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"64377fbe2b6c03196fa40b98c2926315316925ece8e128d90c5134f1a63b1c1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MessageQueue.MessageQueue: FunctionTooLong \u2014 MessageQueue runs 372 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 272 over it, 3.72\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":"ui/desktop/src/components/MessageQueue.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a584758a2e0140b65ec98aa88e3162feb773025d92c9235594ec98ea834d4217"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Goose.Rain: FunctionTooLong \u2014 Rain runs 359 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 259 over it, 3.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/Goose.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9ffa70480ec172e657020d5c42f00bccbbbf8696c30983235bb70d12af25fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AppSettingsSection.AppSettingsSection: FunctionTooLong \u2014 AppSettingsSection runs 358 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 258 over it, 3.58\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":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f82658012d82a29449379fa136e59a32413f54750d184ea3a057e6c9fff7e15"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.createChat: FunctionTooLong \u2014 createChat runs 358 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 258 over it, 3.58\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":"ui/desktop/src/main.ts"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"7109779611c043fda0d535ccb7c08031d480afe366217c542041ece6dc3947c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScheduleDetailView.ScheduleDetailView: FunctionTooLong \u2014 ScheduleDetailView runs 349 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 249 over it, 3.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleDetailView.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e10a3754e160492683c0b812c86230b9cac3997414a4f3eadaa3189582f70e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LocalInferenceSettings.LocalInferenceSettings: FunctionTooLong \u2014 LocalInferenceSettings runs 348 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 248 over it, 3.48\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":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed963576e89541188dd7addc1a1dc1606d4abd14e871e988d7cc82083fd94eb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ModelSettingsPanel.ModelSettingsPanel: FunctionTooLong \u2014 ModelSettingsPanel runs 341 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 241 over it, 3.41\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":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"97334d8ff328ffc37236fbc516470dfd3154e67f0e23e47ffb8b79f9f1ffc02c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/configure.rs: FileTooLong \u2014 1691 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 48 free functions. The bar is 500 significant lines; this is 1191 over it, 3.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"954740967f40cf28b5f100e7a4f7d604f7d9b65545f71dcb93039b5b72d677c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/custom_requests.rs: FileTooLong \u2014 1684 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 1184 over it, 3.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-sdk-types/src/custom_requests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b6506c34af969cb49550376b900c0d7fb1729af8cb82ef99c4bf4db86d14a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chatSessionStore.createAcpChatSessionStoreInternal: FunctionTooLong \u2014 createAcpChatSessionStoreInternal runs 333 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 233 over it, 3.33\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":"ui/desktop/src/acp/chatSessionStore.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bff26224e80e151e02d858546d9a317c70cdd2692440f1019f9c57b1787cb00"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/provider.rs: FileTooLong \u2014 1653 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 42 free functions. The bar is 500 significant lines; this is 1153 over it, 3.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff42df9091beadf484a565453686691379d786a6554da61918872af037f4dd86"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LocalModelPicker.LocalModelPicker: FunctionTooLong \u2014 LocalModelPicker runs 329 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 229 over it, 3.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9138bb62cddd961a6b71054063b79c396fe36aa6d2386532f84b74629c50ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExtensionModal.ExtensionModal: FunctionTooLong \u2014 ExtensionModal runs 328 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 228 over it, 3.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":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"961c7de80069257f26b8c10372d3b234c63ce657bede7d8d2e1ec7fad0b7540c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/hf_models.rs: FileTooLong \u2014 1635 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 88 free functions. The bar is 500 significant lines; this is 1135 over it, 3.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/hf_models.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb739a7de10eed501dae7894f95655736c8bfdea65cd30b3ab58fba8a5af2c04"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CliSession: ClassTooLong \u2014 1294 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), 43 methods, 2 blocks, lines 239-2088. The bar is 400 significant lines; this is 894 over it, 3.24\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77dabaef7ae8f57c5695d801aec92565456a2cf41e239ec5d62643ca94dd2eb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatInput: ClassTooLong \u2014 1235 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 835 over it, 3.09\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":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4b85793d9fd77b7812d2eec9f5801a7b808b895c2e3e3ab707d13d49f2593d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SecurityToggle.SecurityToggle: FunctionTooLong \u2014 SecurityToggle runs 306 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 206 over it, 3.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":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"585c7f74f5faf3b265506c78cf4e819b36a2bf3c40d58f74d1180f09c16fe53c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AcpConnection: ClassTooLong \u2014 1201 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), 309 methods, 4 blocks, lines 311-2613. The bar is 400 significant lines; this is 801 over it, 3.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f013b6700fd2f9ef84eaf6c5dde79d4edfbfd063bc10aa6ec4be0d005d369031"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SchedulesView.SchedulesView: FunctionTooLong \u2014 SchedulesView runs 298 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 198 over it, 2.98\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":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7369375b61c6798113f828c9ad6e0f99c03e1dcb4d944c81a63eb7d257f4d3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionActionsHeader.SessionActionsHeader: FunctionTooLong \u2014 SessionActionsHeader runs 284 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 184 over it, 2.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2133483d8cbb2471190314c387a5ca58e020618ba264b9f6de68561aa5ad7f6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CliSession.process_agent_response: MethodTooLong \u2014 process_agent_response runs 282 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 182 over it, 2.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86c9892c7b2aae262cd3ecbf2a3e181a2fd33e80b2801ce5b2603bed5ceafe7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ChatInput.tsx: FileTooLong \u2014 1398 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: ChatInput (206-1920). The bar is 500 significant lines; this is 898 over it, 2.80\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":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e305d76c0fcfa22479a826c8f549859258ec84a725acae5e70e913b3f01c8c18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose::bin::generate_acp_schema::main: FunctionTooLong \u2014 goose::bin::generate_acp_schema::main runs 269 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 169 over it, 2.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/bin/generate_acp_schema.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f8fe652e12fb7b77b6db7b2f38dec0bddda923989a43ee2f72aec272beaa35"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentLoopSettings.AgentLoopSettings: FunctionTooLong \u2014 AgentLoopSettings runs 263 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\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":"ui/desktop/src/components/settings/AgentLoopSettings.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e803fb0b12fa487485450f148a83cea453f419631a5b0423e2c4f77c01979a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateSubRecipeInline.CreateSubRecipeInline: FunctionTooLong \u2014 CreateSubRecipeInline runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eabd81197af067ced9a656bc02ef1dedaedb96d520e6c3cb0f97a1a9e697059"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CronPicker.CronPicker: FunctionTooLong \u2014 CronPicker runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"049b5cf8aef11476aa34fdefbbe630b82945295c379ab2a1da5a199d88228281"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: formats/openai.rs: FileTooLong \u2014 1288 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 40 free functions. The bar is 500 significant lines; this is 788 over it, 2.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"377004d15781de2fb927ab6b42d4ee144d8f1274987b9b972405a9b36a1ab777"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SessionStorage.apply_migration: MethodTooLong \u2014 apply_migration runs 252 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 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"d071c848ecf22b3a6cfe5f3ba73bcdb7648c612e5d654c87140cb421d7d0187f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CLIExtensionInstructions.CLIExtensionInstructions: FunctionTooLong \u2014 CLIExtensionInstructions runs 250 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 150 over it, 2.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":"documentation/src/components/CLIExtensionInstructions.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc10dec23d3fd22c0267b383b07488740546b4eeb4807d1ade4088384ccf259f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AppsView.AppsView: FunctionTooLong \u2014 AppsView runs 250 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 150 over it, 2.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":"ui/desktop/src/components/apps/AppsView.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"829f1520b9b31f6d7357dd89aa85136398b736956a59761fa93b7d3b58601091"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UpdateSection.UpdateSection: FunctionTooLong \u2014 UpdateSection runs 246 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 146 over it, 2.46\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":"ui/desktop/src/components/settings/app/UpdateSection.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcadbe89860efb0cd301194773c8cd5a26d96df71067a6d9948056dd51971b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.AppInner: FunctionTooLong \u2014 AppInner runs 245 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 145 over it, 2.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/App.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f770c6d3c594d19a69b79d1a029c1c3c1865ca8b9e3433e0775a2120f28c33cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HuggingFaceModelSearch.HuggingFaceModelSearch: FunctionTooLong \u2014 HuggingFaceModelSearch runs 245 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 145 over it, 2.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc614144e5f76cf9f41979dfe4b8b42b7e48b46274391ac258c128d9887864f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImportRecipeForm.ImportRecipeForm: FunctionTooLong \u2014 ImportRecipeForm runs 239 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/ImportRecipeForm.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"79da8cd3e211421af0185fd4ab6a0dc3d0fe4c2bdb3573596024932c1041c460"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GatewayHandler.relay_to_session: MethodTooLong \u2014 relay_to_session runs 237 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 137 over it, 2.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/handler.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c901936110a79c6318c33ef05d10ae0fbac6af9908dae4018446c1759d2f8ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bindings.rs: FileTooLong \u2014 1176 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 34 free functions. The bar is 500 significant lines; this is 676 over it, 2.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-sdk/src/bindings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd15141e7d93019b73e47394cee0fef354ec4c701b50f91d508e4992ac0627c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/output.rs: FileTooLong \u2014 1172 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 81 free functions. The bar is 500 significant lines; this is 672 over it, 2.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db25ddd7809fce5c506de7f80813dc70af2c71889b1cce463154621ef3e320a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_mcp::computercontroller::pdf_tool::pdf_tool: FunctionTooLong \u2014 goose_mcp::computercontroller::pdf_tool::pdf_tool runs 231 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 131 over it, 2.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/pdf_tool.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a0fd8ca83e0e1b9623b623a3d403e7666ff7b51b079e6aeb03de30b7ade11d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserMessage.UserMessage: FunctionTooLong \u2014 UserMessage 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":"ui/desktop/src/components/UserMessage.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3068ebbd93ae8ccf63fceed300695fdb9fed9cb7ba5a7506622f928a5314bc2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: detail.RecipeDetailPage: FunctionTooLong \u2014 RecipeDetailPage runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/pages/recipes/detail.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d85a0b67f5f81f879428bfc1a802d67a6036ca2893c0a424ff0907742976887"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: platform_extensions/summon.rs: FileTooLong \u2014 1118 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 74% of them inside a single declaration: SummonClient (3 blocks, 390-1517). The bar is 500 significant lines; this is 618 over it, 2.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summon.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d719f6ca829375dd2dad25eb5bba0890d013063be212ca37fe3890195c88de4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PromptsSettingsSection.PromptsSettingsSection: FunctionTooLong \u2014 PromptsSettingsSection runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/PromptsSettingsSection.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5fa1f8e04de11dfe0260dbcb8bb92a5ca058212a610ee2bede903b53ea741a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.SettingsView: FunctionTooLong \u2014 SettingsView runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/SettingsView.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1b5f103d7efa227e5b4f788e59aaa9b683e1723f6b4fbe4d091b1e7592a21b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: autoUpdater.setupAutoUpdater: FunctionTooLong \u2014 setupAutoUpdater runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c37a374460e648c727190eb7fc3b1de99a378eeaf7b11e0e59241f307f8d04"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useChatSession.useChatSession: FunctionTooLong \u2014 useChatSession runs 219 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 119 over it, 2.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useChatSession.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e74263070e7b9ed4a3b9135bf012e3c8e38fe059700173e196a962dce4e32c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchView.SearchView: FunctionTooLong \u2014 SearchView runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/conversation/SearchView.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7488b7ec53d4ab65785fd799c7f9b74c35b87f23167ac1b76a2a47035cc0ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExtensionInstallModal.ExtensionInstallModal: FunctionTooLong \u2014 ExtensionInstallModal runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ExtensionInstallModal.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"130b076c36f3a6330a459682e25cbf885bfbe39d0d998c68d2104c17d11942be"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Config: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/base.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"478d71dc480dc4c6fc18453b0c33295688e3cae5ce06910941c4e385e86c8a87"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KeyboardShortcutsSection.KeyboardShortcutsSection: FunctionTooLong \u2014 KeyboardShortcutsSection runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a783f65718ceeeaa9e970e8430df9db515be5caa39dc274830f2ba208a479b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ModelsBottomBar.ModelsBottomBar: FunctionTooLong \u2014 ModelsBottomBar runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/bottom_bar/ModelsBottomBar.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cbd2b85f896e7c609462e342f7856360b1f0783229701bb01a9cfb06f26e1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: gooseServe.startGooseServe: FunctionTooLong \u2014 startGooseServe runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/gooseServe.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ede869c666f91945fd5b952f80b1f23cc1df80f94711ca0c4c3e2b816fd62c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SummonClient: ClassTooLong \u2014 825 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), 31 methods, 3 blocks, lines 390-1517. The bar is 400 significant lines; this is 425 over it, 2.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summon.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d789f99ff448c35a40243670085f56bc2c14ff6900a91c90aa12c6b61448f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_provider_types::formats::openai::format_messages_with_options: FunctionTooLong \u2014 goose_provider_types::formats::openai::format_messages_with_options runs 205 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 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e118c7fa72e1e022359e5d825bafa26f285a90ae354c05427a798d8beadfb7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClaudeCodeProvider.stream: MethodTooLong \u2014 stream runs 205 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 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/claude_code.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8e385b27e379222dbdfa58b70169b7c2d2a9bb73c1c04165ab0d47c53b1d0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: formats/openai_responses.rs: FileTooLong \u2014 1015 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 515 over it, 2.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"894aca7060796b65731ed828523abb3a51022d3fe2e3b07bfcd76c6807456438"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LocalModelManager.LocalModelManager: FunctionTooLong \u2014 LocalModelManager runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/LocalModelManager.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f915d92d6abdc5a3bb2d9bfa901d933c09c660cc2127c2fa695620ba2d9a207"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useAudioRecorder.useAudioRecorder: FunctionTooLong \u2014 useAudioRecorder runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useAudioRecorder.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"123af808d6e7184565d335c641222dde447acbe0f1558150d295864590384b33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProviderGrid.ProviderCards: FunctionTooLong \u2014 ProviderCards runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\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":"ui/desktop/src/components/settings/providers/ProviderGrid.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c37cd8970c5ff55e876eb0a40c82915cfbd79d20352ec7dae2571e72720420"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalInferenceProvider.stream: MethodTooLong \u2014 stream runs 199 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 99 over it, 1.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/lib.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20a6cd684713da4327b6a51ebdac7d4c98fc7696604860d9ac10887282ef82a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/services.rs: FileTooLong \u2014 993 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 72% of them inside a single declaration: StateMachineServices (2 blocks, 323-1341). The bar is 500 significant lines; this is 493 over it, 1.99\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/services.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6284868b5e7d66d9fc1f17dbd3929bddb9419ba240d932d769a891ea966590cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: detail.ExtensionDetail: FunctionTooLong \u2014 ExtensionDetail runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/pages/extensions/detail.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7714db0f2d928f4dea4907054cd3cdc42a1a257c28ac7e9e3fcecc317f83d9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AcpProvider.stream: MethodTooLong \u2014 stream runs 193 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 93 over it, 1.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7495bcbcd5edb80fd49abf557b8d437d9e1f20a4d6a201f943dc0dfe40ad71e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/providers.rs: FileTooLong \u2014 948 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 61% of them inside a single declaration: AcpConnection (487-1255). The bar is 500 significant lines; this is 448 over it, 1.90\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/providers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec7f2c96d6d1c9b4de189c928b9a3fd66d43ad1ca9d780b43b7d6f7b439eafe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inventory/mod.rs: FileTooLong \u2014 946 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 446 over it, 1.89\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/inventory/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"348fe70d5d9a4118914da71dec63906ce6e93e4f3977a2804ab4961b0faab636"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: conversation/message.rs: FileTooLong \u2014 945 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 445 over it, 1.89\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/conversation/message.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50f26ed25260b83c43abc13a4bafa90d0465cb3be52a5f13b0135e78a444688"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: formats/anthropic.rs: FileTooLong \u2014 938 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 34 free functions. The bar is 500 significant lines; this is 438 over it, 1.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c87bd6af85ba879715cba99496af6118a0fee2949ac1886f5233cface5c8da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/sources.rs: FileTooLong \u2014 925 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 45 free functions. The bar is 500 significant lines; this is 425 over it, 1.85\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33694da049a82d7f2434b9ecdfbb92d277f25f7a4765c60679eab7f29ca6c48"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DefaultProviderSetupForm.DefaultProviderSetupForm: FunctionTooLong \u2014 DefaultProviderSetupForm runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/DefaultProviderSetupForm.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"df393ab412b62795fce81a6b531908bff756a6d78803a51a545142c3c3d78d36"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SubRecipeModal.SubRecipeModal: FunctionTooLong \u2014 SubRecipeModal runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\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":"ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"be35a41ade9a2bd2627385a812d6ab275ee39fb8a641d221871629bacf2d2df0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: autoUpdater.registerUpdateIpcHandlers: FunctionTooLong \u2014 registerUpdateIpcHandlers runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\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":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fd8f61ac6aea1c8ca187ce0090487f164300cc85a9440cce8dc28371025b3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ParameterInputModal.ParameterInputModal: FunctionTooLong \u2014 ParameterInputModal runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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":"ui/desktop/src/components/ParameterInputModal.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f4a421b6d751f7002b6e0a0130381e62b09e5ea635c045886a259927daaf18"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StateMachineServices: ClassTooLong \u2014 716 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), 39 methods, 2 blocks, lines 323-1341. The bar is 400 significant lines; this is 316 over it, 1.79\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/services.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f658bbd5fdeec2be7429d02f9e98da21ede365ed3a9afa1bac568a08c11a1dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolCallWithResponse.ToolCallView: FunctionTooLong \u2014 ToolCallView runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24b3f0e50827b4342e537db18b98925bc3b864b4534e62daf72e4da79b2f8f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose::session::import_formats::codex::convert: FunctionTooLong \u2014 goose::session::import_formats::codex::convert runs 178 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 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/codex.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caac69a5cf767629a8dffbcff71ac315d5260586b122d1a65eb9f61c3a6da50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose::scheduler::full::execute_job: FunctionTooLong \u2014 goose::scheduler::full::execute_job runs 176 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 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ac55e640db49dba22c8454712629dc798fa5df00c1503ea3ab22c58affa14a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AcpClientLoop.run: MethodTooLong \u2014 run runs 175 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 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"396aacf19421309ef12794c321d221c43352631c33f01dd7b1ea3d968c3af383"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sessions/SessionListView.tsx: FileTooLong \u2014 871 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: SessionListView (281-1107). The bar is 500 significant lines; this is 371 over it, 1.74\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":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23752e7e726619e53021b4fb5182c7d8145bce410169278fd7537d6368881614"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_cli::session::builder::try_build_session: FunctionTooLong \u2014 goose_cli::session::builder::try_build_session runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/builder.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3f65a17f7f736761072a8bd074856ef2f1d16cdd6e59dd84f96e4754c75d90"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/toolshim.rs: FileTooLong \u2014 868 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 33 free functions. The bar is 500 significant lines; this is 368 over it, 1.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/toolshim.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bda946c420462eee878c4cd0552d170a979556494641de35c62e47aa114fabb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GooseMessage.GooseMessage: FunctionTooLong \u2014 GooseMessage runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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":"ui/desktop/src/components/GooseMessage.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83bd3197538bdac0c9036d131b88ca3c6594bb9dd9d71737d0bb91953cf3e49"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExternalBackendSection.ExternalBackendSection: FunctionTooLong \u2014 ExternalBackendSection runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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":"ui/desktop/src/components/settings/app/ExternalBackendSection.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8488a906aefd33e4848e3bbe3a789260f0e9407313e6b35b63908fef8dd03f9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DirSwitcher.DirSwitcher: FunctionTooLong \u2014 DirSwitcher runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/bottom_menu/DirSwitcher.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"65559e719d72c175dfe8f645d86a9fe3bcb306abb09f9d28ca297a7258a8c0a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/bedrock.rs: FileTooLong \u2014 850 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 63% of them inside a single declaration: BedrockProvider (5 blocks, 195-1217). The bar is 500 significant lines; this is 350 over it, 1.70\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/bedrock.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b2e70d34aa7afa61107b297327ac5ec1ada10a302dd478366e1f3c70e29f67"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: autovisualiser/mod.rs: FileTooLong \u2014 849 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 349 over it, 1.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5308814103d570ecfb838f5bbac57216f24cd1246de6a961bf7c14e9e21d07a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/base.rs: FileTooLong \u2014 846 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 72% of them inside a single declaration: Config (7 blocks, 120-1489). The bar is 500 significant lines; this is 346 over it, 1.69\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/base.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1f649f2423a4c93f1336d5435846552290e644647713aed13b70f4d9d78111"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: recipes/RecipesView.tsx: FileTooLong \u2014 845 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: RecipesView (302-1066). The bar is 500 significant lines; this is 345 over it, 1.69\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":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f2e73c38e5373d2a6562aab1b3f137e9283b1756269f7f7bc0a1bc3bae44fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_provider_types::formats::anthropic::format_messages_with_options: FunctionTooLong \u2014 goose_provider_types::formats::anthropic::format_messages_with_options runs 168 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79840ad836887b0f296781d4764cbf585d27082e365d24a52037c33a36b92fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: McpAppRenderer.GooseAppFrame: FunctionTooLong \u2014 GooseAppFrame runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acddca2885e0dd469af1fc6442fcff933b657c24eac4a82bf2b3106ae1489ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: extension_manager/mod.rs: FileTooLong \u2014 839 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 339 over it, 1.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88fe26d41efd470f171776d9e30be28cdaeb79d5d7db244501426d085dfee37"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose::acp::provider::handle_requests: FunctionTooLong \u2014 goose::acp::provider::handle_requests runs 167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a7eb286632343fd2b8e7096a4608e60b1ec6e2bbc5a37973f8949b7762eeb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExtensionsSection.ExtensionsSection: FunctionTooLong \u2014 ExtensionsSection runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/ExtensionsSection.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e038b3438ae8a483e349474b7c83075462cf3375f284163e078ed4e2be398cf3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: McpApps/McpAppRenderer.tsx: FileTooLong \u2014 823 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 323 over it, 1.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca4d99797560e857bb1849ad813bc7ed5ac06bf3383d1cfd67383fcb19a1f33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MicrophoneSelector.MicrophoneSelector: FunctionTooLong \u2014 MicrophoneSelector runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/MicrophoneSelector.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8611bbf36c00a7b9414d356d47ae399730229dd09efb96ea99a4f1e9af8c95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: JsonSchemaForm.JsonSchemaForm: FunctionTooLong \u2014 JsonSchemaForm runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ui/JsonSchemaForm.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fa659ff562337489a9d68dd512478d17a776bd5c6382bd1419b7b505e156f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scheduler/full.rs: FileTooLong \u2014 817 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 69% of them inside a single declaration: Scheduler (3 blocks, 101-1164). The bar is 500 significant lines; this is 317 over it, 1.63\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3c82baa7a0c124cd7ba18eeedbc5b6ec6fdb7211bb0e31ab363b0da6b25c87"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dictation/whisper.rs: FileTooLong \u2014 816 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 316 over it, 1.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/whisper.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e8c5fc852b852e568f185d04b3ed9ea93661931df3c728d7630150c54ce238"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forms/CustomProviderForm.tsx: FileTooLong \u2014 816 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: CustomProviderForm (257-1008). The bar is 500 significant lines; this is 316 over it, 1.63\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":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baf524cbb76ab24a5e450d85677c853f5378544b909322afe3ff79800c888e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose::agents::reply_parts::stream_response_from_provider: FunctionTooLong \u2014 goose::agents::reply_parts::stream_response_from_provider runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/reply_parts.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a6b4fe60a9cb62349fa0c2ab13f6ab3c31400e5a21d589a01f1e173e3951d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Hub.Hub: FunctionTooLong \u2014 Hub runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Hub.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07372185cf37bad130ef41235aae92966e94caec7bd9363072f2d120082d91c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchBar.SearchBar: FunctionTooLong \u2014 SearchBar runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/conversation/SearchBar.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb97865d78bf95127c96c064d7154959861a9108622ca0cdcaf8e6264a7c069"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateway/telegram.rs: FileTooLong \u2014 807 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 307 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5473cf978a4e88a82154d2de9fcd537404ccb4fb297809f75910690b6c45de60"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.RecipePage: FunctionTooLong \u2014 RecipePage runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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":"documentation/src/pages/recipes/index.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"990f9742b1b5d80f05b817ca239e9712680fadd3a169b2dd9f213444f094f8c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PermissionModal.PermissionModal: FunctionTooLong \u2014 PermissionModal runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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":"ui/desktop/src/components/settings/permission/PermissionModal.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35b1ea613716e3264511093df8b90486857b11e54fb3aa5190631d69e720228"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SessionListView: ClassTooLong \u2014 643 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 243 over it, 1.61\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":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0032a8edaf29ad17b0098ffca9bf32013cf791c9aadde178380e80614d9b5df8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DownloadManager.download_one_file: MethodTooLong \u2014 download_one_file runs 160 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-download-manager/src/lib.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a20d37ad4160f8f77cc7f93a7c065894acc8cf9993f9eddd888cea4c15c4862"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MlxBackend.generate: MethodTooLong \u2014 generate runs 160 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/mlx.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0179f09467471dfdc2f466a157a271d748c7a9d03b494efadd0c4c2d81ee627"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConfigSettings.ConfigSettings: FunctionTooLong \u2014 ConfigSettings runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/config/ConfigSettings.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afae606446488102b827c6475e0875081afe2983f1f50298b4949f7060ea000"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DictationSettings.DictationSettings: FunctionTooLong \u2014 DictationSettings runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/DictationSettings.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb38dd3d9108ef6185b370bc607e3eb3cb9523b18d6479f1ffec7e077ddb29f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_provider_types::formats::openai_responses::create_responses_request_for_model: FunctionTooLong \u2014 goose_provider_types::formats::openai_responses::create_responses_request_for_model runs 158 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 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8e38ece7c30cf6ff7cfe68b06fd9814a9804e9acebb2b257dfdff3d2575852"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose::session::import_formats::pi::convert: FunctionTooLong \u2014 goose::session::import_formats::pi::convert runs 158 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 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/pi.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0857bf4c00646ea9ce6d6f884a1e2a5294fa181d83c6b785b5fe69a0c1309e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mlx.rs: FileTooLong \u2014 787 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 287 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/mlx.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9ce124e2e2eed66f0a1453c8f24fe22d30c1eb5bf7569fba38a2e2498e0471"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose::oauth::oauth_flow_with_challenge: FunctionTooLong \u2014 goose::oauth::oauth_flow_with_challenge runs 157 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/oauth/mod.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c069aba7bc10c134de645bc5411c548af8153ca348b59a962b2d2a7ab5c3ab5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CustomProviderForm: ClassTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 223 over it, 1.56\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":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fea831eb5c2040ea087c991a258028d84004dfd19a911f6c5ff814a28bbc00f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: state_machine/ops_toolcalling.rs: FileTooLong \u2014 775 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 63% of them inside a single declaration: ToolExecutionOperation (3 blocks, 243-1032). The bar is 500 significant lines; this is 275 over it, 1.55\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_toolcalling.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"726016299c40fd8f66f2bc784cbfd188add863af73f98059b4cd401262306492"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuthSettingsSection.AuthSettingsSection: FunctionTooLong \u2014 AuthSettingsSection runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"ui/desktop/src/components/settings/auth/AuthSettingsSection.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa370b6cc5d2fad3f81e69fa52bec347db336b8983a755cbb312585b8d9f84d3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Config: ClassTooLong \u2014 611 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), 63 methods, 7 blocks, lines 120-1489. The bar is 400 significant lines; this is 211 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/base.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65b8ca7ec6df9ce0a451f51f6d7cce517c73ec18a1bf11fbbe2c76bbfb7a28e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/openai.rs: FileTooLong \u2014 763 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 60% of them inside a single declaration: OpenAiProvider (5 blocks, 129-954). The bar is 500 significant lines; this is 263 over it, 1.53\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5918196b1e246ac375aedbf1c905586fed5e8ffafe16deaaf13edb5aafe32ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: subcomponents/SwitchModelModal.tsx: FileTooLong \u2014 760 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: SwitchModelModal (252-1000). The bar is 500 significant lines; this is 260 over it, 1.52\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":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f4a528afca1259a497538a4381e37e43863c1127723eec7fcbd80a787f9b36"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ParameterInput.ParameterInput: FunctionTooLong \u2014 ParameterInput runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/parameter/ParameterInput.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e8330ff50cbdce6986ba2b9616986b147a254b44925cbc9fbfc65760533d2e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RecipesView: ClassTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 205 over it, 1.51\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":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"953072025eb805e524d6c3967886fdbf09736ca766078d6a5d6bbf49f52e1aad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MessageUsageStats.MessageUsageStats: FunctionTooLong \u2014 MessageUsageStats runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"ui/desktop/src/components/MessageUsageStats.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"21283afcf44a81891944f26931eb452065a22010c3807b264289d525952d7dc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/mcp_client.rs: FileTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 249 over it, 1.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/mcp_client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cd29a07bc3e0ea305e321788a392f78086ae2a236104cac5647cd37a0d4017"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/mod.rs: FileTooLong \u2014 740 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 240 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hooks/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90c44984f1299e2c0c4c20e99ca1eb009176317189bdc37e719862de8eb4b47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/claude_code.rs: FileTooLong \u2014 740 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 60% of them inside a single declaration: ClaudeCodeProvider (5 blocks, 261-1042). The bar is 500 significant lines; this is 240 over it, 1.48\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/claude_code.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c6546a613f3fd1f9fe62611eb05c0145668f95d2fb3d4c1a4ce34addf9b350"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_provider_types::formats::openai_responses::add_message_items: FunctionTooLong \u2014 goose_provider_types::formats::openai_responses::add_message_items runs 148 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 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fe6518577b61cddb11c6c6cd9dc2c40e4324d62c8c006cfe0036112e7dc57d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SubRecipeEditor.SubRecipeEditor: FunctionTooLong \u2014 SubRecipeEditor runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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":"ui/desktop/src/components/recipes/shared/SubRecipeEditor.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"02254d9234a2b0e87ba289fb1357bfd2b50aa9c0b7986f8493d4e924eca94581"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EnvVarsSection.EnvVarsSection: FunctionTooLong \u2014 EnvVarsSection runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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":"ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68d451102c0bb104d9a43c70488c45cc462897bab348bf853f3cd6ac992d61f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 734 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 234 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6914fe9367d7852e569d6503f557cca943541f092e73506953eecb333c0d2616"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ToolCallWithResponse.tsx: FileTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 234 over it, 1.47\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":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"652ada7216d2cc155e3ee245b171253141e1dc80d75899f6c292594657222940"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Message: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/conversation/message.rs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44a70434cc90d82f03fb3506acda66dad1c41085ecd6c8331fe20cccedf179b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AcpProvider: ClassTooLong \u2014 585 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), 15 methods, 5 blocks, lines 274-1139. The bar is 400 significant lines; this is 185 over it, 1.46\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0efa894be95d4d9dc6d51517309c929258140313247ea536d6cd561565c89f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StateMachineServices.build_context_report: MethodTooLong \u2014 build_context_report runs 146 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 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/context_report.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c56d1733d6d4fe3fa352973251b6b456415f2512a3e7ff2f049d429d1fbfdf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ElicitationRequest.ElicitationRequest: FunctionTooLong \u2014 ElicitationRequest runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\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":"ui/desktop/src/components/ElicitationRequest.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57461f0cc8be9daf5ca8fd78d305896fca79e72977048ea39b73bae0aacbdd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_cli::cli::handle_local_models_command: FunctionTooLong \u2014 goose_cli::cli::handle_local_models_command runs 144 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 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0aa7addb3c5ee2afe94649b3e2f6070326c3ff1eac931e5424029c2518aec1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DatabricksProvider.stream: MethodTooLong \u2014 stream runs 144 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 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb09b86a51aa9041427706a5caf815d259e3473989845569f7f5b635bfcc346c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RecipeModelSelector.RecipeModelSelector: FunctionTooLong \u2014 RecipeModelSelector runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"ui/desktop/src/components/recipes/shared/RecipeModelSelector.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf14cb629f61591ed86b73008b4e08d612bbda2632d138c1871de2e9bc788ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CliSession: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"468f88c15a036c8de059ccfc4b3ebb9730e9f36bdd9fa94576bb88e9e60eedb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ShortcutRecorder.ShortcutRecorder: FunctionTooLong \u2014 ShortcutRecorder runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/keyboard/ShortcutRecorder.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96fae3fbac5718e1a3c02192f664f1773e6123baa7151fedc627682bf7c31b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/chatgpt_codex.rs: FileTooLong \u2014 713 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 213 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"837a10b1a8557d184e9fff20b9847f99ba1ca0e50c00a49c7a9a0e347625442c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SwitchModelModal: ClassTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 168 over it, 1.42\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":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad57933989f11b3c2d0594717e5ab7ccb5a6653d5dbcb1f11a77da8060143fa5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_local_inference::llamacpp::inference_native_tools::generate_with_native_tools: FunctionTooLong \u2014 goose_local_inference::llamacpp::inference_native_tools::generate_with_native_tools runs 141 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 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/inference_native_tools.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbc2fbc2d7207c4dd45631fbbc284c709930a9bcbfbe12ebb1ac605dea8c803"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Scheduler: ClassTooLong \u2014 560 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), 18 methods, 3 blocks, lines 101-1164. The bar is 400 significant lines; this is 160 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c1d680f96171812b9b5f15b9a97a980c4ea4377f7185bb906481c58d58620c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_provider_types::formats::google::format_messages: FunctionTooLong \u2014 goose_provider_types::formats::google::format_messages runs 140 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 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c89a855e22b941380f1de77946371f81344bd364f989c5d9ce7ce3b9a47950"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Diagnostics.DiagnosticsModal: FunctionTooLong \u2014 DiagnosticsModal runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\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":"ui/desktop/src/components/ui/Diagnostics.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5453f27564e0f57b8168d3cbe36b076e879ba13f2d342b42a75dcde80025e0a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InferenceRunner.infer: MethodTooLong \u2014 infer runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/inference.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"db73f04aaab062436fa0d5697b86cbf9ade8543e34c22390b188d8615ec86c24"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DatabricksProvider: ClassTooLong \u2014 552 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), 15 methods, 4 blocks, lines 81-833. The bar is 400 significant lines; this is 152 over it, 1.38\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1586800b7ec6cadfc803e240fda17d2009c713b9011792324af23f2923cca9c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_cli::commands::configure::add_provider: FunctionTooLong \u2014 goose_cli::commands::configure::add_provider runs 138 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 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":2187}}}],"partialFingerprints":{"codehealthFindingId/v1":"83328ba06bba862a20e8f99960a9192767ef081b15b3d7befb2b84f752b952a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recipe-card.RecipeCard: FunctionTooLong \u2014 RecipeCard runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/components/recipe-card.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87d6f0b5c563532022c6c4fa469fcf5d640f96e0d98502f4bfc446f7809eaa5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useLiveVoice.useLiveVoice: FunctionTooLong \u2014 useLiveVoice runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/liveVoice/useLiveVoice.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83fce1d77afa1fe518507210676a1054bea36866a83a99a436b6c45beeb7092"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/custom_dispatch.rs: FileTooLong \u2014 688 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 100% of them inside a single declaration: AcpConnection (5-921). The bar is 500 significant lines; this is 188 over it, 1.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/custom_dispatch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9996c1c1e955d09e1a32477585ea9808ad59293c77db97e4b6c43e9dd99d2631"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_cli::commands::configure::configure_provider_dialog: FunctionTooLong \u2014 goose_cli::commands::configure::configure_provider_dialog runs 137 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae777e25562333e4681ce0232a65bd7c0fed350c6bbc5956a2ab2302d9eb4f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/gemini_oauth.rs: FileTooLong \u2014 674 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 174 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gemini_oauth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7399931d0f3adeac0374edf04024e0e24586b6a12e18f8a17ea4f39ec36a68ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose::providers::init::init_registry: FunctionTooLong \u2014 goose::providers::init::init_registry runs 134 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 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/init.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c1fd83b5ed5bf6eadac0ad547b04159877ea38d04f73061c5de772b37a5c7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: server-card.ServerCard: FunctionTooLong \u2014 ServerCard runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\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":"documentation/src/components/server-card.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8f03403a0ef31b5dd8f2f48523d15db33d990d122e651a481add726066fa50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InlineEditText.InlineEditText: FunctionTooLong \u2014 InlineEditText runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\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":"ui/desktop/src/components/common/InlineEditText.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d4943427fc0461598b6a8c3473b8712ef7e53bd4335758e5070b30052886bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProviderCatalogPicker.ProviderCatalogPicker: FunctionTooLong \u2014 ProviderCatalogPicker runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\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":"ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderCatalogPicker.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0055f565d8cd0e7472061194d1d94cebd8fc48fa789d8a75b691151defa9a5f7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BedrockProvider: ClassTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 12 methods, 5 blocks, lines 195-1217. The bar is 400 significant lines; this is 134 over it, 1.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/bedrock.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"007cc85aef71d8665290d270e4e46a75d93c6e0e0168d2b8fe4257e1f275aa24"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionStorage: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0c01ecb83e3ea6ff6b1fa2f9b991a53a97aa8ac7c782e1209627c9a2ac99a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProviderSelector.ProviderSelector: FunctionTooLong \u2014 ProviderSelector runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"ui/desktop/src/components/onboarding/ProviderSelector.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"39854f6c52c05153735734a8c2eda59051ddd53c265c68286d1cd752c472ff88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/builder.rs: FileTooLong \u2014 659 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 159 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/builder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a5632a947cb67eb95a8a1c49b23b9db695c0c714e22b9e7091cc5a26089879"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StateMachineServices: TooManyMethods \u2014 39 methods, declared across 3 files: agents/services.rs (34), agents/session_hooks.rs (4), agents/context_report.rs (1). The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/services.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d18ba7f534f7681e359afd8fa18679a91269e736a5dc163c6631c9acab7e6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: localInference/ModelSettingsPanel.tsx: FileTooLong \u2014 650 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 150 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aeed5afd108ed02d224e9d6ab81ee194df68e5c428ca0e99e97904cee883b64"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_cli::cli::handle_mcp_probe: FunctionTooLong \u2014 goose_cli::cli::handle_mcp_probe runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"085b6858cc0e4970275e264d6f088d39ec7aca997ec2cdf4fa11b8cdca378b3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: extension_manager/lease.rs: FileTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 70% of them inside a single declaration: ExtensionLease (2 blocks, 195-792). The bar is 500 significant lines; this is 148 over it, 1.30\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/lease.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa3cd09ceb1ef2a966449fddd1fd41d882afee10b4ae0cd501689e720e3e10a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ContextXrayDialog.ContextXrayDialog: FunctionTooLong \u2014 ContextXrayDialog runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/context_xray/ContextXrayDialog.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"20aeae967b7e3e142354d662fa8f3e151040aeb5abfd6b205715cd712ace5fa5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GatewayHandler: 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), 11 methods, 2 blocks, lines 51-802. 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":"crates/goose/src/gateway/handler.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c8ebc3121cd9e209e88573959950464b32e1e161bc168ae90209b32c6bb12b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_provider_types::formats::databricks::format_messages: FunctionTooLong \u2014 goose_provider_types::formats::databricks::format_messages runs 128 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 28 over it, 1.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":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"855e644c187735e91fadbddb30ceffaa834b50a083d8911138e318c248ba7411"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HeadersSection.HeadersSection: FunctionTooLong \u2014 HeadersSection runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.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":"ui/desktop/src/components/settings/extensions/modal/HeadersSection.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9101ce45c37942fa935139015143cf630d40f54d7e4b55533291e55486dfbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: computercontroller/mod.rs: FileTooLong \u2014 639 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 139 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2ccffc8975d74746f861a86d9b0319473a8cc1553a6e05ff68e359106c12ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_cli::commands::configure::configure_tool_permissions_dialog: FunctionTooLong \u2014 goose_cli::commands::configure::configure_tool_permissions_dialog runs 127 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 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abefdc451f24fd182a82f425a14fab73f105f19b1414d0242da8488cfcec90c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToolExecutionOperation.run: MethodTooLong \u2014 run runs 127 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 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_toolcalling.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"502f471c02af1771feed4f1607ee313673cadd2961b3c7d2cb4a3791af5eb9f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ModelAndProviderContext.ModelAndProviderProvider: FunctionTooLong \u2014 ModelAndProviderProvider runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"ui/desktop/src/components/ModelAndProviderContext.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c8df918c0a9320e0b8f9bd6f500625c8a9719f083c7f3f5ecb9f629d889082"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: goose::providers::huggingface_auth: TooManyFunctions \u2014 38 free functions. The bar is 30 free functions; 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":"crates/goose/src/providers/huggingface_auth.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b7dff59f8ddce2f254496ba86e9b9d377f885ae89c1f2dfc643d6c366a40c4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionManager: 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":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c324300427bcfd8d1d7e80619cff623b9c8787c1e93d0df5edbd198b790e4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConfigContext.ConfigProvider: FunctionTooLong \u2014 ConfigProvider runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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":"ui/desktop/src/components/ConfigContext.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc104b6053a3e40704a05a9e8a1d0d0fb734c9fedcc0e298d93a59dfee983e76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/openai_live.rs: FileTooLong \u2014 627 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 127 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":"crates/goose-providers/src/openai_live.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e3906b5ce68fac16490694903712714b357878419bac3de8aa65b93a64a5ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_cli::cli::cli: FunctionTooLong \u2014 goose_cli::cli::cli runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7d4e7948b557b540dcf81e48e5f2df712a991aed458b7d0a3341efc9989cbb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/githubcopilot.rs: FileTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: GithubCopilotProvider (5 blocks, 215-779). The bar is 500 significant lines; this is 120 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/githubcopilot.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6de5eac876459e2a25ff244379ecacb47db9fa07adf1326bbd391d3c801114"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_local_inference::hf_models::cached_local_models: FunctionTooLong \u2014 goose_local_inference::hf_models::cached_local_models runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/hf_models.rs"},"region":{"startLine":2767}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b42db53e8b8e790ac0f5e2a129b781da0afc397e6adff70580822d69d92048"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose::dictation::providers::resolve_model_native_config: FunctionTooLong \u2014 goose::dictation::providers::resolve_model_native_config runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/providers.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea24002242316adff1e9f9125708aefae3a193022f7b67a736bbe020abd41e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/databricks.rs: FileTooLong \u2014 615 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 90% of them inside a single declaration: DatabricksProvider (4 blocks, 81-833). The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d745243d90bd14d2f1a2d78cf96f396c3468fc829e57a1f668c3a07f7c402de"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CliSession.handle_model: MethodTooLong \u2014 handle_model runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"a834e0f9e285d8dfd7b028d7a64211ac1b730f094c671cf04994d7e0ae6d3e7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillsView.SkillsView: FunctionTooLong \u2014 SkillsView runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/skills/SkillsView.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9236994f1479dbd723ddd9030791e91c663da6e4e88776fa791543e108532a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_acp_macros::custom_methods: FunctionTooLong \u2014 goose_acp_macros::custom_methods runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-acp-macros/src/lib.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"be445c01508e37f137fab2187b7a02a1622b558b24c8d1c880dd886aae7a4238"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_cli::session::builder::resolve_provider_and_model: FunctionTooLong \u2014 goose_cli::session::builder::resolve_provider_and_model runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/builder.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"176668999ba5af81952de076a599683ceb6e0e55213091fd6760ddddba24da05"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: JsonSchemaEditor.JsonSchemaEditor: FunctionTooLong \u2014 JsonSchemaEditor runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/JsonSchemaEditor.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e952e24f65cfc025a5758289c485ec8075d5d67bb984a7c9a84c5acff2f0f8d7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ToolExecutionOperation: ClassTooLong \u2014 486 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 11 methods, 3 blocks, lines 243-1032. The bar is 400 significant lines; this is 86 over it, 1.22\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_toolcalling.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0832e8b2223b607bcebafce44e20d937b62d02c4231cbbf9b3f8b25ac6cffb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ContentCard.ContentCard: FunctionTooLong \u2014 ContentCard runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/components/ContentCard.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a21a53a49dac16407d1719f758a685870b7a66e098bd9bb6e39a5a774979a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNavigationSessions.useNavigationSessions: FunctionTooLong \u2014 useNavigationSessions runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useNavigationSessions.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5e24b5d0cdb0679b33cebac1f5db7a18deb4650a8df0a86a23bf10fd4a005a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SnowflakeProvider.post: MethodTooLong \u2014 post runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/snowflake.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d9b0725a66b617ea4b0c813160dedb99b33394464ea4b8ee5755583377acf3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.HomePage: FunctionTooLong \u2014 HomePage runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/pages/extensions/index.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8223def04058800f0f1989983f0638b9e3bb726602eb6732670575793e6090"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AppLayout.AppLayoutContent: FunctionTooLong \u2014 AppLayoutContent runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Layout/AppLayout.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c1faa3a66c562cdfada289a430f5e9c8237f5a0c65840a9c96dbfaa3e0de17"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/xai_oauth.rs: FileTooLong \u2014 593 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 93 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/xai_oauth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ea15f733183b92a2663de8555784a19938958731715d75a5d72f46fa52d369"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_cli::commands::info::handle_info: FunctionTooLong \u2014 goose_cli::commands::info::handle_info runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/info.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadd81a991b8ec14de5b913266e0ab0362c69f8dd6d5ebc5957a76412a1c85f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GroupedExtensionLoadingToast.GroupedExtensionLoadingToast: FunctionTooLong \u2014 GroupedExtensionLoadingToast runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/GroupedExtensionLoadingToast.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c07450821c1bdbcc4e1aad6411db127d834c6140d1a61e156a7f177f9958b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OnboardingGuard.OnboardingGuard: FunctionTooLong \u2014 OnboardingGuard runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/OnboardingGuard.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd708c64096cc2b960f100f57dfb76c707f2ebd7fab71fad3ee976a2b9f1c3e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProviderInventoryService: ClassTooLong \u2014 466 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), 19 methods, 2 blocks, lines 197-872. The bar is 400 significant lines; this is 66 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/inventory/mod.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a24fdcf4b7e94914f64bb70d0b47058d009726994922683cb393e67a51f3ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_cli::cli::handle_serve_command: FunctionTooLong \u2014 goose_cli::cli::handle_serve_command runs 116 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 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"2678efcd004bd9bbd8df3e07074cb46a302872ea58454fbc746318937bdea75e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SessionStorage.create_schema: MethodTooLong \u2014 create_schema runs 116 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 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb73c36c5f3295aa4f28cf256d5bc0e1d854df2048a02df54d7424c374291d43"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CostTracker.CostTracker: FunctionTooLong \u2014 CostTracker runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"ui/desktop/src/components/bottom_menu/CostTracker.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"def33e98725299022d67c32abe8bdab63683104802c089d9c421fe4147d72e50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/chatSessionStore.ts: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 77 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/chatSessionStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c673dfff6090c78fb7cce9ec6d9862a18106174ba68c86231565e5b5f474394"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_provider_types::formats::openai::response_to_message: FunctionTooLong \u2014 goose_provider_types::formats::openai::response_to_message runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"d593b60a6c9e306e8fac72eec586af0c9e55534b5a30ad534005d39ecb624288"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RecipeActivityEditor.RecipeActivityEditor: FunctionTooLong \u2014 RecipeActivityEditor runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipeActivityEditor.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b933a902eedabb4bef1386563dc832e7d0e6818188d15e678b398926a72812"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenAiProvider: ClassTooLong \u2014 455 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), 18 methods, 5 blocks, lines 129-954. The bar is 400 significant lines; this is 55 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9acd33ff1718b041f81f472b726c1c6e82037cd7f94da0456f189f408799f6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: formats/google.rs: FileTooLong \u2014 567 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 67 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b246911113c78f8b7df56d08a032e289094e3261faa08e03ab1e704b0a97d1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateway/handler.rs: FileTooLong \u2014 567 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 91% of them inside a single declaration: GatewayHandler (2 blocks, 51-802). The bar is 500 significant lines; this is 67 over it, 1.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/handler.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36254979124ffa304719a46f4a47038a1b382294d9d6cd1f7635546fcd86fcda"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/autoUpdater.ts: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 67 over it, 1.13\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":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d16d8ccbd6991bff1003e2d5084c05b67cecc756329e193d0417220e5659c92"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModelConfig: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/model.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"64775d3f8980e589fb2457b55f3448dad8304e342a5cf78bc13e8ffd75a7c934"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExtensionLease: ClassTooLong \u2014 451 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), 33 methods, 2 blocks, lines 195-792. The bar is 400 significant lines; this is 51 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/lease.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc642b5f4fe760a456c6b17046e5a1f8f19a6bbb48b60be860bab74e5a214c8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/roam.rs: FileTooLong \u2014 563 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 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/roam.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c7e33fd203e9bd3a6374abf175cf519932d71723f6f6c8de3c199e511deb96"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: McpAppRenderer: ClassTooLong \u2014 448 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 48 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb58c9b2b0937146b283b0967ae582e7905c4253f4116b599635f59e2d38795"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useDisplayMode.useDisplayMode: FunctionTooLong \u2014 useDisplayMode runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"ui/desktop/src/components/McpApps/useDisplayMode.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a7dad6d7a712ad6c60b2c4c2bbd21101972c27f99e6e1a2cfb97075b527a89"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExtensionsView.ExtensionsView: FunctionTooLong \u2014 ExtensionsView runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"ui/desktop/src/components/extensions/ExtensionsView.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3d07119eeec62770b9a63e539aee023843ec28bb7c06506e6a2be74b963e6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skills/supporting_files.rs: FileTooLong \u2014 557 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 57 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/supporting_files.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b95a5d536dd9a409dbc1c8afe070d4eee7a302ad440d37d22f127f2819b56f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/githubUpdater.ts: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 57 over it, 1.11\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":"ui/desktop/src/utils/githubUpdater.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"089d69dc7d40232cf5ea5e41313f98175ed13c6b3389fc5cf60ad19a0318a419"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StandaloneAppView.StandaloneAppView: FunctionTooLong \u2014 StandaloneAppView runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/apps/StandaloneAppView.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"74244ed44559c2e2aaea6577c2740111d5463f1f05c63da5555c9fbb9f07376a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClaudeCodeProvider: ClassTooLong \u2014 441 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 6 methods, 5 blocks, lines 261-1042. The bar is 400 significant lines; this is 41 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/claude_code.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19fecc923f4f6649fd6f9e71ca5020b7788554b7358aa654aa200ad8f0ca4e7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExtensionLease: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/lease.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfbeb1c69ba24e807a51a44f11077d4493d30481695c2e59b4e67ed22328c66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BedrockProvider.stream: MethodTooLong \u2014 stream runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/bedrock.rs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8fa955e53d566e9183e89c3254f20349d1eee8737d65501260ab360335962c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GithubCopilotProvider: ClassTooLong \u2014 438 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 13 methods, 5 blocks, lines 215-779. The bar is 400 significant lines; this is 38 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/githubcopilot.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"920e30714778be10487d6befaafd1a2642b4917c7a196e3c4c9d0977c12a4a4f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SessionStorage.apply_update: MethodTooLong \u2014 apply_update runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0e3b4e9716f1e45ba2bf00fd75be1e724c2d8d39f3cc74f9338305ff8a965b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: developer/shell.rs: FileTooLong \u2014 542 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 42 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/developer/shell.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3a718bd76effa4287dc53a76f9eccda0d0482433c6f8133cc32b36cdd263ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/SessionActionsHeader.tsx: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 40 over it, 1.08\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":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cb8455d70a1c5a572761f1b129507bbac1c48f668a5f78808082cbed1fa30b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LlamaCppBackend.generate: MethodTooLong \u2014 generate runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/mod.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c870be4615fe38a4b86f8584cbcbf1a4a266a2d67b57f2dd35d79650cd5d4ff"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BaseChat: ClassTooLong \u2014 431 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 31 over it, 1.08\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":"ui/desktop/src/components/BaseChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8a6172c0c0a07f4ed34e468efff7c5db0cb9fe5a641d94f433420d271ec5bc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DatabricksV2Provider: ClassTooLong \u2014 428 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, 5 blocks, lines 97-710. The bar is 400 significant lines; this is 28 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks_v2.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dec6d64a938d14a81dfc46e7ed98024a2ef6f95d078335394a35780676d459e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose_cli::session::input::handle_slash_command: FunctionTooLong \u2014 goose_cli::session::input::handle_slash_command runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/input.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fcef7077c29a1e427e8992f52d9c900613999e26d87c8935e1ca6ae364a4ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AcpConnection.forward_agent_stream: MethodTooLong \u2014 forward_agent_stream runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":2075}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19721069eb72e37d0417739c8d7f9c3df0777ddcdf91b0cfa147c0c180954c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AcpReadinessPanel.AcpReadinessPanel: FunctionTooLong \u2014 AcpReadinessPanel runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/AcpReadinessPanel.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ade92793a2a7111aef37f528b685d0d1de5d6ebfe9d721ded81ad26e293d044"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose::sources::import_sources: FunctionTooLong \u2014 goose::sources::import_sources 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":"crates/goose/src/sources.rs"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddf2a661c08187043298d97ca9ed8aa55fd3b6cdb3369638706f0b57e3db497"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/deeplink-generator.tsx: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: DeeplinkGenerator (33-636). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/pages/deeplink-generator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a8cdc6fdd0d3063df7386c28d594c78d93cf3eebfebdf7534f550ee2a1c1dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: platform_extensions/apps.rs: FileTooLong \u2014 521 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 76% of them inside a single declaration: AppsManagerClient (3 blocks, 129-704). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/apps.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95017a4b75e1bcdb906ba946e1e51667df438d44f7bbef111de22c0ca8fc38aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MessageList.MessageList: FunctionTooLong \u2014 MessageList runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageList.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ba1bc14bae9251dba2244812adf36f594e06d6be1bb62568a6dea01c74147e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: provider-error-proxy/proxy.py: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 19 over it, 1.04\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":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1bc3485bdf196df23e26cfc155c5f696a153a62a25857e6c1e5ad3199eddda"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SummonClient: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summon.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c0ce21e8af90baf8ee6a7bd28c0ff49b850bcb4dc7448b4c858f638d4f18aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AcpConnection.handle_message_content: MethodTooLong \u2014 handle_message_content runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"627232e7ceb6b7bf1c8ec0f968f6513204150af91c15c74c42adc90b9e387a00"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SessionStorage.list_sessions_matching: MethodTooLong \u2014 list_sessions_matching runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f463a60bd93ac9679e130bc92cebfe845d3f5990f9cd4d51fcc51fa5bff76732"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExtensionMenu.ExtensionMenu: FunctionTooLong \u2014 ExtensionMenu runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/bottom_menu/ExtensionMenu.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d5c48a47849586aa400ddba7c7ad9f366fd3f834b85ea96479931822034426"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProviderSetupActions.ProviderSetupActions: FunctionTooLong \u2014 ProviderSetupActions runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderSetupActions.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11992b98903e3ca68a56b47fdd2ce2145a01ff3dbe055dd79c309233ec2a9a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/management.rs: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 34 free functions. The bar is 500 significant lines; this is 10 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/management.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fce331b7ff655607857bf089a963e5e0fefd4f9b1bd52e3b3bc0ec64aa1f14"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose::agents::platform_extensions::javascript::evaluate: FunctionTooLong \u2014 goose::agents::platform_extensions::javascript::evaluate runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/javascript.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b258144ca92d68f30541e26a2494ea9ded6798ffd0b40b95224856cd2e0b8e0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SecurityManager.analyze_tool_requests: MethodTooLong \u2014 analyze_tool_requests runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"721cffd52399fb672878b78f926cd84227f7f697897f8e5f21090e5d985adf35"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose::session::diagnostics::generate_diagnostics: FunctionTooLong \u2014 goose::session::diagnostics::generate_diagnostics runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/diagnostics.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8a06ec71d185597311706b2837e5a33a38ba44dae0c9c7aa35b7e46a561e45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schedule/SchedulesView.tsx: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8 over it, 1.02\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":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f19ec3aa424a246ccfb904862bba49e92832bdbd4111736765b6a0fe4a8c70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/AppSettingsSection.tsx: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: AppSettingsSection (183-624). The bar is 500 significant lines; this is 8 over it, 1.02\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":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"481774b3f84c902b3d1936c664b78d3f812ce2cb93a81e3f543f8e3c937227f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DownloadManager: ClassTooLong \u2014 405 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), 18 methods, 3 blocks, lines 87-683. The bar is 400 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-download-manager/src/lib.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"282ec721634dbbec301358e30fdbfb2146d63118524939821491e7a5f8347386"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/databricks_v2.rs: FileTooLong \u2014 506 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: DatabricksV2Provider (5 blocks, 97-710). The bar is 500 significant lines; this is 6 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks_v2.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b66cd820d059f270ca4a8abffa9603fab987d6fe4db7e08d0f699a4fd2524bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goose::security::egress_inspector::extract_destinations: FunctionTooLong \u2014 goose::security::egress_inspector::extract_destinations runs 101 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 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/egress_inspector.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa97904570d7dafdbe85c378e99cba97003f00ba4c37ddd6dab85812e7832b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.GdkApiReference: FunctionTooLong \u2014 GdkApiReference runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/components/GdkApiReference/index.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9650972aa528a84ab58412bf0a3a1de19bd9b01d8fbe16fe39f559dc1e138f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/App.tsx: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1 over it, 1.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58c5d6491e64d5c4ecb671dd0b371a5f6a2373b5a60c42f8943e30373cfb6b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 20 shared lines): crates/goose/src/agents/state_machine/ops_compaction.rs:56-78 | crates/goose/src/agents/state_machine/ops_recipe.rs:23-47 | crates/goose/src/agents/state_machine/ops_skills.rs:226-250 | crates/goose/src/agents/state_machine/ops_toolcalling.rs:393-417 \u2014 These 4 members are variants of one another: a block of 20 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_compaction.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0178181a3a633fbf9b13b0446ba538947af7866eb8398f884b54a136da5e7c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (27 shared lines): crates/goose-providers/src/openai.rs:864-953 | crates/goose-providers/src/openai_compatible.rs:109-154 \u2014 These two members are variants of one another: 27 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e291088c92d9c764b7377804724bf4e9d696772e9a5c42184ac5331a52434c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/goose-providers/src/anthropic.rs:500-584 | crates/goose-providers/src/ollama.rs:354-438 | crates/goose-providers/src/openai.rs:978-1059 | crates/goose/src/providers/huggingface.rs:79-136 | crates/goose/src/providers/ollama_cloud.rs:113-160 | crates/goose/src/providers/openai_def.rs:55-160 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8087c16e05c3dac0285b874eee3a73eff91fafc33199d4213ebc2b8616f7321"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/goose-mcp/src/autovisualiser/mod.rs:853-879 | crates/goose-mcp/src/autovisualiser/mod.rs:909-935 | crates/goose-mcp/src/autovisualiser/mod.rs:1040-1062 | crates/goose-mcp/src/autovisualiser/mod.rs:1146-1168 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/mod.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"d289b109eb0870d109b2b5edeb4ced8084d7d9219417466250e77698946e04db"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/goose-provider-types/src/base.rs:434-522 | crates/goose-provider-types/src/conversation.rs:50-120 | crates/goose-provider-types/src/conversation.rs:296-319 | crates/goose-provider-types/src/conversation/message.rs:1012-1042 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/base.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3efff18f4a806c4d6021823f5d005926383aacf465ed88b102f36abd4f25757"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/goose-providers/src/anthropic.rs:273-326 | crates/goose-providers/src/openai.rs:683-697 | crates/goose-providers/src/openai_compatible.rs:189-214 | crates/goose/src/providers/tetrate.rs:196-218 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6affe39aafb42a3886f3dedb053ec8e418320650b2efbd4f30d78ea59c6e553c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/goose-providers/src/anthropic.rs:500-584 | crates/goose-providers/src/ollama.rs:354-438 | crates/goose-providers/src/openai.rs:978-1059 | crates/goose/src/providers/ollama_cloud.rs:41-69 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b25f59748fb630024dff69146b645714faa2dabc1ea9e63e8288723e848c59"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/goose-providers/src/databricks_v2.rs:505-548 | crates/goose-providers/src/google.rs:147-184 | crates/goose/src/providers/gemini_oauth.rs:989-1022 | crates/goose/src/providers/kimicode.rs:421-467 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks_v2.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"917df667e1a50d75872b957bbf78608bd901af5a438374f746fd1bd7b7e66ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/goose/src/providers/chatgpt_codex.rs:474-498 | crates/goose/src/providers/chatgpt_codex.rs:503-525 | crates/goose/src/providers/gemini_oauth.rs:242-270 | crates/goose/src/providers/gemini_oauth.rs:272-298 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"b836d88076b2dce129cd02005a7b81d2bf7a0c5d02744847927fc4f3b6917302"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/goose/src/providers/chatgpt_codex.rs:617-658 | crates/goose/src/providers/gemini_oauth.rs:592-633 | crates/goose/src/providers/huggingface_auth.rs:461-502 | crates/goose/src/providers/xai_oauth.rs:462-503 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"48633fbd59ab41139821e1cc32a1a8e1f18210811e870752252a02e6fc4e536d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/goose/src/providers/huggingface_auth.rs:298-328 | crates/goose/src/providers/huggingface_auth.rs:334-361 | crates/goose/src/providers/xai_oauth.rs:196-222 | crates/goose/src/providers/xai_oauth.rs:293-314 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/huggingface_auth.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b6d8d5dcdbb3b48c1ca402330ad228d79d91f6140350e314bbdbf499b80b34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): crates/goose-provider-types/src/formats/anthropic.rs:604-661 | crates/goose-provider-types/src/formats/snowflake.rs:220-296 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9e604ee6f7c20cd59ca03994427bf1a4cab2a484df6f7238ae3c1c8e68b472"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): crates/goose/src/gateway/telegram.rs:491-553 | crates/goose/src/skills/supporting_files.rs:651-708 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c8e42863edec76c89543789b200eb9d0876c43ba6a2a093fdf027d69170c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): crates/goose-provider-types/src/formats/openai_responses.rs:1001-1078 | crates/goose-provider-types/src/formats/openai_responses.rs:1090-1167 \u2014 These two members are one piece of code written twice and then edited apart: 78 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54ee53e21b569534ad4b1b39058c5f3708bd4e563ea8ee292e3f1b464bc1ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): crates/goose-cli/src/commands/configure.rs:1985-2069 | crates/goose-cli/src/commands/configure.rs:2071-2141 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a08f506c5798b4634a83c3e5beaf1bec68c1e670753fe3ea310e3b4517fdee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/goose-cli/src/session/output.rs:894-959 | crates/goose-cli/src/session/output.rs:1073-1118 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b100f35422adf4b85b6a60c6556bb5e3d1deafd820c82c3318ab4ff728a292"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): crates/goose/src/session/import_formats/claude_code.rs:215-270 | crates/goose/src/session/import_formats/pi.rs:262-308 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/claude_code.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9981a2243b4960611cc9522122d519a4db83aac9c6e5846b6cad324263bd59f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): crates/goose-providers/src/openrouter.rs:127-178 | crates/goose/src/providers/nanogpt.rs:121-175 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openrouter.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0f6d92b0b4b5fa0ac91ee8659ef9effad0fa9d872c1082055f63f2c38b2166"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/goose-sdk/src/bindings.rs:797-832 | crates/goose-sdk/src/bindings.rs:840-881 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-sdk/src/bindings.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"804f693865738576710f31495c01af740a4ceb8d2941e54c6052ca8e5c7659a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): crates/goose-provider-types/src/conversation/tool_result_serde.rs:58-114 | crates/goose-provider-types/src/conversation/tool_result_serde.rs:134-193 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/conversation/tool_result_serde.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66d48ce5059adb1afbc8628eda91c2b19690b2397e09fee82d8fa4dd53bf11a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): crates/goose/src/acp/server/recipe/conversions.rs:282-365 | crates/goose/src/acp/server/recipe/conversions.rs:367-450 \u2014 These two members are one piece of code written twice and then edited apart: 84 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/recipe/conversions.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"520144708e9f1aa7eef7b1b908d440e51eb11856d87667bde66eeaab38974708"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/goose/src/agents/platform_extensions/apps.rs:309-352 | crates/goose/src/agents/platform_extensions/apps.rs:360-401 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/apps.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33709a6d59e6b523bc84903943da6a6913adae35e4b8e8ea14a17719bd3cd3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/goose-providers/src/openai_compatible.rs:261-287 | crates/goose-providers/src/openai_compatible.rs:292-318 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai_compatible.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e551de404ca258c03018ec81d9be295294a07b08f628c70afa1b745b2a12f249"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/goose/src/providers/chatgpt_codex.rs:767-801 | crates/goose/src/providers/gemini_oauth.rs:745-779 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1b032bcd0b30c7db98e4f745ceb0a81c0503209019d7cd39197d15e63de961"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/goose/src/providers/chatgpt_codex.rs:708-747 | crates/goose/src/providers/xai_oauth.rs:558-587 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"a765e401b2fb9b6775e54f6926c2aece73148548435986c19f9e6d2dd3aa45b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/goose/src/session/import_formats/claude_code.rs:272-299 | crates/goose/src/session/import_formats/pi.rs:326-350 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/claude_code.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e198d65b857804dc3cfc68371af12a058bda6dd133e3c1903039376bac8d6e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/goose/src/gateway/telegram.rs:150-189 | crates/goose/src/gateway/telegram.rs:237-283 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c40dc842abf33670144cbdc08a30ad84729aba467e1ed7cdbeb13eb26b0b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/goose/src/skills/supporting_files.rs:503-532 | crates/goose/src/skills/supporting_files.rs:541-573 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/supporting_files.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"93353cbb5decba07ed60b06656a3a92c892f21a946059a9b1183a76c534d8ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/goose/src/agents/mcp_client.rs:692-722 | crates/goose/src/agents/mcp_client.rs:848-885 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/mcp_client.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"5506ac3c09387dfebb50c8d073d27d6c0073e7b4645e3665f831be92b0f3bba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/goose/src/acp/server/recipe/conversions.rs:18-46 | crates/goose/src/acp/server/recipe/conversions.rs:52-83 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/recipe/conversions.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0579092de7f6714778cc5095bd9820d9c2382019667117d09f0c98ffa30313c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/goose/src/config/signup_openrouter/mod.rs:97-132 | crates/goose/src/config/signup_tetrate/mod.rs:75-111 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/signup_openrouter/mod.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b136e3769e63958088fc310dfed5a87b6f1c1f9648a91d2b61a0cab6942f5a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): crates/goose/src/otel/otlp.rs:326-363 | crates/goose/src/otel/otlp.rs:378-415 | crates/goose/src/otel/otlp.rs:417-460 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 38 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/otel/otlp.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"11705ee808e19af29452a1d776c2fc9147c9b3ca52c38916489cb2f106d52c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/goose-cli/src/recipes/github_recipe.rs:296-337 | crates/goose-cli/src/recipes/github_recipe.rs:339-372 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/recipes/github_recipe.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6808948269df86b4a9a6a1498cd85355665774739f9a7e103812f3b59f0cd8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/goose/src/providers/copilot_acp.rs:58-103 | crates/goose/src/providers/pi_acp.rs:52-86 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/copilot_acp.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"774b4e99ba6dba28c2318f2ec0a5fa854e55e662a11f3df092c159f48185c4a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/goose/src/config/base.rs:604-637 | crates/goose/src/providers/private_file.rs:199-232 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/base.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d954b0e72096a3a1e35bd62f2be74f25fa9b360bd89cc470d96e29a43c6395"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/goose/src/agents/platform_extensions/analyze/parser.rs:81-113 | crates/goose/src/agents/platform_extensions/analyze/parser.rs:676-701 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e8712c0e5a623d428eae28e81f689778a184fe4ee65f21e12d96c949e5d6f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/goose/src/providers/huggingface.rs:161-188 | crates/goose/src/providers/ollama_cloud.rs:188-214 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/huggingface.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"981572c0844e024c8268ec96efc7dce1ccb298d49c57e51f6a50f1ad75f9a520"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/goose/src/skills/supporting_files.rs:291-316 | crates/goose/src/skills/supporting_files.rs:325-355 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/supporting_files.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc986d4822f3196dfc562bdd94cd37aeaf4d15f56f079cc1a5c42c93fdddd5cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/goose-providers/src/databricks.rs:119-154 | crates/goose-providers/src/databricks_v2.rs:127-158 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c2f46c05d5af818d85bfa5beb969346641ec721a3458d280373731ec331380"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): crates/goose/src/providers/amp_acp.rs:63-95 | crates/goose/src/providers/claude_acp.rs:65-106 | crates/goose/src/providers/codex_acp.rs:63-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 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/amp_acp.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"51263c21ebf59e31fb5943ccc8b62721827f194e5e6482ad8bc1b219bf649e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/goose/src/agents/state_machine/ops_skills.rs:62-85 | crates/goose/src/skills/client.rs:243-264 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_skills.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"545b680b51f9d4d95553648355785d8faf89dc81e6425f67831eeec6db8c6191"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/goose-provider-types/src/formats/openai_responses.rs:954-978 | crates/goose/src/providers/formats/bedrock.rs:418-440 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bb00c305ea9a1afcc64d3f61de5ebbfdaaeff0f792c6c269859fb8905b3429"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/goose-provider-types/src/mcp_utils.rs:5-28 | crates/goose/src/mcp_utils.rs:7-30 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/mcp_utils.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cbfa6946b3757433039245d5f306aea54a6fa5c1cbad814f65e4638e76a71c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/goose/src/providers/chatgpt_codex.rs:984-1005 | crates/goose/src/providers/xai_oauth.rs:740-773 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"affbb71176149c90ea2c84186912ba68dedd2bac99061ede5626ddcaa1b7ac34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/goose-local-inference/src/management.rs:395-418 | crates/goose-local-inference/src/management.rs:420-443 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/management.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a01a9b08eb6ae6f5901a8086ae1cbe46098d9071bfb40b642c63dfa11d32248"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/goose/src/providers/gcpauth.rs:506-531 | crates/goose/src/providers/gcpauth.rs:583-609 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpauth.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28f763f9ecb09ec1dabb780f00af4179f2c41c1fa4b8ed7d6916c17b332b47e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/goose-roaming/src/peerbook.rs:118-139 | crates/goose-roaming/src/trust.rs:101-124 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-roaming/src/peerbook.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d577c51ed6a2e500285e90a24c37bc7e5bf08e8639b2799736f74541bd79134e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/goose-cli/src/recipes/github_recipe.rs:193-214 | crates/goose-mcp/src/computercontroller/pdf_tool.rs:5-25 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/recipes/github_recipe.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0fe075b4c3b293fa3da313e650de909267421078f003cd5929f2ce0f906268"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/goose-local-inference/src/lib.rs:195-217 | crates/goose-local-inference/src/lib.rs:219-241 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/lib.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd893e23a25a39e6df27bc57c3cc22ab86292d05ea99b3e4906daa32a5c25dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/goose/src/providers/gemini_oauth.rs:340-367 | crates/goose/src/providers/gemini_oauth.rs:369-394 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gemini_oauth.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b5f2a5c9589b232cbe03252e25397090226892a51f09067e490c28b2ccbca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/goose/src/gateway/telegram.rs:342-366 | crates/goose/src/skills/supporting_files.rs:375-393 | crates/goose/src/skills/supporting_files.rs:401-426 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a31619f9ff6338dde2e4d7d2e281dfc8a0649179d4990c480e3a6818224bfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/goose/src/providers/databricks_def.rs:53-75 | crates/goose/src/providers/databricks_v2_def.rs:54-74 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/databricks_def.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6841ffa38b87d16369ba4ceb51333b65d62a47e5f5940fcea1781477607543b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/goose/src/tool_call_labels.rs:35-62 | crates/goose/src/tool_call_labels.rs:69-105 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/tool_call_labels.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36dedec5cc3939dc18063d3880e811b8337e0afbfe5352eb8e4b3cc426a345f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/goose/src/config/permission.rs:109-131 | crates/goose/src/config/permission.rs:170-194 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/permission.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3eb7b6d1d105b94ec3a9b88c95d308468bcfe0bfda60d3d8dfd95cd4b64c7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/goose-agent/src/inference.rs:156-177 | crates/goose-agent/src/inference.rs:342-361 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/inference.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f1915ff3413814852340e8226fdbbc1d13fc41802f516e0d8511cf9aae88e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/goose/src/agents/state_machine/tool_hooks.rs:90-114 | crates/goose/src/agents/state_machine/tool_hooks.rs:158-182 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/tool_hooks.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd83f19ff76c253f9a3a19636b78aeb7cff81066f925757f8dbf3855c259587c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): crates/goose/src/providers/anthropic_def.rs:91-110 | crates/goose/src/providers/ollama_def.rs:104-124 | crates/goose/src/providers/openai_def.rs:212-236 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/anthropic_def.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b6deb9c31da3e0df53cba5ff7b920071d88b1da1718139c4ca06152335fe21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/goose/src/providers/oauth.rs:333-360 | crates/goose/src/providers/oauth.rs:362-386 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/oauth.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbb68bd7297bc2ed473707e8f1a3d4d85160b9fb99b8b3bb56b99c5dd35cabe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/goose/src/session/session_manager.rs:3029-3055 | crates/goose/src/session/session_manager.rs:3092-3122 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":3029}}}],"partialFingerprints":{"codehealthFindingId/v1":"be198649248d17c318246be0aff95c8fc7ae81247c994a58166754a1bb543604"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/goose-context-management/src/structured.rs:255-290 | crates/goose/src/providers/toolshim.rs:665-703 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-context-management/src/structured.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"983c8c10eadcfce2c1a23109a6c8db2af88a7e24a0b980d205d398e95166bb90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/goose/src/skills/supporting_files.rs:111-133 | crates/goose/src/skills/supporting_files.rs:135-151 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/supporting_files.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85d2de18052c489cf93ec21307d4d48efb64b089f396113705b87bdf66b51b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/goose/src/providers/toolshim.rs:791-810 | crates/goose/src/providers/toolshim.rs:833-858 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/toolshim.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"0426ae06dc15adb6a770dc1fe8c2c3cad867b39d8a59279a241f2ebd032d8ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/goose/src/providers/avian.rs:43-61 | crates/goose/src/providers/gondola.rs:56-74 | crates/goose/src/providers/xai.rs:45-63 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/avian.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cad61ffaf0854d49bcd05174833de6f37d2e571724586c1d42220708b563c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 24\u002B corresponding lines): crates/goose/src/agents/schedule_tool.rs:233-256 | crates/goose/src/agents/schedule_tool.rs:263-286 | crates/goose/src/agents/schedule_tool.rs:293-316 | crates/goose/src/agents/schedule_tool.rs:323-346 | crates/goose/src/agents/schedule_tool.rs:353-376 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/schedule_tool.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf02a502841f7661a9aea154a1e9e39967acc64f9220ece1408b71f2e1cfbbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/goose-providers/src/databricks_v2.rs:366-389 | crates/goose/src/providers/nanogpt.rs:183-212 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks_v2.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"993e1e2630e7b04c6c00d1a7eb73d2e4c1d3240b08c172f8a84fc4aca29c9ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/goose/src/providers/inventory/mod.rs:552-586 | crates/goose/src/providers/inventory/mod.rs:760-792 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/inventory/mod.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"71750307556c8a31725a3698abc7f43105cbe74101a74ab02fba8a7a184402b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/goose/src/agents/extension_manager/streamable_http.rs:82-104 | crates/goose/src/agents/extension_manager/streamable_http.rs:117-135 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/streamable_http.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7958ba4dc35106a04810acbe3863d1f34316dc72b1f19b35114fc772ec2529d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/goose/src/providers/chatgpt_codex.rs:660-678 | crates/goose/src/providers/huggingface_auth.rs:504-525 | crates/goose/src/providers/xai_oauth.rs:505-528 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e06a1cdc665dafb2c86f2bb74b6eec7712bf394b8d3b9bda7231f101922f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/goose/src/acp/server/onboarding.rs:466-483 | crates/goose/src/plugins/mod.rs:407-424 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/onboarding.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa1bc916a35293798ad31640c5b766ddc1a07cfc522a9738bf675c1c63ac50a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/goose/src/providers/openrouter_def.rs:48-67 | crates/goose/src/providers/tetrate.rs:47-65 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/openrouter_def.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b959756ee2b1a3f282b91589408439e8f5bcadcd4f7afe41ceeb96e50e9f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/goose/src/prompt_template.rs:152-173 | crates/goose/src/prompt_template.rs:206-230 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/prompt_template.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde3a356d54ac5618eb585a65db106bfb8a51b3c6705a958831fc3bdcb5d978c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/goose-provider-types/src/formats/databricks.rs:366-390 | crates/goose-provider-types/src/formats/openai.rs:732-753 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e84f1aeab2b5bcacdd6220e61c3d454d8f2c066c49e0ba47a6f4455b7765727"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/goose/src/agents/platform_extensions/mod.rs:248-264 | crates/goose/src/permission/permission_judge.rs:16-33 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/mod.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51829bbfb060f4cf54b957cd41c3ca2e59ef3a4613f32db531f79cb4742afd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/goose-agent/src/tool_visibility.rs:8-22 | crates/goose-agent/src/tool_visibility.rs:29-43 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/tool_visibility.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46689091bbf035cf40bc05bcf4c2ad783a4868a7c6bb2621aba02f5ea6fac49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/goose-provider-types/src/model.rs:318-332 | crates/goose-provider-types/src/model.rs:334-348 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/model.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"5303eca75a2f0883328584ae6448adb4a171a5767c96026c78b8d67a28332b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/goose/src/posthog.rs:538-551 | crates/goose/src/session/import_formats/pi.rs:310-324 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/posthog.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"228b5ab9df7f1485bccbff3b0c8171a037832593ffe4a606a17602b772b7bb2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/goose/src/providers/chatgpt_codex.rs:891-917 | crates/goose/src/providers/xai_oauth.rs:777-800 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4506385d6dbb543df303a19faaffbd355d12e95f69b7e5746ae3d53e380a13a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/goose-sdk/src/observability.rs:203-216 | crates/goose-sdk/src/observability.rs:237-257 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-sdk/src/observability.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce13731651e371a777611da67a96d087e439f3357b235beae7ba7f7b27c9320"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/goose/src/config/signup_openrouter/server.rs:28-41 | crates/goose/src/config/signup_tetrate/server.rs:27-38 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/signup_openrouter/server.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbd098eb4835f1f5dc8f637c54af02c8279d15c296d8272d49b82b4c9d31f59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/goose/src/agents/platform_extensions/chatrecall.rs:321-335 | crates/goose/src/agents/platform_extensions/todo.rs:145-159 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/chatrecall.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9ec087e44f211ff412b2770d8f513b08d622a3b4f7e5de5f315c99703b44d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/goose-mcp/src/memory/mod.rs:436-451 | crates/goose-mcp/src/memory/mod.rs:462-480 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/memory/mod.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"c712fd383e5f00b4a2d18731243f4faca7c04c2be23f3e66a30fa1ee0dd7cec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/goose/src/acp/server/recipe/mod.rs:96-110 | crates/goose/src/acp/server/recipe/mod.rs:115-131 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/recipe/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a55d8cdb6de056e77fa360a5ac68e9bf4256616a973872bbb859495444a00bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/goose-agent/src/operation.rs:34-47 | crates/goose/src/agents/state_machine/ops_context_relevance.rs:127-143 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/operation.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2bfc0b0f7aad14e7740f57397516522fc401a47cfa0e89ec0ab7a739b4fcff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/goose/src/hooks/mod.rs:513-531 | crates/goose/src/hooks/mod.rs:533-552 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hooks/mod.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0fab1ebbdaca9ad7e0560a6af36743c3daaa3458f6716c833ef866ada48dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/goose/src/agents/execute_commands.rs:62-83 | crates/goose/src/agents/state_machine/ops_slash_command.rs:19-36 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/execute_commands.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f24af2d2d7662ccd7971ab2226a61d198314c957214706c8148c802b1023d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/goose/src/providers/gondola.rs:28-47 | crates/goose/src/providers/huggingface.rs:204-230 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gondola.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1cefa4883174be511cce4bf015ec7777fe1f8b21e0346059b97b5e555cab30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/goose/src/plugins/formats/open_plugins.rs:276-295 | crates/goose/src/plugins/formats/open_plugins.rs:321-337 | crates/goose/src/plugins/mcp_servers.rs:86-103 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/plugins/formats/open_plugins.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c0cf87b5e112fb15c5214ac57d37b3bc4cbf6f5f68046db4c7c47070d0a373"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/goose-cli/src/session/editor.rs:15-25 | crates/goose-cli/src/session/editor.rs:41-51 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/editor.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2170a48634a949e08bdb230ce1ce6b7c95fc68c97820c929e44b6e1bda36a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/goose/src/otel/otlp.rs:481-503 | crates/goose/src/otel/otlp.rs:509-527 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/otel/otlp.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"2903b2b99ec6710bb507128630b86cd0498e68251bcac0915ecc22756c484d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/goose-local-inference/src/tool_emulation.rs:168-190 | crates/goose-local-inference/src/tool_emulation.rs:192-211 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/tool_emulation.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca27880abbc66568306ab6226422663a835690ec4034c50cb7ab7794ea631d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/goose/src/acp/server/schedule.rs:52-63 | crates/goose/src/acp/server/schedule.rs:77-89 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/schedule.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4706623c34a216ca8896f76d34bb7afcdbffbeedb1e23ee1f7e41e1e8dcc9b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/goose-test/src/mcp/stdio/record.rs:19-34 | crates/goose-test/src/mcp/stdio/record.rs:39-56 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-test/src/mcp/stdio/record.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31f6c911e84b368359cfe17be54d14b49dee3c16d2a34fc2c1de6b2a87eb4ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/goose/src/providers/kimicode.rs:289-302 | crates/goose/src/providers/kimicode.rs:304-318 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/kimicode.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"177cd3f6c51a8c834b2c5225efabd104d9fa49dc4f90e1e1262fc02f17871309"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/goose-cli/src/session/mod.rs:2354-2374 | crates/goose-cli/src/session/mod.rs:2377-2391 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"557e0a9f91fe43046a54c230265d3dab3b7e85e3cbe6bf99f5cceed9d5ae5b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/goose/src/acp/server/local_inference.rs:66-80 | crates/goose/src/acp/server/local_inference.rs:85-100 | crates/goose/src/acp/server/local_inference.rs:105-120 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/local_inference.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a800a7b7285b5e4fdd2bc3890d05865e1949f7e231aac487cd683d4b0ca39bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/goose-agent/src/extension.rs:248-264 | crates/goose-agent/src/extension.rs:271-284 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/extension.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11af20d977706d11c40584f852bb32200f36179cb941ef1fc25d83dbf6b67b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): crates/goose-providers/src/anthropic.rs:374-384 | crates/goose-providers/src/ollama.rs:525-537 | crates/goose/src/providers/bedrock.rs:1022-1032 | crates/goose/src/providers/huggingface.rs:149-159 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f079e3808ebc3baac652eed1e01cd797eda65c68d83ac2a95e6fa239ff0a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/goose/src/acp/server/fork_session.rs:93-105 | crates/goose/src/acp/server/new_session.rs:296-308 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/fork_session.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a8e2a8ecf15db27cb71853f4fb192559683388e240b4a47f7b97405aeaaf5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): crates/goose/src/agents/extension_manager/streamable_http.rs:430-443 | crates/goose/src/agents/extension_manager/streamable_http.rs:451-462 | crates/goose/src/agents/extension_manager/streamable_http.rs:473-486 | crates/goose/src/agents/extension_manager/streamable_http.rs:493-503 | crates/goose/src/agents/extension_manager/streamable_http.rs:510-523 | crates/goose/src/agents/extension_manager/streamable_http.rs:531-546 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/streamable_http.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d75d8e3abcc39bbd1aca42a9dcb22baf65b3157f07db62c5aef21e3e6fd913"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/goose/src/slash_commands/recipe_slash_command.rs:73-93 | crates/goose/src/slash_commands/skill_slash_command.rs:68-87 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/slash_commands/recipe_slash_command.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdedc6b11824f31e3b2856d7401919774e4133015161f53da0d4d6ad99fdaa44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/goose/src/plugins/mod.rs:99-108 | crates/goose/src/skills/mod.rs:147-160 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/plugins/mod.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca36d7ded5f9e08c2cd7814dbf5365536ade11cc7ba4cb6ead78b348cad24a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/goose/src/scheduler/full.rs:709-727 | crates/goose/src/scheduler/full.rs:729-739 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffc46ed6e4586e657917f1ff4e444d26a0217abd0a6350e8a68f529b4b090fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/goose-agent/src/tool.rs:234-246 | crates/goose-agent/src/tool.rs:251-262 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/tool.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65ac3cad97fcad9f9196059280d0d1e2d1dc450915a479d82ba54265f093d81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/goose/src/agents/platform_extensions/ext_manager.rs:211-221 | crates/goose/src/agents/platform_extensions/ext_manager.rs:227-237 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/ext_manager.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2801896e327600a11c5222329de18800f7330b8411c14534075c55689891cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/goose-providers/src/openai_live.rs:756-765 | crates/goose-providers/src/openai_live.rs:770-778 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai_live.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea1ed79df43423a95721a022048812df8ae8aae1a54555c9fe5e2a091bd5cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/goose/src/acp/provider.rs:333-349 | crates/goose/src/acp/provider.rs:357-377 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5a25254cea2d7e1d1fd662f9bf59d99e42b1f9572acdfabe92a6a5084c3f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/goose/src/agents/services.rs:419-428 | crates/goose/src/agents/services.rs:465-478 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/services.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"18824c14a7b35f2854ab5c76a00bef244e070f1b0a56430f3b26a40bf53db0c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/goose/src/recipe/value_deserializer.rs:37-49 | crates/goose/src/recipe/value_deserializer.rs:117-126 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/recipe/value_deserializer.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"17794bef07e6eb498fbcfc0359b31f27a8a059d7c99adfbed0da972e97e8561b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/goose-context-management/src/provider.rs:61-75 | crates/goose-context-management/src/provider.rs:83-97 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-context-management/src/provider.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e0b5ec3be751d3333c04a8506e6d6861269e52cd893672e1a249b726818227"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/goose-context-management/src/templates.rs:49-59 | crates/goose-local-inference/src/prompt_template.rs:12-21 | crates/goose/src/prompt_template.rs:94-104 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-context-management/src/templates.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd4d266700e2796c4cdd1d93e52b2f1278550d23172b920e5ab581383bce429"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/goose/src/acp/provider.rs:480-494 | crates/goose/src/acp/provider.rs:501-516 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1e69820c8ab0242bc424e9e8fd66fa6035b9d817cb8b6cdf2c6ad83486c010"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/goose/src/agents/mcp_client.rs:668-685 | crates/goose/src/agents/mcp_client.rs:729-746 | crates/goose/src/agents/mcp_client.rs:823-840 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/mcp_client.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b2c3ee5a2166122f346dde3a47882efe1ae7c0baf66622292d1036fa5ee157"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/goose/src/agents/tool_schema_normalize.rs:261-269 | crates/goose/src/providers/toolshim.rs:194-210 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/tool_schema_normalize.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ca63e86b74feb9b3174b08dafa3ab27f1afecf2b6508d6b159d5593ece85fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/goose-local-inference/src/hf_models.rs:2651-2662 | crates/goose-local-inference/src/hf_models.rs:2664-2675 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/hf_models.rs"},"region":{"startLine":2651}}}],"partialFingerprints":{"codehealthFindingId/v1":"7644c033d29a969ed87d5b30fb7ce9b30c7e0443228c2e8c0811dad515afe3bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/goose-provider-types/src/base.rs:70-86 | crates/goose-provider-types/src/base.rs:96-109 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/base.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"223e90f16c25d65795d8a391a173f80c8f48175894df7ce5c577894f803765cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/goose/src/acp/server.rs:348-361 | crates/goose/src/acp/server/new_session.rs:259-269 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0f6bb7b308ee19f49add32cf6376617d7d6138123a2a68b11396b71941f17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/goose/src/agents/platform_extensions/developer/edit.rs:170-181 | crates/goose/src/agents/platform_extensions/developer/tree.rs:33-45 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/developer/edit.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5509849a720a2c3b2215474f3c468bb792a9ea80439f20e84e252f37cd2ba98d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/goose/src/providers/cursor_agent.rs:51-60 | crates/goose/src/providers/gemini_cli.rs:54-64 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/cursor_agent.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6655ef525fc2456301f794aac08f4668c5eea682b13cbf1d06a94773562ab9b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): crates/goose/src/providers/databricks_def.rs:18-39 | crates/goose/src/providers/ollama_def.rs:30-45 | crates/goose/src/providers/openai_def.rs:24-39 | crates/goose/src/providers/snowflake_def.rs:13-33 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/databricks_def.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd168a9ab4d2750d200d4ba30c6f6df6bd50f06e4b74c018423f5f8ac37fe9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/goose/src/acp/server/config.rs:334-345 | crates/goose/src/acp/server/config.rs:360-371 | crates/goose/src/acp/server/config.rs:375-386 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/config.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"db991ffcd8e5bc465318fc071827794064cea063c6a0534c0bfc52e94693f9ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/goose/src/config/permission.rs:91-107 | crates/goose/src/permission/permission_inspector.rs:52-64 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/permission.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55f41d9c8875cee5841208b1e15b5e043203a9e4bf33d9771beea931a9cbcfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/goose/src/gateway/telegram.rs:403-418 | crates/goose/src/gateway/telegram.rs:449-461 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda1072987fcdea23f0b73a8948af3f5457be996db77436df36efb06ab72b62a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/goose/src/tracing/observation_layer.rs:315-325 | crates/goose/src/tracing/observation_layer.rs:327-336 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/tracing/observation_layer.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3077d7455515bcada1e919af85501de6a8a1691351dead50f23f9a01828f448"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/goose-local-inference/src/mlx.rs:921-928 | crates/goose-provider-types/src/thinking.rs:9-16 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/mlx.rs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81ee897578d107bdb62125bb08939a8fa209d03b35cda6c44eed6989380da03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/goose-providers/src/openai.rs:180-196 | crates/goose-providers/src/openai.rs:429-446 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b14e4725e3912cd476b9d552811b757967b51458c9ab5ce22267ea13e83c2bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 14\u002B corresponding lines): crates/goose/src/acp/server/local_inference.rs:28-42 | crates/goose/src/acp/server/local_inference.rs:47-61 | crates/goose/src/acp/server/local_inference.rs:125-138 | crates/goose/src/acp/server/local_inference.rs:143-159 | crates/goose/src/acp/server/local_inference.rs:164-180 | crates/goose/src/acp/server/local_inference.rs:185-199 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/local_inference.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b473cb5a6c5f1167e786b835c23d73c0e314df4cfbfaa6bffe2141996dd299d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/goose/src/acp/server/recipe/mod.rs:455-462 | crates/goose/src/acp/server/recipe/mod.rs:464-471 | crates/goose/src/acp/server/schedule.rs:32-41 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/recipe/mod.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cb4ba914f6183f1727e0acce90839a451b50f28abd822e95db7c4c0ea1fb91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/goose/src/config/base.rs:459-469 | crates/goose/src/config/base.rs:474-484 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/base.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf91d5211beeb026e0db3bf749f2aa8e430eaf5ee24e2e7d0c48f05b02fb284"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/goose-providers/src/browser_live_transport.rs:62-69 | crates/goose-providers/src/browser_live_transport.rs:80-87 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/browser_live_transport.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e7c621c412a84fdb1b83d99e198e39cda1337cccbbae31deead819a759c8be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/goose-providers/src/openai_live.rs:369-382 | crates/goose-providers/src/openai_live.rs:410-423 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai_live.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0df260ed35979f7b2629c9c6f791acdf809301ebba54ec0effb1e6154cb107"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/goose/src/acp/server/providers.rs:105-112 | crates/goose/src/providers/inventory/mod.rs:1044-1051 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/providers.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c28d378be5cd919636b79d1734e91c124901ab13f3ac2575faf5113cbc4f4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/goose/src/agents/extension_manager/mod.rs:1000-1012 | crates/goose/src/agents/extension_manager/mod.rs:1085-1095 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/mod.rs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5daa01664798a82ee4116b66c726dd781c106bff13405e01c40dea70edb156d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/goose/src/agents/platform_extensions/apps.rs:269-277 | crates/goose/src/agents/services.rs:582-591 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/apps.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"58695baad3022fdc72dc0579fd1e5b0622a9cfe681ead53b4f128b18fd044f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/goose/src/providers/kimicode.rs:109-122 | crates/goose/src/providers/muse_code_def.rs:252-265 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/kimicode.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29579b0664ff1e96c49515295d9f3ae13fc4485d05de2ad31ee6e31dc215f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/goose/src/prompt_template.rs:175-187 | crates/goose/src/prompt_template.rs:190-204 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/prompt_template.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"127f5be6f205ebcbdd3975055b238a8471fddd7043ee95273dff447e572f5a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): crates/goose/src/providers/githubcopilot.rs:205-211 | crates/goose/src/providers/kimicode.rs:137-143 | crates/goose/src/providers/muse_code_def.rs:279-289 | crates/goose/src/providers/oauth.rs:125-132 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/githubcopilot.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"892edb490a3b7285eb5f493d18909be66dcdea30cf1e4a3c1c014162edc7190f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): crates/goose/src/config/base.rs:1362-1371 | crates/goose/src/config/base.rs:1373-1382 | crates/goose/src/model_config.rs:215-224 | crates/goose/src/model_config.rs:242-251 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/base.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ec45b7023b4b0c08a22904aefe6d3b7a423d0bc0d7a7a621862094e206f31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/goose/src/providers/huggingface.rs:269-279 | crates/goose/src/providers/huggingface_auth.rs:112-118 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/huggingface.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"946d62afee6f199ee651c391bd065c1e2120da3215167287ebf189533cb83d6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/goose-cli/src/commands/plugin.rs:4-20 | crates/goose-cli/src/commands/plugin.rs:22-35 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/plugin.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba4a0aeafbebbe9b92d2f5150a579241f7c3ad83763357cbe21c81aae199fdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/goose/src/sources.rs:157-166 | crates/goose/src/sources.rs:179-188 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9b6440fde086e518c6f8f1d600837772a45dcddf92eed7ab0a7feebdebbf27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): crates/goose/src/agents/platform_extensions/chatrecall.rs:95-112 | crates/goose/src/agents/platform_extensions/summarize.rs:41-49 | crates/goose/src/agents/platform_extensions/todo.rs:32-52 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/chatrecall.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1b7b1ebe27bb12f92a2e9941cce8fff9dbcdfb6f667b85cc77d2431dc4787f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/goose-provider-types/src/formats/anthropic.rs:663-673 | crates/goose/src/providers/cli_common.rs:9-18 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"603fbf6f2b51e6a409aa9122e877675fa7f6864c428243f2ff12177395595c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/goose/src/model_config.rs:226-232 | crates/goose/src/providers/openrouter_def.rs:69-75 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/model_config.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fc23dca0eeea49e46c108c2eab299f90674bc8705d1b0ebf552911976be737"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/goose-provider-types/src/base.rs:286-302 | crates/goose-provider-types/src/base.rs:325-341 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/base.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09cdd42a288274cd04b65fe0872d247835f5804a88947b997df2b986b926a2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/goose-agent/src/skills/mod.rs:16-30 | crates/goose/src/providers/claude_code.rs:527-536 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/skills/mod.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0caa29a2c0739cc5b5d8f618fa81036faca13c331ba2b02137f5e41ee08f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/goose-sdk-types/src/custom_requests/recipe.rs:44-60 | crates/goose/src/recipe/mod.rs:300-316 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-sdk-types/src/custom_requests/recipe.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3cfe7ee866c0c97ce98467e0c35be7dcead3103d11596caa28e89a1a16aa32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): crates/goose/src/providers/chatgpt_codex.rs:700-706 | crates/goose/src/providers/huggingface_auth.rs:547-553 | crates/goose/src/providers/xai_oauth.rs:550-556 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"36faa8209773389a320e18ec4fe7703490e42f9b95763e92c0291c912103337a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/goose/src/agents/platform_extensions/analyze/mod.rs:57-75 | crates/goose/src/agents/platform_extensions/code_execution.rs:93-98 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/mod.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cd2f2881d22ea86b598497d0295c7b17251dc9f6f63b04f0dde39b86dfbf0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/goose/src/agents/platform_extensions/ext_manager.rs:79-103 | crates/goose/src/agents/platform_extensions/summon.rs:399-408 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/ext_manager.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0464f2a2ea3ee76db896e0d5a4bcc55e8a5003d935d4798b573d0958ecb1e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/goose-providers/src/azure_foundry.rs:543-551 | crates/goose-providers/src/databricks.rs:569-577 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/azure_foundry.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb22e6b59a7160269507209e207de1fadb967733d2b5c82aaa136365a1a918af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): crates/goose-mcp/src/autovisualiser/mod.rs:628-640 | crates/goose-mcp/src/computercontroller/mod.rs:901-908 | crates/goose-mcp/src/memory/mod.rs:512-519 | crates/goose-mcp/src/tutorial/mod.rs:112-119 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/mod.rs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a0155924137c5986d9666d29465190d5d6549a4c4435d4979bff65c661133a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/goose/src/agents/state_machine/session.rs:15-23 | crates/goose/src/agents/subagent_handler.rs:245-257 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/session.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2856fb3bc3062bb527a7fae571bcdde82cf5d467fb4cb4efe715a35a9a0a687"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/goose-roaming/src/identity.rs:143-148 | crates/goose-roaming/src/peerbook.rs:154-161 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-roaming/src/identity.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a3b7942b620521003dcbc948c209460d7c3764d9c8ddab16f5114f915359ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/goose-providers/src/databricks.rs:579-586 | crates/goose-providers/src/databricks_v2.rs:578-584 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d91cc8d6f44c00b5616512e11fa4c6cbac83aa01963830f2c2182be202e834"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/goose-mcp/src/memory/mod.rs:42-48 | crates/goose/src/skills/mod.rs:134-141 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/memory/mod.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdd793f31a2d5bd67766ed3614f66c5ff17a907687dd410153356d9191c2c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/goose/src/providers/anthropic_def.rs:24-31 | crates/goose/src/providers/google_def.rs:13-20 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/anthropic_def.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2ad743adbaa34e9c05beec912380fe4434d6ac0eb8f96048da239e0ff341a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): crates/goose/src/providers/chatgpt_codex.rs:443-459 | crates/goose/src/providers/gemini_oauth.rs:209-225 | crates/goose/src/providers/huggingface_auth.rs:253-266 | crates/goose/src/providers/xai_oauth.rs:163-184 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"63647f4737f9eb2e174d6fc8ce62223773b9c041d8934bc894e01bb9b816c6d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/goose/src/providers/gemini_oauth.rs:165-169 | crates/goose/src/providers/provider_secrets.rs:182-186 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gemini_oauth.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fa0222ce50a4c79c5c66f1d9a291623218b179300fe430527844ce746cff86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/goose-local-inference/src/huggingface_auth.rs:36-39 | crates/goose/src/providers/huggingface_auth.rs:65-68 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/huggingface_auth.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"517b8c65ebfd42d27926d4eee4979a09b8c2d438d8944d8f7ffc2feac2ce0570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 4): crates/goose/src/providers/chatgpt_codex.rs:620-658 | crates/goose/src/providers/gemini_oauth.rs:595-633 | crates/goose/src/providers/huggingface_auth.rs:464-502 | crates/goose/src/providers/xai_oauth.rs:465-503 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/chatgpt_codex.rs\u0060 and \u0060crates/goose/src/providers/gemini_oauth.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/chatgpt_codex.rs:620\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"985710ec66af49bb2df03257034c6a0bda8917c17c37c227f3bd7190a922900a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/goose/src/config/signup_openrouter/server.rs:49-86 | crates/goose/src/config/signup_tetrate/server.rs:46-83 \u2014 \u0060crates/goose/src/config/signup_openrouter/server.rs\u0060 and \u0060crates/goose/src/config/signup_tetrate/server.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 48 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/signup_openrouter/server.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"845846c39c68c62e41da3e8fba5b7fae7adf4ec0753fb99b4adc70044f1031aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): crates/goose-agent/src/skills/discovery.rs:61-96 | crates/goose/src/skills/mod.rs:398-433 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-agent/src/skills/discovery.rs:61\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/skills/discovery.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdca73d7067b7d5bbbad89566736a5141beaf08679e81486e030e4ebc2885f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/goose-cli/src/session/output.rs:913-946 | crates/goose-cli/src/session/output.rs:1083-1116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-cli/src/session/output.rs:913\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"4183686e1266aa99597dd8c1f31541721f4f543aaeb906123397df199c7b9658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/goose-agent/src/skills/arguments.rs:6-35 | crates/goose/src/utils.rs:88-117 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/skills/arguments.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f3a45d95136ddf512d2463e45073638949ddf3d09a359be0f3452d84302fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): crates/goose-providers/src/anthropic.rs:387-412 | crates/goose-providers/src/ollama.rs:540-566 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/anthropic.rs\u0060 and \u0060crates/goose-providers/src/ollama.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"892ac015685dfcc324c109668e2780ebdf44f52981334d524bd02dc8e60aaef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201326 lines \u00D7 2): crates/goose-cli/src/commands/configure.rs:2026-2051 | crates/goose-cli/src/commands/configure.rs:2099-2120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-cli/src/commands/configure.rs:2026\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4cd35084ff75ad2bca30eec152671b51a3d48bbf4a6539c98901f691ff6f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/goose/src/providers/codex.rs:228-253 | crates/goose/src/providers/cursor_agent.rs:319-344 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/codex.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d6af2958fe00fc6cf4d3087e2f4aeb75fddaea99e3f1ece7ed51fd79449190"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/goose-local-inference/src/paths.rs:9-38 | crates/goose/src/config/paths.rs:9-38 \u2014 before extracting anything, compare \u0060crates/goose-local-inference/src/paths.rs\u0060 and \u0060crates/goose/src/config/paths.rs\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/paths.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cd5945ef5fac6a3ae5894f7662ec811b4ec4307bb5f72f659db8e64e22ad2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/goose-local-inference/src/provider_utils.rs:2-24 | crates/goose/src/providers/utils.rs:13-35 \u2014 before extracting anything, compare \u0060crates/goose-local-inference/src/provider_utils.rs\u0060 and \u0060crates/goose/src/providers/utils.rs\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/provider_utils.rs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c94fccc850f4604c924aa2c4ee9817bb07afe0f2ba25f160a2f5ec04f4a7b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/goose-providers/src/databricks.rs:157-179 | crates/goose-providers/src/databricks_v2.rs:196-218 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/databricks.rs\u0060 and \u0060crates/goose-providers/src/databricks_v2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec62cb87ac15262bc9238d44fbc49c0c4337b9af279590aa627afabb09ccaa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/goose/src/providers/bedrock.rs:554-576 | crates/goose/src/providers/bedrock.rs:651-673 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/bedrock.rs:554\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/bedrock.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abf4927f566dc18099dccc034b22f9d3125baaa9afb8ec6c1250d2ee7930ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): crates/goose/src/providers/gemini_oauth.rs:243-265 | crates/goose/src/providers/gemini_oauth.rs:273-293 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/gemini_oauth.rs:243\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gemini_oauth.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a1876fa004b2dd27add12c617dae9be10cdef7d7f7759b8f4e1eb019bece09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/goose-providers/src/openai.rs:1022-1042 | crates/goose/src/providers/ollama_cloud.rs:127-148 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/openai.rs\u0060 and \u0060crates/goose/src/providers/ollama_cloud.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/openai.rs:1022\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060DeclarativeProviderConfig\u0060 in one and \u0060\u0026DeclarativeProviderConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fef64c13d4c07c352f97a0e1c272026dcd6ed559e364177735c749eb6a3263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): crates/goose/src/gateway/telegram.rs:514-533 | crates/goose/src/skills/supporting_files.rs:669-690 \u2014 before extracting anything, compare \u0060crates/goose/src/gateway/telegram.rs\u0060 and \u0060crates/goose/src/skills/supporting_files.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/gateway/telegram.rs:514\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060directory\u0060 to \u0060\u0026std::fs::File\u0060 in one and \u0060\u0026fs::File\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6bec9bece2b82328581ae85890fde2e4df55eeba61db13a3841f40bf242fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/goose/src/plugins/formats/gemini.rs:131-152 | crates/goose/src/plugins/formats/open_plugins.rs:441-462 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/plugins/formats/gemini.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9e3dae5cdd505333c71738b86ff54634f3bcc67bad3ccbc8ad5e66853c74da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/goose-providers/src/anthropic.rs:502-522 | crates/goose-providers/src/openai.rs:980-1000 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/anthropic.rs\u0060 and \u0060crates/goose-providers/src/openai.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/anthropic.rs:502\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb4240d61e9c9908102e3f1510a6a300722e86d7c9b3943fb7ae5b2b07bc7ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/goose/src/providers/gcpauth.rs:511-531 | crates/goose/src/providers/gcpauth.rs:589-609 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/gcpauth.rs:511\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpauth.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"4297e9bbebcf345be2a17be575051e5c3a63ade7ba88f776fdffec1e06dd1856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): crates/goose-local-inference/src/mlx.rs:284-303 | crates/goose-local-inference/src/mlx.rs:304-322 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-local-inference/src/mlx.rs:284\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/mlx.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ad7984b18274b9dca325017453cd81c11e8624f5b06a96eceef3c6cad7bcbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201320 lines \u00D7 2): crates/goose-provider-types/src/base.rs:457-476 | crates/goose-provider-types/src/conversation/message.rs:1020-1033 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-provider-types/src/base.rs:457\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/base.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cd3786d83f605b533b42b3dd5dea1ca499a02ec358fb252d6c2bcfe9cd2bc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/goose-provider-types/src/formats/databricks.rs:444-464 | crates/goose-provider-types/src/formats/openai.rs:828-848 \u2014 before extracting anything, compare \u0060crates/goose-provider-types/src/formats/databricks.rs\u0060 and \u0060crates/goose-provider-types/src/formats/openai.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-provider-types/src/formats/databricks.rs:444\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/goose-provider-types/src/formats/databricks.rs:438\u0060 calls \u0060Some\u0060, \u0060get\u0060, \u0060and_then\u0060 and \u0060crates/goose-provider-types/src/formats/openai.rs:825\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"6365932b089f08129fa40fa3ee253c311ab9d9bdda39be2f0ee5a585d4022c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/goose-provider-types/src/formats/openai_responses.rs:1259-1278 | crates/goose-provider-types/src/formats/openai_responses.rs:1353-1370 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/goose-provider-types/src/formats/openai_responses.rs:1281\u0060 calls \u0060push\u0060 and \u0060crates/goose-provider-types/src/formats/openai_responses.rs:1372\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed93e14db706c74de08c4a4b127ad13499a8c2f1f229d07f8e6a7cc92ab4d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/goose/src/config/signup_openrouter/mod.rs:113-132 | crates/goose/src/config/signup_tetrate/mod.rs:92-111 \u2014 \u0060crates/goose/src/config/signup_openrouter/mod.rs\u0060 and \u0060crates/goose/src/config/signup_tetrate/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 58 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/config/signup_openrouter/mod.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/goose/src/config/signup_tetrate/mod.rs:90\u0060 calls \u0060header\u0060 and \u0060crates/goose/src/config/signup_openrouter/mod.rs:112\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/signup_openrouter/mod.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5750eebb3e1af1d5cc95e6342a0a4cdcdc0872bf94be9c81176720f958ce326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/goose/src/providers/huggingface_auth.rs:299-318 | crates/goose/src/providers/xai_oauth.rs:197-216 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/huggingface_auth.rs\u0060 and \u0060crates/goose/src/providers/xai_oauth.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/huggingface_auth.rs:299\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/huggingface_auth.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85230e5e1d8af793299de8f23d096186338be0ad297be9e13d96b2ec7d02276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/goose/src/agents/state_machine/ops_recipe.rs:28-46 | crates/goose/src/agents/state_machine/ops_skills.rs:231-249 | crates/goose/src/agents/state_machine/ops_toolcalling.rs:398-416 \u2014 before extracting anything, compare \u0060crates/goose/src/agents/state_machine/ops_recipe.rs\u0060 and \u0060crates/goose/src/agents/state_machine/ops_skills.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_recipe.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf471da12610730af2beaa6f7317cac9c0adb03a1d55ee76d977e13035e473f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/goose/src/prompt_template.rs:155-173 | crates/goose/src/prompt_template.rs:210-227 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/prompt_template.rs:155\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/prompt_template.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c2b37c6fc4266cf5cad4b61a2629fc45aefad4d63791b1b1095621a9f0b5ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): crates/goose/src/providers/chatgpt_codex.rs:475-493 | crates/goose/src/providers/chatgpt_codex.rs:504-520 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/chatgpt_codex.rs:475\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fd47b30f36b9ca8a332b3cc12b04e83f5b394c033c0726083cb076ed2918cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/goose/src/session/export_markdown.rs:51-69 | crates/goose/src/session/export_markdown.rs:85-103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/session/export_markdown.rs:51\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_markdown.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b619cba67dc088b2d10acf9b45eddb944292f82dbc6dfbc95da2291f851e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): crates/goose-provider-types/src/formats/databricks.rs:367-384 | crates/goose-provider-types/src/formats/openai.rs:733-746 \u2014 before extracting anything, compare \u0060crates/goose-provider-types/src/formats/databricks.rs\u0060 and \u0060crates/goose-provider-types/src/formats/openai.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-provider-types/src/formats/databricks.rs:367\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"74abd1bc72281cfa3c2da6e6cdb802c3532ccdf2b505b6b75bf841308a455e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/goose/src/agents/extension_manager/streamable_http.rs:87-104 | crates/goose/src/agents/extension_manager/streamable_http.rs:119-135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/extension_manager/streamable_http.rs:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/streamable_http.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6451d0169ce2c9eb88d1d64757f599b253fb49e6aa80a2177e12a0fe6d2eaeda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/goose/src/bin/generate_acp_schema.rs:128-145 | crates/goose/src/bin/generate_acp_schema.rs:160-177 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/bin/generate_acp_schema.rs:128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/bin/generate_acp_schema.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"533746a53ccac02e1bec21879c55c7d0868757428a3ab975f3b9ac61cc392e4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/goose/src/config/signup_openrouter/mod.rs:46-63 | crates/goose/src/config/signup_tetrate/mod.rs:46-63 \u2014 \u0060crates/goose/src/config/signup_openrouter/mod.rs\u0060 and \u0060crates/goose/src/config/signup_tetrate/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 58 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/signup_openrouter/mod.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b50445f62d1cfe8817739b1314b57c4c0b31e38588c4dda6cdfb019d1b0e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/goose-cli/src/cli.rs:1853-1869 | crates/goose-cli/src/cli.rs:1877-1892 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-cli/src/cli.rs:1853\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":1853}}}],"partialFingerprints":{"codehealthFindingId/v1":"900879f26edfb3d25ae37cbd63a82427f36f9d4ce51b65d3063f0a1544abbcba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/goose-roaming/src/peerbook.rs:119-134 | crates/goose-roaming/src/trust.rs:102-116 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-roaming/src/peerbook.rs:119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-roaming/src/peerbook.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb74aeb090c6d4e8ee08efaf0fde55c2e930903a0ffef11ff955eb1f6001edd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): crates/goose/src/acp/provider.rs:1339-1354 | crates/goose/src/acp/provider.rs:1385-1397 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/acp/provider.rs:1339\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"62eb9f8e36d2e4af74ce711f2b55df4b2db4a4154792d1750892c9630dfdbfc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/goose/src/bin/generate_acp_schema.rs:365-380 | crates/goose/src/bin/generate_acp_schema.rs:393-408 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/bin/generate_acp_schema.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a727192e35f4cdab6af1ff778a3b591b1d2f813fb3a8c97a0138919857f8378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/goose-providers/src/anthropic.rs:515-529 | crates/goose-providers/src/ollama.rs:390-404 | crates/goose-providers/src/openai.rs:993-1007 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/anthropic.rs\u0060 and \u0060crates/goose-providers/src/ollama.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"0404777174c8c604f22906f7acbe06eabc7da9d84460a7fc90a72cfb565b9651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/goose-local-inference/src/hf_models.rs:2435-2449 | crates/goose-local-inference/src/hf_models.rs:2454-2468 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/hf_models.rs"},"region":{"startLine":2435}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7f815ab4eca8115b95237d4442b97b4c103c9a3a49f6bee9d9c5c929c15001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/goose-local-inference/src/mlx.rs:849-862 | crates/goose-local-inference/src/mlx.rs:889-903 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-local-inference/src/mlx.rs:849\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/mlx.rs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ee59b1d706f13b5ca27a3b61ea49562c94059f9482e133fd7cee8af6815ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/goose-mcp/src/computercontroller/mod.rs:700-713 | crates/goose-mcp/src/computercontroller/mod.rs:745-759 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/mod.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfb53094cbec47035e12784ff87571a0313ad5ad06bd5e0fbeba20f2462802b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/goose/src/acp/server/providers.rs:876-889 | crates/goose/src/providers/inventory/mod.rs:633-647 \u2014 before extracting anything, compare \u0060crates/goose/src/acp/server/providers.rs\u0060 and \u0060crates/goose/src/providers/inventory/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/acp/server/providers.rs:876\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/providers.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a50eb08c93112c360d1d1eab63660e44c07a64dae7ce471fe509a70c15624c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/goose/src/agents/platform_extensions/apps.rs:328-342 | crates/goose/src/agents/platform_extensions/apps.rs:377-391 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/platform_extensions/apps.rs:328\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/apps.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bc149a754dbcbfbc80563f43a6c85a858a017d940c1c9596fec1a946cda8d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): crates/goose/src/config/base.rs:623-632 | crates/goose/src/providers/private_file.rs:213-227 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/config/base.rs:623\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/base.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"e977989b11ea7a83868073f589e420857ab0cd5a95d1ae605799fd6ba97566f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/goose/src/providers/azureauth.rs:140-154 | crates/goose/src/providers/gcpauth.rs:401-415 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/azureauth.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2948fbbc0b222760fcd02eacf5a3a2fa975cc9718042fcdeff7116e9045d5acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/goose/src/session/session_manager.rs:125-143 | crates/goose/src/session/session_manager.rs:151-169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/session/session_manager.rs:125\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d5fdf14060bcb834fe1a8f310522b3245e41ff019fcd13d407f2678dfa8925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/goose/src/session/session_manager.rs:2241-2255 | crates/goose/src/session/session_manager.rs:2341-2355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f2fd9b842654bd787837bcfb2c338db8b6cc58e40841fd05f813ffc872b231"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201314 lines \u00D7 3): crates/goose/src/agents/platform_extensions/summon.rs:821-829 | crates/goose/src/agents/state_machine/ops_skills.rs:125-138 | crates/goose/src/skills/client.rs:215-223 \u2014 before extracting anything, compare \u0060crates/goose/src/agents/state_machine/ops_skills.rs\u0060 and \u0060crates/goose/src/skills/client.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summon.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa1eb74f0fc804a40ee079536395267b7ab422220920d094e8fef01cd470ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/goose-agent/src/inference.rs:157-170 | crates/goose-agent/src/inference.rs:343-356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-agent/src/inference.rs:157\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/inference.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"17eabe1ee3940f189acb509d3814545862c5afe2f26a7817b3de9e271b6ccf9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/goose-cli/src/session/output.rs:320-331 | crates/goose-cli/src/session/output.rs:416-429 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d5c9eb6f16997c00d40aafc9bb81260a1ff9a99173e586f90b8ca3eea05ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/goose-providers/src/openai.rs:181-194 | crates/goose-providers/src/openai.rs:430-443 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/openai.rs:181\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08d2ea6431bde0b42508ae7bb3a2300a8f42b0ebf8ae60f64ce4b5008185dbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): crates/goose/src/bin/generate_acp_schema.rs:200-238 | crates/goose/src/bin/generate_acp_schema.rs:281-319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/bin/generate_acp_schema.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f4ca7d30b00e5a396db1fd6bb93c8e4890f99e1dd9713ef7baecb1f3be927c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/goose/src/gateway/telegram.rs:169-182 | crates/goose/src/gateway/telegram.rs:257-270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/gateway/telegram.rs:169\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90d3aa20874669f73b107eb12d7a9e9cbc2a6bf24a72fe15780fc91ce08be36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/goose-providers/src/anthropic.rs:501-513 | crates/goose-providers/src/ollama.rs:355-367 | crates/goose-providers/src/openai.rs:979-991 | crates/goose/src/providers/ollama_cloud.rs:45-57 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/anthropic.rs\u0060 and \u0060crates/goose-providers/src/ollama.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"9345297530a4b64b90f7ffd8db523177a06282b1d140ec92ded58d3dc22b0f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/goose-context-management/src/templates.rs:35-47 | crates/goose/src/prompt_template.rs:77-89 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-context-management/src/templates.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d28d09974994b0c126d1d72449b06828545e49e1b93623712345271d4990ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/goose-providers/src/databricks.rs:661-672 | crates/goose-providers/src/databricks.rs:742-754 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/databricks.rs:661\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"7615c05dc1ce6838d8af510234237bda01cd1fe8139501069d60ca6a1eeb9cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/goose-providers/src/databricks_v2.rs:525-536 | crates/goose/src/providers/kimicode.rs:442-454 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/databricks_v2.rs:525\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks_v2.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbe3528265c06e510ea2fa3c2c63db5ddf34af77951a743aa68508c9f211559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/goose/src/acp/provider.rs:1597-1609 | crates/goose/src/acp/provider.rs:1645-1657 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/acp/provider.rs:1597\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/goose/src/acp/provider.rs:1596\u0060 calls \u0060unwrap\u0060, \u0060Some\u0060, \u0060clone\u0060 and \u0060crates/goose/src/acp/provider.rs:1644\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a616ed341efbd32f2db2ed4aecfb725fc8962be83db5be891198570366f63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/goose/src/agents/platform_extensions/summon.rs:145-157 | crates/goose/src/agents/platform_extensions/summon.rs:214-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/platform_extensions/summon.rs:145\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summon.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e547d341c7c61bfcec3fc64a1e53f1d1dbc72a37dbb74f77760fddd23d87a04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/goose/src/bin/generate_acp_schema.rs:185-197 | crates/goose/src/bin/generate_acp_schema.rs:266-278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/bin/generate_acp_schema.rs:185\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/bin/generate_acp_schema.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc7164e75273acfd087bd676d244c5f991c8a99f61ecbdbb6a3d18944f79cc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/goose/src/hooks/mod.rs:568-580 | crates/goose/src/hooks/mod.rs:636-648 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/hooks/mod.rs:568\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hooks/mod.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab1ba30a0e97e7ba11e3e8e2b5f4294381515a55e15038e4fed053daefff972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/goose/src/providers/cursor_agent.rs:297-309 | crates/goose/src/providers/gemini_cli.rs:141-153 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/cursor_agent.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8b59ef8ced857f237b2d505dcc0848be5d74ae54744eb3c4dc066ef83f989c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/goose/src/providers/inventory/mod.rs:1122-1134 | crates/goose/src/providers/inventory/mod.rs:1149-1161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/inventory/mod.rs:1122\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/inventory/mod.rs"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd37fff8d6fbb02c5018904731a8599ff24ac86ae7c0f27e249ff8d172cf3d5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/goose/src/agents/state_machine/ops_compaction.rs:67-78 | crates/goose/src/agents/state_machine/ops_recipe.rs:35-47 | crates/goose/src/agents/state_machine/ops_skills.rs:238-250 | crates/goose/src/agents/state_machine/ops_toolcalling.rs:405-417 \u2014 before extracting anything, compare \u0060crates/goose/src/agents/state_machine/ops_recipe.rs\u0060 and \u0060crates/goose/src/agents/state_machine/ops_skills.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/state_machine/ops_compaction.rs:67\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_compaction.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6443e5ba0b42c280e501156b1a4d49acf0d3e7ff3677b39e4684a7dfd22dec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose-agent/src/tool_visibility.rs:9-20 | crates/goose-agent/src/tool_visibility.rs:30-41 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/tool_visibility.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"95280d03b2afb7d26cc85bbb476e4ba22f2cbc0a543472b1aeb8840d15dff9cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): crates/goose-cli/src/commands/session.rs:63-74 | crates/goose-cli/src/commands/session.rs:455-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-cli/src/commands/session.rs:63\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/session.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fa299d2943cee69e8f5703e8b1b77f8ae165323185ccc8a7821496b64d56a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose-cli/src/session/output.rs:1320-1331 | crates/goose-cli/src/session/output.rs:1336-1347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6ec86fbacea533ca866ed461d9fad78670ce01943265ef2c94eb3780908fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose-provider-types/src/conversation/message.rs:399-410 | crates/goose-provider-types/src/conversation/message.rs:412-423 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/conversation/message.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb90a842a207206d18b7c24c5af51a4f97c63e7bf3e799c03f1422a177f24a20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose-provider-types/src/model.rs:319-330 | crates/goose-provider-types/src/model.rs:335-346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/model.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"65837bbf7b4ade09f767a7700d8824d0e2837f06a195723ccb2a698dff528f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose-providers/src/databricks.rs:664-675 | crates/goose-providers/src/databricks_v2.rs:377-389 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/databricks.rs\u0060 and \u0060crates/goose-providers/src/databricks_v2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/databricks.rs:664\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7267813f86edd9bc7221c3a5a61772adf2d887591655083c543010a9b7ca510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): crates/goose-providers/src/openai.rs:417-426 | crates/goose-providers/src/openai.rs:941-952 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/openai.rs:417\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"db995a3ac2c29f717887f42a93b4ec6ce49559cb715cbca2fd3d08a74203ee4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/goose-providers/src/openai.rs:915-925 | crates/goose-providers/src/openai_compatible.rs:121-132 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/openai.rs\u0060 and \u0060crates/goose-providers/src/openai_compatible.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/openai.rs:915\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"c678d9fc74407cd890842509739fe21c97ffdd9fd725124288372a3c4d50f499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): crates/goose/src/agents/state_machine/ops_skills.rs:109-120 | crates/goose/src/skills/client.rs:148-156 \u2014 before extracting anything, compare \u0060crates/goose/src/agents/state_machine/ops_skills.rs\u0060 and \u0060crates/goose/src/skills/client.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/state_machine/ops_skills.rs:109\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_skills.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebca0c743d639e2c54bfada50f97f2ddc7324e5208b5c4b6a51d97de2544b2c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose/src/config/signup_openrouter/mod.rs:149-160 | crates/goose/src/config/signup_tetrate/mod.rs:146-157 \u2014 \u0060crates/goose/src/config/signup_openrouter/mod.rs\u0060 and \u0060crates/goose/src/config/signup_tetrate/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 58 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/config/signup_openrouter/mod.rs:149\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/signup_openrouter/mod.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c13ec572103b40eb06902ec48ea5a12c0ccd8ee5cd430bc99fe5d1f7370a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose/src/hooks/mod.rs:514-525 | crates/goose/src/hooks/mod.rs:535-546 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/hooks/mod.rs:514\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hooks/mod.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cf13a71e31e4f22f51be77e92826bdbb3e75eccaa55fe0b9d5e835bafdb661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): crates/goose/src/providers/bedrock.rs:727-738 | crates/goose/src/providers/sagemaker_tgi.rs:353-362 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/bedrock.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1b2dfdbde9b54eae947d6a337090f48f3c6351b8de79835d7ddf71a335815f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose/src/providers/chatgpt_codex.rs:487-498 | crates/goose/src/providers/gemini_oauth.rs:259-270 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/chatgpt_codex.rs\u0060 and \u0060crates/goose/src/providers/gemini_oauth.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/chatgpt_codex.rs:487\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cfe9d5b37edf5f9352f748401d1f40f25c788feabc9baf17ee60605935be9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose/src/providers/chatgpt_codex.rs:514-525 | crates/goose/src/providers/gemini_oauth.rs:287-298 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/chatgpt_codex.rs\u0060 and \u0060crates/goose/src/providers/gemini_oauth.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/chatgpt_codex.rs:514\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5987866c16cad2dcf98913146befa91f9e6095f2f3f0a97cb5e2ca44ffc0d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose/src/providers/codex.rs:450-461 | crates/goose/src/providers/cursor_agent.rs:146-157 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/codex.rs:450\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/codex.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"4180282f6486492eb8ba49317bf254114ff314abb339d316744779198c496663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose/src/providers/databricks_def.rs:82-93 | crates/goose/src/providers/databricks_v2_def.rs:81-92 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/databricks_def.rs\u0060 and \u0060crates/goose/src/providers/databricks_v2_def.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/databricks_def.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"11986c5c6a7609d55a0317a6d3b658bccb5c8a59c4cc7f0b7d40424bc0ec4809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/goose-local-inference/src/hf_models.rs:2438-2448 | crates/goose-local-inference/src/hf_models.rs:2457-2467 | crates/goose-local-inference/src/hf_models.rs:2555-2565 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-local-inference/src/hf_models.rs:2438\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/hf_models.rs"},"region":{"startLine":2438}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6e80c94dea68351c8f8945e29ee299fc72e53d2b8993ad85efade6a73d6c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): crates/goose/src/session/import_formats/claude_code.rs:128-138 | crates/goose/src/session/import_formats/codex.rs:245-255 | crates/goose/src/session/import_formats/pi.rs:210-219 \u2014 before extracting anything, compare \u0060crates/goose/src/session/import_formats/claude_code.rs\u0060 and \u0060crates/goose/src/session/import_formats/pi.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/session/import_formats/claude_code.rs:128\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/claude_code.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"711eee1f793effb0af77fa4d9a5559745c6c65198fa38c2c6ee660a54997563f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose-agent/src/inference.rs:230-240 | crates/goose/src/agents/gen_ai_telemetry.rs:70-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-agent/src/inference.rs:230\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/inference.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb212ebf3e4cf3433b5127ad8f90432c1fc3484007801fd763c10d250bf75cb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose-agent/src/skills/discovery.rs:42-52 | crates/goose/src/sources.rs:23-33 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/skills/discovery.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bfb90b412e48ed4696b1eabcd4f7451be7dd64ece41ae6d05be48c09a9c290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose-cli/src/session/output.rs:342-352 | crates/goose-cli/src/session/output.rs:440-450 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-cli/src/session/output.rs:342\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/goose-cli/src/session/output.rs:451\u0060 calls \u0060flush_markdown_buffer\u0060 and \u0060crates/goose-cli/src/session/output.rs:353\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/output.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"34118cd0e4861394688725faadced60e3962e9430bc4e238e7c9d7a6b69d635b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose-local-inference/src/llamacpp/inference_native_tools.rs:86-96 | crates/goose-local-inference/src/llamacpp/inference_native_tools.rs:111-121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-local-inference/src/llamacpp/inference_native_tools.rs:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/inference_native_tools.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfe4b8682facf2a6449a3ccdf7909f281cf991b7951c4d5b41977a7b5ba6ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose-provider-types/src/formats/openai_responses.rs:1132-1142 | crates/goose-provider-types/src/formats/openai_responses.rs:1154-1164 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-provider-types/src/formats/openai_responses.rs:1132\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"094076111e16eec69f714dfa348b4a905e9375468ffea31cc07d81cb130584db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose-providers/src/databricks.rs:120-130 | crates/goose-providers/src/databricks_v2.rs:128-138 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/databricks.rs\u0060 and \u0060crates/goose-providers/src/databricks_v2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a7e23dd7904c97321ae702a75a3637a74f9b313fd1f79c3b7c874f1925aa78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose/src/acp/server.rs:1821-1831 | crates/goose/src/acp/server.rs:1855-1865 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e39ed0c98e52fe341b3f0cf23f1fa0cc793cd7b1934c470dac7964c53928b14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose/src/acp/server/providers.rs:838-848 | crates/goose/src/providers/inventory/mod.rs:859-869 \u2014 before extracting anything, compare \u0060crates/goose/src/acp/server/providers.rs\u0060 and \u0060crates/goose/src/providers/inventory/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/providers.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c3180f1b0784cb3121fb6890873b55afeab43a1ead107d7cf1d13cefbbd07e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose/src/agents/mcp_client.rs:702-712 | crates/goose/src/agents/mcp_client.rs:865-875 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/mcp_client.rs:702\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/mcp_client.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e791acb7cc77358350a6ac7b3ba2132477941455761ed6c85cf3e1bbe4e12d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose/src/agents/platform_extensions/chatrecall.rs:325-335 | crates/goose/src/agents/platform_extensions/todo.rs:149-159 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/platform_extensions/chatrecall.rs:325\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/chatrecall.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"74eec066a74785b5e688adc60ca8b31a14b1b0a7ee0d6105d18d3a0703674fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose/src/agents/state_machine/ops_skills.rs:173-183 | crates/goose/src/skills/client.rs:188-198 \u2014 before extracting anything, compare \u0060crates/goose/src/agents/state_machine/ops_skills.rs\u0060 and \u0060crates/goose/src/skills/client.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/goose/src/skills/client.rs:185\u0060 calls \u0060Ok\u0060 and \u0060crates/goose/src/agents/state_machine/ops_skills.rs:170\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_skills.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb8bc90de55905bab5381169e385b91b5421c500d42c5f058d2369abcf3b451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/goose/src/providers/oauth.rs:342-352 | crates/goose/src/providers/oauth.rs:371-380 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/oauth.rs:342\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/oauth.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6c8bd051b9aa70923c8fb0e983c21b7a1fa914cbf25fabcefad29e0c2fd59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/goose/src/providers/ollama_def.rs:110-119 | crates/goose/src/providers/openai_def.rs:221-231 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/ollama_def.rs:110\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/ollama_def.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a080b6f59536e60853178ed08cbfabb2c0e5dc66df2159ec505ef3517d463d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose/src/session/import_formats/codex.rs:232-242 | crates/goose/src/session/import_formats/pi.rs:197-207 \u2014 before extracting anything, compare \u0060crates/goose/src/session/import_formats/codex.rs\u0060 and \u0060crates/goose/src/session/import_formats/pi.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/goose/src/session/import_formats/codex.rs:230\u0060 calls \u0060retain\u0060, \u0060is_empty\u0060 and \u0060crates/goose/src/session/import_formats/pi.rs:195\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/codex.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13c22d64014235ac710d61ae8233873f0358a755a2b4ec4c1063511f32c6039"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose/src/sources.rs:705-715 | crates/goose/src/sources.rs:810-820 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/sources.rs:705\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b91094cdfa807e7c2db501c4d2e2d9391410274ce5a14d4e911f8370a03be8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/goose-mcp/src/computercontroller/mod.rs:622-633 | crates/goose-mcp/src/computercontroller/mod.rs:650-661 | crates/goose-mcp/src/computercontroller/mod.rs:680-691 | crates/goose-mcp/src/computercontroller/mod.rs:761-772 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/mod.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44dc32d6131a6d31a0b9dba0392b8aceab66a00c1c592b3b1ea851bdcc74e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): crates/goose-providers/src/databricks_v2.rs:527-536 | crates/goose-providers/src/google.rs:159-167 | crates/goose/src/providers/gemini_oauth.rs:995-1003 | crates/goose/src/providers/kimicode.rs:443-452 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/databricks_v2.rs:527\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/goose/src/providers/gemini_oauth.rs:1006\u0060 calls \u0060map_ok\u0060, \u0060unwrap_code_assist_sse_line\u0060 and \u0060crates/goose-providers/src/google.rs:169\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks_v2.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a8d683741f75d4c904065009f04715cb7a228cd16ab4c6c526972acd702e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): crates/goose/src/providers/huggingface_auth.rs:311-320 | crates/goose/src/providers/huggingface_auth.rs:344-353 | crates/goose/src/providers/xai_oauth.rs:209-217 | crates/goose/src/providers/xai_oauth.rs:299-307 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/huggingface_auth.rs\u0060 and \u0060crates/goose/src/providers/xai_oauth.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/huggingface_auth.rs:311\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/huggingface_auth.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44e9071341fae17ad59f1f3e5ea4a0dfaf87062cccf3f7be29c690c5ae97628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): crates/goose/src/session/import_formats/claude_code.rs:62-71 | crates/goose/src/session/import_formats/codex.rs:69-77 | crates/goose/src/session/import_formats/pi.rs:69-77 \u2014 before extracting anything, compare \u0060crates/goose/src/session/import_formats/claude_code.rs\u0060 and \u0060crates/goose/src/session/import_formats/pi.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/claude_code.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc25cef70583a8cfd99144465b03b23a72267608b5351c9e5758e2e6376cb5b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/goose-context-management/src/summarize.rs:104-112 | crates/goose/src/providers/usage_estimator.rs:26-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-context-management/src/summarize.rs:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-context-management/src/summarize.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"64198591385ad3cd5fab9025783ee34bcb08abbd6293230ef9cb4c9305f5e38c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/goose-mcp/src/autovisualiser/mod.rs:910-919 | crates/goose-mcp/src/autovisualiser/mod.rs:1089-1098 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060params\u0060 to \u0060Parameters\u003CRenderRadarParams\u003E\u0060 in one and \u0060Parameters\u003CRenderChordParams\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/mod.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"a259934bb109198b5671ee63b61a43cd98e6e8202c8bcdd9e456f8b673642fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/goose-provider-types/src/formats/databricks.rs:200-209 | crates/goose-provider-types/src/formats/openai_responses.rs:540-549 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-provider-types/src/formats/databricks.rs:200\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aae98070097be2228336adce100ad6cb84093172b370caad72a04a52d55a45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/goose-providers/src/openai.rs:937-946 | crates/goose-providers/src/openai_compatible.rs:141-149 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/openai.rs\u0060 and \u0060crates/goose-providers/src/openai_compatible.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/openai.rs:937\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7180793e38f78ee8a6fbd3a0ccd52e79b5d9be9679e1320fd5ff9659ed9c0b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/goose/src/config/base.rs:326-335 | crates/goose/src/config/base.rs:337-346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/base.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e999074be1be29a69652913166fb4bdaedf5b1c184ef53971b049350cf96437"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/goose/src/config/signup_openrouter/server.rs:32-41 | crates/goose/src/config/signup_tetrate/server.rs:29-38 \u2014 \u0060crates/goose/src/config/signup_openrouter/server.rs\u0060 and \u0060crates/goose/src/config/signup_tetrate/server.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 48 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/config/signup_openrouter/server.rs:32\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/goose/src/config/signup_openrouter/server.rs:30\u0060 calls \u0060from\u0060, \u0060bind\u0060 and \u0060crates/goose/src/config/signup_tetrate/server.rs:28\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/signup_openrouter/server.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6886931f1ad83935262256d0071d3a89b0994338e76d0d6c53c7e278c3cd66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/goose/src/plugins/discovery.rs:187-196 | crates/goose/src/plugins/mod.rs:199-209 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/plugins/discovery.rs:187\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/plugins/discovery.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5145421f5c4eee7ba73365a3940c3d4aea699ba5e2dd7e5fbe3f72943a266fe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose/src/session/import_formats/claude_code.rs:224-235 | crates/goose/src/session/import_formats/pi.rs:268-279 \u2014 before extracting anything, compare \u0060crates/goose/src/session/import_formats/claude_code.rs\u0060 and \u0060crates/goose/src/session/import_formats/pi.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/session/import_formats/claude_code.rs:224\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/claude_code.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"69891d42c646f5758054c2b5aec773b286f173b41e02e08a6b8e8a51b0971355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/goose/src/sources.rs:733-741 | crates/goose/src/sources.rs:845-854 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9acb55a7db2977cb7fd569c34d1c2f996a82f12c3f244dd5e39778b6f623d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/goose-mcp/src/memory/mod.rs:205-213 | crates/goose-mcp/src/memory/mod.rs:222-230 | crates/goose-mcp/src/memory/mod.rs:374-382 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/memory/mod.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"7726c328d8bcd98ee038b11cb89595284f0b3242751e62aa73701500c2a7a29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/goose/src/bin/generate_acp_schema.rs:126-134 | crates/goose/src/bin/generate_acp_schema.rs:147-155 | crates/goose/src/bin/generate_acp_schema.rs:158-166 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/bin/generate_acp_schema.rs:126\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/bin/generate_acp_schema.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2693fa9959bec29985085aeeb8aebfd0c371704324a34f7b198ba481fb885053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/goose/src/security/adversary_inspector.rs:207-215 | crates/goose/src/security/adversary_inspector.rs:232-240 | crates/goose/src/security/adversary_inspector.rs:310-318 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/adversary_inspector.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b22d79dd644057a645fc194ad054a6d1f5fee19706deef1e7fa2569b39718aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/goose-agent/src/extension.rs:530-538 | crates/goose/src/session/extension_data.rs:135-143 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/extension.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd293c3876da2b29a276a809601312f25776662e12130eb634acc9bea9704ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/goose-cli/src/commands/roam.rs:331-339 | crates/goose-cli/src/commands/roam.rs:365-373 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-cli/src/commands/roam.rs:331\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/roam.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ee47f1753c1d169151ae84508660e6f93810958611660f92e78292897fcdc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/goose-local-inference/src/management.rs:402-410 | crates/goose-local-inference/src/management.rs:427-435 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060settings\u0060 to \u0060\u0026ModelSettings\u0060 in one and \u0060LocalInferenceModelSettingsDto\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/management.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"97748bfa47096b68cd2f5df424148fb30ab0b32ff944775181bba31dfb2407cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/goose/src/acp/server.rs:1359-1367 | crates/goose/src/acp/server/load_session.rs:181-189 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cedb22dca6b158891db6b810bd3ffea187ca2bb154dc5d9312bdcde92572f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/goose/src/agents/state_machine/ops_skills.rs:71-78 | crates/goose/src/skills/client.rs:249-257 \u2014 before extracting anything, compare \u0060crates/goose/src/agents/state_machine/ops_skills.rs\u0060 and \u0060crates/goose/src/skills/client.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/state_machine/ops_skills.rs:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_skills.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d64d8e13c5e58a9bc167b04ab6192a8352c6a2c4826796bffcdce776f318954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/goose/src/gateway/telegram.rs:152-160 | crates/goose/src/gateway/telegram.rs:243-251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/gateway/telegram.rs:152\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0708ff6fea148fab86a4b143a087d0e7125cf3678ccf46677906269c483998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/goose/src/providers/claude_code.rs:415-423 | crates/goose/src/providers/cursor_agent.rs:306-313 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/claude_code.rs:415\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/claude_code.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b288a91ea13987af262e1b2c35c53408f30f09a824f83d549f31c14e40f9549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/goose/src/skills/supporting_files.rs:293-301 | crates/goose/src/skills/supporting_files.rs:327-335 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/supporting_files.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59b939639d23b43b0fa0dc4776e91caa06a76a51c83bcadc85484b52a219ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/goose/src/skills/supporting_files.rs:505-513 | crates/goose/src/skills/supporting_files.rs:543-551 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/skills/supporting_files.rs:505\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/supporting_files.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a05e9ca7afd11262bed885875414bbd4d9bbad16cb1e4650015eac2e1fe138a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/goose/src/providers/chatgpt_codex.rs:486-493 | crates/goose/src/providers/chatgpt_codex.rs:513-520 | crates/goose/src/providers/gemini_oauth.rs:258-265 | crates/goose/src/providers/gemini_oauth.rs:286-293 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/chatgpt_codex.rs\u0060 and \u0060crates/goose/src/providers/gemini_oauth.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/chatgpt_codex.rs:486\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9105f0e6c0cec15ceb8eebf4dfb405d1f2436edc4d591e6e541b7b0bf9e1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/goose-mcp/src/autovisualiser/mod.rs:732-739 | crates/goose-mcp/src/autovisualiser/mod.rs:754-761 | crates/goose-mcp/src/autovisualiser/mod.rs:764-771 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-mcp/src/autovisualiser/mod.rs:732\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/mod.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ae0b3d4f6e1cd4f2a768253b4ab808c27153b6a3e3ae3c649a9987ff6bbbf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/goose/src/agents/platform_extensions/analyze/parser.rs:83-90 | crates/goose/src/agents/platform_extensions/analyze/parser.rs:156-163 | crates/goose/src/agents/platform_extensions/analyze/parser.rs:678-685 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/platform_extensions/analyze/parser.rs:83\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"518d43cb277ea4b7bc15441134ef385b3287fb7c301afe74c3d91e84d8de8b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/goose-cli/src/session/elicitation.rs:93-99 | crates/goose-cli/src/session/elicitation.rs:297-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-cli/src/session/elicitation.rs:93\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/elicitation.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b1373fada5a77d3319bb650c602ac1237a8dee1576576716917b2862abe815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose-mcp/src/autovisualiser/mod.rs:774-781 | crates/goose-mcp/src/autovisualiser/mod.rs:784-791 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-mcp/src/autovisualiser/mod.rs:774\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/mod.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd8ee7894f92bd2e5b16a6ff5131ac5789f6ed192b7c8250a1ff9b8b2a972b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/goose-provider-types/src/canonical/name_builder.rs:83-89 | crates/goose-provider-types/src/canonical/name_builder.rs:97-104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/canonical/name_builder.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"026f85d38b75047aa6bf2ebae06a4352067883318a151400df9450a498a92c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose-provider-types/src/thinking.rs:106-113 | crates/goose-provider-types/src/thinking.rs:116-123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-provider-types/src/thinking.rs:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/thinking.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bd79b1e07e06488e46ebf74a03a0ca160e94ed2603615f28b7c4880cf6f342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose-providers/src/anthropic.rs:287-294 | crates/goose-providers/src/openai.rs:639-646 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/anthropic.rs\u0060 and \u0060crates/goose-providers/src/openai.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/anthropic.rs:287\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a45e2ec22ca7278b720f02a4b12d39d2c8db72e3b5fd2e2b06cea647ede14be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose-providers/src/google.rs:177-184 | crates/goose/src/providers/gemini_oauth.rs:1015-1022 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/google.rs:177\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/google.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7d8bdb60351eb46ea56f384bd537b70af0ecdd17dd1d95a94ecae76dc8d23a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose-sdk/src/bindings.rs:813-820 | crates/goose-sdk/src/bindings.rs:856-863 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-sdk/src/bindings.rs:813\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-sdk/src/bindings.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d150be37df3cbd1fb7bd146de4ce5acacc46ac6c86ed3052029f1270651796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): crates/goose/src/agents/extension_manager/streamable_http.rs:453-458 | crates/goose/src/agents/extension_manager/streamable_http.rs:533-540 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/extension_manager/streamable_http.rs:453\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/streamable_http.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e859611e3ada67e94e5c1307f715ea08fcfa0c1915a96da24bf31377623d1a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose/src/gateway/telegram.rs:505-512 | crates/goose/src/skills/supporting_files.rs:660-667 \u2014 before extracting anything, compare \u0060crates/goose/src/gateway/telegram.rs\u0060 and \u0060crates/goose/src/skills/supporting_files.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/gateway/telegram.rs:505\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab31dab28ee2bd1594fe7dfeb0b351e489127dbacccdcacb68c6ff8e326420ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose/src/plugins/mod.rs:101-108 | crates/goose/src/skills/mod.rs:153-160 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/plugins/mod.rs:101\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/plugins/mod.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f884211d0eb33eb4dfd9d27c5a0e7ab896d53ed5062807de6b33b987ac92f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): crates/goose-providers/src/anthropic.rs:557-563 | crates/goose-providers/src/ollama.rs:416-422 | crates/goose-providers/src/openai.rs:1042-1048 | crates/goose/src/providers/huggingface.rs:118-124 | crates/goose/src/providers/ollama_cloud.rs:148-154 | crates/goose/src/providers/openai_def.rs:138-144 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/anthropic.rs\u0060 and \u0060crates/goose-providers/src/ollama.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/anthropic.rs:557\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/goose-providers/src/anthropic.rs:563\u0060 calls \u0060with_headers\u0060, \u0060with_header\u0060 and \u0060crates/goose-providers/src/ollama.rs:422\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81a870ed96a8172d968b6aa51f6df16e0fbb2bd3d228d56ddddd5d41358ae07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/goose-providers/src/anthropic.rs:320-326 | crates/goose-providers/src/openai.rs:691-697 | crates/goose-providers/src/openai_compatible.rs:208-214 | crates/goose/src/providers/tetrate.rs:212-218 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/anthropic.rs\u0060 and \u0060crates/goose-providers/src/openai.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/anthropic.rs:320\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4523c45fd06b8e0f34dec0c9fe64c0a70011ef4a21ff976a624591746eba3f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/goose/src/gateway/telegram.rs:343-349 | crates/goose/src/skills/supporting_files.rs:376-382 | crates/goose/src/skills/supporting_files.rs:402-408 \u2014 before extracting anything, compare \u0060crates/goose/src/gateway/telegram.rs\u0060 and \u0060crates/goose/src/skills/supporting_files.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/gateway/telegram.rs:343\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"627ec7c574d2bee898fea2779bfaf8dd785ddc7385abf1f0efae747c3cb0a73b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/goose-cli/src/cli.rs:431-436 | crates/goose-cli/src/cli.rs:495-501 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-cli/src/cli.rs:431\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d606a7275b79e7297eef872a9cf1e93b4bb7d7d37de9cc5bb7897d9c5c3ff9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose-local-inference/src/lib.rs:977-983 | crates/goose-local-inference/src/lib.rs:1020-1026 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/lib.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17c59f0b6c0ceb856cb8abfcefb449f27bf44ff29867a97ffe39d9fffbe4a58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/goose-provider-types/src/formats/openai_responses.rs:1289-1294 | crates/goose-provider-types/src/formats/openai_responses.rs:1308-1314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-provider-types/src/formats/openai_responses.rs:1308\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acdfa7bb7a9b22b74012d914e5767f5728516862ed081258aec2254b6628c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose-providers/src/anthropic.rs:375-381 | crates/goose-providers/src/ollama.rs:526-532 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/anthropic.rs\u0060 and \u0060crates/goose-providers/src/ollama.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1209fe66e87c18c63ae5acd8c45a9ff66559e03d1f6d2af1992e1af603f3184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose-providers/src/openai_compatible.rs:281-287 | crates/goose-providers/src/openai_compatible.rs:312-318 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/openai_compatible.rs:281\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai_compatible.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0f3e79c39815d83f3144970f555105c13adc340de1caed72ac3bec43e1708c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose/src/acp/server/providers.rs:106-112 | crates/goose/src/providers/inventory/mod.rs:1045-1051 \u2014 before extracting anything, compare \u0060crates/goose/src/acp/server/providers.rs\u0060 and \u0060crates/goose/src/providers/inventory/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/providers.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7831b49c19485eca231b0d6be5e3db4cd706a44797cc5879b0a97ca94e9e975f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose/src/agents/mcp_client.rs:694-700 | crates/goose/src/agents/mcp_client.rs:857-863 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/mcp_client.rs:694\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/mcp_client.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5b94722c94fb5fafc662158b144c17f9e677f87085cf20201d35165bfc9b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose/src/agents/platform_extensions/analyze/parser.rs:280-286 | crates/goose/src/agents/platform_extensions/analyze/parser.rs:289-295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"2712f35fb98619f08d73ffabba5ac9fa071f24f0155d7b43e4b2449ba2f8b19a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose/src/providers/chatgpt_codex.rs:992-998 | crates/goose/src/providers/xai_oauth.rs:761-767 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/chatgpt_codex.rs\u0060 and \u0060crates/goose/src/providers/xai_oauth.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/chatgpt_codex.rs:992\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5508390238653c4b47888269103197fe11b177bd9b38a662fa7f365c7242132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose/src/providers/claude_code.rs:307-313 | crates/goose/src/providers/codex.rs:497-503 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/claude_code.rs:307\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/claude_code.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"58149556798ca37b84dec02544434aeb7d6413c35190b8ac7a69ac879a4d73d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose/src/providers/huggingface.rs:150-156 | crates/goose/src/providers/ollama_cloud.rs:217-223 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/huggingface.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d269f3cf371cbb628065ab55694c659853327406d8ee71ed2b0a5a82020fe24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose/src/session/import_formats/claude_code.rs:19-25 | crates/goose/src/session/import_formats/codex.rs:32-38 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/session/import_formats/claude_code.rs:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/claude_code.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f83bad007e790506f688d76f0b7d27536648cce1fd2ba52a48e7ecb414f601"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose/src/session/import_formats/claude_code.rs:273-280 | crates/goose/src/session/import_formats/pi.rs:327-334 \u2014 before extracting anything, compare \u0060crates/goose/src/session/import_formats/claude_code.rs\u0060 and \u0060crates/goose/src/session/import_formats/pi.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/session/import_formats/claude_code.rs:273\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/claude_code.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde5513d94ba474b19a5d44aca3ddc286c1c0fb2a18a003bb62be8b3d245a785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose/src/sources.rs:923-929 | crates/goose/src/sources.rs:972-978 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/sources.rs:923\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"564368889b64e9d5780805a2f07c8c669d4380c6f73504098f507962c4c33288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/goose/src/skills/supporting_files.rs:292-297 | crates/goose/src/skills/supporting_files.rs:326-331 | crates/goose/src/skills/supporting_files.rs:504-509 | crates/goose/src/skills/supporting_files.rs:542-547 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/skills/supporting_files.rs:292\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/supporting_files.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d7b1a3f7c86533481af452c7041e3a35d0148a2fb9ac9c89060cfc02ce8585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/goose-local-inference/src/llamacpp/inference_native_tools.rs:85-90 | crates/goose-local-inference/src/llamacpp/inference_native_tools.rs:110-115 | crates/goose-local-inference/src/llamacpp/inference_native_tools.rs:150-155 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-local-inference/src/llamacpp/inference_native_tools.rs:85\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/inference_native_tools.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"654072529090e0d4e9c2a76753495dd1e0043f58d13f3156053e255803e3e085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/goose-providers/src/databricks_v2.rs:543-548 | crates/goose-providers/src/ollama.rs:642-647 | crates/goose/src/providers/kimicode.rs:462-467 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/databricks_v2.rs:543\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks_v2.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ead39b4984e6c914532c855d984084fc194933c3cd3a3db2dc3612da082b3cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): crates/goose/src/providers/chatgpt_codex.rs:718-724 | crates/goose/src/providers/huggingface_auth.rs:564-571 | crates/goose/src/providers/xai_oauth.rs:568-575 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/chatgpt_codex.rs\u0060 and \u0060crates/goose/src/providers/huggingface_auth.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/chatgpt_codex.rs:718\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ebb6a7f6326ec7caf5caa2f1e31236b4cdd41ecc31c25910d969a1aa7eb921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/goose/src/skills/supporting_files.rs:476-481 | crates/goose/src/skills/supporting_files.rs:509-514 | crates/goose/src/skills/supporting_files.rs:547-552 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/skills/supporting_files.rs:476\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/supporting_files.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fee9c089ce493505e1084cca9721e010a4cf4e2859e2b650f4e44f6884438f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/goose-cli/src/commands/configure.rs:1052-1057 | crates/goose-cli/src/commands/configure.rs:1401-1406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-cli/src/commands/configure.rs:1052\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"616bfddc2a122ddb2100933bec3f8235f31f5b2be3ea39c35bfaf48ae047a5c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/goose-provider-types/src/conversation/token_usage.rs:113-119 | crates/goose-provider-types/src/conversation/token_usage.rs:153-158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/conversation/token_usage.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3190c42d2137a582d833a67eb8ebb9c2fa183a5c19d60a2e3dedf710e2ac5b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/goose-providers/src/anthropic.rs:296-301 | crates/goose-providers/src/openai.rs:648-653 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/anthropic.rs\u0060 and \u0060crates/goose-providers/src/openai.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/anthropic.rs:296\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f00edc622548d294e9fb15f60c5ca14474ed04c97175e3f2154cf7ce470aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/goose-providers/src/openai.rs:927-934 | crates/goose-providers/src/openai_compatible.rs:134-139 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/openai.rs\u0060 and \u0060crates/goose-providers/src/openai_compatible.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5079f567cfe03200e5163f47dd957d0addb674586b274e7a5eb9d73027699d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose-providers/src/openai_compatible.rs:262-268 | crates/goose-providers/src/openai_compatible.rs:293-299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/openai_compatible.rs:262\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai_compatible.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba97bb4f55d1c2f3d85c6e15e18c8378a6ca10486a4d4ab30c2a1367f30b860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/goose/src/providers/anthropic_def.rs:97-102 | crates/goose/src/providers/ollama_def.rs:110-115 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/anthropic_def.rs:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/anthropic_def.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9488bc23aa3510a03189b37da9fcbd3489204dedf3a3bfd94603f1ec2a5e7d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/goose/src/providers/githubcopilot.rs:479-485 | crates/goose/src/providers/githubcopilot.rs:720-725 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/githubcopilot.rs:479\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/goose/src/providers/githubcopilot.rs:485\u0060 calls \u0060insert\u0060, \u0060parse\u0060, \u0060unwrap\u0060 and \u0060crates/goose/src/providers/githubcopilot.rs:725\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/githubcopilot.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb969c8c6588b8220b884cdc8571e434c432985aeacdc29a7134757416a0eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose/src/session/import_formats/claude_code.rs:167-174 | crates/goose/src/session/import_formats/pi.rs:237-244 \u2014 before extracting anything, compare \u0060crates/goose/src/session/import_formats/claude_code.rs\u0060 and \u0060crates/goose/src/session/import_formats/pi.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/session/import_formats/claude_code.rs:167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/claude_code.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5537156807e3f1f6f25bffd1490a72e102b9f5c4a3f30c856390f08debc9463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/goose-provider-types/src/base.rs:460-470 | crates/goose-provider-types/src/conversation.rs:307-311 | crates/goose-provider-types/src/conversation/message.rs:1023-1033 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-provider-types/src/base.rs:460\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/base.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca5d16089a5cdec33835f977bf6bd5c2406e1dcf45f4d3f33c9c2c5d6a3fb80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/goose-providers/src/ollama.rs:630-634 | crates/goose-providers/src/openai_compatible.rs:263-267 | crates/goose-providers/src/openai_compatible.rs:294-298 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/ollama.rs:630\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/goose-providers/src/openai_compatible.rs:262\u0060 calls \u0060extract_request_id\u0060, \u0060headers\u0060 and \u0060crates/goose-providers/src/ollama.rs:629\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/ollama.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c26a3ef8ec709e72d6ad44b9851592d9e2a1bb3a35a30fba7526f1512dbf3a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/goose-provider-types/src/base.rs:461-476 | crates/goose-provider-types/src/conversation.rs:90-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-provider-types/src/base.rs:461\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/base.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22cd40cc9cef260ab5122a3b74034c98d834c14432bfdaa82a111368fe59714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/goose-providers/src/api_client.rs:368-372 | crates/goose/src/providers/oauth.rs:50-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/api_client.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7e3e93a42ea0d00c6fe49a97c11f9c32e9dcfbc8dac6a3ab3f8591a00d658f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/goose/src/acp/server.rs:1406-1410 | crates/goose/src/acp/server/load_session.rs:143-148 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/acp/server.rs:1406\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b9c110da80cceba8762e2c4bbdcd8a59bc680c68d566e3bb8224f2bb47b2c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/goose/src/config/signup_openrouter/mod.rs:76-83 | crates/goose/src/config/signup_tetrate/mod.rs:118-122 \u2014 \u0060crates/goose/src/config/signup_openrouter/mod.rs\u0060 and \u0060crates/goose/src/config/signup_tetrate/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 58 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/config/signup_openrouter/mod.rs:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/signup_openrouter/mod.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d975f9eddad8cef72dc08b103c7361863380d380006d409504a65fc0b734623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose-agent/src/inference.rs:207-214 | crates/goose/src/agents/gen_ai_telemetry.rs:82-89 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/inference.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa02992a2b9540b683544b4c0f57496a2338efd8a215f11df8927d733f6e36b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose-agent/src/subprocess.rs:58-65 | crates/goose-mcp/src/subprocess.rs:22-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/subprocess.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa50c0230916bf320575f28f90493fc1059a07e01bcccdbd70eb86e3c94abd22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/goose-cli/src/commands/roam.rs:564-569 | crates/goose-roaming/src/node.rs:636-641 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/roam.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1101d2b6b4f4faa51c70b79d710c6cc692daad08a363610826091cec5797c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose-provider-types/src/formats/openai.rs:1286-1293 | crates/goose-provider-types/src/formats/openai_responses.rs:1169-1176 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9c6fdd99a6cd956cac9f8df20db5fe5442fdbc8a9d220e2f3dd8211ad294d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/goose-provider-types/src/images.rs:203-207 | crates/goose/src/agents/platform_extensions/developer/image.rs:247-251 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060reader\u0060 to \u0060impl std::io::Read\u0060 in one and \u0060impl Read\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/images.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd63ab8bee4e742a4ca8be7a5f5afe135b3e7357bbbc72df4faa68f9b3b53b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose-provider-types/src/utils.rs:19-29 | crates/goose/src/providers/utils.rs:38-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060\u0026serde_json::Value\u0060 in one and \u0060\u0026Value\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/utils.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"745959ae4b034c7e2c6049191ff0d4ed6aae1483fe9927ef043902ba7f723984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/goose-providers/src/anthropic.rs:414-421 | crates/goose-providers/src/ollama.rs:568-575 | crates/goose-providers/src/openai.rs:849-856 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/anthropic.rs\u0060 and \u0060crates/goose-providers/src/ollama.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"16948f4a33cc34298ec1a0e240e141299d9e0bc9dcfb4f69d9a1b28a56c4630d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/goose-providers/src/anthropic.rs:473-482 | crates/goose-providers/src/openai.rs:962-972 \u2014 before extracting anything, compare \u0060crates/goose-providers/src/anthropic.rs\u0060 and \u0060crates/goose-providers/src/openai.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/openai.rs:962\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060params\u0060 to \u0060\u0026HashMap\u003CString, Value\u003E\u0060 in one and \u0060\u0026HashMap\u003CString, serde_json::Value\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a144da68fb4df9b8f859681ad66ed362d9299f28d6c391cce5c35abb866e543"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/goose-sdk-types/src/custom_requests.rs:540-549 | crates/goose-sdk-types/src/custom_requests/recipe.rs:244-253 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-sdk-types/src/custom_requests.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f5afddbe09c83f157a14bfb2b15cfb18f10d4876b53453fc0d9e139d884c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose/src/acp/provider.rs:831-838 | crates/goose/src/providers/claude_code.rs:745-752 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/acp/provider.rs:831\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e37511bc3d044e68ca05c9896c58475d2750e9f43c90b97a1388d4711f891c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/goose/src/acp/server/elicitation.rs:177-183 | crates/goose/src/acp/server/recipe/mod.rs:502-507 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/acp/server/elicitation.rs:177\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/elicitation.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b621dee345cb84a65443fe36264185e76ae0434319992ff19c7533478cd551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose/src/acp/server/onboarding.rs:202-208 | crates/goose/src/plugins/formats/open_plugins.rs:519-525 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/onboarding.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c1e8d0bb9f5c626ad854c5260f551c47f31dda006f40042a3979389a3f1e9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/goose/src/agents/extension_manager/streamable_http.rs:548-552 | crates/goose/src/agents/mcp_client.rs:887-891 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/streamable_http.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35f3942c19c02919a2d0ce04f9eb275511c7e6ab1c31df86cd4aa14ece4d6b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose/src/agents/platform_extensions/analyze/mod.rs:77-83 | crates/goose/src/agents/platform_extensions/developer/mod.rs:91-97 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a807062f959da760dfb47bc631e7a0f561b7fe8e44d9627bc7efdaa850d0021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/goose/src/agents/platform_extensions/analyze/mod.rs:87-92 | crates/goose/src/agents/platform_extensions/developer/mod.rs:101-106 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/platform_extensions/analyze/mod.rs:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/mod.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ad661183e5fdf7fdb7fecee790350bd87fb60871bbd8e6771c1bb937b716e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/goose/src/agents/platform_extensions/chatrecall.rs:306-313 | crates/goose/src/agents/platform_extensions/developer/mod.rs:195-202 | crates/goose/src/agents/platform_extensions/summarize.rs:74-81 | crates/goose/src/agents/platform_extensions/todo.rs:130-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/platform_extensions/chatrecall.rs:306\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/chatrecall.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3082bfa7d9ef8b1842d0f66948b788bee9ebd2036348f71f256f838358d3996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/goose/src/plugins/formats/gemini.rs:154-158 | crates/goose/src/plugins/formats/open_plugins.rs:464-468 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/plugins/formats/gemini.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dd40f504a8207278ddbb217875213c8a3304b38bb40c64ecfb5a78716c1901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/goose/src/providers/chatgpt_codex.rs:336-342 | crates/goose/src/providers/gemini_oauth.rs:157-163 | crates/goose/src/providers/xai_oauth.rs:110-116 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/chatgpt_codex.rs\u0060 and \u0060crates/goose/src/providers/gemini_oauth.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"730a85add26bb0c9aba0feca43e49460bde91d816f2f724280cde1a054ce2dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/goose/src/providers/chatgpt_codex.rs:355-359 | crates/goose/src/providers/gemini_oauth.rs:175-179 | crates/goose/src/providers/oauth.rs:180-184 | crates/goose/src/providers/xai_oauth.rs:126-130 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/chatgpt_codex.rs\u0060 and \u0060crates/goose/src/providers/gemini_oauth.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c44c28bf0d70cbb62643f8593efc1937c033b34eadde32768a81ce28c9dfc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/goose/src/providers/chatgpt_codex.rs:429-437 | crates/goose/src/providers/gemini_oauth.rs:195-203 | crates/goose/src/providers/huggingface_auth.rs:232-240 | crates/goose/src/providers/xai_oauth.rs:142-150 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/chatgpt_codex.rs\u0060 and \u0060crates/goose/src/providers/gemini_oauth.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e452ca949fdf78ab16d7f947422fad4b966f530c679eb5d9473cbad103072e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose/src/providers/chatgpt_codex.rs:806-812 | crates/goose/src/providers/xai_oauth.rs:688-694 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/chatgpt_codex.rs\u0060 and \u0060crates/goose/src/providers/xai_oauth.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe250c3ce8f20dc5dc90f9cf4e6ba6193136a26e84596e34cdbd2bf06d67048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/goose/src/providers/databricks_def.rs:110-115 | crates/goose/src/providers/databricks_v2_def.rs:102-107 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/databricks_def.rs\u0060 and \u0060crates/goose/src/providers/databricks_v2_def.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/goose/src/providers/databricks_def.rs:117\u0060 calls \u0060session_id_provider\u0060 and \u0060crates/goose/src/providers/databricks_v2_def.rs:109\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/databricks_def.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0834569df9d3d352cda0d31bde11096a16cb41aa195e5985b42b769576ccbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/goose/src/providers/databricks_def.rs:121-133 | crates/goose/src/providers/databricks_v2_def.rs:109-121 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/databricks_def.rs\u0060 and \u0060crates/goose/src/providers/databricks_v2_def.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/databricks_def.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44c6e98e1c94fea15c7bf85d21d9c6abed554b948d9709c6048704e84f52878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/goose/src/providers/huggingface_auth.rs:246-251 | crates/goose/src/providers/xai_oauth.rs:156-161 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/huggingface_auth.rs\u0060 and \u0060crates/goose/src/providers/xai_oauth.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/goose/src/providers/xai_oauth.rs:164\u0060 calls \u0060join\u0060 and \u0060crates/goose/src/providers/huggingface_auth.rs:254\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/huggingface_auth.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c8907e707a7648ed872cb0ac57acbdb9fabc5d1a9dc0c766cd3f31ad25a5f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/goose/src/session/import_formats/claude_code.rs:301-309 | crates/goose/src/session/import_formats/pi.rs:352-360 \u2014 before extracting anything, compare \u0060crates/goose/src/session/import_formats/claude_code.rs\u0060 and \u0060crates/goose/src/session/import_formats/pi.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/claude_code.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65773c94bddd2009b223f4d52222d27652018b8aa6072aa88b1bba3c8862dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose/src/providers/chatgpt_codex.rs:833-843 | crates/goose/src/providers/gemini_oauth.rs:848-858 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/chatgpt_codex.rs\u0060 and \u0060crates/goose/src/providers/gemini_oauth.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/chatgpt_codex.rs:833\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"559fd022aee25ccce445ac8c57991a43cbe08051eceebfc7f9bf69186fbbca5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/goose/src/providers/inventory/mod.rs:554-578 | crates/goose/src/providers/inventory/mod.rs:761-785 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/goose/src/providers/inventory/mod.rs:581\u0060 calls \u0060bind\u0060 and \u0060crates/goose/src/providers/inventory/mod.rs:788\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/inventory/mod.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24e3c0c2c08b217c70e5e592227421da6ec87fa09722843e40b915f5a675f80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/goose/src/scheduler/full.rs:478-495 | crates/goose/src/scheduler/full.rs:549-561 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/scheduler/full.rs:478\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec928654fa82d5c1fcfb4c21bbdd8d2c560c2cf0bca9101083708f5a3f57dd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/goose/src/providers/githubcopilot.rs:508-524 | crates/goose/src/providers/githubcopilot.rs:555-571 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/githubcopilot.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6b9250596c354fadf9dfae03809b5de2d2128f38906d56a666fd4122832a04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/goose/src/providers/nanogpt.rs:184-199 | crates/goose/src/providers/tetrate.rs:136-151 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/nanogpt.rs:184\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/nanogpt.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd42bcb62fc5986cf0d49068b84a82910da62de9ba058af41ee763e46abbc54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/goose/src/session/session_manager.rs:1695-1710 | crates/goose/src/session/session_manager.rs:1768-1783 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/session/session_manager.rs:1695\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"8867b31ea6ff02ea1074db1146f95bb4d212cfce467054af1c82abab1a9b6442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/goose/src/dictation/whisper.rs:105-118 | crates/goose/src/dictation/whisper.rs:129-142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/dictation/whisper.rs:105\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/whisper.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bd1f4d13938b70f0596e0e590354f1df39369e51303c6769b404d9ed50adbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/goose-cli/src/commands/configure.rs:1061-1073 | crates/goose-cli/src/commands/configure.rs:1732-1744 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-cli/src/commands/configure.rs:1061\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f771fa9d13bc4079d6f02e7a0088f0209080750e9113594a9a456a8f9fcde5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/goose-providers/src/ollama.rs:507-519 | crates/goose/src/providers/nanogpt.rs:195-207 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/ollama.rs:507\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/goose-providers/src/ollama.rs:503\u0060 calls \u0060reasoning_effort\u0060, \u0060apply_ollama_options\u0060 and \u0060crates/goose/src/providers/nanogpt.rs:191\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/ollama.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d08e511af10d77424d0603372988f3ea516e1b679eeded97c9c47f8451431b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose/src/agents/state_machine/ops_recipe.rs:113-124 | crates/goose/src/agents/state_machine/ops_skills.rs:286-297 \u2014 before extracting anything, compare \u0060crates/goose/src/agents/state_machine/ops_recipe.rs\u0060 and \u0060crates/goose/src/agents/state_machine/ops_skills.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/state_machine/ops_recipe.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/goose/src/agents/state_machine/ops_recipe.rs:126\u0060 calls \u0060SetRecipe\u0060, \u0060Some\u0060 and \u0060crates/goose/src/agents/state_machine/ops_skills.rs:299\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_recipe.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7fbb63e87fa5f9410391e90e4d671e6157699136af522afed5460aa089ca85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose/src/agents/platform_extensions/analyze/parser.rs:228-239 | crates/goose/src/agents/platform_extensions/analyze/parser.rs:265-276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/platform_extensions/analyze/parser.rs:228\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6b92180a0397e42ef495fe8c8a20a575ed472fa9415ca1724573dc915ac461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose/src/providers/gemini_oauth.rs:353-364 | crates/goose/src/providers/gemini_oauth.rs:380-391 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/gemini_oauth.rs:353\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/goose/src/providers/gemini_oauth.rs:350\u0060 calls \u0060header\u0060, \u0060json\u0060 and \u0060crates/goose/src/providers/gemini_oauth.rs:378\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gemini_oauth.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f523a9dead136508392d432222912b123d1a56004968a9b4f20217773b019a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/goose-provider-types/src/formats/anthropic.rs:990-1001 | crates/goose-provider-types/src/formats/databricks.rs:602-613 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-provider-types/src/formats/anthropic.rs:990\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dd34d529bba2b6dd82468feb0304649006cc294969402e0ac74f20855cadce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/goose/src/providers/huggingface_auth.rs:506-514 | crates/goose/src/providers/xai_oauth.rs:507-517 \u2014 before extracting anything, compare \u0060crates/goose/src/providers/huggingface_auth.rs\u0060 and \u0060crates/goose/src/providers/xai_oauth.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/providers/huggingface_auth.rs:506\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/huggingface_auth.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"106b105736d95f0be869bda8d1e7bd4d753791f01b9e969e929f640edf9980f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose-provider-types/src/formats/databricks.rs:262-272 | crates/goose-provider-types/src/formats/openai.rs:460-470 \u2014 before extracting anything, compare \u0060crates/goose-provider-types/src/formats/databricks.rs\u0060 and \u0060crates/goose-provider-types/src/formats/openai.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-provider-types/src/formats/databricks.rs:262\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39a9599840e8126be8b3391be777a1f3e72188a8cedb5da62df332e5cd4ed56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): crates/goose-providers/src/databricks.rs:352-370 | crates/goose-providers/src/databricks.rs:780-795 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/databricks.rs:352\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d25cfdd22cdac2d057bf7c7e82eed046037e7252df59d5b177158b242dd6b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose-providers/src/openrouter.rs:141-151 | crates/goose/src/providers/nanogpt.rs:135-145 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/openrouter.rs:141\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openrouter.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5006e46c15e65beef3ff3c60390872d7d9f264396779cbde54b27896d3853b76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/goose/src/skills/supporting_files.rs:114-124 | crates/goose/src/skills/supporting_files.rs:137-147 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/skills/supporting_files.rs:114\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/supporting_files.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"df954be4b1f2b76ba915e7bdc278ddcf9f1ddd20a3f1c658cb331fbb30967e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/goose/src/agents/platform_extensions/developer/shell.rs:289-298 | crates/goose/src/agents/platform_extensions/developer/shell.rs:300-309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/platform_extensions/developer/shell.rs:289\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/developer/shell.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dd82bc3013e0de241349896a0351411421da2cacf50d3541afed0c2d79cfd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/goose/src/plugins/formats/open_plugins.rs:283-291 | crates/goose/src/plugins/formats/open_plugins.rs:323-332 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/plugins/formats/open_plugins.rs:283\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/plugins/formats/open_plugins.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa72d97c4826fbec9c5542af7ab07983ab398feb0f6f3498edeeeafbd583ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose-download-manager/src/lib.rs:513-519 | crates/goose-download-manager/src/lib.rs:638-647 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-download-manager/src/lib.rs:513\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-download-manager/src/lib.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93e22fd6f2bab0b8c6d2c66de8365bdf918c3ba611b9b1d93e1a9bfa83e8c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/goose-mcp/src/computercontroller/mod.rs:643-651 | crates/goose-mcp/src/computercontroller/mod.rs:754-762 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-mcp/src/computercontroller/mod.rs:643\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/mod.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"29774fd2989b3bdbf06a393fba9df8e3aac17fd7e0d0db8d5b305bc71b46e6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/goose/src/session/import_formats/claude_code.rs:96-104 | crates/goose/src/session/import_formats/pi.rs:95-99 \u2014 before extracting anything, compare \u0060crates/goose/src/session/import_formats/claude_code.rs\u0060 and \u0060crates/goose/src/session/import_formats/pi.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/session/import_formats/claude_code.rs:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/claude_code.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f176390363ea20ef338dbf6bc09e8eab953d3fe972985e04128567f0246f090b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/goose/src/gateway/telegram.rs:192-200 | crates/goose/src/gateway/telegram.rs:207-215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/telegram.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"81932fbb895491a3a88e7d934828b5c79e4ad34531a4a8a7ee2c4023f24ff71c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/goose-mcp/src/autovisualiser/mod.rs:867-875 | crates/goose-mcp/src/autovisualiser/mod.rs:923-931 | crates/goose-mcp/src/autovisualiser/mod.rs:1050-1058 | crates/goose-mcp/src/autovisualiser/mod.rs:1159-1164 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-mcp/src/autovisualiser/mod.rs:867\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/mod.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d61a75ea1bf37b4e6b9388a10c5090db014513b842b272ac125791b62fca37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/goose-provider-types/src/formats/openai.rs:963-971 | crates/goose-provider-types/src/formats/openai.rs:973-981 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-provider-types/src/formats/openai.rs:963\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"954cd03ba478d8e98587be8c0f825ab7007759b53b0976c4ea7bbb9eb0ce03c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose/src/doctor.rs:115-123 | crates/goose/src/doctor.rs:133-140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/doctor.rs:115\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/doctor.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"335bae44e40b4021b13ecb2c43e8c945a4a3335f08d001a8bf8b21d2adce007d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose-providers/src/snowflake.rs:202-209 | crates/goose-providers/src/snowflake.rs:220-227 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/snowflake.rs:202\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/snowflake.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"3608ed6cc385e884597ab1597e561eb370fc37f24ba3209514d9142515c3f3a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): crates/goose/src/agents/state_machine/ops_compaction.rs:58-65 | crates/goose/src/agents/state_machine/ops_recipe.rs:25-32 | crates/goose/src/agents/state_machine/ops_retry.rs:133-140 | crates/goose/src/agents/state_machine/ops_skills.rs:228-235 | crates/goose/src/agents/state_machine/ops_toolcalling.rs:395-402 \u2014 before extracting anything, compare \u0060crates/goose/src/agents/state_machine/ops_recipe.rs\u0060 and \u0060crates/goose/src/agents/state_machine/ops_skills.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/state_machine/ops_compaction.rs:58\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_compaction.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3161c0b5947b21f3f80309a0ce7dd93f7e3466e66ab76abdb6faff82a260066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/goose-providers/src/google.rs:120-127 | crates/goose/src/providers/githubcopilot.rs:731-735 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-providers/src/google.rs:120\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/google.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9165fc6c41c9254b6f8ae25981404bbc0cc1230e5717a26e863f9ba198bbe95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose-mcp/src/autovisualiser/mod.rs:857-864 | crates/goose-mcp/src/autovisualiser/mod.rs:913-920 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-mcp/src/autovisualiser/mod.rs:857\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/mod.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc40165a7b7c6c5902c80b5757816c1a2c4e6b391103b93cd5ddbf8fb4baef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose/src/agents/platform_extensions/analyze/parser.rs:219-226 | crates/goose/src/agents/platform_extensions/analyze/parser.rs:289-296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/agents/platform_extensions/analyze/parser.rs:219\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbae9cdda17766ee8d05db963d1ba9c837ac2838e1a6fc00f61c14aedbe3bbfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose-cli/src/session/builder.rs:419-425 | crates/goose-cli/src/session/builder.rs:430-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-cli/src/session/builder.rs:419\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/builder.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"840c2f8f3c9fa1fc4ed71cbc80889dfb01100c54da05ccd39e6ac2a2a06bcaa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/goose-mcp/src/computercontroller/pdf_tool.rs:236-242 | crates/goose-mcp/src/computercontroller/pdf_tool.rs:271-277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose-mcp/src/computercontroller/pdf_tool.rs:236\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/pdf_tool.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0994ebdf4c1a0cbfafcb68727c613eb4adeece2f83edb68e093d46ef3f34b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/goose/src/security/egress_inspector.rs:80-85 | crates/goose/src/security/egress_inspector.rs:92-97 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/security/egress_inspector.rs:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/egress_inspector.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07cb3d9d75b38b758ef3e853cdbd15a323995bd7df116128567a9f3602fa894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/goose/src/session/import_formats/codex.rs:106-110 | crates/goose/src/session/import_formats/pi.rs:83-87 \u2014 before extracting anything, compare \u0060crates/goose/src/session/import_formats/codex.rs\u0060 and \u0060crates/goose/src/session/import_formats/pi.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/session/import_formats/codex.rs:106\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/codex.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8d64e580e264aaaabc14269454386d0e2cd85a790b8d9437c87de5bda6ef3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/goose/src/agents/platform_extensions/chatrecall.rs:190-194 | crates/goose/src/agents/platform_extensions/chatrecall.rs:196-200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/chatrecall.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bc11c198665971ac26705d265bdcb1594e9c126f6b1886694f86bc0684f44a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/goose/src/dictation/whisper.rs:440-444 | crates/goose/src/dictation/whisper.rs:451-455 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/goose/src/dictation/whisper.rs:440\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/whisper.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"7888eb7393ca76fa4a2a340cd3d6dbeb27d602b7ca96075d880b9dfd43710f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/goose/src/posthog.rs:337-341 | crates/goose/src/posthog.rs:371-375 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/posthog.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e27be1e33429539ff89ab260c0984c9c2292ec31e955c1613e5134158ecd9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/goose/src/providers/bedrock.rs:231-238 | crates/goose/src/providers/sagemaker_tgi.rs:53-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/goose/src/providers/sagemaker_tgi.rs:48\u0060 calls \u0060get_param\u0060, \u0060map_err\u0060 and \u0060crates/goose/src/providers/bedrock.rs:227\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/bedrock.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f3a396d311d478a8ee662463cb263c77b3386e58473491d41a8c0c70b486d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): documentation/scripts/community_stars.py:374-380 | documentation/scripts/community_stars.py:381-390 | documentation/scripts/community_stars.py:392-401 \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. 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":"documentation/scripts/community_stars.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ba75f03fd6ead4d0bb3b3d5c5aaaa0c06a4772f901c0c2cca4aab464f8998a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): scripts/bench-postprocess-scripts/llm-judges/llm_judge.py:77-96 | scripts/bench-postprocess-scripts/llm-judges/llm_judge.py:119-137 \u2014 both copies are in the same file, so extract the block 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":"scripts/bench-postprocess-scripts/llm-judges/llm_judge.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51377d920d69b7e979312e0dc52cb37fad2d10d07bfb20532b36d6e27482930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): scripts/diagnostics-viewer.py:97-116 | scripts/diagnostics-viewer.py:123-142 \u2014 both copies are in the same file, so extract the block 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":"scripts/diagnostics-viewer.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8652fcc80818a2c2552a3b60c0191eca7df1de57aec37ef8d31c78e58bcffc2"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project goose (Cargo): goose (Cargo) has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bab14ce478ef35bff9852d36bd131f284b07fd58297650e09c5c1863a0a0f065"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @aaif/goose-acp-client: @aaif/goose-acp-client: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"057c846534df4457441a0fa50d0d1f24b2e4379ebbca9a0fae87e14a864c4d74"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: goose-download-manager: goose-download-manager: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"20cfbc5cfe5438ab0ca74e68b42c98cc14cf0ca0bc4e499e699277b7eb12be08"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: goose-sdk-types: goose-sdk-types: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5e14a69e8e691dc7ee5a33cdd4715a48a50ba6e861b0ace92c8d35ed3994e374"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: goose-mcp: goose-mcp: abstractness 0.02, instability 0.00, distance 0.98 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6445d4a60f18ce1ad3677565c816a1a0ddc2389530a5e34740894e8a1f1d022b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: goose-roaming: goose-roaming: abstractness 0.07, instability 0.00, distance 0.93 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2e95d8bae83973285b98aa3d8fc75f412730334ecef2c8f5040cf186ecd2d4b6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: goose-provider-types: goose-provider-types: abstractness 0.11, instability 0.00, distance 0.89 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0e3eb29f8befdcbdeceea31890c78a949da25685bc5c2c605cd0391ea7e39f32"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AcpConnection (LCOM4 48): AcpConnection\u0027s methods fall into 48 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 48 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe0719e86253ab9ef0baf8646cf93af5ad29a3e75c0b81f8e20f8f7993e252e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AutoVisualiserRouter (LCOM4 10): AutoVisualiserRouter\u0027s methods fall into 10 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 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/mod.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd99694f33e60a7261ff84b6a6775362260c48bd8d1f81262bd378836afff5d1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HookContext (LCOM4 6): HookContext\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hooks/mod.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4a329a18b2b958dc5c2fade0e8253f8cd6cb81164ab8614c1a76ce4f06d279"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ModelConfig (LCOM4 6): ModelConfig\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/model.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abe15e13400806c526f475ad9a4af7be96ecf56b5f95dbfee66aac443786c2c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: McpFixtureServer (LCOM4 6): McpFixtureServer\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-test-support/src/mcp.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ef7a4c20da800da54f9bb5edccf6d32a3deb29aae1dc15786b2047a238cfda"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ObservationLayer (LCOM4 5): ObservationLayer\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/tracing/observation_layer.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfa56a26070f9f21ba78492b38f518f178fd06e1d9096b60b17ae02770c54fb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: XlsxTool (LCOM4 5): XlsxTool\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/computercontroller/xlsx_tool.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c841df022d4008230a4825aa749924d57c4f4f3d56854f630b27854b8c18dcc4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProcessTree (LCOM4 4): ProcessTree\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":"crates/goose/src/agents/platform_extensions/developer/shell_process.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4836fd580a25272e8119583c96860d107f1d35b50c8b891317189fb7e9175040"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenAiLiveClient (LCOM4 4): OpenAiLiveClient\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":"crates/goose-providers/src/openai_live.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c977cc904a98159b7945973d3cfd39017f4b1c149460d1e41c6f9db0c2c62723"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: ${label} \u2014 $provider / $model \u2014 $skippedReason: Skipped \u2014 switched off by test.skip.each"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/tests/integration/test_providers_lib.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea3fa3a8482e096a0d607fc24ce6071bddba85604cc22f411ad15c13b1f2c7f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ${label} \u2014 $provider / $model: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/tests/integration/test_providers_lib.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"1462853f554019c68bc0d360227753b406ab92fee0c0a3b3dd8f1b0aab592bd7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ${label} \u2014 $provider / $model (flaky): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/tests/integration/test_providers_lib.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36b67b26eda974ffd29bc0def2adb5f3c6817ac85daa4d8c2278f14dbee8b27"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: running quotes MCP server integration: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/tests/e2e/app.spec.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3ff7594a54de7196082f61de12da9ae495c3ce4bfeff46ec88b1d6c1478cfa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: measure cold start vs warm cache performance: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/tests/e2e/performance.spec.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc3ae8e43694c7139b1643eee3098acfd3f1e7d898c2691adb01f5c6924846a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: capture full performance profile with navigation timing: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/tests/e2e/performance.spec.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"652f13abc17520cf2672fc0e82ee987b517edea39c211290ddc9a839ee8d06e9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: shows the scoped-parameter incompatibility before returning home: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/App.test.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"e020d58d5b723b8536f249a29fe9f761770811899e36cf97c372853de1e5e68f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores active chat sessions after ACP reconnects: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatSessionsContainer.test.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f66a195214061e7e0b7012e8a4bd8c0043a4a1c59bb74f1698a928dcff28f8d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns to the session with the active Live voice interaction: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Hub.test.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86400ed04674a66faa1c4b165d858dc0a22f4eb40f08a41d19b308a573193ee"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: saves a provider stored as %s with engine %s: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.test.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"250adbd174eddc601d75878a0e746dd6b38a33bb7b6796d7996750c753a187a4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: finishes a credits failure without a submit error: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/__tests__/chatSessionController.test.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"8693032881ceb5ba5ab908fe3efa25b07572a62a1d2b91b9e44186fd3357a2de"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: waits for pending tool permission cancellation before truncating and rerunning: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/__tests__/chatSessionController.test.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6617d97b76e48a8ae5294946bbec6caa60c95fd00ef404b8748f4505f9b0f57"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: carries the recipe parameter scope id in new-session metadata: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/__tests__/sessions.test.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"db68e187f65b7705952471b1193bd184892146b36fe42bdc4191bc1489e3e03d"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5809389a8c1d3a74cfaf816b37b9b19acdf5a95ef89416d73233db9bca476f07"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88aff4e93627f722832c4fcd7e00d745a1a078ae372807ff802ae6edfe9877fa"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3fa5418af4125e556f946ac3b20e687de481b4937362f814102e9c874825de2b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/ChatInput.tsx: ui/desktop/src/components/ChatInput.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 278 in ChatInput.ChatInput at line 206. 3 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/ChatInput.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"871e9133347c0877ccc1101f4f648c2f5c008a6af654aed324723a9976f01cf1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/main.ts: ui/desktop/src/main.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in main.appMain at line 2419. 6 of those changes were fix/bug commits, and the other 13 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/main.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"308911cfd37b642c9c8fa5d9514dbe5556dd34d1c429c79e53b5ce5ca79a6f7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose-provider-types/src/formats/openai.rs: crates/goose-provider-types/src/formats/openai.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in goose_provider_types::formats::openai::response_to_streaming_message at line 1295. 11 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-provider-types/src/formats/openai.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai.rs"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5256d7c98ff203d195412f2d344cf212dbc42e4e42e8edc77c7d5715ccc249a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose-cli/src/session/mod.rs: crates/goose-cli/src/session/mod.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in CliSession::process_agent_response at line 1347. 7 of those changes were fix/bug commits, and the other 19 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-cli/src/session/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7161ca7d60917fced5530c9cced87ca3c29c6f786661b420aed4b2ea30df3a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose-provider-types/src/formats/anthropic.rs: crates/goose-provider-types/src/formats/anthropic.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in goose_provider_types::formats::anthropic::response_to_streaming_message at line 1024. 11 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-provider-types/src/formats/anthropic.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db1890672d88aca1437c5f43b6a69900f4698c3adf9e3075d5d007e75132389"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/acp/server.rs: crates/goose/src/acp/server.rs changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AcpConnection::forward_agent_stream at line 2075. 12 of those changes were fix/bug commits, and the other 30 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/acp/server.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server.rs"},"region":{"startLine":2075}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9453cddac16cbd8719dd1d9e59f641eedbde2d39f863eb79155cf4a619d9f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/BaseChat.tsx: ui/desktop/src/components/BaseChat.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in BaseChat.BaseChat at line 74. 3 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/BaseChat.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/BaseChat.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"95610af57945854f78ddc8604f3921d0ae771bf77dfcd1bd68147166b4f521d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose-provider-types/src/formats/openai_responses.rs: crates/goose-provider-types/src/formats/openai_responses.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in goose_provider_types::formats::openai_responses::responses_api_to_streaming_message at line 1198. 10 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-provider-types/src/formats/openai_responses.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc364f64fb186ada1ad27e00435d24b80147af3c103774f306e6f37b6cdb74a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/session/session_manager.rs: crates/goose/src/session/session_manager.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in SessionStorage::apply_migration at line 1469. 10 of those changes were fix/bug commits, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/session/session_manager.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"007998f7e30f0cd0105be24d56d92d0d28475e131334df6d8880556e9ea0ae3b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose-cli/src/cli.rs: crates/goose-cli/src/cli.rs changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in goose_cli::cli::handle_local_models_command at line 2481. 3 of those changes were fix/bug commits, and the other 20 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-cli/src/cli.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88a408ddd727ab718a027ba40f63cb4f3baadf593bcc7c148ab50c20ca54f62"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx: ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in CustomProviderForm.CustomProviderForm at line 257. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9a8189d947a24166ca839727063dd2f89ec746e69d219ca6bfb83a7ceb463a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/agents/state_machine/ops_toolcalling.rs: crates/goose/src/agents/state_machine/ops_toolcalling.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ToolExecutionOperation::run at line 860. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/agents/state_machine/ops_toolcalling.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_toolcalling.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c5f84eaf260e1537dd56f6a315edb01e2d9406f65a2d118b4c49e8534ae4ea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/acp/provider.rs: crates/goose/src/acp/provider.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in AcpProvider::stream at line 840. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/acp/provider.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5dcfcdc4fd2df2679ce37f4836cd8599f687cb5bf293f3db25845446de3505"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/providers/bedrock.rs: crates/goose/src/providers/bedrock.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in goose::providers::bedrock::process_stream_event at line 769. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/providers/bedrock.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/bedrock.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b6cc6942d57ace1c6adf7077411d1d0f16e118bc288c1b5bd58d199ced7b7b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/McpApps/McpAppRenderer.tsx: ui/desktop/src/components/McpApps/McpAppRenderer.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 104 in McpAppRenderer.McpAppRenderer at line 502. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/McpApps/McpAppRenderer.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18148753e53367a94ab3a13c63fa403815f3bd91b8143fd4f72fa884b558d24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose-agent/src/inference.rs: crates/goose-agent/src/inference.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in InferenceRunner::infer at line 450. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-agent/src/inference.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/inference.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"59574ab198255dea44745a30579f1241bf34f2fe6827412ec6859735b8e6cff2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose-cli/src/session/builder.rs: crates/goose-cli/src/session/builder.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in goose_cli::session::builder::try_build_session at line 666. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-cli/src/session/builder.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/builder.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"71eb05c238ed7089df020b35e24abff1e71edefe4a296c60ec5844bacb95c4e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose-provider-types/src/formats/databricks.rs: crates/goose-provider-types/src/formats/databricks.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in goose_provider_types::formats::databricks::format_messages at line 126. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-provider-types/src/formats/databricks.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"800242c1c61d0dd8f6ea46e97bf2333ff642d09d6d023bbb76b6521a1daac7aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/GooseMessage.tsx: ui/desktop/src/components/GooseMessage.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in GooseMessage.GooseMessage at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/GooseMessage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/GooseMessage.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f44c82a38d5dd269dca18cd5808a884b9b176e812cbc5b75d4125cd11504327"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/sessions/SessionListView.tsx: ui/desktop/src/components/sessions/SessionListView.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in SessionListView.SessionListView at line 281. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/sessions/SessionListView.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2b061c9c1228d555878a5004a3379633dbe65052fa4ef8c729be3267c8c153"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/ToolCallWithResponse.tsx: ui/desktop/src/components/ToolCallWithResponse.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in ToolCallWithResponse.ToolCallView at line 503. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/ToolCallWithResponse.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fc6ab5e2ac2ce682f8c2382474afa2883fcdb906c66bc216b9dec9eb52d785"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/acp/server/dispatch.rs: crates/goose/src/acp/server/dispatch.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in AcpConnectionHandler::handle_dispatch_from at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/acp/server/dispatch.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/dispatch.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7bc4f03ce6c3bb1ec590ca11042adef907a4249501174c0413d58c9a05df58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/agents/state_machine/session.rs: crates/goose/src/agents/state_machine/session.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SessionManager::apply_effects at line 52. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/agents/state_machine/session.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/session.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12c6d415950193d3526ab2bcb55168ff009824941a6a72fd7c1b5cbe6862990"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/gateway/handler.rs: crates/goose/src/gateway/handler.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in GatewayHandler::relay_to_session at line 451. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/gateway/handler.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/handler.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95ec75b0457dac7a3600fe938eeefa72c7cee36cce14cb18bb884a052507afb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/context_mgmt/mod.rs: crates/goose/src/context_mgmt/mod.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in goose::context_mgmt::compact_messages at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/context_mgmt/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/context_mgmt/mod.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12ce16556bc322b9bcf0de31804d00e62539c7b387e2ef7bb01421efa4be10d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/App.tsx: ui/desktop/src/App.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in App.AppInner at line 331. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/App.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/App.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"872c46d1373cf62dde369ba075905a065b67058f6e3523ca124921e5e7131979"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose-provider-types/src/formats/google.rs: crates/goose-provider-types/src/formats/google.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in goose_provider_types::formats::google::format_messages at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-provider-types/src/formats/google.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b9683d645d3700a1754497060001b9d9da5b3c90450559d4896172bcd98b74"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/acp/server/live_voice.rs: crates/goose/src/acp/server/live_voice.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AcpConnection::run_live_delegation at line 228. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/acp/server/live_voice.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/live_voice.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ac370c7c0bfb2468776deab80bc11666009a1c75d0f1500bfaea9422611ffe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/providers/formats/bedrock.rs: crates/goose/src/providers/formats/bedrock.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in goose::providers::formats::bedrock::to_bedrock_message_content at line 210. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/providers/formats/bedrock.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/formats/bedrock.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79cdd2ee88e3320041329a67bbc6c4008e56df6f326eb902dfcc06891d2271b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/config/declarative_providers.rs: crates/goose/src/config/declarative_providers.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in goose::config::declarative_providers::update_custom_provider at line 250. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/config/declarative_providers.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/declarative_providers.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0d83a6a042fb9506bfe6e4d36afecd972812425412fcd0f38ad4725cbfe128"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx: ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in CreateEditRecipeModal.CreateEditRecipeModal at line 118. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7900c6d62cfcff2b6a4c55977b5c6399124be60cf40ba0ea13fd940c2e89ad2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/utils/autoUpdater.ts: ui/desktop/src/utils/autoUpdater.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in autoUpdater.registerUpdateIpcHandlers at line 72. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/utils/autoUpdater.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7345d440d20e21cc6f1135f66774a1c3335269efc79e5d0591501729664e0258"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/Hub.tsx: ui/desktop/src/components/Hub.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Hub.Hub at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/Hub.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Hub.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda875f04c41fcb6a866257303c8c429d13ae70681f671ebec768439426e3b2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx: ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in RecipeFormFields.RecipeFormFields at line 133. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0894f612593bae1fdc981d131032be52f03084ed6c95b87a8c3fc701438818"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/schedule/SchedulesView.tsx: ui/desktop/src/components/schedule/SchedulesView.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in SchedulesView.SchedulesView at line 237. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/schedule/SchedulesView.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f14c49059fdfc563abe916d861e4e8776bea32405b01c9de4e4774567efc17"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/settings/app/UpdateSection.tsx: ui/desktop/src/components/settings/app/UpdateSection.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in UpdateSection.UpdateSection at line 110. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/settings/app/UpdateSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/UpdateSection.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41680c40495cb69ffe82f618bed0fd29fd7a2398c163e73b0c8c4b2b91dba76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/settings/providers/modal/subcomponents/forms/DefaultProviderSetupForm.tsx: ui/desktop/src/components/settings/providers/modal/subcomponents/forms/DefaultProviderSetupForm.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in DefaultProviderSetupForm.DefaultProviderSetupForm at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/settings/providers/modal/subcomponents/forms/DefaultProviderSetupForm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/DefaultProviderSetupForm.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf2412ba812ea1d2ab79bd29334425f953440f9abb26908284cbac629bce854"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/utils/githubUpdater.ts: ui/desktop/src/utils/githubUpdater.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in GitHubUpdater.downloadUpdate at line 652. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/utils/githubUpdater.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/githubUpdater.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"0216d9f42b506a01294f23d12b1c156a277f8f55919517e128dd7f8818f28d39"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/settings/providers/ProviderGrid.tsx: ui/desktop/src/components/settings/providers/ProviderGrid.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ProviderGrid.ProviderCards at line 95. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/settings/providers/ProviderGrid.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/ProviderGrid.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ce3d499a4ecf76ff4325e6fb6ed3033075f217f5a1ab1dcc5fe3d4b89392d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/skills/client.rs: crates/goose/src/skills/client.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in SkillsClient::call_tool at line 105. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/skills/client.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/client.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"326748a38f5dece530b2b0be01b657735fae7dbb36821da1e1c47f2c6de9da37"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/ParameterInputModal.tsx: ui/desktop/src/components/ParameterInputModal.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in ParameterInputModal.ParameterInputModal at line 87. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/ParameterInputModal.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ParameterInputModal.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a24a30403e307fdc86485b940629779f7d8404bc7bc5fe2c2bdafa9dd84d354"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/ExtensionInstallModal.tsx: ui/desktop/src/components/ExtensionInstallModal.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ExtensionInstallModal.ExtensionInstallModal at line 157. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/ExtensionInstallModal.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ExtensionInstallModal.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8fb057ac0ba2ae275bdcc1b4b1e26572240251c0be836e49a5b2acb1c18963"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/MessageList.tsx: ui/desktop/src/components/MessageList.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in MessageList.MessageList at line 177. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/MessageList.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageList.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd2f0556d192ea98a8452534bfbdd6b5f61a3b0f9c79dd3f044d3251f4815ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/UserMessage.tsx: ui/desktop/src/components/UserMessage.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in UserMessage.UserMessage at line 100. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/UserMessage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/UserMessage.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c812e0283a5feb612b311ee42fab21fa5ea974cd7c038c0bcd663d1bec97cae0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/components/bottom_menu/DirSwitcher.tsx: ui/desktop/src/components/bottom_menu/DirSwitcher.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in DirSwitcher.DirSwitcher at line 87. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/components/bottom_menu/DirSwitcher.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/bottom_menu/DirSwitcher.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0bcab1f479bf758e5d0f52a7931b7356611035717a4500996d5dacbea6e53c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/bin/generate_acp_schema.rs: crates/goose/src/bin/generate_acp_schema.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in goose::bin::generate_acp_schema::main at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/bin/generate_acp_schema.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/bin/generate_acp_schema.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09814bc00296a203632a0c1dd261dfc86715c8f99fbe9982f32b73216bef29c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/goose/src/session/import_formats/pi.rs: crates/goose/src/session/import_formats/pi.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in goose::session::import_formats::pi::convert at line 22. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/session/import_formats/pi.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/import_formats/pi.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"27592eb46ebb48204b1335780728745309304f4bd9ebfe1f62424fb294edacac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/desktop/src/acp/adapter/messages.ts: ui/desktop/src/acp/adapter/messages.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in messages.applyContentChunk at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/acp/adapter/messages.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/adapter/messages.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2eb049c4c3e408a721e0aad3e844fba54931c5458100aedbdb6d039e09b0a21"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose-providers/src/databricks_v2.rs: crates/goose-providers/src/databricks_v2.rs changed 10 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is DatabricksV2Provider::stream_mlflow_chat_completions at line 391), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(databricks): give Gemini tool calls unique ids (#13483)\u201D; \u201Cfix(databricks): send Gemini thinking level and drop stream_options (#13232)\u201D; \u201Cfix(providers): request summarized thinking from Claude models (#13029)\u201D; \u201Cfix(databricks): send the system prompt as system on the MLflow chat route (#13057)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-providers/src/databricks_v2.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks_v2.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aa1e5523e903d246fb25daa176426c1d5affd416acdd456a0971e21c6e0e20"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose/src/model_config.rs: crates/goose/src/model_config.rs changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is goose::model_config::materialize_model_config_inner at line 93), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(openrouter): resolve variant suffixes like :free and :nitro to the base model (#12979)\u201D; \u201Cfix(scheduler): use recipe settings in scheduled runs (#13138)\u201D; \u201Cfix: resolve vision support from the canonical catalog for all providers (#12522)\u201D; \u201Cfix: unify context limit resolution behind provider API (#11213)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/model_config.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/model_config.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f738206e95e597c7a20c9457f934b7a7958c3879547b1df935e40340fe185dad"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose-provider-types/src/model.rs: crates/goose-provider-types/src/model.rs changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is ModelConfig::normalize_effort_suffix at line 363), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(gdk): resolve vision support from the canonical catalog so tool result images reach the model (#12440)\u201D; \u201Cfix Databricks GLM-5.3 and Kimi K3 reasoning effort (#12079)\u201D; \u201Cfix: unify context limit resolution behind provider API (#11213)\u201D; \u201Cfix: Avoid sending images to non vision capable models (#11496)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-provider-types/src/model.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/model.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"286639951af9d9ba2c79e14b32e36e65314e8eefde4cf9ed565f20b736ba48b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose/src/providers/canonical_cost.rs: crates/goose/src/providers/canonical_cost.rs changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is goose::providers::canonical_cost::resolve_pricing at line 60), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(usage): store token counts as i64 (#13422)\u201D; \u201Cfix(cost): apply long-context price tiers to cost estimates (#12787)\u201D; \u201Cfix(costs): estimate through canonical provider aliases (#11916)\u201D; \u201Cfix: unify context limit resolution behind provider API (#11213)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/providers/canonical_cost.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/canonical_cost.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e85858936b1738da1b0062d59f7de76ae5b14edcdd7a1592c2d0ad913b1d43"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose-providers/src/http_status.rs: crates/goose-providers/src/http_status.rs changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is goose_providers::http_status::is_context_length_exceeded_message at line 144), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(providers): honor Retry-After on 429s mapped outside handle_status (#12986)\u201D; \u201Cfix(openrouter): classify typed context_length_exceeded errors as context overflow (#13154)\u201D; \u201Cfix(providers): classify many-image dimension limit errors as context length-exceeded (#12208)\u201D; \u201Cfix(providers): bound non-streaming JSON responses (#11109)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-providers/src/http_status.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/http_status.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"863246d3021f033b6defd979a92fd4d1d9a9910d84fc8e62f37e4026c72dfcce"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose/src/providers/anthropic_def.rs: crates/goose/src/providers/anthropic_def.rs changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is goose::providers::anthropic_def::from_env at line 45), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(anthropic): preserved-thinking compliance for the provider layer (#11836)\u201D; \u201Cfix: send session ID header for OpenCode Go (#11944)\u201D; \u201Cfix: unify context limit resolution behind provider API (#11213)\u201D; \u201Cfix: gate clear_thinking behind an opt-in flag (Z.AI-only) (#10439)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/providers/anthropic_def.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/anthropic_def.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bebe374114d0f7f15aaf2fbe156dc241f568992757917b1bdfd2b1d5386c8a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose-provider-types/src/canonical/models_dev.rs: crates/goose-provider-types/src/canonical/models_dev.rs changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is goose_provider_types::canonical::models_dev::inferred_thinking_mode at line 32), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(providers): send adaptive thinking to MiniMax-M3.1-Flash (#13305)\u201D; \u201Cfix(anthropic): use adaptive thinking for Claude Fable 5.2 (#13478)\u201D; \u201Cfix(cost): apply long-context price tiers to cost estimates (#12787)\u201D; \u201Cfix: adaptive thinking for Claude Sonnet and Haiku 5.5 (#12761)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-provider-types/src/canonical/models_dev.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/canonical/models_dev.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0ec7eeaee75f7029dd6522f57f3182baba1809426f8465415b4a3088aa07f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose/src/skills/mod.rs: crates/goose/src/skills/mod.rs changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is goose::skills::validate_skill_name at line 81), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(recipes): confine library writes (#11482)\u201D; \u201Cfix(security): honor plugin enablement for skills (#11439)\u201D; \u201Cfix: decouple source file and tool response limits (#11391)\u201D; \u201Cfix: contain and bound skill supporting file reads (#11342)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/skills/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/mod.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c27b683796c3f6bfb968962888d3e6c7d0ad5bd5065ddfe1808e8991e44ea13"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose/src/providers/codex_acp.rs: crates/goose/src/providers/codex_acp.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is CodexAcpProvider::metadata at line 22), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(providers): reject malformed GOOSE_MODE across ACP providers (#12846)\u201D; \u201Cfix(acp): update package locations (#12386)\u201D; \u201Cfix(security): fail closed on invalid Codex ACP mode (#11362)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/providers/codex_acp.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/codex_acp.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"817a2ec8fdf71c0b1167123cb781051f32e3611c1ea6a3ac40d9d5a048c4cd81"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose-provider-types/src/retry.rs: crates/goose-provider-types/src/retry.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is goose_provider_types::retry::retry_operation at line 120), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: do not retry 400s that reject the thinking setting (#13325)\u201D; \u201Cfix(providers): replay OpenAI Responses reasoning across tool turns (#13222)\u201D; \u201Cfix(anthropic): preserved-thinking compliance for the provider layer (#11836)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-provider-types/src/retry.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/retry.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"04754e368a2f96612bcdfa7ed5443cc1123721c5fe1a3120a021f85be344357e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/desktop/src/acp/chatSessionController.ts: ui/desktop/src/acp/chatSessionController.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is chatSessionController.submitMessage at line 175), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(desktop): keep session load on its replay fast path when stopped (#13190)\u201D; \u201Cfix (acp): fail session/prompt when a turn ends on an error (#13043)\u201D; \u201Cfix(desktop): start a chat with no extensions when the user selects none (#11908)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- ui/desktop/src/acp/chatSessionController.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/chatSessionController.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"196b5c8a7e5ffd51b5d9535a049c105ea8be15adadc7f58f0c90c85efe5258e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose-context-management/src/summarize.rs: crates/goose-context-management/src/summarize.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is goose_context_management::summarize::filter_tool_responses at line 38), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(usage): store token counts as i64 (#13422)\u201D; \u201Cfix context management dependency (#11768)\u201D; \u201Cfix: honest compaction failure message and fast-fail when no tool responses exist (#10500)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-context-management/src/summarize.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-context-management/src/summarize.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"279b6c15aa5db5a128add4eeedab6c09871d7bbc7ba8e45e9e781019a7c8ec5d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose/src/providers/litellm.rs: crates/goose/src/providers/litellm.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is LiteLLMProvider::get_or_fetch_models at line 112), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(litellm): use supports_vision from /model/info (#13239)\u201D; \u201Cfix(litellm): stream chat completions by default (#11870)\u201D; \u201Cfix: unify context limit resolution behind provider API (#11213)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/providers/litellm.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/litellm.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"22aae61c8585a5744fb62538845eea27b95ae85ae9505bb6c6fc6e16c0b3ca25"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose/src/providers/githubcopilot.rs: crates/goose/src/providers/githubcopilot.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is GithubCopilotProvider::get_api_info at line 384), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(provider): refresh revoked Copilot tokens when listing models (#12627)\u201D; \u201Cfix: refresh revoked GitHub Copilot API token once (#12616)\u201D; \u201Cfix(providers): inform user of clipboard copy and remove copilot auth retry on timeout (#11160)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/providers/githubcopilot.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/githubcopilot.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"d177c8e43437bbd0ecac5e20b119791b9efcf8f811671f7f8d345594af64a993"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose/src/recipe/template_recipe.rs: crates/goose/src/recipe/template_recipe.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is goose::recipe::template_recipe::load_template_from_recipe_dir at line 165), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(schedule): validate recipes consistently (#11561)\u201D; \u201Cfix(security): build recipes from one validated snapshot (#11612)\u201D; \u201Ctest(recipe): add a regression guard for minijinja\u0027s builtins feature (#11319)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose/src/recipe/template_recipe.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/recipe/template_recipe.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f520d3fe3368cc87d3fee0d24cde39a6935fe2181527a68b10938328a68a31e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/goose-context-management/src/provider.rs: crates/goose-context-management/src/provider.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is CompactingProvider::stream at line 55), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix context management dependency (#11768)\u201D; \u201Cfix: unify context limit resolution behind provider API (#11213)\u201D; \u201Cfix(agents): fail fast when a recipe\u0027s structured response can\u0027t reach an ACP-bridged provider (#11307)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:57:44 \u002B00:00\u0027 --until=\u00272026-11-13 18:57:44 \u002B00:00\u0027 --full-history --no-merges -- crates/goose-context-management/src/provider.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-context-management/src/provider.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c3b7ba932f2ec7ae865d973a1d28b129167e0a1233dab9b3cf0fad8c3a32f5"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 7 significant file(s) lose their only recent owner: crates/goose/src/hints/import_files.rs, crates/goose/src/skills/supporting_files.rs, crates/goose-local-inference/src/tool_emulation.rs, crates/goose/src/providers/private_file.rs, crates/goose-local-inference/src/native_tool_parsing.rs, crates/goose/src/config/signup_openrouter/server.rs, crates/goose-local-inference/src/paths.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"479f3c2ce567ca413eb9bcd24e78390e27485b7c1380a2820070364cce35c344"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 6 significant file(s) lose their only recent owner: workflow_recipes/release_risk_check/release_risk_report.py, crates/goose-agent/src/subagent.rs, crates/goose/src/agents/state_machine/tool_confirmation.rs, crates/goose/src/acp/server/tool_calls/chain.rs, ui/desktop/src/acp/adapter/toolNotifications.ts, ui/desktop/src/acp/elicitationRequests.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9e3b1d94a5c3db334d98e7a7ad7f59f24d135a9288df03b410839bd859de17e9"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 5 significant file(s) lose their only recent owner: services/ask-ai-bot/utils/ai/tools/codebase-search.ts, services/ask-ai-bot/utils/ai/index.ts, services/ask-ai-bot/utils/ai/tools/index.ts, services/ask-ai-bot/utils/ai/tools/github.ts, services/ask-ai-bot/events/messageCreate.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bbc289cf34a821974290126a09334fd1943ef100164e11b5e29563152286f156"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 4 significant file(s) lose their only recent owner: crates/goose/src/plugins/mcp_servers.rs, crates/goose-sdk/scripts/gdk-release.py, crates/goose/src/providers/openrouter_def.rs, crates/goose-providers/src/typesafe.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"07b79141318a41ade633cb77ebdf3f628d1eb1b35309e5a37fe57f961bc43d59"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 13 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (36 single-owned of 654 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 654 of the 952 production source files in this repository met that bar). They are anonymized user #5 (2 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (1 file(s)), anonymized user #9 (1 file(s)), anonymized user #10 (1 file(s)) (\u002B7 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: crates/goose/src/security/egress_inspector.rs, crates/goose/src/security/classification_client.rs, crates/goose/src/agents/tool_schema_normalize.rs, crates/goose/src/acp/handoff.rs, crates/goose-cli/src/session/paste.rs, crates/goose-provider-types/src/cache_semantics.rs, ui/desktop/src/remoteBackends.ts, ui/desktop/src/components/McpApps/useDisplayMode.ts (\u002B6 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Separate these from the raw recipe type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/recipe/index.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29b4f36fb34408ed1d49504859b7999c8e693a12de729b33e1e113a193dbc68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Douwe): We should not need this anymore \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/contexts/ChatContext.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11146707d4f7f36c13ec75383f4dc9e912634a4a791a0ccc5372121764a723f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Douwe): this should really be a real extension: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionSetting.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd4673189bd6b200eef32d52b6d459a8c1235cc2f2935aada97e4bb6645987e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: keep in sync with rust better \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/utils.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1f266bf4076a52d1385a21db796cd6d82cb3334123fbe5321d33ff8f87806d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace with AAIF logo asset \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ce3188cb9d98c086f9672d8e5236bb74ccba0997718133145c630ed9c59338"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: pass permissions to SDK once it supports sendSandboxResourceReady \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb8ddef1cd35002bc833a52c989644f5bf1ffa57742fb5e554689c0baf94da2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Update BLOCK_ORGS, is_block_employee(), and team categorization logic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/scripts/community_stars.py"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ced9d6408409a5fcd31dc603f2014aaa8d6e09fcfd0a57c3e1cba7e6fd64de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add a Responses API mock to OpenAiFixture so tests can cover \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-test-support/src/session.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fa0a021b855300f4a6c7b31f76ba89458b2b4a1d386900fe32046d719a1d01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: This trades speed for correctness \u2014 the canonical registry may not perfectly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/canonical.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c56dc9616f26485d68c951f8759b6f8c811649a5265cde23327db7b868a12e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Paths::in_state_dir is global, ignoring per-test data_root \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/tests/acp_fixtures/mod.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"804719fd6a90f5f5e9a96bece147602f1fb27de3f5c1e49ad948e9b3dc6a8c13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add a Responses API mock to OpenAiFixture for responses-routed models. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/tests/acp_common_tests/mod.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9914bcfe7d7849dc70c7cf79063fbe5a805ae2aeae26f9f2b8b13bc29036fff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add a Responses API mock to OpenAiFixture for responses-routed models. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/tests/acp_common_tests/mod.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"0516b548cb6500c122854eb25eb62068f770fc31074edfc54dfdcf3ac98b54b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add a Responses API mock to OpenAiFixture so we can test with \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/tests/acp_common_tests/mod.rs"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c12408dcddadc3e3cf09191ddea19218d2d9c85d0bef42640306b45f7d3592"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO extension state implementation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/extension_data.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1908c9b385ee143c6532b3e3c23dee46b23cc7956f2f61c18437415140d8da37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// Create a new TODO state \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/extension_data.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b5c892f7afbdd202f53dfb7d646e2d38d8d7f8c6e553231daf2fd1c853215e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Create and save TODO state \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/extension_data.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d8ca8a037a695f07f0bc9e817bfc8e65794156d302edb472084e26a74cf265"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Retrieve TODO state \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/extension_data.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3f6914515263276c05f6765528ad86b6433df60323741b4720d5b3b80b27db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this workaround once ModelConfig guarantees deserialize(serialize(config)) == config. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b588001dab262b061af59a0d7a19ea5acff824f9b550f0bc2e01c43ebc80ac7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jack): replace this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/openai_def.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a210c655e6f64f79c0354fa44c92cf90661563188ebe0dae7080d856de2379c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Branch on publisher for format selection once we know which \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/formats/gcpvertexai.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d120e7642125e05e64acb4e3f33386cf4930f2e90b53948b130626ae819c84a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this config fallback wrapper once gemini_oauth and Vertex/GCP Gemini \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/formats/mod.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5c7cf8aca7246306f768e5364d54b0e645269fac589ab944226cd20edcc083"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove once https://github.com/open-telemetry/opentelemetry-rust/pull/3351 is released."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/otel/otlp.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc58104c7b1df9b0d422ceb0ade10a7b131e597d4e6e298c032e3971ce7b90a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Douwe): we have the same check in cache, consider unifying that \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/apps.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7307c22bccca08eb42b77ad2020913a98d7aa256744794ad27ce7a6b8840e5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this compatibility retry once rmcp handles empty discovery SSE \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/streamable_http.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"346a40ff2ebf2cbdc58220265e5f33b853d046dfabe6fbe095505204cc5e9884"}},{"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 \u0060crates/goose-test-support/Cargo.toml\u0060 makes this repository a deployable product (line 21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-test-support/Cargo.toml"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccf63f01535d517290be529c8280b008d1794bf905f85cb28cbe969176c55d5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Strip frontmatter and clean up\u0022 repeats the code it sits on: 3 of its 3 words (strip, frontmatter, clean) are already in \u0060const cleaned = stripFrontmatter(content);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/plugins/markdown-export.cjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d6b410d0bb0708dff5ba9193fa418c4e535f37e036156621759f7b0956d31e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Build the goose:// URL\u0022 repeats the code it sits on: 3 of its 3 words (build, goose, url) are already in \u0060const buildGooseUrl = () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/components/GooseDesktopInstaller.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c029667a9f1d3b2eaa419c83fb506e4b7437f67975fffc74afaaa157746780"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Force Launch Services to rebuild its database\u0022 repeats the code it sits on: 4 of its 5 words (launch, services, rebuild, database) are already in \u0060console.log(\u0027Rebuilding Launch Services database...\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/unregister-deeplink-protocols.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b33c4d82ee977a253a8fc83f249fae8eb406d1f2a4741dd963f101251c5613"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock appConfig\u0022 repeats the code it sits on: 3 of its 3 words (mock, app, config) are already in \u0060const mockAppConfig = {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/App.test.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"477d5a27a2c98f9a4d31fa7ca8bc18946f090109214cc9146830eea39d04eecc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock matchMedia\u0022 repeats the code it sits on: 3 of its 3 words (mock, match, media) are already in \u0060Object.defineProperty(window, \u0027matchMedia\u0027, {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/App.test.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"2991c64f7461a7ab71ad72ae7c02cc9489ef5d69612fffecd706c1be8f4ee836"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Remove from local dropped files\u0022 repeats the code it sits on: 4 of its 4 words (remove, local, dropped, files) are already in \u0060setLocalDroppedFiles((prev) =\u003E prev.filter((file) =\u003E file.id !== idToRemove));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b49f3f184b76f62aa01dbd8c6fa2f0e6671dd3783eae12c0f495f0e8592d96e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create the clipboard data\u0022 repeats the code it sits on: 3 of its 3 words (create, clipboard, data) are already in \u0060const clipboardData = new ClipboardItem({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageCopyLink.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"151bc3ec19a6e55599bfcdcc9002d33fbb5890c7502b652e486671d5b734392c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Gets provider display name from subtext\u0022 repeats the code it sits on: 4 of its 5 words (gets, provider, display, name) are already in \u0060getCurrentProviderDisplayName: () =\u003E Promise\u003Cstring\u003E;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ModelAndProviderContext.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e7911a6a853afb8a55f9c6afa9a124931f1c0e00f6aeac608370f1c7396eef"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get extension tooltip for the current tool\u0022 repeats the code it sits on: 4 of its 5 words (get, extension, tooltip, tool) are already in \u0060const extensionTooltip = getExtensionTooltip(toolCall.name);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0779b35f2908b386e076e294a5296ed9457e5dcab23faf78f34cce065e979c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Map LoadingStatus to ToolCallStatus\u0022 repeats the code it sits on: 4 of its 5 words (loading, status, tool, call) are already in \u0060const getToolCallStatus = (loadingStatus: LoadingStatus): ToolCallStatus =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c0fd4ad8c8073f50468950cd0530d6b393a5fa9477e45dc7ad6087aad9adac"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add options for select input type\u0022 repeats the code it sits on: 4 of its 5 words (options, select, input, type) are already in \u0060if (param.input_type === \u0027select\u0027 \u0026\u0026 param.options)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1aaffeb6303024f3a162b21e3f0227390c675604ca42145674add336f784aa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find any pill that starts with \u0022message:\u0022\u0022 repeats the code it sits on: 4 of its 4 words (find, pill, starts, message) are already in \u0060const messagePillIndex = pills.findIndex((pill) =\u003E pill.toLowerCase().startsWith(\u0027message:\u0027));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipeActivities.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"625c59e35c1a65ac51c179840fa941bfad2e14b9cee4494214b045b22c20fdc5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for requirement select\u0022 repeats the code it sits on: 3 of its 3 words (check, requirement, select) are already in \u0060const requirementSelect = selects\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/__tests__/RecipeFormFields.test.tsx"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd7389138284e850fd2a75e32b756c1fc1652b7eda5453de213a05c74c4ba42"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Edit modal state\u0022 repeats the code it sits on: 3 of its 3 words (edit, modal, state) are already in \u0060const [showEditModal, setShowEditModal] = useState(false);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5571c5c10a2f40cb59885f9acb176bcc8535ef4d8f4511f30af755d2ae6684ac"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle modal close\u0022 repeats the code it sits on: 3 of its 3 words (handle, modal, close) are already in \u0060const handleModalClose = useCallback(() =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1df7da60e55b4c87dbe42f448592375729ea1b28246ab9e2cf04256beff80b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the dock icon state\u0022 repeats the code it sits on: 4 of its 4 words (set, dock, icon, state) are already in \u0060const success = await window.electron.setDockIcon(newState);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1b58073c9881b4a7b694de3155b14efb409ee05233103076327d3be904cf7b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if command/endpoint has changed\u0022 repeats the code it sits on: 4 of its 4 words (check, command, endpoint, changed) are already in \u0060const commandChanged =\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c499a76daf665cd6f7320ac5932e4b13e60ad4ea39cdaf6a1bc7f11a2cc332e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle confirmed close\u0022 repeats the code it sits on: 3 of its 3 words (handle, confirmed, close) are already in \u0060const handleConfirmClose = () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1907350e7435f356ac2f7f5435b17f0786bcd82f16ba55359f4e5b3241a1be8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022process.env.GOOSE_PREDEFINED_MODELS\u0022 repeats the code it sits on: 4 of its 5 words (env, goose, predefined, models) are already in \u0060const envModels = window.appConfig.get(\u0027GOOSE_PREDEFINED_MODELS\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/predefinedModelsUtils.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f43ae4678068f9c1d83fb298c5067e14a47ac2a7018b36b37728fccc8be9829"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter through the original model options to find matches\u0022 repeats the code it sits on: 5 of its 6 words (filter, original, model, options, matches) are already in \u0060const matchingOptions = originalModelOptions\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c7f9e83fda883034cfd8491722a280e345494d3efdc118f3488a9eaba18099"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if this is the active provider\u0022 repeats the code it sits on: 3 of its 3 words (check, active, provider) are already in \u0060if (isActiveProvider)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderSetupActions.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a433e3a7974a5978e8f8a52f5ed19076548e2fd9bf42bb0c03557086665e0b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Broadcast to other windows via Electron\u0022 repeats the code it sits on: 3 of its 3 words (broadcast, windows, electron) are already in \u0060window.electron?.broadcastThemeChange({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/contexts/ThemeContext.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"139523b75257e05f36e2435ff5485350dde657928bbfa85af40bdcd0c330fb2e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Send any pending initial message for this window\u0022 repeats the code it sits on: 4 of its 5 words (pending, initial, message, window) are already in \u0060if (windowId \u0026\u0026 pendingInitialMessages.has(windowId))\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b48147c585402f44e34be44571d6508c0e33a02268f7310496089470335db23"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle menu bar icon visibility\u0022 repeats the code it sits on: 4 of its 5 words (handle, menu, bar, icon) are already in \u0060ipcMain.handle(\u0027set-menu-bar-icon\u0027, async (_event, show: boolean) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac58ce22eee4a95ba3c9dae1b6af026b255f96c1a329a52e6812ccdeb4152ce1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create the About Goose menu item with a submenu\u0022 repeats the code it sits on: 5 of its 5 words (create, goose, menu, item, submenu) are already in \u0060const aboutGooseMenuItem = new MenuItem({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":2764}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d7624e36d0f037c9bbb53e17e957ff3e002f4953eac2ec308ca4858d111d02"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Parse localStorage value based on the setting key\u0022 repeats the code it sits on: 6 of its 7 words (parse, local, storage, value, setting, key) are already in \u0060function parseLocalStorageValue\u003CK extends SettingKey\u003E(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/preload.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98242720370bfad564a1a34db5531c9fae9f8596055ffc9f582d74749849ca3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Read the response stream\u0022 repeats the code it sits on: 3 of its 3 words (read, response, stream) are already in \u0060log.info(\u0027GitHubUpdater: Starting to read response stream...\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/githubUpdater.ts"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3c07a87f0bf6cd8fc82ac6659b6164a27780ad16627ea47f1fd0981054cee7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 78, 398, 438, 445, 503, 589), for example \u0022Click Reset Provider and Model button\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/tests/e2e/app.spec.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcfb02eabc85741dc15c2667bb0bb64d0714713bdfdbd75f1991fb6729b568d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mark: Prompt submit\u0022 repeats the code it sits on: 3 of its 3 words (mark, prompt, submit) are already in \u0060await goosePage.evaluate(() =\u003E performance.mark(\u0027prompt-submit-start\u0027));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/tests/e2e/performance.spec.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"703a680d004db2883f275da83ec413931501f4dd1f9b4eab3a1415e9a8a3c937"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Attach metrics as JSON\u0022 repeats the code it sits on: 3 of its 3 words (attach, metrics, json) are already in \u0060await test.info().attach(\u0027performance-metrics.json\u0027, {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/tests/e2e/performance.spec.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"398082eaad79be8ef486bb673e7a239747fd67cbbe42dd319ab58028865e1123"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 4 of 24 project(s) overshoot their size bounds, lowering Project Cohesion to 6.7/10. The most over is \u0060crates/goose\u0060 (149529 LoC, 607 module-visible types across 44 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5d5145874235aaf14d4d38ef274e2d112309a184a2bb3b74d0d4e96247d04f1"},"properties":{"commitSha":"8ab2697a502a2f3bab35aaefa787dc37095197ed"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff6b0d21776740d3108313382ce5d15fe9b0c43837d48263632717ebb0a4241a"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b19e24c01a0cfce784a38762b01c8441a9e3d6b287a6abb1d6f6bb03f42e82cb"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"169d55242f61edb86121e828fafde9397a0c1d42a2129448fcae39a3874372ed"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92391e5e86f8b7b9e8c22aa6e57e46be05c30a6452b0fc3cf1852e745316cc1f"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6068371aeb4afdb0129af517f88e83eec1c7a080bc54a008371310d1b0cbc99"},"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":"755117aaf87e5f54c46fc72b597c6de5ae99c0e5fb55d92bbabe5d9f1a898f96"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"342392e5dc8fc4c980c1dbb5207504bab2ea4c50808f8fbf6f807b10137e4b01"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d76cd1ade1fd99cdbf5f0c7116026c3df2607e3e5c28c791a282ca103f4bbbfd"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb94501f465a6f714ae7829a54d9c64cd19123838e8a69d0db245b4a72846289"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd34071f0a37397b22950926e6e7d533f19a1ab2e35c80a3ec230eef7195ce4c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5a94de598d5f66dcc4ccfd4adeb9bbd82d59e61120ddfa86a1354ef816f7094"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94112b1d706b2f9d9118c577518290919c2d702aa0b944fa06a5bcbb51101185"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cd6ba725d4cfdefa0b9a1fc9a630396a4a700aff93699a8233f4a088607d6d7"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"789791191387b477644c34b96566902399029c8083fab8a1ec485d535f2633c2"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"885be9d811155408f2de31ece8c70adce5798577fd1a1c43df57fbee776fca0c"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a278d40a2cab92ab19a2580ff1a5cdcca22b1b6ca3d44ceb12de9a39f96c2c89"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e04005b5e1ba08902e4ae2ca10fa5b49fb0049a40c49b086b7f3b1e094f43fd7"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"85ddd1fea42867efdbd7a3fd9cb9bbdac0c9c10669c573d24300e9bd7bd671d2"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"22c1b956396b23484677608adf225bdaf4828cf77368ba9eb66f7206b8b677aa"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e5f7245a4dd11ff119dfc8f23ad7137a19f277e5d8f98d5ae39f6cd4ec34bbba"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c544604447b88cc1823ff5c387fd749d9bbe962d1b8f5ec5c4f458ff0fef987"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a7d18fc0b56ebaa90b8f85988e7c316b2c067158014f494c45992d53d7786d7"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96d0ca4e89ffe06c608d15433afdaa6388083106b77350bfb4fda5c9ecbdde10"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3950622624d453b7b7f747385e30512e11c4e90942811dab1340572f7091f277"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e55892faffe9e5474892cbd484bd8cf1c05e8da2d84645ecdea9f9bfa5089894"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"0bc4c9e2db4da04d113527f0b90c4b44ff37e8ae55ea8cd55f511cd62b421d52"},"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":"a441b4fe2e0060f3d197d12367fa2c484354d3e08578dcb8ab295c27cb9a39d6"},"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":"6ca576356af3790d5f6e28f8db9ee38bc37e42302cd34f44a1d57fd28629d2c8"},"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":"44e03f938800699b57bb1df04135d96d12ed429a75a56e9f599dca550c78c64b"},"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":"29d1e574bec45dea42ea86009678b8d2f2e7aee5d83f9da2996267a4764d28c5"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5eb786e8f7c73088a8a06df4c6a75fcdf3f15022fe1c88ba6fe411e78afd5ca"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a4dca51082709f97413024b8aee2f5307f99287ffe1fc71ddd7cb5748042c92"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11e93f7482ba176c7b73210acb1ba7473e6cd83c19a53b790401a6499e47c5e3"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e0546fb9cb48b3b19b1a152b14201f1f60104bcab0cf00ff9d775a2ea42003e"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"805a0af14c995c7aa0c59db216eaddb9d66d2a05bfe90cd88beff80f40ecec98"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"955d0c12b054268d92b233bcb49644360a794100f916a634cd332d96ef05c000"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50dc3eff89dee1a702bb2ff4babc26f11867e8a5f4bd4239a18f199e9fb41128"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a83f17b7f88eb4c791d3b341c9440ad08515b9e7d8c8bf91b48db20200ceb2e1"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25b025dc2d7845e74ffce77304bffceb634149e4b9b77ed0bc357f51f07b5bcb"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15472eab752f5ccdde919a8c4e1b57b2d498ceff7ae7f980035423931d9c086c"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8db1eac83db2e5a055d38ec62601640aee0b5048d9e55ee0a969c2c3fa5586c0"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f91b60c29138a2df5abbc5640571551a9ec956ce6e033775af08d6acd5878205"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1429fe7c8407773bc5a287d95320a3a766ee51ef3c2fb99c96bca0db446293a2"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ce994b64bf6a7ac4a0c11d8aeb48224c30bcdd74edecf3b23ae0ca7dd16ca44"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02bfc90285badc1f665ab7d69b8a7c08f0f51d502b7bf28390fb41c9e950e8de"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb29cef96e7dcdffc5459097cae5fad317b4555d5f8fa22764d7dd38e92d4f8a"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"469b8de06b62f0cac151fc03c0b5d6b79e7eea8f064ffe1a23b73b47c910ec37"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"939029190d80532302327ca7fff0c9f5971f3e1ef841015211d6d04818cef64b"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a59528f4cad72af6ce9dc2c19e244fcd91f44d24a1cc70951823c84d12d0737"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb2e5a47222ddb9873104e45d439f95261822440d6c61912fd05432c082167bb"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a435b0bad8babb1fed85a03ed6957e0c1068dc5e71ed7afb6e350d8612180cf"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5abe129c34938665d83153795b7f9d73ca10d8ebe886f9014dbaad686a8d68a6"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e64ff9339e5485f4d59f93445d26eb5644ad33ba3466eb54e7c1a5dc1a2ef2a3"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f70916f861c24dc69cd5823a52f57566681b1054fec12b56ef66170065584ef2"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5a0ee8ee493b793b098124aa69d202b50d6f748af5ac73522f928f4730174df"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f22f5befc4210987770dee0136ed0c4efcebec1ee12e8c8d765b242c13672b4f"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c372b3469b6182a1edbfc07558bfd9a752f8e75f1ced0f73830158c15787bdc9"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a06d45c1acf789b04447c927a45a2499dbd15c9a9500ce2319aab07c83226d0f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"5700cf8ee182fc440abb16030061d2e9976929eb60c880096208a514bc453b10"},"properties":{"dependency":{"package":"zip","version":"8.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ddc40e978747f74b6df544a8d7cf200323dbaf2a7fc38af1805acbb003f4ada"},"properties":{"dependency":{"package":"brotli","version":"1.2.0","advisory":"[GHSA redacted]","aliases":["BIT-brotli-2026-111497","BIT-dotnet-2026-111497","BIT-dotnet-sdk-2026-111497","BIT-node-2026-111497","BIT-node-min-2026-111497","BIT-powershell-2026-111497","[CVE redacted]","[GHSA redacted]","GO-2026-6888","PYSEC-2026-4322","PYSEC-2026-4323"],"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":"0c3ecdc7d502de421babf8b42d3e2709e6e770e1f7c4fdf56ef43ca29b6796fa"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"22099fe004754cf3073a8a17c8e11032cac5d63c082fb3fedb9e7e3a7bec2bd0"},"properties":{"dependency":{"package":"tinypool","version":"1.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"e28c9f1b7a2060e771a76c97ea8bb6736453a13dc60b16b17943cd8ea0c77040"},"properties":{"dependency":{"package":"tar","version":"6.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"f89fc51731d651da86fb31d1eb4c9fef5e30c1802f70f4e7860d874096facca2"},"properties":{"dependency":{"package":"minimatch","version":"10.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"727148e2fc51a86cf76cc888a1b9fa3d6938fe35c3091c4fbf2124657bdefbca"},"properties":{"dependency":{"package":"undici","version":"6.21.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"47c2be03c012c7db8cf10b7feeed62364979fa17f21cbd480b49ad77e831f02a"},"properties":{"dependency":{"package":"undici","version":"6.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"f2b0315bf2c44d4c314a6a01fea9800b37d516336dea548e341583f3023dcb6d"},"properties":{"dependency":{"package":"undici","version":"7.30.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"cdaf861ca28442455d35d7b9a4a9f8b4bd41b611c4d39f573c8acc5ab5d09afa"},"properties":{"dependency":{"package":"@isaacs/brace-expansion","version":"5.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"6fbbce0c2f32f6bb99cfce703062801ddd6be9c89f8f845872af5787e7f4191a"},"properties":{"dependency":{"package":"ws","version":"8.19.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"c6adfe135d2f2335775cd5d8f21d0eece02b26f0cb73e4d9f4249868c8ee12d8"},"properties":{"dependency":{"package":"lodash","version":"4.17.23","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"409e88f9f20c6e4f42d3fa6c90c06d664b7828253efe51187a4f38a23d485212"},"properties":{"dependency":{"package":"body-parser","version":"1.20.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"25710fa756f38bd8f5b145cb5beab20740e51aa0ae86f56f0ead5bfc707434b3"},"properties":{"dependency":{"package":"compression","version":"1.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"5df53889c2ea27e25c4b655dabefb8832f0ab2eac48d1fb1790bf62eb4df8b9a"},"properties":{"dependency":{"package":"launch-editor","version":"2.14.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"7ef54aba290adcf99ce77a1bf690095ef474a64a4d1605fbc3d0506ebaa111ce"},"properties":{"dependency":{"package":"nanoid","version":"3.3.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"79d57a85c0501a57041aea22c230b3435155dde17437ca3dadc0a87e849e42d0"},"properties":{"dependency":{"package":"serialize-javascript","version":"6.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"c08887e387f740d7fc57b1e9d95bb96c4e3b494a88beee54dad9a9ce00be6aae"},"properties":{"dependency":{"package":"webpack-dev-middleware","version":"7.4.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"84ab904fd4b4f08ca06dbf017fbc8de1fa3815c9fb23ab0989218f8bbacc8876"},"properties":{"dependency":{"package":"zod","version":"4.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"5ac4949d0da0729365d6c8e483db21ab928855c944de6d3b90fdb1b0b26fb4ef"},"properties":{"dependency":{"package":"undici","version":"6.29.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"03b558a2e4ec7fc1cfa8269c0e7317f65620a0deeffec0a1f09840d36c1e509e"},"properties":{"dependency":{"package":"lodash","version":"4.17.23","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"e82db1d9e8822f02cf7f9906b0ffd354ba978ec18321fc83cb2bbec575c56dd3"},"properties":{"dependency":{"package":"ws","version":"8.19.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-1050","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-770","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d36edfb19f39e4bb4c937caff45cd711dd631eaa7a25f0ea0d2c8777c531388"},"properties":{"dependency":{"package":"zod","version":"4.6.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"ee7496d0d8fe22793199a2269ec2cf4db1b8c8a984461a96c439302fa525e620"},"properties":{"dependency":{"package":"@xmldom/xmldom","version":"0.9.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"11ac53fd3ed462e310dd8372f4a12df31dcba2d8a275e08fbd5512ccd516be85"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.18","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"4446a3c9460f9df91ec0b258af8c5779c28c96a846c557bb254bdaed377fb64e"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"cff0c7dd256da57c54dbb169afd19b4af2aee201a78fa99c4c40bd623efb31b2"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"fdf9db4f334a5b47fdb037e0843e1b07cc69e0bbddeeb0927cfe392d948a44e9"},"properties":{"dependency":{"package":"extract-zip","version":"2.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"eff7ae274bd1e6253e545f3e69a909df32163b47be25ea80ea61156c31dd1b30"},"properties":{"dependency":{"package":"js-yaml","version":"3.15.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"ded9b172db378290e88bc25d75c450429b74c7d00586db225019a2b895947f26"},"properties":{"dependency":{"package":"js-yaml","version":"4.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"49b110530fd3833507b76b9c43661dca6cca158a373e59c40d29c45baecdabc8"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"9cb57b2d85a32ea895f0125ed1c6fe843edaf1ec4d70096b9d2b7798f07b469d"},"properties":{"dependency":{"package":"path-to-regexp","version":"8.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"8c39dec4e22981af9353237c49e2685f753890e2a379f3161063bede5ea83718"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"cf0b5d3a7a30e4940012f3e7a6ad3f0343f5bb0b6b1df5d9db0a230444ba0076"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"803dcef1029e0be68c5b354ed9c730af909e219267b98add1d6db8d1a043e20d"},"properties":{"dependency":{"package":"tmp","version":"0.0.33","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"e1b12ccc88d6949ba75e0e74e3e7620789f0f71fcaf979310ad5dea72000c13c"},"properties":{"dependency":{"package":"undici","version":"6.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"4fa1e3413397a09e6d65f5b016997324636cdc1e9236f3c423e56ba8cda18c69"},"properties":{"dependency":{"package":"undici","version":"7.24.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"7d0d13d4b3b3c5c5db3bb42fb3f971153fed539554b33fe646abfdf6117f8ee8"},"properties":{"dependency":{"package":"undici","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"1490674a5b129586353fd6739fb7a11fabc9c5bd40d25de67d57609e93e5e7fe"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"ui/desktop/src/components/recipes/ImportRecipeForm.tsx","line":3}}}},{"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":"aee23c0997519f9a53e2269c98d35b0a266e7a24cad6a6d93c1c088edb4f3e32"},"properties":{"dependency":{"package":"basic-toml","version":"0.1.10","advisory":"RUSTSEC-2026-0374","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":"5922a5beeab5ac077ffb485a783ad545036e79b56239f83da38f3fb84336b113"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","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":"45f6c0dd73434ccd86356af3cc9622ade7a0e177107528134623e6a917ba7888"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.18","advisory":"RUSTSEC-2026-0523","aliases":["[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0524"],"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.15","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":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"06bc53bd3fe058872a5d499c96920eaffd63436942acae93e5ace81c8d181f49"},"properties":{"dependency":{"package":"glob","version":"13.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"ed781c9baa24cbc020046c78d66199286fc411cf4304f021e070ead29529e413"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA 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":"429df916730f9f9ef1c6100ce1386f302be469d9e76f759e855645dec810b37f"},"properties":{"dependency":{"package":"http-proxy-middleware","version":"2.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e2c5c534446ba43c906d6fcd6124fd8a31e1f43196837d26fdcd591ffbbf2bb"},"properties":{"dependency":{"package":"qs","version":"6.15.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA 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":"e6568cad0baef2526e0f0e5aaf64f3fb4d74a1c57ea31028c8ac285884b2adf8"},"properties":{"dependency":{"package":"uuid","version":"8.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9e5d41c51bd60bc4a357842b29b697b4232f1d60ad18eeb164ab0f977da6d64"},"properties":{"dependency":{"package":"yaml","version":"2.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e2cf1ce364a74f2206be5d0cef3488eb321daf5d0580c2ec9d665a6011db05d"},"properties":{"dependency":{"package":"@hono/node-server","version":"2.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"e2b9385f61309151d3eb281fb967b0c054ff5cde729848e282652915b5588b91"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.7","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"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":"869e5e1ed21f702bc0f49903a87ca6837ec114bd40392eb94a713c37004d3161"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"84120384b0f973b8873611006954412b195751da93ba1e635a485ab31cc3434e"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"fc5274ae36ab35edaa9e62f75acc98efa385a60132efb53487ffeaf766f355e6"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.0.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"d347cbfb91715fd930e5cd59d6c656541bbe475d1e4981e8d685d68766cc3c44"},"properties":{"dependency":{"package":"uuid","version":"13.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"production","file":"ui/desktop/src/acp/chatSessionController.ts","line":1}}}},{"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":"9184affe16b97b1f79761e9eda27afdafeeaeb352875f1da43b7edf1ed505a80"},"properties":{"dependency":{"package":"yaml","version":"1.10.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"ui/desktop/src/allowlistFetcher.ts","line":2}}}},{"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":"73eba43918367af3ba1ca18459f8d42b8c549f11169a19510f49dc40ce083325"},"properties":{"dependency":{"package":"yaml","version":"2.8.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"ui/desktop/src/allowlistFetcher.ts","line":2}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"858ff52af925f55d20061f44eba76bd21a58f16b2cb325e1fca5039d9fe9537f"},"properties":{"dependency":{"package":"@ai-sdk/provider-utils","version":"3.0.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d003075eaf83484200b853772cc227d90be63c52a5658dc5f4a3233b988b4a7"},"properties":{"dependency":{"package":"@babel/core","version":"7.28.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1a665a87d412093e003af9b65c2ba2b56e3c2bbd2e5af50b7984afbe34a3f23"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6bbc2efdf28c01e475c7bce1ff1e8c8619468918ad8407cbc8a33425ae81f014"},"properties":{"dependency":{"package":"webpack","version":"5.102.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0d79fc311bb534280c0121a786400446085d6d71f6b11f10b2c0b4c9750bfff"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3caf063d18c1daffc718aed1e89c6fab078f043eac168b003002e68a79c83ebf"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"487a6131c375775070310df4960f540e72b96b50c79424776ea2d3dad558b3e2"},"properties":{"dependency":{"package":"@tootallnate/once","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b3f5e73f54279d8a385f3ccb6ce6659725cab3121019062bfd36c6500f66d85"},"properties":{"dependency":{"package":"libsqlite3-sys","version":"0.37.0","advisory":"RUSTSEC-2026-0459","aliases":["[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0502"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c334f948b90f31a49812d11e557523d1557df53f5a87bbeb997bf10e60152140"},"taxa":[{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ddd88b0aa0623cf90329266e2b9adb6ee51ccd6123aba1326cdd0650f2c524a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c6bf5537713ea0d96d30a3ba4aa75b197d94e371eb73a20de0e797c7403df7a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3adeb5ca433f8377e0513466abe226661632e2c7a65ab03d48b79033987746ab"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b1568673c97a5ce9b1ec5a08dba083d705b7ca92047378b6f33333438b27491"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c790f76cf70ef3b7e11b2b2e046aa998549442297137ee1873617b41f8d8e165"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 33 of 654 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 654 of the 952 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: scripts/bench-postprocess-scripts/prepare_aggregate_metrics.py, scripts/bench-postprocess-scripts/llm-judges/llm_judge.py, ui/desktop/src/components/parameter/ParameterInput.tsx, ui/desktop/src/components/GroupedExtensionLoadingToast.tsx, ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderCatalogPicker.tsx, crates/goose/src/agents/validate_extensions.rs, ui/desktop/src/components/settings/extensions/modal/HeadersSection.tsx, scripts/bench-postprocess-scripts/generate_leaderboard.py (and 25 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/bench-postprocess-scripts/prepare_aggregate_metrics.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b2d169afc2e5d4a9661b42844109d2671e18f7ceb19fe8eab52afdbb11a35d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/bench-postprocess-scripts/llm-judges/llm_judge.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f35d8656b578b1e48a4daed06dd2fc6d70f89101411bd57f5c12273b836d9fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/parameter/ParameterInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1048d12769d02f5d1fc1067607e550d44aac7ad3f67554b894e1c2ffda153d15"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/GroupedExtensionLoadingToast.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb712b793a4588b2153703066cad3945b0b9faf03418d35e4f0c4736e663680"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderCatalogPicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0712b4594a309a02d0e122070a2b8ec9808d65ec91bbc532fdccd258703d2dd8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/validate_extensions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d80f3ab0e6c0cddfe0d79cef08d548cdf67aaffa22d447423e514bf800cf83"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/HeadersSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b296fd0689d3c9465da64ccb1b77be8b0d892b28edfac65f39417192b2d7d50"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/bench-postprocess-scripts/generate_leaderboard.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"176200bc7999f97a38e3441f688b38775e6a3ab66bb04db99446572602770e19"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipeActivityEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be4c237dcbaad368d4e03867b106875072bc85eae7ebafaca323c7b37b67ddd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/providers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c8fc07ee855aa21529ed804dc405cc25798feae854f2d571591dc13a796209"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderSetupActions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf40962f8906bcaf3fd520dfeb57efef9973218c6118467779332291d3d1f89a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionSetting.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"264644a154480d3fc61b5c83666582e4ff4a57b8b5fa7f632b4da6e59657e458"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/AnnouncementModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7296cea30ce5dfd811dad952ad633275a857d22a0903514dd0a02930b893fcc5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/JsonSchemaEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"651740f7142c046bafd5f9222dd1f9c0ea7977f0282fd5c3b04f8ec60309b135"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/mode/ModeSelectionItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"973d380d46394250bddf30b2f87d1889cb049b6cd9401c4cc0a8097154bfc215"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/Bird2.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d414914ffa5d36c2bc2c5285660a881b8640f56198ad331b6327650f8f7ffa0d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/InstructionsEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dc4e368898c8a147cd1ff0b6b5308598a36ff52f06b0d8350dd9d7b9bde085"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ui/dropdown-menu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3a73d2b31c68e5270d2104e07d506d6d0e77fb9334e71ca0162765d1f4bba3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/Bird1.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"112d5815ecf79fdc9c4e891bfd4a35c9fed01f82d9034d8920e89e7e652c5986"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/Bird3.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fcf1ae798762a92212635839ffbe9679dd258ab4ebd0502a0c342c45381187"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/Bird6.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"599ed89dd5b758ce39c5e228ada98e05bf3f30fec93b78b9908dcbfa23db035f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/Bird4.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f79980e6fbd2d9167a501b772d6683c04dfcae34447e1b98c7e508e337fe7e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useFileDrop.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb990c14bfd217f2e9f5f85cf5ecb224e652251fa64a6a06849ef05d4de590a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ui/dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59c438ee8d9593529408a88c4a56338ab4a24e49fd55b83a05f64ce530d2bd6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/recipe_deeplink.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5286114c99ef75e561d3a84f619c389a774796c29fcf3eb7861b236ac884e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/Bird5.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b8b82977953edb021e6e7b4f3ec5fac20c5f90ffc956712cd97eebaa972cd1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/interruptionDetector.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6077ff6ddd99d23589b42c926244cd235b7a454566ee502389fa4a17d4002786"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ui/button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5913611bc3700e645f13c82b94486b76add5dbc30f0f3cd432193d01e6d7114c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/bench-postprocess-scripts/llm-judges/calculate_final_scores_vibes.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5412763663172ac3d7962465bbc93e3d6d61ffee498b2baf29c32ae5458975e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/signup_tetrate/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17467195a4196a911f6f93bb6d1a099e0d21dc5c41231028c04f230e47e1966f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/subcomponents/buttons/CardButtons.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af2b8fc1b02eef718c71e1b40b24f797c9c408c5a2c7b5d7deaba4ba7c3ab2c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/mode/ConversationLimitsDropdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1890c755003f12385b7a2001cfe5851226820cc019c9de49431ac024d71dc5df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ui/ConfirmationModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f7367d4e731bc6d2ab46cd900165f1b202d29c7d562d44147f954b17ed498c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: main.ts \u2192 AppSettingsSection.tsx, index.ts, preload.ts: \u0060ui/desktop/src/main.ts\u0060 changes together with 3 other files \u2014 \u0060ui/desktop/src/components/settings/app/AppSettingsSection.tsx\u0060, \u0060ui/desktop/src/i18n/index.ts\u0060, \u0060ui/desktop/src/preload.ts\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5a93c4d60e98b456779889866756ff8a93e262049a235455897b8ef0e1063d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: services.rs \u2192 final_output_tool.rs, ext_manager.rs, platform_tools.rs, prompt_manager.rs, reply_parts.rs, retry.rs, subagent_task_config.rs: \u0060crates/goose/src/agents/services.rs\u0060 changes together with 7 other files \u2014 \u0060crates/goose/src/agents/final_output_tool.rs\u0060, \u0060crates/goose/src/agents/platform_extensions/ext_manager.rs\u0060, \u0060crates/goose/src/agents/platform_tools.rs\u0060, \u0060crates/goose/src/agents/prompt_manager.rs\u0060, \u0060crates/goose/src/agents/reply_parts.rs\u0060, \u0060crates/goose/src/agents/retry.rs\u0060, \u0060crates/goose/src/agents/subagent_task_config.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 7 separate couplings, not 7 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 7."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/services.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"250fe223a0632deebb880489b61719a4923447bc962ea79ba63e41c72bc23d2e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: claude_acp.rs, codex_acp.rs, pi_acp.rs: 3 files \u2014 \u0060crates/goose/src/providers/claude_acp.rs\u0060, \u0060crates/goose/src/providers/codex_acp.rs\u0060, \u0060crates/goose/src/providers/pi_acp.rs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/claude_acp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb316a80ab1731a2379b8d166bfcb9ec2e67def427f06169adca8cf0fcb0f98f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 init.rs: \u0060crates/goose/src/providers/formats/mod.rs\u0060 and \u0060crates/goose/src/providers/init.rs\u0060 change together 75% of the time (12 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u00609d0c9859\u0060 migrate openrouter provider to goose-providers (#11757); \u00608e18f074\u0060 move google provider into goose-providers (#10216); \u00603eb9f50a\u0060 move snowflake (#10218) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/formats/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06c9c084ba3ea7f8a6a032ca69e9aafc94e95df5795506eb28261a7ea1064e4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: schedule_tool.rs \u2194 full.rs: \u0060crates/goose/src/agents/schedule_tool.rs\u0060 and \u0060crates/goose/src/scheduler/full.rs\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060b92c60c6\u0060 fix(schedule): validate recipes consistently (#11561) (at that commit the file was still \u0060crates/goose/src/scheduler.rs\u0060); \u0060ae83c0a2\u0060 fix: bound scheduled recipe validation (#10509) (at that commit the file was still \u0060crates/goose/src/scheduler.rs\u0060); \u0060ba60b597\u0060 feat(CLI): Add optional --parameters to scheduled recipe (#8741) (at that commit the file was still \u0060crates/goose/src/scheduler.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/schedule_tool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e4b8d1376d6ca8547d0ba66dea97ab5de26d348bc44f624022b56ddc482937"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: summon.rs \u2194 client.rs: \u0060crates/goose/src/agents/platform_extensions/summon.rs\u0060 and \u0060crates/goose/src/skills/client.rs\u0060 change together 69% of the time (9 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060df899654\u0060 fix: contain and bound skill supporting file reads (#11342); \u00606251e563\u0060 feat(sdk): minimal uniffi setup for cross language sdk (#9593); \u00607dbdfa43\u0060 flag for login shell PATH (#9313) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summon.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1172e57637a022f688bc5f2eb8932ab962add2f19fe31c1044588f012908afe2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 export_markdown.rs: \u0060crates/goose-cli/src/session/mod.rs\u0060 and \u0060crates/goose/src/session/export_markdown.rs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006006f218cd\u0060 feat(desktop): add markdown format option to session export (#10703); \u00608168cb83\u0060 fix(acp): preserve content audience boundaries (#10493) (at that commit the file was still \u0060crates/goose-cli/src/session/export.rs\u0060); \u0060ee1a2e49\u0060 feat: propagate elicitation decline and cancel actions end-to-end (#9\u2026 (at that commit the file was still \u0060crates/goose-cli/src/session/export.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36823bb1d364896c00817a755c69633af3f9c4f55e09472be6e61efea3eed101"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ExtensionsSection.tsx \u2194 ExtensionItem.tsx: \u0060ui/desktop/src/components/settings/extensions/ExtensionsSection.tsx\u0060 and \u0060ui/desktop/src/components/settings/extensions/subcomponents/ExtensionItem.tsx\u0060 change together 53% of the time (9 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060ec6faf92\u0060 Add pending extension indicator to extension panel (#5493); \u0060031b8b72\u0060 fix redirect to extensions page after deeplink install and show toast\u2026; \u0060b18213cf\u0060 Add inline python extension (#3107) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/ExtensionsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebb90919bf189a019476073ba73fa1d93932f6917e332367c6133957defac08"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: claude_code.rs \u2194 gemini_cli.rs: \u0060crates/goose/src/providers/claude_code.rs\u0060 and \u0060crates/goose/src/providers/gemini_cli.rs\u0060 change together 50% of the time (12 of the 24 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 12 shared commits counted here, the most recent 3 are \u0060feecb14f\u0060 fix(security): bind CLI session naming to trusted path (#11787); \u00605be96c1a\u0060 feat: add gemini-acp provider, update docs on subscription models \u002B i\u2026; \u0060475968db\u0060 Optimize tool summarization (#7938) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/claude_code.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0869124c0310a15f7ee03a3aebd89658910649550448d0a3f308b55bd6ed23a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: cursor_agent.rs \u2194 gemini_cli.rs: \u0060crates/goose/src/providers/cursor_agent.rs\u0060 and \u0060crates/goose/src/providers/gemini_cli.rs\u0060 change together 50% of the time (9 of the 18 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 9 shared commits counted here, the most recent 3 are \u0060feecb14f\u0060 fix(security): bind CLI session naming to trusted path (#11787); \u0060971d2178\u0060 fix: keep CLI provider prompts out of process arguments (#10547); \u00602631095f\u0060 feat(otel): propagate session.id to spans and log records (#7490) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/cursor_agent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fb6d02bd6323e6e6b81c75360ddf4cadccfbeae282947ae697279af7203397"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: databricks.rs \u2194 snowflake.rs: \u0060crates/goose-providers/src/databricks.rs\u0060 and \u0060crates/goose-providers/src/snowflake.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency 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 \u0060361003ea\u0060 fix(providers): honor Retry-After on 429s mapped outside handle_statu\u2026; \u00605f93990f\u0060 Include request URL in provider error messages (#9232) (at that commit the files were still \u0060crates/goose/src/providers/databricks.rs\u0060 and \u0060crates/goose/src/providers/snowflake.rs\u0060); \u00609b4c8726\u0060 improve provider request logging a bit (#5236) (at that commit the files were still \u0060crates/goose/src/providers/databricks.rs\u0060 and \u0060crates/goose/src/providers/snowflake.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/databricks.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1335407d14e7f6c4e8c81a5bf11de003f4b849660b2c20094e6e94908273ac92"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: App.tsx \u2194 ModeSection.tsx: \u0060ui/desktop/src/App.tsx\u0060 and \u0060ui/desktop/src/components/settings/mode/ModeSection.tsx\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00603952f64e\u0060 Redesign settings as a full-screen view (#12163); \u0060d97d07fe\u0060 chore: clean up ui as we don\u0027t have session based permission setting \u2026; \u00607027de62\u0060 Move token limits to backend (#2484) (at that commit the file was still \u0060ui/desktop/src/components/settings_v2/mode/ModeSection.tsx\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"948cc289e7e49d919ba98094221c8904ab5ba6797ba81f9a8e092f048a1f8823"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 platform_tools.rs: \u0060crates/goose/src/agents/extension_manager/mod.rs\u0060 and \u0060crates/goose/src/agents/platform_tools.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006009752aa7\u0060 Revert \u0022Revert \u0022Rewrite extension management tools\u0022\u0022 (#5273) (at that commit the file was still \u0060crates/goose/src/agents/extension_manager.rs\u0060); \u0060c6620396\u0060 Revert \u0022Rewrite extension management tools\u0022 (#5243) (at that commit the file was still \u0060crates/goose/src/agents/extension_manager.rs\u0060); \u0060bccfa015\u0060 Rewrite extension management tools (#5057) (at that commit the file was still \u0060crates/goose/src/agents/extension_manager.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb9e15a8fdd34e40655469b9926eb14f58101f6a48e07ffaf12ff62b38e1dd2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: azure.rs \u2194 xai.rs: \u0060crates/goose/src/providers/azure.rs\u0060 and \u0060crates/goose/src/providers/xai.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency 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 5 shared commits counted here, the most recent 3 are \u0060d039f3f6\u0060 fix(providers): Azure OpenAI model listing 404 during configure (#7034); \u00601c820add\u0060 OpenRouter \u0026 Xai streaming (#5873); \u00609b4c8726\u0060 improve provider request logging a bit (#5236) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/azure.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab92470e4fdb2efd732725f042231449b861c321e7a6a9af6a2d0d731b93c0a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: schedule.rs \u2194 schedule_tool.rs: \u0060crates/goose-cli/src/commands/schedule.rs\u0060 and \u0060crates/goose/src/agents/schedule_tool.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060d2687643\u0060 fix(schedule): use session.message_count for schedule sessions listin\u2026; \u0060ba60b597\u0060 feat(CLI): Add optional --parameters to scheduled recipe (#8741); \u006017c12bfb\u0060 fix: unscheduling a recipe should not delete them (#8978) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/schedule.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f750246b55d923f61f1c95fcf47b25e9aaaa03bdb5a51b461338de821c4e18"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: index.ts \u2194 settings.ts: \u0060ui/desktop/src/i18n/index.ts\u0060 and \u0060ui/desktop/src/utils/settings.ts\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060fb2b653b\u0060 feat(i18n): add Dutch (nl) translation (#13240); \u00609ff73763\u0060 feat(i18n): add fr, de, it, pt, id, ms, vi, zh-TW desktop locales (#1\u2026; \u0060f108282f\u0060 Add Korean localization to desktop app (#9856) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/i18n/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64997f84b715c48ae28e12151c4909d3d06805467087d6f335ecbeb317e0d26"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: openai.rs \u2194 xai.rs: \u0060crates/goose-providers/src/openai.rs\u0060 and \u0060crates/goose/src/providers/xai.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00608fd84be2\u0060 fix(providers): drive pre-key model lists from the canonical registry\u2026; \u00601c820add\u0060 OpenRouter \u0026 Xai streaming (#5873) (at that commit the file was still \u0060crates/goose/src/providers/openai.rs\u0060); \u00609b4c8726\u0060 improve provider request logging a bit (#5236) (at that commit the file was still \u0060crates/goose/src/providers/openai.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3ae93cb601f9f1cfcadf9ef237c993301e1698bb41319b10dba59a1ea6124e"}},{"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":"f7092fa9d94ec6b445cf006d341fab638901a3292dcff22c644958d46860a17a"}},{"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":"ebe824c71770bcfe5fb2f1e9a5683ddb6b6c2d7474e88982bbc809ffdea613b9"},"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":"d621d1c9580ffd22a8c92034b185bfcf7d5aeaff92e7a488dcb36b1679e169cc"},"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":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80d0a5397a35939b38ea2c47eaa48f1b81f0d1d3eff661b4c749e2b15710fbc2"},"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":"154ce687429cc44133a2c18830ff54f4b2dc90761f8fb4bcf04a67c677868ff8"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"246d743929b02e055a59af704866afd132d0f929d7a518ee8e3076fb1d942190"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e4607103018ccbf4772504c4475df05c43062f243e17471503584c98dc62fdc"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/goose_apps/clock.html"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"838c2f57ff2e0ef0d4e42fa3d437aedf49fc167c730ea7a5123f2d600245a277"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a800b625a6d655a953444a0040ea6f107b4ecc463f31f0a3aea794b7601cca4"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"814ccd976c3f7b6096eb0ca46a5c0269732a4d63e29dfe2c805914d8c1238f67"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"2308e252f7423577371a3781c9819e1bca5ec4b17fba6e38b4e63767923a38fb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/LauncherView.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c961de34dcdcd66d59ab43be1d2f977aece0595402e2d4f9843af2e9ff2a87"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageQueue.tsx"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c71ef9dc8d66f0ca9a3cc77a88e102efea5f5154676742232e14e38d03eb5f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4f783b55b2dc878a8b3d862ac066b3e37d3be3a70a361f91b53c928a8691a6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/common/InlineEditText.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a873487ca54bf23ab5710db4e3b471d8c326b56e678bc5b85cd0a99c0187cef5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/conversation/SearchBar.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8442e70637b8bd688e149eb4a5074ff530cf69e9f5f04350ecc3fb580d8ead9a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec2a3d2736cca2a709465953d9be58e43de758404aafb2213a13d98fe32c68c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c772af5e632ca0e131889b3c7c980528ad49b6f3de7ec6fa3f329520482c62e"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/ProviderSelector.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0706e5396fd6adfc6bbf5e96cbc51d4c898288e9c6144156630df76ecf7f669"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/parameter/ParameterInput.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba141f7bea08104deb1b5aeb850951ddd1f33c2ddce10fde7cad6129eb499d64"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/parameter/ParameterInput.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1bbc565df5f01a7b7e862b1f2293973da31fb001b14dbce569f08d80f8d262"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/parameter/ParameterInput.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b217470ed063b6a9db55cf779a5c7a1facbb914eeb3822a0009e7b9a305c8bde"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/parameter/ParameterInput.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4ff74ea224b0cebfcda0e096b25e3d88884bcd950db18d557601f96e17cc56"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/parameter/ParameterInput.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3553a04f9b6829bbe6357ee7a51c324adb6a03f3d11ec6ce2bbd0ff3c57c780b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/parameter/ParameterInput.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"28093a8914aceefc59fd83ab4b493e76446462a39ce835eb467b4a0d910a5ba7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/parameter/ParameterInput.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0331390b4d1170de41bc5fa3ca23c1c2a7876db2c5cfd3a68d3490cbac3a1c68"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/parameter/ParameterInput.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a242f9dfd687cca60f48fef289103693cb13a2d795cf171f97fb093c7ea7e1e6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/parameter/ParameterInput.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e339afaefcf70654a7203f6be7fc945226bef6b0c37d2f3c055b515166adc00"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/parameter/ParameterInput.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b84ce6a6530e7391b6a32521e73fc2613ff222ceed46cedeefcb46662949e0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipeActivityEditor.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7402c94f0c5f1d38456b6492f97dc967117e23d52ae2cb6956cbc6647794ab17"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipeActivityEditor.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"940105521fcceeb59755f38104b286e549c67797086b5b4bac9ad253bbffd745"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e988dcd68f63cc9a4ca02cff622f48bbb5332b8436d1c32fa6f0f6dce08df0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7c2b2c31cba19249547dd854a28cce551a118ba03256365b0dd2a8695d619a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/InstructionsEditor.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e18d07491dbe85cd6d513a4d34a7989228b580b7cd44cf16cb2581cdf9bc6d"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/InstructionsEditor.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"086bdad3b4cbc21d5ce940563e28357ccd02f66325a14a610588c9899c18a581"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/JsonSchemaEditor.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe573c24e45c3750f4f9975dec5e9327b235d917df12a110a010dbdf2c82afbd"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/JsonSchemaEditor.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3774b4c602d550b115182ed027dee568461170237b4905be37ae70a0107fc36a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/KeyValueEditor.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1e7ee2a042590aaabf814199da4016eba2207a5f7eadc7ec046099d5404edd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/KeyValueEditor.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebe034fdb58ae41db3a625bfd6605aeed4d0883d28c31fccadc0b29e39be9d6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeExtensionSelector.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"172f4786f55d6db2091d208fc1e125ac8d5fc800252074dba2c82d2ee9421c27"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"4620bd2e33637ff09d78f92a52eba989e3673a5199f6a1ccdca0bb13115592ad"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"309f83a51bb4f515ae93ba513ae7e25fc5cbf6486e6fb430e15a874e5ecff20f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cd1392b0906d4798b098ba3483ef77e9bb8d11d846e1bc106e7b16b9bc383f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeModelSelector.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"db293491bcc8668a5627ebe0dfeff47d0fa303c40b4f1de850e88438a12c906c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeModelSelector.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b27e8afeb5bee82e6223dbb3de81ffb72128f934a06bb7c1d463bfe2bb0228"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeModelSelector.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb16c78d37922500838329aba920806878fd15f9cb59cc82a55b26a9e2d57435"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeModelSelector.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd046649e8f7a040fdfbca7b23c11927b0b68d13da8f1fe851913c81f79fba0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/SubRecipeEditor.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6306281ddd714b620e9e88d3fcf13c8b0e9dfd6a2bde9b412b17ce2e4bf639"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"9539acb7494e37c501404ea9f78e4c0a83b0528ecd40ba9e7729230d1c8817a8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f0e920fb2946b256a303d808afdd18ca86e2b3ba110c34e463f926fe321693"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3c6f6dc5dec16e54ff2eef5482e4bf6c188dcade1201ee15e8fb190d311e10"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0635496c993f14cc201f87759366ce6f08f7d68696a36dfcc94e9550542d9e03"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7568f2461098ddb261a49d7e1ce4209e5725cbba9774be64c1fd332b1454fe"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"8140866196859a48c8c5fca0b353f0f700e4ca0e2d0c52bf3bb944c8700b695e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6dee3538d7cba8df52b6b8bd9d12ee162333ae1590f095200de21d5c0a22e4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b8ae92fa6ef4f8be89f82bd75ab4b4978757713753372958e04c8df32635be"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19ef96fdf360ae8413cec6669f1ff70754ff71bf92e6805e62b0e070530252a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2a0280cc072e14e5af00a5bcbf1fd321d416ba6c47fd765fcee77693363afc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b653dad3da213c2c34cba69512c1a5c7896f2037647415683ee0537207c287e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fb1fe767239cb349551b8cf6512c6528b70ceb9ba7592978510e4a58bf4774"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleModal.tsx"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1c4ee9e8913cdd844a7ef172352b94310163644a76b88b7bce00e98115604c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleModal.tsx"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca2bcccc1201dd119286266686565e4c69bbe1eba8c7b4a10181f26c6f74d4b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleModal.tsx"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b200b92bbfec52d006021d38961ae28bb579ba0c97e461ab5cd4966620e004"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"975d535a9cd691cc37555c4e896f9d6a1d3682f3a299e7b82f81e08a8aee78fa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/PromptsSettingsSection.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f6135087e14608be6573a05fc5ab4c27a45d6704df859178c0f7042bc49aa0"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/PromptsSettingsSection.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"092e761afe10aa6631210a1787cd1d146ab79aecbd47c5278c2951eb5f4d3c06"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/chat/GoosehintsModal.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd394440af152e27808f920b3520f771689fa82ac95b38fb4cf7b833dbd3f02"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/config/ConfigSettings.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"058c62953a73149126170339e86e1f87631bc8fe50ef6c320514498c7570b8e3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/LocalModelManager.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"541287c3c99336004b0e9dbfbb7815d483fe3426223de99de62b4f807e270278"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6224a1b3ec160014454a6c6b45c238f797a3e10ecdead577f754f7d2c4900f2f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionConfigFields.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc9faec40dda49f35ede731bb02b6e3cd6475025484cf59d1866dc4f02ee052"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionConfigFields.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcaef40987a8c94f7b2850435d5dcd0702df9be187ceacbc10a6879734773aa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionInfoFields.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"210fa453dc0633d6e501d22c14a34e90f15ba59d002633a753114a66340ec253"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionInfoFields.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c586960722da8d483406b7f5897d924fa0f9ddebe44dc0f4a6459507788363d"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionInfoFields.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a909f8f53bee96cad11570edbf81a0004ca1dc5744b38820a01e5ab545175958"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionInfoFields.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9478808e5f02a654138d6c3ba1940168145bd00018e02add99051371cfc978"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionTimeoutField.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25416fbfb01bbb6d0b6981dd745192838173acb2a0f22703784f7ce453c8034"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/HeadersSection.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e188b8bfd1fe1695343c9ff4dc8dcea5789752c95fad9177c4c929ad151378a2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f015c2eb35bdb687604b5af88f186318e6bf8819b8382fec97f62106033874"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2e56ce8920c2969668c599f44046dd069f570032f419d95bb1c20c162f022a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3973384eb649c4199c21a30f9a3e3bcd8cf66ee4bdede8add0df6282a61a42a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b3ac450f38baa99f9b0429a648ebd751e73ad87dd749ddc15a660097dd83d6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"062d2edaca04601a6b2a463c438863082136768019504b14addbb40dec2558ac"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"710c9d3f2e70023ee88ea8770be98ea24dd613fdba68ae04b2e456b414aaa2d5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e28f7290ebeba4db45d501172136303a8013bcc747e66df390e419a2371b541"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/mode/ModeSelectionItem.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c075294be41896c426160eacabc022037b3a3d58ecaef8251b9bcde0ee9aa9e5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"eece7694dccf5b96b3145e2eff9dd0c6b379d975f4e1ff31e8f2706400777f8b"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32db02afe0f6b4e8737f866242e70fbe3ca2254d797e3805ec37b14c5a38dad"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef49b41c834fd969b76b23600af5d5c94d527818cd76a0fbaa1c750f944a287"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"7045e665f16a4e941017a37ba1a5b43d29dc0c0ebe6f6b826e7da61b43174bb5"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c6f83393c5f15da7c7111464ff4e98499d29b4e26e89737cbd022cf5416005"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb98241fd0e4ffe50413a6895f3246f6e5bfde96ca9120423f7a6f0325218d9"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edf07ef5bb485232811fcaa4756bdf3c5339646a237dd4981b90716572c652d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3fe085e8017edcd0c4e303145bf74a859599ab96496d2ce7aa7a4e25386bbc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionModal.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc160094431c25ed048942a580816f1ba6b68f78231d874f5376b36fad6930ab"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderCatalogPicker.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c966035c826cd84f7d387b44da1be4f544b25b37ebbaccaf149d3b211ad0ae2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderCatalogPicker.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e025bab01e8b4c6415c86a3df5f74a73ce4b02a78857e9f017cfcd1e084b4a1"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderCatalogPicker.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3c6e16fdcefa64739609cc2625b73eb9c12488777361929cd6064dbf1a9ac4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f0e36aa9ce08fef7d5c10292683b6ed002416cd88fe95de9d4b67018b8b165"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb99113978f137e616195c73c947c7532910f931d479a1ee547a8316d0081e1d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/DefaultProviderSetupForm.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbfc53b9d89f8f7141a4d45a3c3b1df35664fb64560479bc3db06c5fa192991"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/response_styles/ResponseStyleSelectionItem.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fddbb3f5fb4deb07724087bd28e92808b7e986a8f2d7c3478b39ce1f1094593"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"159c367eb6452e52d896c69dab2e2b6cbf542e9cb842fea4c38d5cd14207b3a1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad57548094393f1688a599c22ec325ca43f5ab56ddb204a2001d31c30528cabd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d5b0f14246f9906fcc9aa5405bfb3cd71dda351e55f1367ba17d709d864ca4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"10851a208e4d5ae8537159ceb54036b5c887a023e69ad04f029564a1a9a2a25a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"5237ab291cc7a2813445f43bf49d2d0fa4417739bc7c851937c7fec3cb7923ef"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac82d429c0eb79976682dea78d1925bb59326410683456a9cc527a3c07d37ee9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7769f3c1477c112408767b9280ec72b71a446a02e839c79b5fbc840681e005"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3f9ca9290ffec9c8f93d9aba3c6bed6a0b9a6c49245d5ea5385f015541e5a9"}},{"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":"crates/goose-mcp/src/autovisualiser/templates/chart_template.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"498abba7609df02639268fc5175c60ebd1d8e62e914fe2110716faf2ff29b2ce"}},{"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":"crates/goose-mcp/src/autovisualiser/templates/chord_template.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73e6439211d35d405b69c4aec41b67ded1d0c91824f6ad08ab24803ae1722e5"}},{"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":"crates/goose-mcp/src/autovisualiser/templates/donut_template.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bc1c067d240afe1bdf4ee7088be9beb22a397db56c909681bf7fafe4fb7df9"}},{"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":"crates/goose-mcp/src/autovisualiser/templates/map_template.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eff5c6ad4f4bbb85673c9722b0c987b6c0f8a4e085d597dabf622aa495922ed"}},{"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":"crates/goose-mcp/src/autovisualiser/templates/mermaid_template.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e664af0f68946ee96a2ce107ad838facb3c1bdc5ea26b93520b6d1a504d2dd5"}},{"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":"crates/goose-mcp/src/autovisualiser/templates/radar_template.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5506d809cf659a4504e9e0059693390930c91ac20ce7a0b0efab4a2e8caf768"}},{"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":"crates/goose-mcp/src/autovisualiser/templates/sankey_template.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d5431dac29f16f153b7600401dceb19584f892bb18246adac3f0d96aa9bc8c"}},{"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":"crates/goose-mcp/src/autovisualiser/templates/treemap_template.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78d6e665555f492143b0fe8f733ab672155fb3ee941906b5659502599b8e0d1"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/signup_openrouter/templates/error.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6e9a4bfbd9dc214c005c533d57d53c9b75becea89db10e042356f70302207d"}},{"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":"crates/goose/src/config/signup_openrouter/templates/error.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b044ba828b100ca9f24ee26acdfae38f2f386eb7d6c34a63e97c7c27a7bf87"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/signup_openrouter/templates/invalid.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"371718d61fea21f1b81afaf230b6679af154b52071279660ceb6ec5041bc9609"}},{"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":"crates/goose/src/config/signup_openrouter/templates/invalid.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c55010ec065ec7daaa59fcafb66b3aa1690c2856109e87025beb5a04473c35"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/signup_openrouter/templates/success.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad6280bdc416daca73a03e872aebf3fb7b088ac1d33913045174ce0bd0cc038"}},{"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":"crates/goose/src/config/signup_openrouter/templates/success.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aa819a791c8a0975baa43e6059647f6926e606b0692a52e9dbd0cb270f4dcf"}},{"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":"crates/goose/src/config/signup_tetrate/templates/error.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4251e2f954ea0d8022132a70f296db5cb70340f4ffb508f456da4274a96998fd"}},{"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":"crates/goose/src/config/signup_tetrate/templates/invalid.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e567271605d69006aedc090a8dd4491249b6b20c442146efbb67ed4f2ff58e5f"}},{"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":"crates/goose/src/config/signup_tetrate/templates/success.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6e339d4e091545d9063355303cadad3e9a5703bcdcb5516250a9c52aea6d68"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/goose_apps/clock.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eac9b8eb0b69954280906945a76f18e1f501e72f6051316ed458e05280840cc"}},{"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":"crates/goose/src/oauth/oauth_callback.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef65d94a0692d4a821d5bbfc326f7a1c1170e68ae97cc7877d5626238e45f484"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1564997b86dcfb352a28e6c48eb2f352c1232fbe4a21b566ef69d149f0cce446"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/apps/AppsView.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"d094c97c2c44bbf762eb6a142929ea2cde646b45ebdf0898918514e7eb7a0c53"}},{"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":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d189626428fbb62ea1c1783dbc14266fff187e8d19b8f617ee904b48076f18c8"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .thinking-block with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d60992464007f1fa28fe3ded0dacf715686cbafc69ef891c729f3746361cdad"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cimg\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ImagePreview.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d772d604df3120ef06369d645549862688d62d18aaa6e2b07f0dd3eda45223f"}},{"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={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Layout/NavigationPanel.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21e104d3fcc1f0438625e13eb79f63d8bb918a291bf28ca26a4a4da12b7836e"}},{"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={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MentionPopover.tsx"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cd91e21fe99ee9541495d0ff533960a7cf9a2699e567df6ca2ed69b35b454f"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageQueue.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b98a8ad9b1bb2f2e7c6856db58fed23d97f4f29f3d101b9a6e1e7d5096f2c5b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cp\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageQueue.tsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0a47665bfcb2f1295bd6e87229c9214dcbf56d0612753f14962681e0186f78"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/common/InlineEditText.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fdeb7d2570ef7fb282cf70a84d43232e9a288444c8a5fa2be87469cdc9b231"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/ProviderConfigForm.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f5ae27598ddb7a4ae4770eee03c620e68fb165873bca4823f9933bfe6bb2bc"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/ProviderConfigForm.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"435cca6cfae17752da3d662fd8f20dd380783d9674ac7d96fdb08d20fea769b1"}},{"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={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/ProviderSelector.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f45299f340f8452f5d751ccd08b3f06d9940d766974f6986b92133d7d138aa"}},{"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={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/ProviderSelector.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"319b1f68ec3db80217df8404046e8c01e03dcd9b578e88f0c6e0ecfbea2660a5"}},{"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={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb903d93b1c553d2739bacaedfe9f6506960e14a318dd0bbba8b6f75a019dcd"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2d8d0d30add25ac231840182477d6cc26979db81cc2c2570f708dfc369d9a7"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/AcpReadinessPanel.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"98371a733192e369b1260d9b19ee4d60a6330e93cddc3e127918b00c6743a7ff"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/ProviderConfigurationModal.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2640530b04c99bc3518f3b17cb93d4d22cf4c9c1b229ee3eb93bf67c3333c7"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/ProviderConfigurationModal.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8534d41b334dcff8fadf41d74ffe1cc9308411f57356542911d467d250b942b"}},{"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={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/subcomponents/CardContainer.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d697e7efdcd276a823eecee9d30fda8835d41a28732498c2087c5f9d158ee4f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9743b8cec2baab9f5e74c18ec511f5e6514cb5e021db77eb630f579adbc6af"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/GitBranchIndicator.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"64afeb6977f3b72feb0049dab210d35c05eebbad8f25a0f38560b3d130ba86b4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/LauncherView.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8e916c2194b360c2a72589cbc4c0807cd1506507c310dec86a60a3c74484f0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.8:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageQueue.tsx"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cddd44bb3b2aad711c21fe2656763242874d90ec67e3749857785ef3674206"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.8:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageQueue.tsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba951951674abae1975ca8c2c5c2d4cfd2609be07eb8d4eeddbdb1b03076beb8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.9:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/context_management/CreditsExhaustedNotification.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0707183d754e3d5ca019ee885c39a8760584db58686eb21e0f65fa2976510d96"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/conversation/SearchBar.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9c21e42fd1d07d9c80d98a35c2763b42ab65131ed9ebdb167780041f119573"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.3:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42d4bd73006957e83e392a172abc9b37f197d5267b19169a67be589680cce51"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.3:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b69f603bbf22891a1aff6e300a352de37ef5c78c597f6c523b5540bda97d152"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.8:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipeActivityEditor.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7d4913d3bca0ed2d9acacfcdc651014f48fe95e115c164e29bcd1113b96a84"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.8:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c522e73cbc7e7ae98a1d46585e89ab7ff2ae6c1d9efd9877ab676bd653634b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.8:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/LocalModelManager.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e087574c2461ca5e78ca5b3c3fdbc44a672b34f6552a78cd0e66ef25fbb3fbf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb49bce8e72483dc6243d08cc49c5f568a75f50cf802894d69465c7d62a31e46"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.8:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"a279ca38fde67aad34d54446613dc412ec827a8f9e4703c2363e7e5dbd8c3bc5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.8:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"813f4a3c0f50cf500c9d3316da188409f04b1be0d914c995beec26e74b9dd9b9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ui/input.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fbb35feb8a211227214375008b5fc8ab8a218929c6d02d1aa4441e516394ff"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.5:1): \u0060.bg-inline-code\u0060 sets color: #ff7235 on background-color: #f4f6f7 \u2014 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/styles/main.css"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a810d4da93e97f7a8ff8c65b8ce6188e7c6588cd12e2501cb8db3e7bf99b9c3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.video\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":"documentation/src/components/HomepageFeatures/styles.module.css"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace8997f8cd999f910b1da63abbcfa0d87cb67505cf6650776f338f8656a2b65"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.communityCard\u0060 moves (\u0060transition: border-color 0.2s ease, transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/pages/index.module.css"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c70a43a856b08e607f5ac5ee5a31bce025c71be8f795e01817aeedd20f9340"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.navbar__item\u0060 moves (\u0060transition: opacity 0.3s ease, transform 0.3s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/css/custom.css"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"5418eb128a53e4698e07dfd135476db7a2cf014e69fa46a1449448bf898ce56f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.navbar__toggle\u0060 moves (\u0060transition: opacity 0.3s ease, transform 0.3s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/css/custom.css"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0004064b082ea999f6b8610f2a3e0b95a14beb622b847ee5abd7338eee1e09a7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.card-glow\u0060 moves (\u0060animation: rotate 6s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/css/extensions.css"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8802b9e36d2115343ad25393554bdfc39955294591e4c69a9039389936887c78"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.dropdown\u0060 moves (\u0060animation: fadeIn 0.15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/components/SocialShare/styles.module.css"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6158696f4d68856217814d573166c38972063ca04a528a9152e8625ab76a3694"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: Usage: \u0060Usage\u0060 is a data-only domain entity with \u0060pub\u0060 mutable state and no invariant-enforcing behaviour of its own, while the repo holds the logic in a foreign service/manager/use-case \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants (or make it an immutable value object with private fields) rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-sdk/src/bindings.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ad9586fa703b50745be3ba3d56f440830d5b3081e1b8a2a0d54879f0bcdfab"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 12/18 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060crates/goose-sdk\u0060, \u0060crates/goose-sdk/examples/uniffi/kotlin\u0060, \u0060crates/goose-test\u0060, \u0060crates/goose-test-support\u0060 and 1 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060services/ask-ai-bot/utils/discord/server-context.ts\u0060 reports through \u0060console.*\u0060 at line 35 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/discord/server-context.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed649a3f198b6b2ce1d7dcf62e8cdb199cf7a2450eb78054d63b7737c26fce56"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/gooseServe.ts\u0060 reports through \u0060console.*\u0060 at line 18 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/gooseServe.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd1af8a530e75de51ef5da7d6268654db82b8b01c164b6b3b944be56067428e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/gooseServe.ts\u0060 reports through \u0060console.*\u0060 at line 19 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/gooseServe.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1afe4f5bcd916ce7ef9e56ee6e431ab6814c79eb2d67956af7e26bdba422889"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/proxy.ts\u0060 reports through \u0060console.*\u0060 at line 19 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/proxy.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3eb708d95e7d1102ab55cbb80cbff9bdd7d07512672947865af002708b1ce0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/proxy.ts\u0060 reports through \u0060console.*\u0060 at line 26 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/proxy.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"42104861e2723558aafce4c923193d70dd8abee1ceb466d67ac2118a4025cfe7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/toasts.tsx\u0060 reports through \u0060console.*\u0060 at line 188 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/toasts.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c4d45c420b7e66f29ed1d42c0ce4f15a0ea22eeb58e239c45a3fa5057da007"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/utils/csp.ts\u0060 reports through \u0060console.*\u0060 at line 51 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/csp.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"052a6e49f5909cd87c2c745aa7b7b397496570e95f899ea3407c6115b7ca12e6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/utils/date.ts\u0060 reports through \u0060console.*\u0060 at line 21 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/date.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef758c7e01503bcb63fe002b28e5f2cbe7f0e088c42b6165d878b0fac26ac46b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/utils/localMessageStorage.ts\u0060 reports through \u0060console.*\u0060 at line 32 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/localMessageStorage.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"872f9dd030e84985daeba71be7231aefb3fdef06cf1830c428119cac2b18cc76"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/utils/localMessageStorage.ts\u0060 reports through \u0060console.*\u0060 at line 41 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/localMessageStorage.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"691e5268db911f714405a9ba0a2a79d803cd08d89529837998baf20e67528efc"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/utils/recentDirs.ts\u0060 reports through \u0060console.*\u0060 at line 26 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/recentDirs.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"448a67a931d79faf7ef647a55305fe07c15b9a26ceec273b0f8c24d74c675df4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/utils/recentDirs.ts\u0060 reports through \u0060console.*\u0060 at line 35 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/recentDirs.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b28132b843d5f4f1471ade179a86602cad04df59e1ec951b689dac5b452f07"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/utils/recentDirs.ts\u0060 reports through \u0060console.*\u0060 at line 48 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/recentDirs.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6223158249aec25b2aca37eea45effa62376f616d809877f36f30719fea487d1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/utils/recentDirs.ts\u0060 reports through \u0060console.*\u0060 at line 61 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/recentDirs.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0c924b275502cfa29dc0be08562ee1f9d8f05d2eea72e0ed825b1b658bbc9c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/utils/recentDirs.ts\u0060 reports through \u0060console.*\u0060 at line 66 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/recentDirs.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eb9ecc80782c68d5d4360a6f0ec9ec95e6ff8f33e67ed992a90526f66c5823"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/utils/recentDirs.ts\u0060 reports through \u0060console.*\u0060 at line 70 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/recentDirs.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b55e86ac2a1886f201166b796fae2404a7d561e18aa9af2ae3b43f3beda6a0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/utils/recentDirs.ts\u0060 reports through \u0060console.*\u0060 at line 84 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/recentDirs.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2491747f1b5cffdf1600901969a9888db9ee428a5dbd4447651b6c02893d2f0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/hooks/useFileDrop.ts\u0060 reports through \u0060console.*\u0060 at line 60 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useFileDrop.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5e1da425488a0f2f8b0a7ff3a68bb86f172012f7d379bdc94a48fb39c7b2eb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/hooks/useFileDrop.ts\u0060 reports through \u0060console.*\u0060 at line 92 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useFileDrop.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa51d6f8c96807385989375d700c3bfe18755a66fb69a4e1bb75630dbc34b4f0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/hooks/useFileDrop.ts\u0060 reports through \u0060console.*\u0060 at line 105 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useFileDrop.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bae185771e9f7b8c95f3247dff61ff9298596f8bc86b31422d93e229dee6093"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/contexts/FeaturesContext.tsx\u0060 reports through \u0060console.*\u0060 at line 21 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/contexts/FeaturesContext.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b56d7d05ae5465306ac9c90fca98f0df3b86fedbf4aeea3dee8ab0c5d115326"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/contexts/ThemeContext.tsx\u0060 reports through \u0060console.*\u0060 at line 63 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/contexts/ThemeContext.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"957955e7ec1b1e10463ba18d6f4da6e00776486e2abf91f48e3efe98217ea451"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/contexts/ThemeContext.tsx\u0060 reports through \u0060console.*\u0060 at line 85 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/contexts/ThemeContext.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"98eb4d9fc74bd57d4ca31fe65d3019095eec0370b310989c740aea3ca95068ae"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/AnnouncementModal.tsx\u0060 reports through \u0060console.*\u0060 at line 104 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/AnnouncementModal.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09c13dec4a30ac7d8336ca2fafa15b90c02356fbdaaaa1c2ed3ebdc12aebabd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/ConfigContext.tsx\u0060 reports through \u0060console.*\u0060 at line 147 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ConfigContext.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b26f91a561685d1113f80bd75483b3af5001bf27f85fd66b109eda9e9c6b43f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/ConfigContext.tsx\u0060 reports through \u0060console.*\u0060 at line 167 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ConfigContext.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8fb0c1c48faa8453eb65002fdde1cca2539813ded6841a4720d9df507ddc63"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/ConfigContext.tsx\u0060 reports through \u0060console.*\u0060 at line 201 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ConfigContext.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"563c60fa734a34cf3672940355c1a8f021e46810c81da91d91116edcf5d3ef5f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/ElicitationRequest.tsx\u0060 reports through \u0060console.*\u0060 at line 114 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ElicitationRequest.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"07734060632faae324428cbc91937781d1a9482df18cde3fef9f5b0ca3116ea2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/ExtensionInstallModal.tsx\u0060 reports through \u0060console.*\u0060 at line 201 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ExtensionInstallModal.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdf8bef55c6f41f4643d10221ff5a5e645ff73073f4a2421fe388bc7ce2057e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/ExtensionInstallModal.tsx\u0060 reports through \u0060console.*\u0060 at line 314 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ExtensionInstallModal.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8425319ca40852b761558b7379bc9981eb92983aaf06f36a83281964240262e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/Hub.tsx\u0060 reports through \u0060console.*\u0060 at line 168 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Hub.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0a0e7f5515a88cf59a29730c3ee498638484c2315995cb1b4d7672faa6261a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/MarkdownContent.tsx\u0060 reports through \u0060console.*\u0060 at line 159 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MarkdownContent.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e3c05da850e8c5cdde7a6815fce4f84864ed4781f3434b91940c17a74bce33"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/MarkdownContent.tsx\u0060 reports through \u0060console.*\u0060 at line 178 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MarkdownContent.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"20990651cfdfd805b068a290fdcfae67e792b52d5d0aa57e1abd3e87e2de2cb8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/MarkdownContent.tsx\u0060 reports through \u0060console.*\u0060 at line 279 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MarkdownContent.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"401d806c9007d83d09a3347351cd170895399d340b45a55ed0276a0fabd8e43b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/ModelAndProviderContext.tsx\u0060 reports through \u0060console.*\u0060 at line 130 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ModelAndProviderContext.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"51155e799033302e8ed9bfe6b91267aa64d96e328adacc397aac4cf085cd46bc"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/ModelAndProviderContext.tsx\u0060 reports through \u0060console.*\u0060 at line 152 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ModelAndProviderContext.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d79c9b76b9b2847525e2238697acad4be29de366defc86f218df2236d1edc5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/ModelAndProviderContext.tsx\u0060 reports through \u0060console.*\u0060 at line 167 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ModelAndProviderContext.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0537c565ed8e4e51b0007cefd00d350bd6ffd3159d1b19e76392e87ea9055699"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/ModelAndProviderContext.tsx\u0060 reports through \u0060console.*\u0060 at line 224 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ModelAndProviderContext.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4d57a9c1fb325775f704c756d91299d381aaf77bb034bf28df1b4e2e05941f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/TelemetryConsentPrompt.tsx\u0060 reports through \u0060console.*\u0060 at line 59 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/TelemetryConsentPrompt.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d996ee34fc37a08b44cd5b6185dd83b55eb5f1bb4835fa279e19508acbeb33e2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/TelemetryConsentPrompt.tsx\u0060 reports through \u0060console.*\u0060 at line 71 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/TelemetryConsentPrompt.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c61d26ef029dc8583a60caf390858b0d34daf46fdd6cca39eeb832734b8e92a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/ToolApprovalButtons.tsx\u0060 reports through \u0060console.*\u0060 at line 103 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolApprovalButtons.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0c007d3e88e3dcc29af6a456727741c4b2dea6cd08ca531f0c74a107ceb76b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/PromptsSettingsSection.tsx\u0060 reports through \u0060console.*\u0060 at line 140 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/PromptsSettingsSection.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6948fd0e9da016a6784f2c42eb37765d6965313266fba329ae843b3914752bd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/PromptsSettingsSection.tsx\u0060 reports through \u0060console.*\u0060 at line 157 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/PromptsSettingsSection.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c631f578f6cd4bdd04f8b85b416ba5b7e37adee7bf3505fb1312dc68d2a667bd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/PromptsSettingsSection.tsx\u0060 reports through \u0060console.*\u0060 at line 184 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/PromptsSettingsSection.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"91aaf0aba7338619fcc208fefe460e2cb190b1fe796431154bdbc1b95adca8dc"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/PromptsSettingsSection.tsx\u0060 reports through \u0060console.*\u0060 at line 197 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/PromptsSettingsSection.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba185e022d1adc4ae9ff370002d2e04490bc416f30a8f838f82edde70a33cb15"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/PromptsSettingsSection.tsx\u0060 reports through \u0060console.*\u0060 at line 217 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/PromptsSettingsSection.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1247733cde1e959f1d19e7ec775ce29a1748084612970dcabc874ab39cd40e14"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/response_styles/ResponseStylesSection.tsx\u0060 reports through \u0060console.*\u0060 at line 14 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/response_styles/ResponseStylesSection.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfaadd89e6be49fa27eeb3bb3f6424429b77589211985880269bbc5424565b5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/response_styles/ResponseStylesSection.tsx\u0060 reports through \u0060console.*\u0060 at line 25 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/response_styles/ResponseStylesSection.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1824b8b485a44bdfc3aab7c5b65372b77f3685d7bc10224abef9a77d4d1f959"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/providers/ProviderSettingsPage.tsx\u0060 reports through \u0060console.*\u0060 at line 60 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/ProviderSettingsPage.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de176a6ad6ccf267335336bdf1cbcd93f821c686aeed74eb426883f73aaff0a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/providers/modal/ProviderConfigurationModal.tsx\u0060 reports through \u0060console.*\u0060 at line 322 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/ProviderConfigurationModal.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"39be17437c789895100d56808258f7a48fde4c988589e86db731d7899250d190"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx\u0060 reports through \u0060console.*\u0060 at line 510 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"9519d11cdefecb659a86333be26846d90525f1f45f675181084d4ef106980161"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/permission/PermissionModal.tsx\u0060 reports through \u0060console.*\u0060 at line 118 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionModal.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dd28ebb46b639d2f165aecd4d562d461912bc7f0529b95ae1e21471ff9bcfd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/permission/PermissionModal.tsx\u0060 reports through \u0060console.*\u0060 at line 154 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionModal.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecee5dd4664834996cbe25988a9388eaaeb1512644bd1f89658c8da45164f03"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/models/modelInterface.ts\u0060 reports through \u0060console.*\u0060 at line 67 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/modelInterface.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fac556cecabd79d7667ee706baf4f33aee39a869aae9343f3e691ff4b123b0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/models/predefinedModelsUtils.ts\u0060 reports through \u0060console.*\u0060 at line 11 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/predefinedModelsUtils.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"01722024defdb2f5a9a45184e4a56ebcc8833bc0bca4dde0e0660b268952d302"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/models/ModelsSection.tsx\u0060 reports through \u0060console.*\u0060 at line 70 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/ModelsSection.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"48445b7364490e688229ad401fec490c29a77db9a55a3fddb727c5f493dee71c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx\u0060 reports through \u0060console.*\u0060 at line 336 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e2547ceb344c145cbab0ef282428de193cce8aa1572cb6aac44e41cebf0e76"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx\u0060 reports through \u0060console.*\u0060 at line 504 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cc85542e7d60b499b2214b903b3d121832f8f2c39867db336fcf5e1575942d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx\u0060 reports through \u0060console.*\u0060 at line 588 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecf33ebfe2dc93b4b727054486171cda39b634d73285475bdfce870b12a2e13"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/models/bottom_bar/ModelsBottomBar.tsx\u0060 reports through \u0060console.*\u0060 at line 149 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/bottom_bar/ModelsBottomBar.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f402a5d5ea380243d121e187faa974d4a2d17173e21ec5f1b68bbc9fe1bb25e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/mode/ConfigureApproveMode.tsx\u0060 reports through \u0060console.*\u0060 at line 86 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/mode/ConfigureApproveMode.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f473992a0940bc5fcfb064d80c27cae7f70862f086d1543fa7d04a98b7c26b88"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/mode/ModeSection.tsx\u0060 reports through \u0060console.*\u0060 at line 14 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/mode/ModeSection.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f216a1479b790ffe2397b396e9a3affcc305441ae5a8d205f76e3f960614ece0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx\u0060 reports through \u0060console.*\u0060 at line 170 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84fab2c036ab804844b1a267b2e8b26975a5afb136848837839599a4af925ba"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx\u0060 reports through \u0060console.*\u0060 at line 207 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78d53e1c4483508ee584a816be394c3b03dcf51f1c22d7e1993ba80c50dca9f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx\u0060 reports through \u0060console.*\u0060 at line 230 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7937a159cba891829b724d4bd96cd0fed9534287ec07d03cdac88b005a342c06"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx\u0060 reports through \u0060console.*\u0060 at line 204 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"deddb3609887f082da41194717ab6225d79fec719e2a8f1cd7e3551d3423727e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx\u0060 reports through \u0060console.*\u0060 at line 233 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"80619588d952615ab6b9ecc35e232792ac874e277b2797e59c5d116ff80597f5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx\u0060 reports through \u0060console.*\u0060 at line 293 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21fdbd39cf9e370f0f8ea70d9e46c47d46d4cff8b60ae325b09f188c5102d33"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx\u0060 reports through \u0060console.*\u0060 at line 319 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9d73fb493e10ca956e2333d64acdc3da70d8aff1df86e88cb1d8b1a59987a2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx\u0060 reports through \u0060console.*\u0060 at line 338 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"67922bfb7d82c51ea251c8d34cb5ad4366e2c75e891cdbd8f57588bf7a70c917"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx\u0060 reports through \u0060console.*\u0060 at line 348 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fa0401366fa4bcba79f068a78ad58c980a889f9bb96853649d9a24b8bba6fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx\u0060 reports through \u0060console.*\u0060 at line 441 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dc7060ba0dd435999f7bb23ce3afb95d6e6f8a73c1679ac970d1d7d3a8b824"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/extensions/bundled-extensions.ts\u0060 reports through \u0060console.*\u0060 at line 128 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/bundled-extensions.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a36bba4b3c0d0be0595e27d02f579865006959dd75f1edb199b260ec53ca7d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/extensions/extension-manager.ts\u0060 reports through \u0060console.*\u0060 at line 35 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/extension-manager.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3842c0c0aef5adbdaf1bc6ac0a88e12e8987588292f7329c5a28df4764eabf82"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/extensions/extension-manager.ts\u0060 reports through \u0060console.*\u0060 at line 67 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/extension-manager.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9953c8d90c8aaf098cbb5bda5f295cd456429f2562901831b48eddaf9f5dab74"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/extensions/extension-manager.ts\u0060 reports through \u0060console.*\u0060 at line 100 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/extension-manager.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f818399b1eb0ebe96fda8dbf491578f3e787fbaf9fc19bb3df4160653ab1a7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx\u0060 reports through \u0060console.*\u0060 at line 250 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa69bc0a6d22e68f3ec32fdd63745238cd149e2361a5b700cf67d0b79a6e4c98"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx\u0060 reports through \u0060console.*\u0060 at line 366 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"1844616992a9a03520f320575e349b8ea0a8c09da71e7d89871dc26d0c09b1de"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx\u0060 reports through \u0060console.*\u0060 at line 369 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87e52ed2af8a6a5dceeb3256a34dc28ece2b49f7d7d4cce1aa55c306e911a9c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/dictation/LocalModelManager.tsx\u0060 reports through \u0060console.*\u0060 at line 98 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/LocalModelManager.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"038fee2703bce1423f42cab4d14646d0d4d7c32790efb12137c0694d61cc3b3b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/dictation/LocalModelManager.tsx\u0060 reports through \u0060console.*\u0060 at line 113 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/LocalModelManager.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"244b5adde46f715f54352e9e57f523e33a6da388a25b2bbf519ce30c5f4cf203"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/dictation/LocalModelManager.tsx\u0060 reports through \u0060console.*\u0060 at line 122 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/LocalModelManager.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a623e924ab6f949542892fce499e2a79e64381667c1566e4187a4636293dc5b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/dictation/LocalModelManager.tsx\u0060 reports through \u0060console.*\u0060 at line 161 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/LocalModelManager.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c42cd648e54ea955e2cd257e53789c48bbc382564961c070b866b324964fb1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/dictation/LocalModelManager.tsx\u0060 reports through \u0060console.*\u0060 at line 176 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/LocalModelManager.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b52e056b7434545f9417fdc4c999993e6ca7cc5ebc48a9b54fd56b8bd6e5dc1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/dictation/MicrophoneSelector.tsx\u0060 reports through \u0060console.*\u0060 at line 86 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/MicrophoneSelector.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"488416617db2d64ee0e802b6a1bc11b630aec7bac01e9260ba053dcaac346f5c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/dictation/MicrophoneSelector.tsx\u0060 reports through \u0060console.*\u0060 at line 102 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/MicrophoneSelector.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"766a9efd08ff2ea99902095018b1303a689036dff8171ee0b9c8930bc5188edb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/dictation/MicrophoneSelector.tsx\u0060 reports through \u0060console.*\u0060 at line 172 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/MicrophoneSelector.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde31fca5de101fe01ad972a912df02ddc53420d2c01e4a02bb57a5247d4d503"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/config/ConfigSettings.tsx\u0060 reports through \u0060console.*\u0060 at line 153 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/config/ConfigSettings.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73e0680fcc780764c8cae4ed2d8347605ecfd066e3f9d9bf4fc5e99afcd3f0f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/chat/GoosehintsModal.tsx\u0060 reports through \u0060console.*\u0060 at line 173 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/chat/GoosehintsModal.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1508188f7e8dcf962e2270e45f0b84779d5859707d2ea76e0c19343f05802d7f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/chat/GoosehintsModal.tsx\u0060 reports through \u0060console.*\u0060 at line 192 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/chat/GoosehintsModal.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c2b7b4ed51ff74d4758b0c7e9ed315629c9faed77639e866fabf9fbe20abc1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/app/AppSettingsSection.tsx\u0060 reports through \u0060console.*\u0060 at line 326 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"666037dc147a6c1de25378534df14fbce02f5a65782f009c360b988503898f30"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/app/AppSettingsSection.tsx\u0060 reports through \u0060console.*\u0060 at line 370 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb417806ec7697dac95616063dd7002a64afd88554cef375dd89cd70ec50281"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/app/ExternalBackendSection.tsx\u0060 reports through \u0060console.*\u0060 at line 147 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/ExternalBackendSection.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9cc98292879ab1af241072ab5703e9151ce2e4b359600f85fbeec2ef4cee7b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/app/TelemetrySettings.tsx\u0060 reports through \u0060console.*\u0060 at line 63 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/TelemetrySettings.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"60804f96767736089b06353f81cc64eff9ade9c727b9544fea472afe7b595994"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/app/TelemetrySettings.tsx\u0060 reports through \u0060console.*\u0060 at line 85 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/TelemetrySettings.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb421887848e22756a69b7e3dba1ab608fa15d76a70f4ddeba24c51818ddb20f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/settings/app/UpdateSection.tsx\u0060 reports through \u0060console.*\u0060 at line 228 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/UpdateSection.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af6aaae58da5431674c605052a84d5e11cc460762b6ae8297dca2a53d7e49cf"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/schedule/SchedulesView.tsx\u0060 reports through \u0060console.*\u0060 at line 259 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9fc99c275504085114c08dce782171b4a1cd402c784972021852b76debc970"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/schedule/SchedulesView.tsx\u0060 reports through \u0060console.*\u0060 at line 327 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefead4be4911b42c603d38892f3bea99ad501dd3ae06310b81ea51937baac81"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/schedule/SchedulesView.tsx\u0060 reports through \u0060console.*\u0060 at line 357 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5d1bf5f4125962d549b2283d66a4ee2bd7fc2fc28e5bed63ae71f9abeb8ac6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/schedule/SchedulesView.tsx\u0060 reports through \u0060console.*\u0060 at line 382 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"637928155082bf4821ccd3e1865d10eb5ce9d302f4382865917e0b23d8f3a723"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/schedule/SchedulesView.tsx\u0060 reports through \u0060console.*\u0060 at line 410 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b20baffa60c7b1327b4e8c7b29059063a25b6efb3abedc5519578fb688abc1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/schedule/SchedulesView.tsx\u0060 reports through \u0060console.*\u0060 at line 438 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4c0362465ddc4006364124f80505bbcdf3898d9a0b53fcb6f2d2ad81626086"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/schedule/SchedulesView.tsx\u0060 reports through \u0060console.*\u0060 at line 475 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f361a4ded964f2949cf6cf2d3292b4c6539a6df6292599f794c0d35bde320cdb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx\u0060 reports through \u0060console.*\u0060 at line 241 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f67474377238763cf9fb3f711e86b9293a825660415bf12f325478bbf7349e9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx\u0060 reports through \u0060console.*\u0060 at line 364 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b2c80487e3416566df44e6eba5de739f528cedf7d79d424d82dd621da2b49f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx\u0060 reports through \u0060console.*\u0060 at line 407 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b7dedffd1c9c622cac18434a23ddc10de13277c030746e7901cc0f5a93365c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx\u0060 reports through \u0060console.*\u0060 at line 433 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b053b062a67c73bcdfb77cdd60a36205a81150f052a4ddaf28af364ff1ccd8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx\u0060 reports through \u0060console.*\u0060 at line 471 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"f278e9f05cbf622d362822b74f891477ac08e3c804c59ed814e8112df6edb4e5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/ImportRecipeForm.tsx\u0060 reports through \u0060console.*\u0060 at line 156 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/ImportRecipeForm.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a8e0580d061edddaa8ae7576d82baa9700b32076e8886db4ec868024fd0b7d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/RecipesView.tsx\u0060 reports through \u0060console.*\u0060 at line 376 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a08c2103e1214815ffd494f2f258d56389cbcb844829eec9ff29bfe026f851"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/RecipesView.tsx\u0060 reports through \u0060console.*\u0060 at line 401 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dcc570e0b600389f75771cf1f47e0d0a8930b1dedee1c9190cc854bfde49e7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/RecipesView.tsx\u0060 reports through \u0060console.*\u0060 at line 417 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2655dafc04e6bd93e04928e3d03d363de76c99aa627fda1582e4e414b94f40fd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/RecipesView.tsx\u0060 reports through \u0060console.*\u0060 at line 445 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e5957ec1b4cab151ebe1d662553545bba648dda0e36ca2b4cd7eb5bbaf9272"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/RecipesView.tsx\u0060 reports through \u0060console.*\u0060 at line 475 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5490653ef6434cfe1a63e04d976d1e3b986ffd43a4f6b45ff2105e1e535ff7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/RecipesView.tsx\u0060 reports through \u0060console.*\u0060 at line 499 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9effb6b47efdb5464596ad7d0002045cf140b3734c4a0c258e95e6592303df6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/RecipesView.tsx\u0060 reports through \u0060console.*\u0060 at line 541 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"197c4fc11abc2c1abee0fc3619b7b6ec51f3a2de7c63a4ce63f0fb65c49540fd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/RecipesView.tsx\u0060 reports through \u0060console.*\u0060 at line 574 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"4562e34fbdb0f1e3b416a180e79f61f250ac3900a08c0854c197cb1ae05b0759"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/RecipesView.tsx\u0060 reports through \u0060console.*\u0060 at line 597 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ff47a9a94e2299cf1756ed1c5d0f3270442999a401e603cd7b4b0943a82a91"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/RecipesView.tsx\u0060 reports through \u0060console.*\u0060 at line 634 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"2031fb424182d92cfb6c08b793a625d42e5ddb27dcad4a19d6b2cbd4bfd43e87"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/RecipesView.tsx\u0060 reports through \u0060console.*\u0060 at line 657 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e21c275928718a774d3d06f321529adc806fa0012a0daf3ff2178663a33f8a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx\u0060 reports through \u0060console.*\u0060 at line 220 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4402e72c1cc307698c3824abb17163f96d62b52c858e1af97c6a7ce36f36006c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/shared/RecipeModelSelector.tsx\u0060 reports through \u0060console.*\u0060 at line 128 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeModelSelector.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cb7f6ee439426315a82821c25421ee88b1f98fcfd288baa86331b4fd0b4f82"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx\u0060 reports through \u0060console.*\u0060 at line 169 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"259d09d6b88c2a2c9842574b28e1045bfaf13351cf4f2766a19a8b764b1e80ab"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/onboarding/LocalModelPicker.tsx\u0060 reports through \u0060console.*\u0060 at line 131 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1f1ee431c3b9af3702c2e6e18a2925414bfcef12b718c818beb59688198069"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/onboarding/LocalModelPicker.tsx\u0060 reports through \u0060console.*\u0060 at line 202 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f528adc89e4ecdb4ba492a44bc3355f99317708d00b0dc355a4b0b9c8465317"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/onboarding/LocalModelPicker.tsx\u0060 reports through \u0060console.*\u0060 at line 227 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5097bf135a96435c5ac6a87c25eff05aae5564d508e5e5559bbf54b84ed7d92a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/onboarding/OnboardingGuard.tsx\u0060 reports through \u0060console.*\u0060 at line 93 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/OnboardingGuard.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a301c62522314fbeab77162d5cb8355d638284df57abc2e074d2a7643c5eacb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/onboarding/OnboardingGuard.tsx\u0060 reports through \u0060console.*\u0060 at line 131 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/OnboardingGuard.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6624c1c842c8d98880a436af07cffb1f61b1b119d53a2e89e91761a3746fef38"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/onboarding/ProviderSelector.tsx\u0060 reports through \u0060console.*\u0060 at line 79 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/ProviderSelector.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad582c810daff563f7a00951010b9d2c225ad48e30c5940179c0fb1f643648f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/context_xray/ContextXrayDialog.tsx\u0060 reports through \u0060console.*\u0060 at line 109 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/context_xray/ContextXrayDialog.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2782ac9e03eb5bd9d65c2d0c86209041b5ed663e069b50730d419c1aec64f1e6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/common/InlineEditText.tsx\u0060 reports through \u0060console.*\u0060 at line 112 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/common/InlineEditText.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f93bec49192f6a5f99adaad874f1bd48e96ba933a6950ed104143274c551817"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/bottom_menu/DirSwitcher.tsx\u0060 reports through \u0060console.*\u0060 at line 131 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/bottom_menu/DirSwitcher.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df2d5fde4470ffea3c23e5db2a32f8a81d88c8a72b9d5b11377b064d8779420"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/apps/StandaloneAppView.tsx\u0060 reports through \u0060console.*\u0060 at line 62 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/apps/StandaloneAppView.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5931cb5946770ad187852234787f8ce69fb265a3e06111e717b17f5e442f1a05"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/apps/StandaloneAppView.tsx\u0060 reports through \u0060console.*\u0060 at line 81 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/apps/StandaloneAppView.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9398fd1c38167b456424cc48b9114c7b827148e0065c9062691b220847216270"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/components/apps/StandaloneAppView.tsx\u0060 reports through \u0060console.*\u0060 at line 103 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/apps/StandaloneAppView.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8892045b6181a3a58152dfd7df285504812020890d5dd721c88220d53431fee9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/acp/chatSessionController.ts\u0060 reports through \u0060console.*\u0060 at line 170 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/chatSessionController.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dc3168d7cb514e6fbd1aa306a2fdbb0ef4436395c7541833293f55b873b33e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060ui/desktop/src/acp/chatSessionController.ts\u0060 reports through \u0060console.*\u0060 at line 237 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/chatSessionController.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ee22f4a59590f285b1a906849942a52c3b443baf6a7ee2f9b87b7f6170e586"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch bun/uv/gradle: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060bun\u0060, \u0060uv\u0060, \u0060gradle\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8feb8f3516d13d4c7502d292e6a59dc2b4719d82ff379e768145e73e2ad9cea"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/update.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bf4ce106130747c788aaa1a5aa37ff80b153775ec063fcd0582c8916ba35bf"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/update.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47200f985e5289802f0cd7652f71f6063811892facc0e06dd6a97b0f902fe30"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/streamable_http.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e303dd836ecfcf7e82c7978ba92e6a3cfdcf4f348164940454d65a214c12d94e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/bin/build_canonical_models.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92bea1f4ce67fbdc5bab0a5784e3dc5a67db1b0d38c8b03094135aeea494e76"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/posthog.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08339336a336d9aacfe6ade6f6640af555a00acdf51a99acfc53a6eb034c741"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpauth.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c295756de9135c2ef59787da6bd014793b4be2201381cd806674d9e2ebb96c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpauth.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82edb5911b728b3dcb4a5b0c0a03406832a2928f38f99fcbf95c5c2ca9586ea"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/scripts/community_stars.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"022958522a9f025a6a1f734d170ffa2d74713cb9691ed9699010296fb77d756e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/scripts/community_stars.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb37609ceaf45a6a6a53b94be4e509a1a42298ca2ec841a60ebaf3a15e16554"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/scripts/community_stars.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2710b3a7e23b890478c983d5cc943ce217e391c2dd97385ca147ccf9e7aaaaa3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/utils/github-stars.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2d92179dcdf361098a7d1964b00b65a81deeeaa9d67f157d09ddbafee25017"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/utils/mcp-servers.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59b96cdcd93ff24e635432bc7032a0d5dc2ea4922d79b99e18761acdc2aa773"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060export\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/otel/otlp.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90c148951c52bc042c9c3cb60fe9a69709e44c32479f8453920f36ed27f41aa"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060export\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/otel/otlp.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95cc1775ce5032bc4783edffc4deb66a724c03a63564fd5abd8847db4b9345a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060export\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/otel/otlp.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9befefabe74853b8213b343a1d9a40bd398d6befc79a0f0eec5c2319fb719fa"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execute_with_slots\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/javascript.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df81a908c85e26d77486a69ee3d6234213ac34b99c2dcec619e53f20a8b35b4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060postBuild\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/plugins/markdown-export.cjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"239d7ef0e1c9768a839d2c8f0d108bb1b853a4be0126ec7762416ff794f3c95b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060postBuild\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/plugins/markdown-export.cjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ee9ba35ec7872de675ef972e9181612d8493129f331b00e026022b97458366"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060postBuild\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/plugins/markdown-export.cjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a2c985e657f7fb893eb2c9949402617862465e83c27ff437e8762927e600cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 13 sibling directories (46 clone groups): 46 duplicated blocks under ui/desktop/src/components/ have copies in at least two of the sibling directories Layout, apps, bottom_menu, common, extensions, onboarding (\u002B7 more sibling(s) not listed) \u2014 17 of them are reported below, and 29 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 46 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 46 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 46 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/ProviderConfigForm.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6555a633aa32ac9b2d48d780776e4e2b1de8c4fcd3b1dd78f8d8a1714510e24c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 13 sibling directories (24 clone groups): 24 duplicated blocks under ui/desktop/src/components/settings/ have copies in at least two of the sibling directories app, auth, chat, dictation, extensions, keyboard (\u002B7 more sibling(s) not listed) \u2014 11 of them are reported below, and 13 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 24 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 24 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 24 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/LocalModelManager.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e421a4385f07d19bacad69511685e7c2d6b4a9605e714ce3429108b5d6afdea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (128 matched lines \u00D7 2 locations): ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx:34 \u00B7 ui/desktop/src/components/settings/extensions/modal/HeadersSection.tsx:38 \u2014 the two spans are one implementation copied and then locally edited \u2014 826 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63d492aff67d7cb561d25c03d4a9f58ece02f9f20cbd55edf4a7fb06d91924d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (123 matched lines \u00D7 2 locations): ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx:155 \u00B7 ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx:111 \u2014 the two spans are one implementation copied and then locally edited \u2014 723 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31c2922da9337441fdf4957d81d821a4eab3423781d10d105e20bee809bc19f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (97 matched lines \u00D7 2 locations): ui/desktop/src/components/recipes/shared/InstructionsEditor.tsx:33 \u00B7 ui/desktop/src/components/recipes/shared/JsonSchemaEditor.tsx:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 478 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/InstructionsEditor.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"44232ca91b7dc6d0c8502d41968d5a9dab70072ea769b7bbe3dcd0caaac4b5f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (87 matched lines \u00D7 2 locations): ui/desktop/src/components/schedule/ScheduleDetailView.tsx:100 \u00B7 ui/desktop/src/components/schedule/SchedulesView.tsx:237 \u2014 the two spans are one implementation copied and then locally edited \u2014 579 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleDetailView.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12bf8fa6f2adee633dc0240dd7c8b8930a92a91f5904c95131c16e5f93ecf71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (71 matched lines \u00D7 2 locations): ui/desktop/src/components/settings/dictation/LocalModelManager.tsx:60 \u00B7 ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx:152 \u2014 the two spans are one implementation copied and then locally edited \u2014 477 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/LocalModelManager.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ea504a027e24457a3a8baedbd3b14c1525917c2581d4fb3c037d07b4d13f0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (53 matched lines \u00D7 2 locations): ui/desktop/src/acp/recipe.ts:9 \u00B7 ui/desktop/src/acp/schedules.ts:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 349 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/recipe.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"437af2430603c0f7e07993f939b3ddaffa530b6f3e48fd722f3e4388791c6453"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2 locations): ui/desktop/src/components/onboarding/ProviderConfigForm.tsx:111 \u00B7 ui/desktop/src/components/settings/providers/modal/ProviderConfigurationModal.tsx:393 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/ProviderConfigForm.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b7cfee94deee8fdc7a22477139c91d40871babc8d4e680e964eeb0b4dd3287"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): ui/desktop/src/components/settings/security/SecurityToggle.tsx:390 \u00B7 ui/desktop/src/components/settings/security/SecurityToggle.tsx:467 \u2014 the two spans are one implementation copied and then locally edited \u2014 216 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9f11bb7ffcb86f3175ea9272277f780b5f3831325b10156b7dbb0355b9bc45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): ui/desktop/src/components/recipes/RecipesView.tsx:853 \u00B7 ui/desktop/src/components/skills/SkillsView.tsx:155 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e52bd28fd9c90d336ad01b4a224ea8b217b3a09fb56eb32a2ace627283107d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): ui/desktop/src/components/extensions/ExtensionsView.tsx:146 \u00B7 ui/desktop/src/components/settings/extensions/ExtensionsSection.tsx:213 \u2014 the two spans are one implementation copied and then locally edited \u2014 186 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/extensions/ExtensionsView.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e11230027b17ac5a36c0644841edef0f07d610fe0dedde6bc9589a0a2fb366e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): ui/desktop/src/components/recipes/RecipesView.tsx:567 \u00B7 ui/desktop/src/components/recipes/RecipesView.tsx:627 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"98557432c72254c7fa52b4957199f8d096cefc17e429fd37ca7afb640a8952f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): ui/desktop/src/utils/autoUpdater.ts:156 \u00B7 ui/desktop/src/utils/autoUpdater.ts:477 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b8b28fc41879f17a1c0965c1eb392bbb47ec52ff9798a996c97c1b0017127a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): ui/desktop/scripts/generate-mac-update-manifest.js:53 \u00B7 ui/desktop/scripts/generate-windows-update-manifest.js:44 \u2014 the two spans are one implementation copied and then locally edited \u2014 200 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/generate-mac-update-manifest.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e688a3d8e8e39b7ed9bfae1aa0e1ccbbe2a6592502990a3f264642cd5311adb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): ui/desktop/src/components/onboarding/ProviderConfigForm.tsx:178 \u00B7 ui/desktop/src/components/settings/providers/modal/ProviderConfigurationModal.tsx:258 \u2014 the two spans are one implementation copied and then locally edited \u2014 202 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/ProviderConfigForm.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea7ddc320f00f7271124fb14a5cc38164f633659df783be001cd59e5486d645"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): ui/desktop/scripts/generate-mac-update-manifest.js:14 \u00B7 ui/desktop/scripts/generate-windows-update-manifest.js:19 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/generate-mac-update-manifest.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9803fae1bea598e8dd4e27aca7ef25bbb9b0475540e5fe5e610d870cc4c5bbe1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx:244 \u00B7 ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx:273 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafb02232566b48956e57580fc6b4466f9da1126c8c0e826dcfd1693abd34780"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): ui/desktop/src/components/conversation/SearchView.tsx:214 \u00B7 ui/desktop/src/components/conversation/SearchView.tsx:242 \u2014 the two spans are one implementation copied and then locally edited \u2014 114 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/conversation/SearchView.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ad183c64d42bab6e4d2987eef42c42c85dd7eccd39562a475cc545f1e9666d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4 locations): ui/desktop/src/components/icons/CodeXml.tsx:1 \u00B7 ui/desktop/src/components/icons/Cog.tsx:1 \u00B7 ui/desktop/src/components/icons/GalleryHorizontalEnd.tsx:1 \u00B7 ui/desktop/src/components/icons/Grape.tsx:1 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/CodeXml.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5856f8a0ed69c8d99cee8e27e5c4b3eaad40578e5181d6a9ad3dd6fe062abc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): ui/desktop/src/components/icons/Fuel.tsx:1 \u00B7 ui/desktop/src/components/icons/Gavel.tsx:1 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/Fuel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeedff496ea2c21475422cc2f34b8e9ce81045a9a1f3cc788a88f7a5306f944e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): ui/desktop/src/components/TelemetryConsentPrompt.tsx:91 \u00B7 ui/desktop/src/components/onboarding/OnboardingSuccess.tsx:83 \u2014 the two spans are one implementation copied and then locally edited \u2014 148 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/TelemetryConsentPrompt.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"92883dc6300884f7e7115c367723445603635e672f0f32b99edd57e2070b03b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx:358 \u00B7 ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx:408 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbd479a8dc1a50c44ee406cccfed402f404df817ac1038f77e020636f710a52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx:20 \u00B7 ui/desktop/src/components/settings/permission/PermissionSetting.tsx:21 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e0a344adcc342ee7346c9d2ee29317482c7d116f60765c0113527bfb6afba6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx:65 \u00B7 ui/desktop/src/components/settings/permission/PermissionSetting.tsx:62 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a16891dcbc796b6d360d5b5708925f69877fa7149cefe65725d9f7df86ca76b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): ui/desktop/src/components/recipes/RecipesView.tsx:468 \u00B7 ui/desktop/src/components/recipes/RecipesView.tsx:492 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"3945eb5d2057bb31239cc4f5fd7f1ee633b72f8f30aaefbd1154b6142c2ee3bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): ui/desktop/src/components/schedule/SchedulesView.tsx:378 \u00B7 ui/desktop/src/components/schedule/SchedulesView.tsx:406 \u00B7 ui/desktop/src/components/schedule/SchedulesView.tsx:434 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"396e3f542cfbd13f97aa94b19132cc896770e28b945b407b7b713a0c8e41970c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): ui/desktop/src/components/sessions/SessionListView.tsx:885 \u00B7 ui/desktop/src/components/sessions/SessionListView.tsx:936 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfa439bfeeb46eac781b88e50183a0f58ae9426e2d3070b8108ca649095a188"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:527 \u00B7 ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:677 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"619161ac262339f094b0926ef495a8cb3ebf9ed0933fa272337cf7a7f3e44fe2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): ui/desktop/src/main.ts:588 \u00B7 ui/desktop/src/main.ts:665 \u2014 the two spans are one implementation copied and then locally edited \u2014 163 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e741738a80dec076d678780bc5ee4b835b1efac084b63d629f2f2b4d09a9bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): ui/desktop/src/acp/capabilities.ts:18 \u00B7 ui/desktop/src/acp/capabilities.ts:39 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/acp/capabilities.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f32b1a92bf2cf5892b1c86e4831c9aebd91df46139846b4e11f4fd5b4d7d577"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): ui/desktop/src/components/settings/extensions/agent-api.ts:16 \u00B7 ui/desktop/src/components/settings/extensions/agent-api.ts:55 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/extensions/agent-api.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"154db2303385e8c2b4165a08788895f9e4d42133566d1dad099e28301f37e6e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:669 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:696 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:798 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"347d9ba47de58f92efd481bc096400b1e5d98124f77519e07ee4fb10037c46ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): ui/desktop/src/components/GooseMessage.tsx:107 \u00B7 ui/desktop/src/components/GooseMessage.tsx:206 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/GooseMessage.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b4bf2c652f77a54b4bb0e3492a25ea961721ff4feae041a7f24bbabea36bd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): ui/desktop/src/components/onboarding/ProviderConfigForm.tsx:63 \u00B7 ui/desktop/src/components/settings/providers/AcpReadinessPanel.tsx:40 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/ProviderConfigForm.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fae511d6fd040b4238f23abe402e0ef8b87999fce59f22fcc40a29ca57731f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): ui/desktop/src/components/recipes/RecipesView.tsx:706 \u00B7 ui/desktop/src/components/recipes/RecipesView.tsx:788 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d7b257ea226ccea178eded87599f3b937b84943501dd157d37c5d792a9568f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderSetupActions.tsx:137 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderSetupActions.tsx:156 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderSetupActions.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"663a746349e8a018f3df4b95882c863e869bb632556331183989b0a1a52fa529"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): ui/desktop/src/desktopFileAccess.ts:159 \u00B7 ui/desktop/src/desktopFileAccess.ts:261 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/desktopFileAccess.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"976da7ffb512bcdd4bcb919f31af21597e08e8da0b8b66024af30408239edb86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): ui/desktop/src/components/ChatInput.tsx:1588 \u00B7 ui/desktop/src/components/ChatInput.tsx:1646 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d712ee0a0ceb4bd45ee4975d8b70af71d646fb42a0e70c88e7ebb06a159dda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): ui/desktop/src/components/schedule/CronPicker.tsx:249 \u00B7 ui/desktop/src/components/schedule/CronPicker.tsx:288 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da948f31b43df622b38d441b017b7405d940a17ea3bf4df1c68e77b99dab7bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): ui/desktop/src/components/settings/extensions/modal/ExtensionConfigFields.tsx:53 \u00B7 ui/desktop/src/components/settings/extensions/modal/ExtensionConfigFields.tsx:75 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/extensions/modal/ExtensionConfigFields.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1075803f78b7860a9f4a99386c575c3e541b7f5231a2594992b7439b23ba181"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): ui/desktop/src/components/settings/security/SecurityToggle.tsx:136 \u00B7 ui/desktop/src/components/settings/security/SecurityToggle.tsx:157 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab34b83a0312189e7387bb607880f4e88b1b63fb5ee86039b17b6965e2c422f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): ui/desktop/src/main.ts:1097 \u00B7 ui/desktop/src/main.ts:1138 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e77ef989becc9dd3fab043e1ea282eadcd299e77ff344ba3bb2b44fbd70eeee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): ui/desktop/src/components/SessionActionsHeader.tsx:443 \u00B7 ui/desktop/src/components/SessionActionsHeader.tsx:482 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefd43b2d87c5665bb57e2dc6834a6c40698c4066a29cab7530e6ec7fbffd6c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): ui/desktop/src/components/recipes/shared/RecipeModelSelector.tsx:100 \u00B7 ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx:529 \u2014 the two spans are one implementation copied and then locally edited \u2014 104 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeModelSelector.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9e8a150496343e9eeb5cd5221af1a5047dfa5de72420b01b4e1ab3492c5bff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx:150 \u00B7 ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx:181 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"69165a8a7cb113799f8c86bd7cfeae2d47139ca9aa8098ee3f66dda7a65e7c4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx:110 \u00B7 ui/desktop/src/components/settings/permission/PermissionSetting.tsx:107 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b075b387f79630127414bade8155c505f6ce74bc13a5aeb6e29d48456124a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): ui/desktop/src/acp/adapter/tools.ts:117 \u00B7 ui/desktop/src/acp/adapter/tools.ts:143 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/adapter/tools.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0087115b7899c9f969dc271cfa1956010eef2d1488da7edc0483067bc33cb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ui/desktop/src/acp/recipeParamRequests.ts:39 \u00B7 ui/desktop/src/recipe/consent.ts:17 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/recipeParamRequests.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"72702365e66fbdcd584ceb69f6a0e386b27525de5862c95d1f9ba22a5c9dcc7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ui/desktop/src/components/ElicitationRequest.tsx:141 \u00B7 ui/desktop/src/components/ElicitationRequest.tsx: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":"ui/desktop/src/components/ElicitationRequest.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7a8b93fc3f397a53c8858cb37241feed8573bbe2a97fa4fe07fa4601cf4ced"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7 locations): ui/desktop/src/components/icons/Watch0.tsx:1 \u00B7 ui/desktop/src/components/icons/Watch1.tsx:1 \u00B7 ui/desktop/src/components/icons/Watch2.tsx:1 \u00B7 ui/desktop/src/components/icons/Watch3.tsx:1 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/Watch0.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a629520c875c48213a216fe86656f9cf0aa5c9978f62862d57ae5ba790264c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ui/desktop/src/components/onboarding/ProviderSelector.tsx:138 \u00B7 ui/desktop/src/components/onboarding/ProviderSelector.tsx:156 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/ProviderSelector.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c179c0d3553c83c2c445bad3b624b2b152cad1a8f846ad7a5c4bf7975e6851b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx:429 \u00B7 ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx:467 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b19abc09b823a4aa6c2953681e2409e086b755d84924010fad2b48a2494839d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ui/desktop/src/components/schedule/ScheduleDetailView.tsx:194 \u00B7 ui/desktop/src/components/schedule/ScheduleDetailView.tsx:212 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleDetailView.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"65de7afe051300821aedf043275e83e2730e0783a580dc31c076f4f8bca8f621"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ui/desktop/src/components/settings/app/UpdateSection.tsx:239 \u00B7 ui/desktop/src/components/settings/app/UpdateSection.tsx:258 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/app/UpdateSection.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"409cc8356ca35550433b7323de5e2d4ef8f9f123057c71830fbb45b867bf7343"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx:483 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:970 \u2014 the two spans are one implementation copied and then locally edited \u2014 98 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1037d0ec5eb2672fabf7a7908a7e57628b2400225376bd8609353d28bb141d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ui/desktop/src/components/settings/extensions/subcomponents/ExtensionList.tsx:78 \u00B7 ui/desktop/src/components/settings/extensions/subcomponents/ExtensionList.tsx:100 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/subcomponents/ExtensionList.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d824ece80e4661757f24093699d118623a04cea0668f1a4f88d8c77ce236659"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx:439 \u00B7 ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx:456 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"08624af6c089c5a5edbe6990f58f7ef11011464517dfff6a440ec2937d67cf96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:532 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:549 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0741b0e01b5e12e5d6edb822cba535bbb0c71460f0692ac00634e727b597218"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:634 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:664 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:691 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7516fbdb3faf1c7de2a8d19bfddebf5225c91b9f62111dc773645dc7cc4fc33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ui/desktop/src/main.ts:1664 \u00B7 ui/desktop/src/utils/autoUpdater.ts:815 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5ba922ec2747314b1ed3276b15f48ba28cfb06475b19f225806800518c1acc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): ui/desktop/src/utils/analytics.ts:352 \u00B7 ui/desktop/src/utils/analytics.ts:369 \u00B7 ui/desktop/src/utils/analytics.ts:386 \u00B7 ui/desktop/src/utils/analytics.ts:403 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/analytics.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec41fd0190227b654cfbc5fd5a048209bc87334ea90773795592e739580bd6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): services/ask-ai-bot/utils/ai/tools/github.ts:61 \u00B7 services/ask-ai-bot/utils/ai/tools/github.ts:88 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/tools/github.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee133ce11cd1ffd04864bc295b98304b13a1d5c2eeff191e8d2ba759ec63655"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): ui/desktop/src/components/MessageQueue.tsx:271 \u00B7 ui/desktop/src/components/MessageQueue.tsx:346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageQueue.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"549c0716bc2a6015fe04b00737bd372250be912237fb02cb5129f23043f91309"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): ui/desktop/src/components/GooseSidebar/ThemeSelector.tsx:48 \u00B7 ui/desktop/src/components/GooseSidebar/ThemeSelector.tsx:63 \u00B7 ui/desktop/src/components/GooseSidebar/ThemeSelector.tsx:78 \u00B7 ui/desktop/src/components/GooseSidebar/ThemeSelector.tsx:93 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/GooseSidebar/ThemeSelector.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83ac3a98d973b08e986479ec7594ac0d1f72e7a3d5805b915153fce042fd940"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): ui/desktop/src/components/Layout/NavigationPanel.tsx:389 \u00B7 ui/desktop/src/components/Layout/NavigationPanel.tsx:407 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Layout/NavigationPanel.tsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"0925b7c5c98b111c56488787c59b6ef78e85893df1fa6f7c5d8982627de0941c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): ui/desktop/src/components/recipes/ImportRecipeForm.tsx:264 \u00B7 ui/desktop/src/components/recipes/ImportRecipeForm.tsx:331 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/ImportRecipeForm.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea303ed15203c06f43332fbceea2f7e8f3008476703b08fad1ae093e008a0ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): ui/desktop/src/components/sessions/SessionListView.tsx:755 \u00B7 ui/desktop/src/components/sessions/SessionListView.tsx:769 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"f682263aaa7d31b38624632e4d7b1c0a31bcbba9f0bd8f7164e2dd01cb52cabd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx:546 \u00B7 ui/desktop/src/components/settings/keyboard/ShortcutRecorder.tsx:189 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"45721255718d6b8b8b4e44a4f2accffec90ced50c919fce9e07d53217ad79508"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:597 \u00B7 ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:625 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"17761b2059f42a9b073a566aee6ef67d4274eafa78799b733afd0fe3151c5f60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): ui/desktop/src/components/settings/mode/ModeSelectionItem.tsx:91 \u00B7 ui/desktop/src/components/settings/response_styles/ResponseStyleSelectionItem.tsx:64 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/mode/ModeSelectionItem.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7528aed88daeda02f3d753955e00dbe6dd8d1edb3058661246ea9072fdc6b58a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): ui/desktop/src/components/settings/providers/AcpReadinessPanel.tsx:89 \u00B7 ui/desktop/src/components/settings/providers/AcpReadinessPanel.tsx:115 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/AcpReadinessPanel.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"56815a5fe4e034fab7283493086800c38328f5594f318ae45a4d3392e4fde47f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): ui/desktop/src/components/ui/card.tsx:5 \u00B7 ui/desktop/src/components/ui/card.tsx:35 \u00B7 ui/desktop/src/components/ui/dialog.tsx:72 \u2014 the 3 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ui/card.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc1600acda5e38f2ccb150c1989dc3f500631f5fbfc127f55000b20546626ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): ui/desktop/src/main.ts:2111 \u00B7 ui/desktop/src/main.ts:3103 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/main.ts"},"region":{"startLine":2111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a369fdf12cf8537b9880c3bc2b4f1376b47c9439bc7e1e38a0c93c7c515734c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ui/desktop/src/acp/chatSessionStore.ts:460 \u00B7 ui/desktop/src/acp/chatSessionStore.ts:479 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/acp/chatSessionStore.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"034f12c321c5c8d3d7d2960582b5312c7e09f8f05528a2477742ee5e165bc4f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ui/desktop/src/components/ChatInput.tsx:1575 \u00B7 ui/desktop/src/components/ChatInput.tsx:1616 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae078a5037c398dcb62c8978da345620d9cc812e34f6efe16239c2b9793d80c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ui/desktop/src/components/recipes/RecipesView.tsx:899 \u00B7 ui/desktop/src/components/sessions/SessionListView.tsx:969 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"703a96ecd2769d89da8b799a783ce5d6d4985df1314bf877f58096e7b60cb5a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ui/desktop/src/components/recipes/RecipesView.tsx:926 \u00B7 ui/desktop/src/components/skills/SkillsView.tsx:224 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee619cde641e46923d2d242c99cb979f7c5b7b8b077a7017cde1eee6ccf0500"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ui/desktop/src/components/schedule/SchedulesView.tsx:151 \u00B7 ui/desktop/src/components/schedule/SchedulesView.tsx:194 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf92c95645f05c27efbb9b1c5ba88ec8f8c0e4b8eb57551bfafdc465b990a86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ui/desktop/src/components/schedule/SchedulesView.tsx:190 \u00B7 ui/desktop/src/components/schedule/SchedulesView.tsx:203 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"248cfd76c29956ae804d6be091f148afc82ad128fc11c3b90f65a0ce8e4fd681"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): ui/desktop/src/components/settings/app/ExternalBackendSection.tsx:233 \u00B7 ui/desktop/src/components/settings/app/ExternalBackendSection.tsx:251 \u00B7 ui/desktop/src/components/settings/app/ExternalBackendSection.tsx:269 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/ExternalBackendSection.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee503da96bea34abcc23834c5e423ac0b73ad4642015c093263baa293e812a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ui/desktop/src/components/settings/auth/AuthSettingsSection.tsx:161 \u00B7 ui/desktop/src/components/settings/auth/AuthSettingsSection.tsx:182 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/auth/AuthSettingsSection.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f663483efb445c2fd7b8797c9c58b0d96c34e44c23e3bb8b95bf95a866b11dd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ui/desktop/src/components/settings/config/ConfigSettings.tsx:216 \u00B7 ui/desktop/src/components/settings/config/ConfigSettings.tsx:236 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/config/ConfigSettings.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3411a7137f1a40a620089281d6ba1c2820061b6d8bf82a8a5604fd9a7f68666"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx:445 \u00B7 ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx:463 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71e7d4b6ab4db58f150c2a33cf6c78cecc84e4285415782778983db0c557668"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx:45 \u00B7 ui/desktop/src/components/settings/permission/PermissionSetting.tsx:47 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3028cf9cb71c8070e86a431697722968aa62c0fadad576b47e5ac8300097c9ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ui/desktop/src/utils/autoUpdater.ts:231 \u00B7 ui/desktop/src/utils/autoUpdater.ts:693 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"74394393f473f7b400de6cc34f57179141fb0a4f7ec55ae2d18639f69ed6d8d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ui/scripts/npm-versions.mjs:85 \u00B7 ui/scripts/npm-versions.mjs:120 \u2014 both copies are in the same file, so extract the block 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":"ui/scripts/npm-versions.mjs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a684112c32f4bafe1cba63d29b04eccc4189f608c1f7aecb16244a3c85d69b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): ui/desktop/src/acp/errors.ts:98 \u00B7 ui/desktop/src/acp/recipe.ts:12 \u00B7 ui/desktop/src/acp/schedules.ts:15 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/errors.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"df57d1a71d649a1f89920dbcfb809a90ce8d53b0651f2dc4ab61a8eff0cbd36c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ui/desktop/src/components/MessageQueue.tsx:441 \u00B7 ui/desktop/src/components/MessageQueue.tsx:457 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/MessageQueue.tsx"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"da26e39bb5623b6b201b74830bdd398e18422f245dcf10032aa75530ce61232d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ui/desktop/src/components/ParameterInputModal.tsx:226 \u00B7 ui/desktop/src/components/ParameterInputModal.tsx:244 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ParameterInputModal.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabdd3afc7c46a19e06ac6d35d8026255d8052f20b041d0342f493f4d5bfb6c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): ui/desktop/src/components/ParameterInputModal.tsx:290 \u00B7 ui/desktop/src/components/recipes/shared/InstructionsEditor.tsx:123 \u00B7 ui/desktop/src/components/recipes/shared/JsonSchemaEditor.tsx:143 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ParameterInputModal.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5bf5ad40625b7944171dda886656b1291c7e781183c8696d95e1ed1c301e9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ui/desktop/src/components/SessionActionsHeader.tsx:395 \u00B7 ui/desktop/src/components/SessionActionsHeader.tsx:415 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"715a8a69ef80ee7da8eaf210b4ef0e0484a4e1aedadc3a71f829bff61222af15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ui/desktop/src/components/SessionActionsHeader.tsx:426 \u00B7 ui/desktop/src/components/SessionActionsHeader.tsx:457 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"864ec56d34255d20acca0caeb5b5d31ce398c3fa2165b0425574d33c2c0ff3fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): ui/desktop/src/components/icons/toolcalls/Eye.tsx:1 \u00B7 ui/desktop/src/components/icons/toolcalls/Monitor.tsx:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/toolcalls/Eye.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ac7f26cd0fb6ffcb9b59e675e1be6fb39b575bd0b376333a28f03b403bbe91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): ui/desktop/src/components/icons/toolcalls/FileEdit.tsx:1 \u00B7 ui/desktop/src/components/icons/toolcalls/Monitor.tsx:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/toolcalls/FileEdit.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1828c5aa0a59b6881f42319e907a71aa14a39502e4335bf07f9c6f6b49d9d3c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): ui/desktop/src/components/icons/toolcalls/Monitor.tsx:1 \u00B7 ui/desktop/src/components/icons/toolcalls/Numbers.tsx:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/toolcalls/Monitor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85604bd55acb512e4272a99237b9a2e1860e0631baa7c62e134766ddab9def4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx:409 \u00B7 ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx:445 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"11099a2dcae154da9e0c885f03b6802189d3d44a3ac84d370a244d00146e7ea1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ui/desktop/src/components/recipes/shared/KeyValueEditor.tsx:29 \u00B7 ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx:101 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/KeyValueEditor.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89586089fdfc53fa6c97e527c8cdccbb3c30c31a55c0596ef33c58c55c6dc23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ui/desktop/src/components/recipes/shared/SubRecipeEditor.tsx:135 \u00B7 ui/desktop/src/components/sessions/SessionListView.tsx:984 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/SubRecipeEditor.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"379f1678d4a67810757359b1f79c8edf9b85520d022ee8009e9b2287e2d4dd87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx:216 \u00B7 ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx:248 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"85297ea4bf58276b082436c44132e67f8776e927dd7cf8968e13e45e19b81ede"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ui/desktop/src/components/schedule/CronPicker.tsx:351 \u00B7 ui/desktop/src/components/schedule/CronPicker.tsx:365 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"659aaaf520c46d576174922b8f8865fe3a5c5ecad9378bf2245d58bf838b4a09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:572 \u00B7 ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:586 \u00B7 ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:617 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a1773eff2c555f92031d6ffc7d2b04db0be633b4cbb6652f400751c4edc2fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx:896 \u00B7 ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx:958 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"f882664ebbf5ea9663a7232258a5fbf6cf47b083c78963e34849bb162ee21ac8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): ui/desktop/src/gooseServe.ts:552 \u00B7 ui/desktop/src/gooseServe.ts:570 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/gooseServe.ts"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caabc3cfa1867938cee3a22375a15769b6f9d02b8781c9d7588a44509dddd1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ui/desktop/src/utils/cronSchedule.ts:121 \u00B7 ui/desktop/src/utils/cronSchedule.ts:133 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/cronSchedule.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"898edb95a1bc827c603842d12fc071c786b08a07085918db4d1be3f8f4b6e7f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): ui/desktop/src/acp/adapter/messages.ts:124 \u00B7 ui/desktop/src/acp/adapter/tools.ts:269 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/adapter/messages.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b244b5268573acf8318d81e653e227a8fbf1363463f376aef27b8762946a76fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): ui/desktop/src/acp/recipeParamRequests.ts:158 \u00B7 ui/desktop/src/acp/recipeParamRequests.ts:172 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/recipeParamRequests.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78940f469662c4331e4ef467b07d7f3150591d89d90139363abda01f34a1f9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): ui/desktop/src/components/Layout/NavigationPanel.tsx:315 \u00B7 ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx:463 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Layout/NavigationPanel.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff9c115c3d8dce16dc360f9006b6a255bac3d6a13a0c9c53ffb31b8415c89a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): ui/desktop/src/components/SessionActionsHeader.tsx:642 \u00B7 ui/desktop/src/components/settings/permission/PermissionModal.tsx:255 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebdf780b03458dc7a63f02bafffb20840d3b06ce10de9f95f4d890901091a83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): ui/desktop/src/components/icons/toolcalls/Archive.tsx:1 \u00B7 ui/desktop/src/components/icons/toolcalls/Tool.tsx:1 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/toolcalls/Archive.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fa795bd44cb5f4c1d3a85f954e26f79d102d7cb18ce3754456a5ef98fc1466"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): ui/desktop/src/components/icons/toolcalls/Code2.tsx:1 \u00B7 ui/desktop/src/components/icons/toolcalls/Terminal.tsx:1 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/toolcalls/Code2.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc34fdc8b7898405c104f62427dc7be9f996f92105886b9c8131e8660eb75e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): ui/desktop/src/components/icons/toolcalls/Globe.tsx:1 \u00B7 ui/desktop/src/components/icons/toolcalls/Settings.tsx:1 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/toolcalls/Globe.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"644eb481f2c60458a8ef9abf3cdcec96d3c4245b99054368e83f3e2c6f3040a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): ui/desktop/src/components/recipes/RecipesView.tsx:1002 \u00B7 ui/desktop/src/components/recipes/RecipesView.tsx:1047 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"5394277c346b4f5b84e38aee20a6b49cd35e47c22353677dbf180b712d6b3ade"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): ui/desktop/src/components/schedule/CronPicker.tsx:294 \u00B7 ui/desktop/src/components/schedule/CronPicker.tsx:362 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f652bbcda932d3bd26d9a92269f0bf1b9aa722e0cf9d1e90edab0df46b29c71c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): ui/desktop/src/components/settings/app/AppSettingsSection.tsx:339 \u00B7 ui/desktop/src/components/settings/app/ExternalBackendSection.tsx:188 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"73496c34e5ccf834ece03c33a478e8eee103204cce318bc29e80f72feb5b6a6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx:170 \u00B7 ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx:214 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b8c22b8fd926d4406c5f74763674c7d01aa7a3da9ca0416f00d5be7a808cb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ui/desktop/src/acp/adapter/tools.ts:185 \u00B7 ui/desktop/src/acp/adapter/tools.ts:210 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/acp/adapter/tools.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71fa3f4625643eaf44744e076bbaf6fd3037d7007f10167b50de50802ac62d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ui/desktop/src/acp/extensions.ts:148 \u00B7 ui/desktop/src/acp/session-extensions.ts:26 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/extensions.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bc7e356289ec7e130609b329122adf0aa40423bfc30805bf5a7f7876499470"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ui/desktop/src/components/ChatInput.tsx:798 \u00B7 ui/desktop/src/components/ChatInput.tsx:812 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"94246ae0750f5348966fac234553fc29f5d64ce934a9ba9f37fd131af9a793e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ui/desktop/src/components/GooseMessage.tsx:134 \u00B7 ui/desktop/src/components/UserMessage.tsx:339 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/GooseMessage.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d3d8e26ce1b5e311472cc130a4b8bbc65ae5c76128681daa0bee84ac405cfe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ui/desktop/src/components/conversation/SearchBar.tsx:235 \u00B7 ui/desktop/src/components/conversation/SearchBar.tsx:245 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/conversation/SearchBar.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bef866bb08c546ebdce5f92a3ab4c6138dbd23197074c46e3f4371c8927634"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 15 locations): ui/desktop/src/components/icons/toolcalls/Archive.tsx:1 \u00B7 ui/desktop/src/components/icons/toolcalls/Brain.tsx:1 \u00B7 ui/desktop/src/components/icons/toolcalls/Camera.tsx:1 \u00B7 ui/desktop/src/components/icons/toolcalls/Code2.tsx:1 \u00B7 \u002B11 more site(s) not listed \u2014 the 15 copies are spread across 15 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/toolcalls/Archive.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba62c75b1dd0cf5c4875ad321e38f55a04f0389874f920470183092b76f2226"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx:580 \u00B7 ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx:590 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"69464d38ab0fefc2da4c7488b433f3a7ee377bb059dc07ed2dddbde9051d5aaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ui/desktop/src/components/schedule/SchedulesView.tsx:420 \u00B7 ui/desktop/src/components/schedule/SchedulesView.tsx:448 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8038bab70722c4fabb276b715c41bf3fc8429e2ae62a3c71d8f23991f15e9f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ui/desktop/src/components/sessions/SessionListView.tsx:821 \u00B7 ui/desktop/src/components/sessions/SessionListView.tsx:833 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"65840e1c2ae341fc7516292dc4dc2c1e1a3ab0b8b20f34ab3f267e315c24ca46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ui/desktop/src/components/settings/app/AppSettingsSection.tsx:417 \u00B7 ui/desktop/src/components/settings/app/AppSettingsSection.tsx:454 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d98a75931f8bc8a320bb6fb2ede9463062e9e52ebbf9a7e6a07b0ba43caf3de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ui/desktop/src/components/settings/app/AppSettingsSection.tsx:592 \u00B7 ui/desktop/src/components/settings/app/AppSettingsSection.tsx:602 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd5541409f2237768d41b0d20cdfe4e733b23c6cec8252ce6758f652e49afa7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ui/desktop/src/components/settings/app/UpdateSection.tsx:209 \u00B7 ui/desktop/src/components/settings/app/UpdateSection.tsx:253 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/UpdateSection.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc87a9cdbe3210bdc3634d77e3d9d1ac1b30f58ff71f202c08ce537f301c190"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): ui/desktop/src/components/settings/extensions/deeplink.ts:43 \u00B7 ui/desktop/src/components/settings/extensions/deeplink.ts:150 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/deeplink.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94bc93ef56b9803ff12cd5bed719beb3fe5e562a409b311fe786781eef966da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:311 \u00B7 ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:335 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c96a5eec3e92a51a62bcc14464715adf7d0e6231d99b0d246272e3eb85900e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx:127 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:541 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:558 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc9fa99459651c3b729dda3621c4317e429cd35861d67b737cd5e04dd86288d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ui/desktop/src/components/settings/security/SecurityToggle.tsx:349 \u00B7 ui/desktop/src/components/settings/security/SecurityToggle.tsx:466 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00aefbf3275ed9c22b2aeb7b76440e2767b8e7f7021ec10c955bb0f5fb84e97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): ui/desktop/src/components/ui/scroll-area.tsx:52 \u00B7 ui/desktop/src/components/ui/scroll-area.tsx:154 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ui/scroll-area.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afe83fe5d8e55e3f9d2871897e47715d6075cefa3cd5a692fa446fb72161931"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ui/desktop/src/components/ChatInput.tsx:933 \u00B7 ui/desktop/src/components/ChatInput.tsx:1275 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2e3aeb0808beed367e37103809f03157691301344d6079d2fea2f6d63d1bfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): ui/desktop/src/components/Hub.tsx:180 \u00B7 ui/desktop/src/components/Hub.tsx:208 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Hub.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7898cfa69c62f0a0e17a41a76cf35cb8885f5e6ca3bc60d536eb2bc20cdb093"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ui/desktop/src/components/SessionActionsHeader.tsx:564 \u00B7 ui/desktop/src/components/SessionActionsHeader.tsx:573 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d7cd4881bab04cb90ec762705696f60517cecded00ee9074fe52b9c2f2ab3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ui/desktop/src/components/icons/toolcalls/Globe.tsx:26 \u00B7 ui/desktop/src/components/icons/toolcalls/Settings.tsx:32 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/toolcalls/Globe.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e059c141a71e57c9ef89553569672329e76c4b87d1a4cc8b422d09a77603c132"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx:274 \u00B7 ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx:206 \u00B7 ui/desktop/src/components/schedule/ScheduleModal.tsx:439 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf28e9978421b7d40f463902edd3e3de88ef767679953e2a3e1cfc6d38e635c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): ui/desktop/src/components/schedule/CronPicker.tsx:324 \u00B7 ui/desktop/src/components/schedule/CronPicker.tsx:355 \u00B7 ui/desktop/src/components/schedule/CronPicker.tsx:369 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e810d4e26dc2f3ed874bd715652c42fc5ebe0314f881de378769d011112d7d70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): ui/desktop/src/components/settings/app/AppSettingsSection.tsx:383 \u00B7 ui/desktop/src/components/settings/app/AppSettingsSection.tsx:400 \u00B7 ui/desktop/src/components/settings/app/AppSettingsSection.tsx:436 \u00B7 ui/desktop/src/components/settings/chat/SpellcheckToggle.tsx:36 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f13c932856ca841afdef026cd6ac30f6ca4582e4089e4d71e8713f4ff79dd0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ui/desktop/src/components/settings/app/TelemetrySettings.tsx:61 \u00B7 ui/desktop/src/components/settings/app/TelemetrySettings.tsx:83 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/TelemetrySettings.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"08dd01c32992b7f6f08958ff5656f7efc0054083a2a546cee54f5e178353637c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ui/desktop/src/components/settings/dictation/DictationSettings.tsx:186 \u00B7 ui/desktop/src/components/settings/security/SecurityToggle.tsx:316 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/DictationSettings.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dab6b36ac0af3754eec9349750aef4564e81a35298ea70d684204077b6916a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): ui/desktop/src/components/settings/extensions/ExtensionsSection.tsx:84 \u00B7 ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx:81 \u00B7 ui/desktop/src/components/settings/permission/PermissionSetting.tsx:79 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/ExtensionsSection.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"976295516888bc92f3ec63746d467fe4172e525033af089aabae70c3f4c4803e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ui/desktop/src/components/settings/extensions/modal/HeadersSection.tsx:78 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:379 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/HeadersSection.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4293e2c29720d48cdb0377ac3e144ed7e2a1ab6556837f5db69a5ebfe79dcae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:646 \u00B7 ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:658 \u00B7 ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:667 \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":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e557d90e05c12549a7c1c98f2593bb2fa947a40b023ef5eb0ba62889fcd2fb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:661 \u00B7 ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx:670 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5cc8bd2bb5bb1ea2b282f93248ec3030586408da9fb1595c8487e39574d1ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:850 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:862 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"4282cd268307b426e5d9e69c5e4e1a5553108aa172af5bd42308ac1622b8c594"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ui/desktop/src/utils/autoUpdater.ts:119 \u00B7 ui/desktop/src/utils/githubUpdater.ts:759 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a76c3f0546e130b0759b3e77b2247e8442c406fac62e65aca6065c8a73aaca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ui/desktop/src/utils/autoUpdater.ts:540 \u00B7 ui/desktop/src/utils/autoUpdater.ts:556 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbb7e4ea13faddce6cc667a7eeccf0f9992e3bee21e8fff4eeda080c0ca13f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): services/ask-ai-bot/utils/ai/tools/codebase-search.ts:197 \u00B7 services/ask-ai-bot/utils/ai/tools/codebase-viewer.ts:21 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/tools/codebase-search.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eddea6acf2ef81fac79dcc125f6c616ae32f945b98ea628ce277ddb66f407f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): ui/desktop/src/components/recipes/RecipesView.tsx:1051 \u00B7 ui/desktop/src/components/settings/chat/GoosehintsModal.tsx:230 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d36fdd4ff522c351d4e09eca971955bc9f2e5cca9fdedf4791ea6828a13c43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 15 locations): ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx:249 \u00B7 ui/desktop/src/components/settings/app/AppSettingsSection.tsx:380 \u00B7 ui/desktop/src/components/settings/app/AppSettingsSection.tsx:398 \u00B7 ui/desktop/src/components/settings/app/AppSettingsSection.tsx:434 \u00B7 \u002B11 more site(s) not listed \u2014 the 15 copies are spread across 12 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d759889a584d80079095d7ed3cb81ad8c4c016163673158ccb13f03f9f3ca47f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx:340 \u00B7 ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx:602 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1801c1f746cedc131694d630c13e91d90321baf684de8ea292b13388621c35e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): ui/desktop/src/components/settings/chat/GoosehintsSection.tsx:30 \u00B7 ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx:133 \u00B7 ui/desktop/src/components/settings/extensions/modal/HeadersSection.tsx:133 \u00B7 ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx:532 \u2014 the 4 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/chat/GoosehintsSection.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd05d4324c2fe691d878f0dce46f306e9894dc7f3ee719a673f09d8056e0ee2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): ui/desktop/src/components/settings/extensions/modal/ExtensionInfoFields.tsx:73 \u00B7 ui/desktop/src/components/settings/extensions/modal/ExtensionInfoFields.tsx:123 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/extensions/modal/ExtensionInfoFields.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b736fd099b94702a785f7019bf9326e0be378e65d096c1d159ca53035ee7db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): ui/desktop/src/components/settings/permission/PermissionModal.tsx:193 \u00B7 ui/desktop/src/components/settings/permission/PermissionModal.tsx:201 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionModal.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee642dc3f24e7ce9e99cc37e568091d95d4d39dd77a903104bbc56832749a00d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): crates/goose/src/session/export_html/template.js:66 \u00B7 crates/goose/src/session/export_html/template.js:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1236d7e2c64a580c11b008b62ab94c253789882565d89f58bf6f33f3bd2135"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): oidc-proxy/src/index.js:214 \u00B7 oidc-proxy/src/index.js:224 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oidc-proxy/src/index.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0c08a77fdab548c13f0604259810e1c47a72879bf2fbea84273af579822efc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): ui/desktop/src/App.tsx:391 \u00B7 ui/desktop/src/App.tsx:404 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/App.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e2f631391171001b7a9ef7dd822a0bfaf798ce5fcc613e7b66cb59bbd40159"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): ui/desktop/src/components/AnimatedIcons.tsx:34 \u00B7 ui/desktop/src/components/FlyingBird.tsx:12 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/AnimatedIcons.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d698468a64a39a646482f18f4cf0ac631e106ce7fbd22d34154d1d25ccdb10bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): ui/desktop/src/components/ChatInput.tsx:1070 \u00B7 ui/desktop/src/components/ChatInput.tsx:1084 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"6548204189f18d0d7de3fe344062f686bd98f4ee80ce792326dcc97bcdb148f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): ui/desktop/src/components/ToolCallWithResponse.tsx:485 \u00B7 ui/desktop/src/utils/toolIconMapping.tsx:105 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"67172e5d053aaab8dd5c9721ae92f297821ce4d0cf752fb9aaeee157749b3adb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): ui/desktop/src/components/onboarding/LocalModelPicker.tsx:91 \u00B7 ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx:75 \u2014 the two spans are one implementation copied and then locally edited \u2014 96 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07b6daada5558f8cb95b83ff410296ed4072e1c7acd81cf8bca7bbb4cacce13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): ui/desktop/src/desktopFileAccess.ts:149 \u00B7 ui/desktop/src/desktopFileAccess.ts:257 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/desktopFileAccess.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc9452a9a96f299d573fe648274e2bae763285f34dddfc200f94fbceca98bee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): ui/desktop/src/toasts.tsx:156 \u00B7 ui/desktop/src/toasts.tsx:236 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/toasts.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c381cb23aaecb447c419846ace9d7601309e7d1e3b25f7919f1cb7c0d6c79186"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): ui/desktop/src/components/ChatInput.tsx:1103 \u00B7 ui/desktop/src/components/ChatInput.tsx:1230 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d2fa254dd34932a55bd85fefb53c1d1bf51cf9f4d5687642fee2389661a6fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): ui/desktop/src/components/McpApps/McpAppRenderer.tsx:122 \u00B7 ui/desktop/src/components/McpApps/McpAppRenderer.tsx:128 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"746005e1bf4d96eb401ff13ea6d44248a5d5438ece9dae365e16148443982f5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): ui/desktop/src/components/SessionActionsHeader.tsx:353 \u00B7 ui/desktop/src/components/settings/AgentLoopSettings.tsx:239 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d643a9fe44d610709d104ab7dcebefcde65734894ac3f4fb110e8eac671c27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): ui/desktop/src/components/bottom_menu/BottomMenuExtensionSelection.tsx:262 \u00B7 ui/desktop/src/components/bottom_menu/BottomMenuExtensionSelection.tsx:400 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/bottom_menu/BottomMenuExtensionSelection.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"59428f433a28fde90f994789079ea85cd563f764b0f472f09549773b86f80f07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): ui/desktop/src/components/parameter/ParameterInput.tsx:202 \u00B7 ui/desktop/src/components/schedule/CronPicker.tsx:213 \u00B7 ui/desktop/src/components/schedule/CronPicker.tsx:244 \u00B7 ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx:126 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/parameter/ParameterInput.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf34840fdb88dd692b7aa07323a282d9b9e3f3ac0afea4556b6055f60223030"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx:110 \u00B7 ui/desktop/src/components/schedule/CronPicker.tsx:98 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx:273 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/SubRecipeModal.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc167695479703c3267d71244414c4018696d752957de780fdd5fb83414f38b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): ui/desktop/src/components/schedule/CronPicker.tsx:205 \u00B7 ui/desktop/src/components/schedule/CronPicker.tsx:241 \u00B7 ui/desktop/src/components/schedule/CronPicker.tsx:268 \u00B7 ui/desktop/src/components/schedule/CronPicker.tsx:306 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"922f74e472be3b0b80119b03b750b56221bafdea3cdf0da76fd0be33f5ca1aeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): ui/desktop/src/components/sessions/SessionListView.tsx:618 \u00B7 ui/desktop/src/components/sessions/SessionListView.tsx:640 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"c807c8c4f8b0ebacb9583c25d25fb31fa257047d5759630df480cfd066deffd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): ui/desktop/src/components/settings/app/AppSettingsSection.tsx:468 \u00B7 ui/desktop/src/components/settings/app/AppSettingsSection.tsx:478 \u00B7 ui/desktop/src/components/settings/chat/ChatSettingsSection.tsx:58 \u00B7 ui/desktop/src/components/settings/models/ModelsSection.tsx:112 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b58ed6d39757ee75b003e240d05d6d059fe56eef09b7dc149d2f926f5c84e40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): ui/desktop/src/components/settings/chat/ChatSettingsSection.tsx:39 \u00B7 ui/desktop/src/components/settings/chat/ChatSettingsSection.tsx:63 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/chat/ChatSettingsSection.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d82ca3bc818267b66b961ee72b551f9c3ded633d5f55e2f595f87859c8eee2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): ui/desktop/src/components/settings/dictation/MicrophoneSelector.tsx:196 \u00B7 ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx:588 \u00B7 ui/desktop/src/components/settings/mode/ConversationLimitsDropdown.tsx:60 \u00B7 ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx:856 \u2014 the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/MicrophoneSelector.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b589c8e9b84082311cf43e68316abc8ed756d5793cf9c859344f0090b932653"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): ui/desktop/src/components/settings/providers/modal/subcomponents/forms/DefaultProviderSetupForm.tsx:157 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/forms/DefaultProviderSetupForm.tsx:171 \u2014 both copies are in the same file, so extract the block 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":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/DefaultProviderSetupForm.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96d68ddad67be99d83adaa13b7e8fee09e15cf82a534653cf514978aa2d51f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): ui/desktop/src/main.ts:1649 \u00B7 ui/desktop/src/utils/autoUpdater.ts:798 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"da419225760efa98b4331e252cc1cb240936069750768d1f2b71e51c62188238"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): ui/desktop/src/components/bottom_menu/DirSwitcher.tsx:96 \u00B7 ui/desktop/src/components/settings/providers/modal/subcomponents/ProviderCatalogPicker.tsx:69 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/bottom_menu/DirSwitcher.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7d8710c51bdc3fa1a53f1596964fe884e321c3fd52c3368144e0b9a78e7e86"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: ui/desktop/src/components/MarkdownContent.tsx:9 imports react-syntax-highlighter/dist/esm/styles/prism, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MarkdownContent.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d89ad9df8098e5007367db7d9b6d55eb7ff2f30bf3be12395d1fce87ac9073"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: ui/goose-acp-client/src/index.ts:3 reaches into another package with a relative path (./generated/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/goose-acp-client/src/index.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82757ee3453ce538295929ee0e8086a78e1666f6653cb494db011fa33646d56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatInput (cyclomatic 63, cognitive 46): ChatInput has cyclomatic complexity 63 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0832e2ad5ebf431b43f2c7f8ca8580b5c2b19345a178d4b6534de5bfde994e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 48, cognitive 74): (anonymous) has cyclomatic complexity 48 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc9f0c39fd5822b38886a519b95a147a6142ac296f811dc59797f13fca66471"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CustomProviderForm (cyclomatic 48, cognitive 44): CustomProviderForm has cyclomatic complexity 48 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b34d1c76c33da3423974132950e747003875a82b4c9d56048858fd2990eda4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GooseMessage (cyclomatic 44, cognitive 31): GooseMessage has cyclomatic complexity 44 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/GooseMessage.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfadc352a01caabf8b93437e62595de473ae65e2f0b12bfc50a7729eef5c3ebe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SecurityToggle (cyclomatic 41, cognitive 38): SecurityToggle has cyclomatic complexity 41 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d380e0d2e6bbee82124f45749c6830ad734d5bd4cbc324b9e7073a2fc76aff9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BaseChat (cyclomatic 41, cognitive 33): BaseChat has cyclomatic complexity 41 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/BaseChat.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edf106cb1653b3a47287cb3f9045630edc0da638c2cd0cd5aa96f781b9169a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appMain (cyclomatic 39, cognitive 62): appMain has cyclomatic complexity 39 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edd383aade9ac3d012c1f019a08061bab0dc78e125754f892cb9103aef4ea14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderConfigurationModal (cyclomatic 36, cognitive 29): ProviderConfigurationModal has cyclomatic complexity 36 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/ProviderConfigurationModal.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1719a02a632e8cd09308507182971b2300b7369afca177e293cc9bfe68683c5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SwitchModelModal (cyclomatic 36, cognitive 27): SwitchModelModal has cyclomatic complexity 36 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c8fd5037d366dfddde7d3de1a0af8cc8981fb89173e471f35f983cd71ac19a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MessageUsageStats (cyclomatic 34, cognitive 29): MessageUsageStats has cyclomatic complexity 34 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageUsageStats.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d0355b300874b9e1f48f7bcc6cafe848441f3ee2f28b1ee4e31c8cca580471"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function McpAppRenderer (cyclomatic 32, cognitive 25): McpAppRenderer has cyclomatic complexity 32 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae0e7af1d78e3dc1c0060b888e1feb9378956b9918e27718812bdf5e8a7258c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LiveVoiceButton (cyclomatic 31, cognitive 28): LiveVoiceButton has cyclomatic complexity 31 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/LiveVoiceButton.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9878fe0d9da19b46256d98af2ffb88d7186abfe5f064f33b71636a2f746de641"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 42): (anonymous) has cyclomatic complexity 30 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MentionPopover.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec665118d76c84f7d2289582ca1fbdfc43f800db7f899d504122efe81eca94f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 40): (anonymous) has cyclomatic complexity 30 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ItemIcon.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d466e8973a4acf10f1af7399f6c03556a24e67b092ae50e69ac0f9d1d775b2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderContentBlock (cyclomatic 27, cognitive 25): renderContentBlock has cyclomatic complexity 27 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0997e5bb9617f7803b5b59c7c14794a42a7ac177f3c148d62e151a8a0e6a61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AcpReadinessPanel (cyclomatic 27, cognitive 15): AcpReadinessPanel has cyclomatic complexity 27 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/AcpReadinessPanel.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea3eeabc05422db1d86ab450f72dc9a00cdf1edefda5548024d3dea85c22fef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCommandLine (cyclomatic 26, cognitive 45): parseCommandLine has cyclomatic complexity 26 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/utils.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c60719880e5d69ac5da15bf7151c8cce43b3bae7ccbe33c7fe1adbde32c416"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScheduleDetailView (cyclomatic 25, cognitive 20): ScheduleDetailView has cyclomatic complexity 25 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleDetailView.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"263ebd9f9edcd0ce1a6095928a7b99ca373ddc241d2c26bb255609599b228857"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolCallView (cyclomatic 25, cognitive 19): ToolCallView has cyclomatic complexity 25 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bc4e47e7ce9963cade0f7fb2a1c454f41ab14b9c65127795469094445fda76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelsBottomBar (cyclomatic 25, cognitive 16): ModelsBottomBar has cyclomatic complexity 25 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/bottom_bar/ModelsBottomBar.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4949ce284fac1981e242c78a89cf6cff002c16dbdf1fa37d5f43c49d81f7ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function goosePage (cyclomatic 24, cognitive 38): goosePage has cyclomatic complexity 24 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/tests/e2e/fixtures.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aec0f39c0e5277b8fe3f890cbfb0479aabcceba6613a7c845439c6df2cb69fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addDocument (cyclomatic 24, cognitive 30): addDocument has cyclomatic complexity 24 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/tools/docs.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"deccca886ce659644dde1d9d4222754758cbf4a1b7836293eae9374506181afd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScheduleModal (cyclomatic 24, cognitive 23): ScheduleModal has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleModal.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1f8cb9d242d8bcf414a432b5029d0d1967d647933ebe33966f7241766379b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 20): (anonymous) has cyclomatic complexity 24 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageQueue.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8a368b42fb3c91001756413ead8cca089b1ba7bb1623e812f12b5b4f5891af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleHistoryNavigation (cyclomatic 23, cognitive 24): handleHistoryNavigation has cyclomatic complexity 23 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"917366bbc3d2625d94f8eea8f364caf51185be6f5f0b462c77a38f90a600e431"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyOidcToken (cyclomatic 21, cognitive 26): verifyOidcToken has cyclomatic complexity 21 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oidc-proxy/src/index.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b79dd6c6a221a1adcc71e8f1e1ce1d6167cb1c3ef057bfa70d1c454aae05344"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 25): (anonymous) has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ui/JsonSchemaForm.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1506617ec94502a6766a35e4b6a5ddd5a05a4fea456b14551977799245aa1dfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extensionToFormData (cyclomatic 21, cognitive 20): extensionToFormData has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/utils.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3ae738e204f9934a1217f3e6daa005bd5855ceb1d9583eb73b994dcad05e96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 16): (anonymous) has cyclomatic complexity 21 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useChatSession.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec02ef1c99b83f10638d126eb889ed70815f8b2d66be4a8339b7c191c7ac756"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 36): (anonymous) has cyclomatic complexity 20 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c569d1601be70abb2bb0621fa2dd157544d4985168832a0700a3dc169807f4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 24): (anonymous) has cyclomatic complexity 20 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/cronSchedule.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06f9133fa0f2e97926b80c4bc18dcaaacf20506430508f8ef2eb88dd8fd9285"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LocalModelPicker (cyclomatic 20, cognitive 17): LocalModelPicker has cyclomatic complexity 20 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d368f06bba47bb4f016ab2311da190bbdbbf85cfa25f765d4f9a9263a1ed5c7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UpdateSection (cyclomatic 20, cognitive 15): UpdateSection has cyclomatic complexity 20 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/UpdateSection.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fe99099cf79799f3fb2bfac1bd96f77805aabef6c6a5fd49ed1dafc4ef1030"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 33): (anonymous) has cyclomatic complexity 19 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"3518fcf68d399c8af13f17df97fe53b93ecd8cb90b19e26d0b33bafbf95d0dcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderToolHeader (cyclomatic 19, cognitive 17): renderToolHeader has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f889bbe237dd45a92d82c91662133acd24d12b71ab842037223a98c81c0b8a57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function JsonTreeNode (cyclomatic 19, cognitive 16): JsonTreeNode has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efdb1a80e7dee8cd574beb6d0ad06ed3ed74ac184dee6f61e517e4be4331474"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelSettingsPanel (cyclomatic 19, cognitive 16): ModelSettingsPanel has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60816dbe912a44f0ea977af25d9190148c260b024c414b760ff1b649277e6bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 15): (anonymous) has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/HuggingFaceModelSearch.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"2225789a6cfca5bcda04ed75b7a01f5b3874168dc2938041eed20b6af1e763f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkForUpdates (cyclomatic 18, cognitive 28): checkForUpdates has cyclomatic complexity 18 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/githubUpdater.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7e7200a5841e867446667cf11307387404b0c7e51020c05aa4826daa805adc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyContentChunk (cyclomatic 18, cognitive 27): applyContentChunk has cyclomatic complexity 18 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/adapter/messages.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"720bf2d563a1a0e9ba31113693d1bc5aec70b28de55ecf398aa80f72e67686b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleProtocolUrl (cyclomatic 18, cognitive 27): handleProtocolUrl has cyclomatic complexity 18 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41503e7d8c098faebc0590f07cd8eccf9dd35daeb7f916998b6cc1ae39fea41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 24): (anonymous) has cyclomatic complexity 18 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/gooseServe.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f6138af59da82ca2d8865f97fd4c41ea26dffc67840b0e40ae2cf7e142ea9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 21): (anonymous) has cyclomatic complexity 18 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d569267883fc91356cce04f861275083f3fb6f320dbdb28851e83c16ac8aba0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 18, cognitive 19): handleKeyDown has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/keyboard/ShortcutRecorder.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d572e0d29ff3d1d4430f539668d91474e88775da4343af75f65846146ab8b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 18, cognitive 18): handleKeyDown has cyclomatic complexity 18 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/conversation/SearchView.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3ab29d0f7f90a5924fdc5ee6163de3fdadbe4cc068c454110fcd30f5ee7adb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSubmit (cyclomatic 18, cognitive 17): handleSubmit has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c6e39a0d4162dcf86b25c737dd652aca88e56f19e8b10357ac97b525968b93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderCards (cyclomatic 18, cognitive 16): ProviderCards has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/ProviderGrid.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"839de45db9c224305d4ebc8d77ae32a0c0c9b09d3601fdcb1aead5dbabc904e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CronPicker (cyclomatic 18, cognitive 14): CronPicker has cyclomatic complexity 18 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/CronPicker.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"03495c7690221406794ff98dbed7122a9f42a558efaa037c9cd239db6c510baf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function person (cyclomatic 18, cognitive 9): person has cyclomatic complexity 18 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"buzz/github_manager.mjs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d553a088995262be94bcc3282f1c1d1a3f439b6504f09b3a42ee8feedcd323"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 21): (anonymous) has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useAudioRecorder.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"03906aa16da9cac1c375047cf0341352cfb3c1350b6fc8302181a96b950de4ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeGoosehints (cyclomatic 17, cognitive 19): writeGoosehints has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/desktopFileAccess.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"896fab1e1d0ea59781744fb1351044667419204f9b0a9746ad972cfd69d6636a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MessageQueue (cyclomatic 17, cognitive 18): MessageQueue has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageQueue.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dae76d92cef90597bb81cbeca87f85c5759394876080eaf53676c4f70fdc9c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addExtensionFromDeepLink (cyclomatic 17, cognitive 16): addExtensionFromDeepLink has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/deeplink.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b935ae397c5363396288597c9158c11b2df054341cb924f44fa357bb0f22f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadUpdate (cyclomatic 16, cognitive 25): downloadUpdate has cyclomatic complexity 16 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/githubUpdater.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fbf201c2e88ca46fc057c66720e877581f744753cfd66668f8973d3b0515eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSubmit (cyclomatic 16, cognitive 22): handleSubmit has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"da345658411455b2be465c2e1003ba3677458af7d11186603d2b5b2db0175bef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 20): (anonymous) has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MentionPopover.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3ac80e5b3bdb27ed3fd9c0ac5c952e30ff83c20f82eb4aae457201e5e0972a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMessage (cyclomatic 16, cognitive 19): handleMessage has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/useDisplayMode.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceeac3d5449df46c17aa50208f6b5894631e9831fbd5cc1af0013259b0d672e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionActionsHeader (cyclomatic 16, cognitive 13): SessionActionsHeader has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fce5e781bc448e3e3892a0803a515d93f54542f3115f1ea35710748b9ec7eb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 28): (anonymous) has cyclomatic complexity 15 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/prepare-platform-binaries.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28e5cf6a238d37886b9cb42c051910e1716156e604196490829b4716aa4c8ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchResourceData (cyclomatic 15, cognitive 25): fetchResourceData has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efa1aa2acf3028fadd8c08830be25aba3605bff64513813db006b3297c12d59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apiContentBlockFromAcpContentBlock (cyclomatic 15, cognitive 18): apiContentBlockFromAcpContentBlock has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/adapter/tools.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc5929f7b678db16619532135c35324f9a6b1db40ee6a3a5f42f84973aa4788"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ParameterInputModal.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"93af24e9bc19288f7f30b9a219ee62c24a098106fcd3e555382be41c7cf95335"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CreateEditRecipeModal (cyclomatic 15, cognitive 13): CreateEditRecipeModal has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6474b1d80c2df9736f6c202d33eaf6ac6b9a49bf1d2ec38ac124f21b587c4dec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExtensionModal (cyclomatic 15, cognitive 13): ExtensionModal has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eda97a000d95bbf7a1c1765e0f1e3d997f660a103e9ec47a007067b70616096"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 28): (anonymous) has cyclomatic complexity 14 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f04a78f4b0b35d4f180f9d2f2e73e9c9c83c2fb7cbafa4bfc00b16252dfaab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectInterruption (cyclomatic 14, cognitive 25): detectInterruption has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/interruptionDetector.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"762f77594761b196ad1ba3ae7a5e71ea75e613744cf80ddc7da10cc626f8dc3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRecipeDeeplink (cyclomatic 14, cognitive 20): parseRecipeDeeplink has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"990740bfc934b0a3aaffa580faa4a9af8fb96227bb29e1080f4438de0548cabf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderResultContent (cyclomatic 14, cognitive 16): renderResultContent has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a87a9dbaf94d21eeb4ea7b71d1690ed1ef8840ff1ffac57cacf53bdcb5496b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateMessage (cyclomatic 14, cognitive 15): updateMessage has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/chatSessionController.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf707f8c54f9cc0fa3ab99d3aa36f4a92b285c888100da4311d1bb52023fec7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectText (cyclomatic 14, cognitive 14): collectText has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MarkdownContent.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0ac503cf6f9b07b0a4cfe6bfe69e35f6f9231ba226a8370e49ea64a2df9add"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5494821a2973591a8fdfe694c7c0f06fc38e6e5edda8cc1140f659d6439d2b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncBundledExtensions (cyclomatic 14, cognitive 14): syncBundledExtensions has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/bundled-extensions.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cd37437054704278eef1f7dd9e48fab2ccffe4872a30fce237041133bc959c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readGoosehints (cyclomatic 14, cognitive 14): readGoosehints has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/desktopFileAccess.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76ee0a6123307e174fbf6e9fdb591e4220707ed05ccd3e34a304df24172d71f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SearchBar (cyclomatic 14, cognitive 11): SearchBar has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/conversation/SearchBar.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"595f8e386ea1e6d449598049a0dde471b85889d9f177c8b3f1c4f415bebfe35f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RecipesView (cyclomatic 14, cognitive 10): RecipesView has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4691bb79f387ba94f2deffd5fb53f6be08e6cbdeabd695da451e0a89a6db3c87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleBrowseFile (cyclomatic 13, cognitive 32): handleBrowseFile has cyclomatic complexity 13 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleModal.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f4ec1297ac397c204323c6562307addcd286c1898d1926a6f97673619c9444"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 13, cognitive 20): handleKeyDown has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45ee0dc7c14193bbe1a996812471fa70895d49ab9fc52cc6cae2372361a8a49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLocale (cyclomatic 13, cognitive 19): getLocale has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/i18n/index.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe5fae5df0fb0a7ee87540c41f67657b5dbbb909d6e25f6d0f48e951141e12a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyTheme (cyclomatic 13, cognitive 15): applyTheme has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/templates/assets/mcp-app-bridge.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b719d1c776113fd7f5fb9cffe0407d1a6b3601d6c2b0aa2f7d069cc3d2c6d596"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appReducer (cyclomatic 13, cognitive 14): appReducer has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebdf76bc0c8f8e040c8775efec8bb545f7fd1371f5e0b642469c6c0582c1fdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderField (cyclomatic 13, cognitive 14): renderField has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ui/JsonSchemaForm.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"78639193f1e5c9aa4e5eaa35300aee2999d36a2edddd3df2f4094ee7aba88723"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8184c77d47e7396bd2673112a977c21e21d5a2fde16a7f3b82ab845f069db9c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyAcpSessionNotification (cyclomatic 13, cognitive 12): applyAcpSessionNotification has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/sessionNotificationAdapter.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17b1b6b17a4a6eb47924abd89de868d394eb1ce1a8d8d47eaf7f426e95d2af8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useAutoSubmit.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbef75411c1407fbfcecc54122c628eea2d610a62ef41b5575373efc742920d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function logToString (cyclomatic 13, cognitive 11): logToString has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"1359e9fced648e3b0e9c689fb2a0443c7fac07c954a235405fbc3349c3021d80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 10): (anonymous) has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/LocalModelManager.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff0df963dd47a8bf9a7c14346a5cbcfbbda727aa3dc0d183b33c3b4c432b8b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 10): (anonymous) has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"c833689651deff72607bbaec6b0820927ec489117e14247b6a5daf5e93a53f5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolCallWithResponse (cyclomatic 13, cognitive 9): ToolCallWithResponse has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f92cab17a6e8244d0b0da249c7ea76f8ffa9bbfff7a47d4b336e76391c6fcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function identifyConsecutiveToolCalls (cyclomatic 12, cognitive 28): identifyConsecutiveToolCalls has cyclomatic complexity 12 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/toolCallChaining.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4918456095f3b49eb06b7332b3eb3cd3ec1e6b457672d5dde9ec07f017a5bade"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submitMessage (cyclomatic 12, cognitive 19): submitMessage has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/chatSessionController.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8e29af9bf91d74806bc0781d38d365732af2ab87239bcc6ffe6099c6faa6a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSubagentSessionId (cyclomatic 12, cognitive 19): getSubagentSessionId has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"478b5cd34a8c5ed56b66010ca64e43285cd9c3c0df3d627ae93c63e690478b49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveMessageRowContexts (cyclomatic 12, cognitive 18): deriveMessageRowContexts has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/messageRowContext.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"315a986616b70d909c46afc21a0324254b4973f7e520e2cff8499cbba559726e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyChatStateChanges (cyclomatic 12, cognitive 13): applyChatStateChanges has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/chatSessionStore.ts"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bd32ae94118498de5d4806fcbc8bbf83b49870cbc35fe8d0ffc3d8c35b08bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01b366333809bc556d84c6d589ad9aa977fd936f30457665a4cfbe77b804a31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tocLabel (cyclomatic 12, cognitive 12): tocLabel has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3623eb46edb88736892a49cf0cd39f7612b1dbc997d80c9cc2e4332af97db2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gooseExtensionToExtensionConfig (cyclomatic 12, cognitive 11): gooseExtensionToExtensionConfig has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/extensions.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acdee50e31ae2f0daad5422267f809c2d6412379e3bd9c892d8758c05e923fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AppLayoutContent (cyclomatic 12, cognitive 11): AppLayoutContent has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Layout/AppLayout.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19865919dfe8faafbc476fa7e5d8e8caaed085848b160be9f5f7bbf812a8610"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RecipeModelSelector (cyclomatic 12, cognitive 11): RecipeModelSelector has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeModelSelector.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b19d38e4b9824ae3b082535c6200b1169bf67d0964b35630eeb5ec0266125f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectProvider (cyclomatic 12, cognitive 11): selectProvider has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/tests/e2e/app.spec.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafc729b14ba6063e0529d0216e7f0670b76c0829e7a33e89ffa075c31154758"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderDiff (cyclomatic 12, cognitive 9): renderDiff has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f2e15343108738d09b49a1926aa28840f374a9cf5cbae6ae41b155a9db8530"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAppsEvent (cyclomatic 11, cognitive 17): handleAppsEvent has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/platform_events.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26261350fad842fafd37ed3294378f74b6f8a1b276313f8e44dcaf994f7ae13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createExtensionConfig (cyclomatic 11, cognitive 16): createExtensionConfig has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/utils.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d02c27e4a9328c7d5d68ea74cd2ddc3b87495bb66e30f9b1a74c0c3792d5df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseToolNotification (cyclomatic 11, cognitive 14): parseToolNotification has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/adapter/toolNotifications.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa26076b0b51b9579f2b55804d3bc700088ced148edf421370444ae449d83b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be31ca0c0a8e39cfd8a5dfee249038b7545e68c13b86788ca708987ea445362"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resizePipGeometry (cyclomatic 11, cognitive 14): resizePipGeometry has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/PipWindow.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"568bcb057e8a3438d7e3363a9f6b9d8e55f646527d5142711c90eda14f1ee180"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ui/JsonSchemaForm.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"427ad9985add93a8b03a011cde09e914d795c1dda8a687b4f3fb19598ed3c8cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/liveVoice/useLiveVoice.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2884c5b728bc5c4b0cd75a311833eaaa0966d480d7a7ed2cb52f9ded9bad65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleLocalSubmit (cyclomatic 11, cognitive 12): handleLocalSubmit has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleModal.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"566b5da2974b6a4f803b2e6df3c6e69ad679a57a9c9a0186739cd535e4512739"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useAudioRecorder.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d542576a5aceda053382849951466045c1df0166b5447edf3e7a50495bdc29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadProviderDetails (cyclomatic 11, cognitive 11): loadProviderDetails has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c469790ad689edbebcfa6285898e3a680701f162dfd48a94ef6633847441aac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/useDisplayMode.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a241fe432367ab23b4489430dc0ae6c6abb8c127ab49560fb18b81c5ea378339"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ParameterInputModal.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5414be993a389ee55f6333a83c953cc4c92129fbbfdc5796d379044991862f74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CostTracker (cyclomatic 11, cognitive 11): CostTracker has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/bottom_menu/CostTracker.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"033a8c29b22a3318c5d48ea66ac1bb813b895654b5408d4edf5423936ecee134"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function positionTooltip (cyclomatic 11, cognitive 10): positionTooltip has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/templates/assets/mcp-app-bridge.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b49c6c1189b6cc078d2119695d51a43b421ad5aeb97daee8092911f5f3220d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ElicitationRequest (cyclomatic 11, cognitive 10): ElicitationRequest has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ElicitationRequest.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2b3ddaf67a141e4e3e5152592482408a189a9f3d8a6b9fa3bbda9085d11184"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserMessage (cyclomatic 11, cognitive 10): UserMessage has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/UserMessage.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c11836a3812e7fa7d59bf1a54efc696df88c93caf7a78bac5042588add05a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/ExtensionsSection.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb39e960e6f1da6bdacc0e1ca68dd9f91d200de43aa1da6b8ba4108bc6d11b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"736b10852639454ab026f3cd88eaf94c237b95a586f66025b2c1a5f2435a38e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/permission/PermissionSetting.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d829c7cbf014a224249eade43f18cb194b1de1e0619985cdd49f18846afbd988"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useChatSession.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2790032749bde1629663b3498c0556236cf73895bb7dac20e6aee7556ba4e47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 11, cognitive 10): handleKeyDown has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/hooks/useFocusOnTyping.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f895811b3ee87b3c196a48f875d2b0c6df98b1380eac795db8b42828bd674f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":2959}}}],"partialFingerprints":{"codehealthFindingId/v1":"7421b77e98397ec6b11aedab9c84f8677b3abe56906cae94f7f82e9fe4372c83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function userVisibleContentBlock (cyclomatic 11, cognitive 9): userVisibleContentBlock has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5d6526621526768e56be597e0a648fdab8115f4515eeef519cb1847ef2c9fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/auth/AuthSettingsSection.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d3794de3f561a862a624a971eb4797496260e42c1af7fdaea692998b98c528"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DictationSettings (cyclomatic 11, cognitive 9): DictationSettings has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/dictation/DictationSettings.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4634f65a9d2c0aef790b6302deed956d994b1e2fcafbccb86a100314e9b205"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/main.ts: 2742 lines of code: ui/desktop/src/main.ts has 2742 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2468d6347955bfe7e7416dfa90e1f06ff817dc66e298e9ff9bb8a66b8b165439"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/ChatInput.tsx: 1747 lines of code: ui/desktop/src/components/ChatInput.tsx has 1747 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ChatInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"189e3c4863f0d873f0af5f1c1d2eee97d2e2b4b2b2e069fcfb928be5cb551273"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx: 1031 lines of code: ui/desktop/src/components/McpApps/McpAppRenderer.tsx has 1031 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/McpAppRenderer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4304924680fd7fd02352cb2d88b1593692a99136da9ff3bd76798cdad223d582"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/sessions/SessionListView.tsx: 1016 lines of code: ui/desktop/src/components/sessions/SessionListView.tsx has 1016 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/sessions/SessionListView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee327fcb4ff266c7d8b357074f3969c4f7cb4090735c447c9cd8ff3a3c787b2"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/recipes/RecipesView.tsx: 995 lines of code: ui/desktop/src/components/recipes/RecipesView.tsx has 995 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/RecipesView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd07ec4bfec05e8c4f91fbcb34a805129e2cb1f1d2255917551a4494fb4b27f"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx: 951 lines of code: ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx has 951 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/subcomponents/forms/CustomProviderForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d845d0264330174d59b7cc210c45c672e54c7709588943e0f7df61d7598f4a5"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx: 927 lines of code: ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx has 927 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/models/subcomponents/SwitchModelModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb151fdebb5eafeff291c5363d3046d462ccd058a5bf94b61b11e914949dc1a"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/ToolCallWithResponse.tsx: 901 lines of code: ui/desktop/src/components/ToolCallWithResponse.tsx has 901 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/ToolCallWithResponse.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6e7d9896a682a44c8727607cf128c29b4935747d861b41e2384c9a73b87aa5"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx: 756 lines of code: ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx has 756 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/ModelSettingsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b9732ac3c0ee014f1ecc20d9b3681a3a96cb8fc39d3449b40af8dc504d21f2"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/utils/autoUpdater.ts: 749 lines of code: ui/desktop/src/utils/autoUpdater.ts has 749 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fcc513fbab74082d2913c0188c5fadfc816e4f7cdf6050566d6428fc6edb97"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/utils/githubUpdater.ts: 716 lines of code: ui/desktop/src/utils/githubUpdater.ts has 716 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/githubUpdater.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0ba416802ffcc40f7e5901550f4d755bc8f5cedba9e892d5caaa494a9db7be"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/acp/chatSessionStore.ts: 700 lines of code: ui/desktop/src/acp/chatSessionStore.ts has 700 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/chatSessionStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23e21a1779bedf2aa705ba12fc890588787da254edcd8eff7425f7d18defc0c"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/SessionActionsHeader.tsx: 639 lines of code: ui/desktop/src/components/SessionActionsHeader.tsx has 639 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/SessionActionsHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"752b054afdf2ebd1817f2d47d94455f606e26bbfdc4196e05e93dec4fe1e03f2"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/App.tsx: 626 lines of code: ui/desktop/src/App.tsx has 626 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d35127165e5a8925f641650dc63e7fdd70a8214f9b2f7da3a49dee221933cdc"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/MentionPopover.tsx: 613 lines of code: ui/desktop/src/components/MentionPopover.tsx has 613 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MentionPopover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40adb516abfc76160a27d387628d9a0610c9b6eedc2cba57d36e5851eab44e7b"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/utils/analytics.ts: 600 lines of code: ui/desktop/src/utils/analytics.ts has 600 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/analytics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec86221e46f607b70bc9da2c811f77dd37bdaa27bd5cafe975f8fc43cc7dee54"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/McpApps/PipWindow.tsx: 594 lines of code: ui/desktop/src/components/McpApps/PipWindow.tsx has 594 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/McpApps/PipWindow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d004825859e25289379a7158e8820f18eac9c4ea49ff63ffe9269e95176cadf8"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx: 588 lines of code: ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx has 588 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/RecipeFormFields.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e2679ff653658163495af004faa055cf77bafaefb55fdb4dcb0b78ca1a56bc"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx: 584 lines of code: ui/desktop/src/components/settings/app/AppSettingsSection.tsx has 584 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/app/AppSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9475a6cec8facfd73182c22465de8f11714c58548d58e2a051f42523547fa4c2"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/BaseChat.tsx: 581 lines of code: ui/desktop/src/components/BaseChat.tsx has 581 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/BaseChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3568dd8791dc73611d5ac1811bc9452faa7ee7a7bc75f9ad1c1494bbb1d3f72"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/schedule/SchedulesView.tsx: 581 lines of code: ui/desktop/src/components/schedule/SchedulesView.tsx has 581 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/SchedulesView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cfe0a584ac4e3f547211ced87cef744ef586633ccc801612192b8118674385"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx: 569 lines of code: ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx has 569 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0349f2df2fad70a48fbc2aaa2909220a63decb6d517eab21ba8b2dfc34ae437c"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx: 565 lines of code: ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx has 565 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/localInference/LocalInferenceSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a7ebaf5ac47f0c6a195afc4cffafda7bf16ec833416a97c528b5da07381f44"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/goose/src/session/export_html/template.js: 563 lines of code: crates/goose/src/session/export_html/template.js has 563 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c076d82ea7c6f99b04ef418c4641494376ce1740f81ab792bedc43aec7d94a"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx: 559 lines of code: ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx has 559 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1569e35196918a566739a024334936d0add0eaca451fed90f99b1d3c1ae6f1"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/schedule/ScheduleModal.tsx: 557 lines of code: ui/desktop/src/components/schedule/ScheduleModal.tsx has 557 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff01834be967fd69ce6302a5dbb37bc5a5dbc34d1cca8d9fe7e26a65e313555"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/settings/providers/modal/ProviderConfigurationModal.tsx: 544 lines of code: ui/desktop/src/components/settings/providers/modal/ProviderConfigurationModal.tsx has 544 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/providers/modal/ProviderConfigurationModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"633ae204b3447254f66b501c26fefe1840ed90214808c792f87d36e13f5c51ce"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/gooseServe.ts: 536 lines of code: ui/desktop/src/gooseServe.ts has 536 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/gooseServe.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7a81a2755cc72f0351b7e311be10951d26b90c78d8470b228794f12ab81eb6"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/MessageQueue.tsx: 522 lines of code: ui/desktop/src/components/MessageQueue.tsx has 522 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MessageQueue.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e452bd990b1aabd1d8b45d0721fc7b86db620a8cbf4818979841e6cd6d2bb2db"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/settings/AgentLoopSettings.tsx: 515 lines of code: ui/desktop/src/components/settings/AgentLoopSettings.tsx has 515 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/AgentLoopSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2e7315ae5326d8bd635c00412e161736b81621fbef299ad25d1e17bded780b"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/settings/security/SecurityToggle.tsx: 515 lines of code: ui/desktop/src/components/settings/security/SecurityToggle.tsx has 515 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/security/SecurityToggle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df3d04fc24a86c87aa1e2b0fa893e263a30d1ded7698d1ea8c1e46ae4200c86"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/schedule/ScheduleDetailView.tsx: 493 lines of code: ui/desktop/src/components/schedule/ScheduleDetailView.tsx has 493 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/schedule/ScheduleDetailView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc24210b991ea9cfc76d01721aeed57212c6c3105d0e03ce78aae3d9e7a9b05"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx: 487 lines of code: ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx has 487 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92a0fd6e2d4e1eb9ca9dd13333e293d104e1ef9bebaabf4e1e5e3c14c3d558d"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx: 473 lines of code: ui/desktop/src/components/onboarding/LocalModelPicker.tsx has 473 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/onboarding/LocalModelPicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39402e8b8b4dd2e8a49dd9b13ba22e89828ec2cac4d3aa81adfe7253682850ad"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx: 415 lines of code: ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx has 415 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb65340e3659e15e4d13b530b8ab9f3aa09dc49dd45dcb1e9df9800c6009eb90"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/desktop/src/components/Layout/NavigationPanel.tsx: 402 lines of code: ui/desktop/src/components/Layout/NavigationPanel.tsx has 402 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Layout/NavigationPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13a191afb3daea4423b2e36b5abe43a5b6b7933473f192911ebc79a21670aec"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/export_html/template.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c128491a74c95556115b4747ec843f44217ce99a70652b722a6c0db6edd7e05c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/prepare-platform-binaries.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7ff2789420df0bff038a5beb0a208c394d05f469faca1846fe42162c5b40b7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/autovisualiser/templates/assets/mcp-app-bridge.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"466183fdba238b6fd31196301e9062e8e607bd92dda15a70db05af83b88b6475"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/goose-acp-client/generate-schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"977df309ce1ef8efc477a69517277f915396e90111ea4aecfa5f2fc4c772c25a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/tools/codebase-search.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c30a234e0c429ea242a5e9276f01d3919248e5e5a1b2b697af75775eb969c0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/tools/docs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baed8f85a173aae28a8642a779fa295ced335fbff9f474d6de3d6bc72e8bdac3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d62bd061d1ca5f17a0dca329bf94fa2aaa62452fef6ebd1c3787c63584a33e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/tools/github.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"855ae85dd9381421695c5917efc2c1cf0a69587aee6ae5e4a9922854f227c093"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/scripts/npm-versions.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dd17a758ea419e4661e8db0ec748fdabd8191b5dd175b541e5c01b1db9c25a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/tools/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce742f7891719bb810d5646e91d6b0ea9d70f96550c294d59ab4a6ed0c962339"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/events/messageCreate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c65fb5b4808d899b2722a59ba12aa9847d20f8afcdccf192ec434fa57d24986"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/chunk-markdown.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"247e512b0ebf8f1d632cf9c8eec70cbd318433fffb6d1119b9be80a7fb1547cf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/unregister-deeplink-protocols.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f05c0fe7d015cbd36d4874da83e3769aa6c0107a4d84d3a2ca14cc8d00d278"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/generate-windows-update-manifest.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9bfc4c8798e84795c146d8ed369e66e1f9a96d4d636c3ec6134d1462ce96d2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/mode/ConversationLimitsDropdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97e96e7ccbfeb10ec2550d40f34a642f407e5b915ccaf4d9f587ddf7e653551"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/goose-acp/bin/goose.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f66bf60e432df99d2cf31a40bc2e3218bc7762e5f0b49dd84a24f4d75b08fd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/tools/codebase-viewer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3dd396a4bbef078a454ec522f4cfcea8b605e1eff58f1a4dc9c7d682aad6c8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3bbdbcf0ffa648680e0f36351e601efde11b5daf8aa166154e33568e70d9f0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/discord/message-content.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d6ba11d683059a096ce455a96d31a8391b3935dc06cd170065c23a3b4aed0d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/sign-windows-installer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16704ea094df87eeee7fd5bd1be8efb5bf6d20c03c2b2d9282898b7a9983f9c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/discord/thread-memory.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"057a587d507c1c858dda7678539a7152ccac5d4a4d817a0fd2104250445c84bf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/renderer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a1f439eda50788d9db3a17df67a2781e1dd005dffb6a0c13ce5af6d0aef14a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/build-main.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"824f24dca29ae6374e956ae26d6ec2ec26f3f53416bf5a9bb6025a39375813c1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/i18n-check.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"465795242ca4ed0e8faf4fcb9709e7b61bd021bb156a886657a71fa98f6a41d4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/discord/server-context.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa40cf6a5549d76777a4c14b641c83768c31bf58d14182136a33c1a11c0c0cf3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/verify-mac-update-resources.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"196baf39661acf4a99dc0e6afcc8b0e43a36bd4dee39520a13b897a410a28efd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/logger.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5351b09708f93da94792d31481bdbe64df62a4fb76c8bcb288ece40858d139"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/i18n-compile.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a29ba1cf9592810b1de0aeef505bbef2c1ca9cdee88943c6e0f9b1c3b9d8084"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/source.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e93b9930efe2e255d2049d92a6e6566f5a10cad1b7e88112e9af112a4ef522b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/ai/system-prompt.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8444446780c682ffe76bd5214e2cf8e8b3c7ce4e1eab574f19cd753b80c185"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/clean-vite-cache.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99770374e507568f848094ee155e29c6ca0ede0f69ec57f23987ca38cc8fb236"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/clients/discord.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13ba32f9d27780b6097d53c85dcb81d6f5ffd3067931a706dd16b6e36d45851"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/public/audio-capture-worklet.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ab7517dcf308f2bdbee0348b997e69fe0cbf3ad6f96ad0e2078abc04a8bd9a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/suspense-loader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5935788630e00c88af94409293687ab00c948c677eb8e0e48d7531433e54ca"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/commands/ping.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4acfbdaf3613f2a62d67e792eaa5a8d9c47b04a89ac736400eca1f28d45755"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/events/error.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8fac5883f16659494c3aead5a9d19854e97150acbd5863220dd3ef25c1abb1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/utils/redact-secrets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"832b5870eb10956b14669a8afea389adc51a81388381a67dd3b82f4b9e4fe2f3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/ask-ai-bot/clients/ai.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9add060b6a74bdfb2ef34b1a7b94c7f0f7ec9fffe2150ddf06b5796716a7aa49"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~78 LoC): no import path from any entry point (71 application, 25 tooling, 136 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/mode/ConversationLimitsDropdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adedce38b731ec5f840ce65ea24b1ab6df8482b87dd9e542dddcc2cf96084ad0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~54 LoC): no import path from any entry point (71 application, 25 tooling, 136 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/sign-windows-installer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57dbd5619ce0a3f3cfe2dc950732d7482c3342341478b5552a8df690db97e4f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~48 LoC): no import path from any entry point (71 application, 25 tooling, 136 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/scripts/build-main.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f53c25268c73a1cff68200f3dd9b1359d86fd07147129cd4bca9c09879f46e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027repositoryFromIssueUrl\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"buzz/github_manager.mjs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"14970604ec80ca0d58cb1bf8e83da1a25936faf0b44642b8616f335b44d4a467"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Archive\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in ui/desktop/src/components/icons/toolcalls/index.tsx, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in ui/desktop/src/components/icons/toolcalls/index.tsx in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/toolcalls/Archive.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3fa66ecd3ec0d29958ca6c364ddf761fb7e33b3fffa84ce3b09f791f9476cd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Globe\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in ui/desktop/src/components/icons/toolcalls/index.tsx, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in ui/desktop/src/components/icons/toolcalls/index.tsx in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/toolcalls/Globe.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3125531ed62d9736da73ec9f9adc5b991127a1b59864e544b0d97efbef9f67c6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Settings\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in ui/desktop/src/components/icons/toolcalls/index.tsx, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in ui/desktop/src/components/icons/toolcalls/index.tsx in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/icons/toolcalls/Settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac2ba770bce766752300905ca6b30c7fe83b2ff59a0420f765e256b3d10ea62"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SupportedLocale\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/i18n/index.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1317be4c2d2ca5023272cfcc1d37e8a4ef537d8909c7c14f3511914d516d730"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getStorageDirectory\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/recipe/recipe_management.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b418956e0325e04abce2023294878f9bce68dea7ce0184b2044cdc871f89aa9b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Envs\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/types/extensions.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8976c3d309b91a828483b10814c250614fdf27adc9ec35e8209c460ef22211"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getAutoDownloadDisabled\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c464b156b3565917eeaf1cbb7f7ba0e0ee072b8430c80e7e8d525178092fb9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027shouldHideTimestamp\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/toolCallChaining.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4adbb52f8d092daf57fd44e28bd655d31ad7d6a3d3ee797541be018b69f4451"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isInChain\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/toolCallChaining.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e584f25e388036a1fccbc4633a54a1a0adf14d71aa71dc982bcaeb06b816906d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isProtocolSafe\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/urlSecurity.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"231a175324cf89ad33a7873b27a302ba9ef60c2731e81dd0a4741e005e61d9f7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getProtocol\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/urlSecurity.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9387d0f5feeb6ec671aff890ed2c14464a3abb0174b1993b1911fa0ecf7a0567"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027mockAllPersistent\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oidc-proxy/test/index.test.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d56f71ba7f4517f7fdd63dbe9ff29e3a76bc50919612e95e22695f096ef580a"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@testing-library/dom\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/MarkdownContent.test.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a365fce5f51ff9aeeff4aae1ac6c8f1c52842a894556c1f944ebcc8678e236bc"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027yaml\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/allowlistFetcher.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbf35721d41a62891bb23853778ad0a73c8ac1e430685655dbc7a5cec221125"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (4 files): ui/desktop/src/acp/acpConnection.ts \u2192 ui/desktop/src/acp/chatNotifications.ts \u2192 ui/desktop/src/utils/platform_events.ts \u2192 ui/desktop/src/acp/mcp-apps.ts \u2192 ui/desktop/src/acp/acpConnection.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/acpConnection.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5066649feaad8645958d5d922d42a6ee89d2a13df78a8b9bd8a138e0dee41ace"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (5 files): ui/desktop/src/acp/chatSessionController.ts \u2192 ui/desktop/src/utils/extensionErrorUtils.ts \u2192 ui/desktop/src/toasts.tsx \u2192 ui/desktop/src/components/GroupedExtensionLoadingToast.tsx \u2192 ui/desktop/src/sessions.ts \u2192 ui/desktop/src/acp/chatSessionController.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/acp/chatSessionController.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b0f4e7419cfa3a64e4595981d00d4e5bdbd85498d74e900a4631fea20ebdf0"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): ui/desktop/src/components/settings/extensions/subcomponents/ExtensionItem.tsx \u2192 ui/desktop/src/components/settings/extensions/subcomponents/ExtensionList.tsx \u2192 ui/desktop/src/components/settings/extensions/subcomponents/ExtensionItem.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/extensions/subcomponents/ExtensionItem.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb97f841841ca4c9e0fd4aec777179e13b953c274b48a25d9076784cba518f1d"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx \u2192 ui/desktop/src/components/settings/keyboard/ShortcutRecorder.tsx \u2192 ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/keyboard/KeyboardShortcutsSection.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"80966f23187dce16063f64b07446169a272a1710e3229098f34ffc06e3b42d3d"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): ui/desktop/src/components/settings/mode/ConfigureApproveMode.tsx \u2192 ui/desktop/src/components/settings/mode/ModeSelectionItem.tsx \u2192 ui/desktop/src/components/settings/mode/ConfigureApproveMode.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/mode/ConfigureApproveMode.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0266c56ce8f1e4818b9eb465ec75b8817e7ea6dfddf145d3148a34cc89889f6e"}},{"ruleId":"S1","level":"note","message":{"text":"Security headers incomplete: Set: Content-Security-Policy, Referrer-Policy. Missing: Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options \u2014 the four headers that carry the points of this card\u0027s security-headers term (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options), 0.5 each.(\u22121.5 on this card.) The server: \u0060axum_server::bind_rustls(\u0060 (crates/goose-cli/src/cli.rs:1793)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e9931804dbad8b1657857c9b88c05b8faeff182b6e2bb88641bd59bac687876e"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: oidc-proxy/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oidc-proxy/package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a85b687ef1071990baa4a7dc9cb1ed0962ac47083a9f86f2b4b29530a437548"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!entry.value || (entry.serverValue != null \u0026\u0026 typeof entry.serverValue === \u0027string\u0027)\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/components/onboarding/ProviderConfigForm.tsx, ui/desktop/src/components/settings/providers/modal/ProviderConfigurationModal.tsx. 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":"ui/desktop/src/components/onboarding/ProviderConfigForm.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b981024727912d1425b2cdb75f0d6e302138564fac3b330ad1e88439bc98e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!filePath || typeof filePath !== \u0027string\u0027\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/main.ts, ui/desktop/src/utils/pathUtils.ts. 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":"ui/desktop/src/main.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2e524d97ae9bdfc57a2a0df0e9aebe81dd9746d25ae33a2eb35f4b577dd8b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isNaN(timeoutValue) \u0026\u0026 timeoutValue \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx, ui/desktop/src/components/settings/extensions/modal/ExtensionTimeoutField.tsx. 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":"ui/desktop/src/components/settings/extensions/modal/ExtensionModal.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8568ac5fd6c8f6ef24a4c5906d44d0debe9dc222a6ac9acfb03439556c02816"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!settings.keyboardShortcuts \u0026\u0026 settings.globalShortcut !== undefined\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/main.ts, ui/desktop/src/utils/settings.ts. 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":"ui/desktop/src/main.ts"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab19ca1663aca4fca303b19236f7df69674b1db58a0096cbedd6b6cb82e3fe0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0027error\u0027 in error \u0026\u0026 isRecord(error.error)\u0060 appears character-identically in 3 files \u2014 ui/desktop/src/acp/errors.ts, ui/desktop/src/acp/recipe.ts, ui/desktop/src/acp/schedules.ts. 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":"ui/desktop/src/acp/errors.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55257b0d6fbbc1d66b46e4dcc877deeabc23f084f5be343f19bc3ddafa730ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(names) \u0026\u0026 names.length \u003E activeIndex \u0026\u0026 names[activeIndex]\u0060 appears character-identically in 2 files \u2014 documentation/src/components/ImageCarousel.js, documentation/src/components/VideoCarousel.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/components/ImageCarousel.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceb00c968cf000082354a1c27849463d1be2664201b26cea29b7ae155ab728a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.type !== \u0027builtin\u0027 \u0026\u0026 b.type === \u0027builtin\u0027\u0060 appears character-identically in 3 files \u2014 ui/desktop/src/components/settings/extensions/ExtensionsSection.tsx, ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx, ui/desktop/src/components/settings/permission/PermissionSetting.tsx. 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":"ui/desktop/src/components/settings/extensions/ExtensionsSection.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffde5511aaf4b91a503e02dc9847733526d467e7277a4955f5798b440a91e3e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.type === \u0027builtin\u0027 \u0026\u0026 b.type !== \u0027builtin\u0027\u0060 appears character-identically in 3 files \u2014 ui/desktop/src/components/settings/extensions/ExtensionsSection.tsx, ui/desktop/src/components/settings/permission/PermissionRulesModal.tsx, ui/desktop/src/components/settings/permission/PermissionSetting.tsx. 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":"ui/desktop/src/components/settings/extensions/ExtensionsSection.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b6e11d3cae4450c004e8f0d51b6b37c9e8fde89a30d255051cf179ce32d859"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060availableTools \u0026\u0026 availableTools.length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/components/recipes/shared/RecipeExtensionSelector.tsx, ui/desktop/src/components/settings/extensions/utils.ts. 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":"ui/desktop/src/components/recipes/shared/RecipeExtensionSelector.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cea44a5b5d73d5777d52e0ee551f934124df2f213840e73e7e79c37a0325dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 \u0027code\u0027 in error\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/utils/autoUpdater.ts, ui/desktop/src/utils/githubUpdater.ts. 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":"ui/desktop/src/utils/autoUpdater.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7017241acb17b94908fb3b9424230ef9823eebb61fbd077c7d7e6a73d54ee6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060invalidFields.key \u0026\u0026 \u0027border-red-500 focus:border-red-500\u0027\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx, ui/desktop/src/components/settings/extensions/modal/HeadersSection.tsx. 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":"ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"427008319a223c31a7e8cfc61414143a178bd8815c9842ba9ac9188db635aee7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060invalidFields.value \u0026\u0026 \u0027border-red-500 focus:border-red-500\u0027\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx, ui/desktop/src/components/settings/extensions/modal/HeadersSection.tsx. 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":"ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9ff17f43536de15a8b1a2450b2370adea2d4f9eb5b224664bf54591f3e47f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isFieldInvalid(index, \u0027key\u0027) \u0026\u0026 \u0027border-red-500 focus:border-red-500\u0027\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx, ui/desktop/src/components/settings/extensions/modal/HeadersSection.tsx. 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":"ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b5f7343976bc0a6ccd5804f992817448af366da48aa0e4cb9645aebe00c378"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isFieldInvalid(index, \u0027value\u0027) \u0026\u0026 \u0027border-red-500 focus:border-red-500\u0027\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx, ui/desktop/src/components/settings/extensions/modal/HeadersSection.tsx. 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":"ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6be0052042e36bee91a73ba5cccb1e563e1c5ab7c5a588e9c9007af085cc2c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isRecipeDeclined(error) || isRecipeParamsCancelled(error)\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/App.tsx, ui/desktop/src/components/recipes/RecipesView.tsx. 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":"ui/desktop/src/App.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce16b99e5bc43a484661dc3d581431bd81fd74f35d04fa8b9268b81fc40aa110"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower === \u0027zh\u0027 || lower.startsWith(\u0027zh-\u0027)\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/i18n/index.ts, ui/desktop/src/utils/externalLinkTranslations.ts. 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":"ui/desktop/src/i18n/index.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e343f299af2bac61f2297eb2b365e8b44f5ff3a81d2c27fada8604cf84829dcc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newKey.trim() !== \u0027\u0027 || newValue.trim() !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx, ui/desktop/src/components/settings/extensions/modal/HeadersSection.tsx. 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":"ui/desktop/src/components/settings/extensions/modal/EnvVarsSection.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f0225c45ca410b92a4f087b2061af184963c7f8fdc96ebbc0ad2b42d2ffeef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060param.input_type === \u0027select\u0027 \u0026\u0026 param.options\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/components/ParameterInputModal.tsx, ui/desktop/src/components/recipes/CreateEditRecipeModal.tsx. 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":"ui/desktop/src/components/ParameterInputModal.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"260f2439cff3795f50b89d298cb1da0e6913dea3cd049d937fb84f107dd2950b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.GITHUB_OWNER || \u0027aaif-goose\u0027\u0060 appears character-identically in 3 files \u2014 ui/desktop/forge.config.ts, ui/desktop/src/utils/githubUpdater.ts, ui/desktop/vite.main.config.mts. 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":"ui/desktop/forge.config.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f205aea77ba7f511d93506ee60037e4f2912e94144c9d6b7d17a27d76ead241b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.GOOSE_BUNDLE_NAME || \u0027Goose\u0027\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/utils/githubUpdater.ts, ui/desktop/vite.main.config.mts. 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":"ui/desktop/src/utils/githubUpdater.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8a16be7347d3050b7009a43983c26d918adc7728c2cdac2793cedc5851a2ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.canceled || result.filePaths.length === 0\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/components/bottom_menu/DirSwitcher.tsx, ui/desktop/src/main.ts. 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":"ui/desktop/src/components/bottom_menu/DirSwitcher.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa697a34ea979ae280532b04ed4d18158ba691a7a17453b94d0da73bd747628"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof error !== \u0027object\u0027 || error === null\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/acp/recipe.ts, ui/desktop/src/acp/schedules.ts. 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":"ui/desktop/src/acp/recipe.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf578e591ce77eecb45f65e2dcabc67cdcf606e8daf162f6dac305c552e2fd8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof error === \u0027object\u0027 \u0026\u0026 error !== null \u0026\u0026 \u0027message\u0027 in error\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/recipe/index.ts, ui/desktop/src/recipe/recipe_management.ts. 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":"ui/desktop/src/recipe/index.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"842aa57dfd992b5bad4735d242edaa52356589d0e06fb5cdc25525a47549e759"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/components/MessageUsageStats.tsx, ui/desktop/src/components/settings/AgentLoopSettings.tsx. 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":"ui/desktop/src/components/MessageUsageStats.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"677784536339247876b13fb702a1948b1b0518973988af51024e1bb38730f1aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027object\u0027 \u0026\u0026 value !== null\u0060 appears character-identically in 8 files \u2014 ui/desktop/src/acp/adapter/shared.ts, ui/desktop/src/acp/capabilities.ts, ui/desktop/src/acp/errors.ts, ui/desktop/src/acp/recipe.ts. 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":"ui/desktop/src/acp/adapter/shared.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f59f2261a2b75a0874069dbc40db1390ad9102a0354d3a0be94ddad63ca6bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027object\u0027 \u0026\u0026 value !== null \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 ui/desktop/src/acp/mcp-apps.ts, ui/desktop/src/components/SessionActionsHeader.tsx. 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":"ui/desktop/src/acp/mcp-apps.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f8f265827006515fe6d8019982492c3e24514af8fe3fe2a868827e6f58fdae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not benchmark_dir.exists() or not benchmark_dir.is_dir()\u0060 appears character-identically in 2 files \u2014 scripts/bench-postprocess-scripts/generate_leaderboard.py, scripts/bench-postprocess-scripts/prepare_aggregate_metrics.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/bench-postprocess-scripts/generate_leaderboard.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e14a249b2bd3e07bfc9e8a888c42a8f634a9dcaa2820e5abb2e07e9fa61cae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!in_double_quote \u0026\u0026 (in_single_quote || current.is_empty())\u0060 appears character-identically in 2 files \u2014 crates/goose-agent/src/skills/arguments.rs, crates/goose/src/utils.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/skills/arguments.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"609429c9fbca5ab1d6c0d6cff2c537d23297abdf20b45c4f3b2e8350f3e15943"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.is_whitespace() \u0026\u0026 !in_double_quote \u0026\u0026 !in_single_quote\u0060 appears character-identically in 2 files \u2014 crates/goose-agent/src/skills/arguments.rs, crates/goose/src/utils.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/skills/arguments.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d4f95dc133764f0d5a621fe620a687c770fd01adad565286701bf520719218"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.dynamic_models == Some(false) \u0026\u0026 custom_models.is_none()\u0060 appears character-identically in 5 files \u2014 crates/goose-providers/src/anthropic.rs, crates/goose-providers/src/ollama.rs, crates/goose-providers/src/openai.rs, crates/goose/src/providers/huggingface.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdecac2def0489edcec16442050a4da50c670dae27bd0a29abdf9d5fcafb43bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060first.is_ascii_lowercase() || first.is_ascii_digit() || first == \u0027_\u0027\u0060 appears character-identically in 2 files \u2014 crates/goose-providers/src/declarative.rs, crates/goose/src/config/declarative_providers.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/declarative.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"3113a34f8e9daed7ca1ad25b37989aad7032a97dff08c37507d4df2e2f5ce722"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host.starts_with(\u0022http://\u0022) || host.starts_with(\u0022https://\u0022)\u0060 appears character-identically in 2 files \u2014 crates/goose/src/providers/ollama_def.rs, crates/goose/src/providers/toolshim.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/ollama_def.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bccf024deda35f3dc365e13f98dd1af846f5082c5f31b549b23909d5dcb519"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060max_turns == 0 || turns_taken.saturating_mul(2) \u003C max_turns\u0060 appears character-identically in 2 files \u2014 crates/goose-agent/src/max_turns.rs, crates/goose/src/agents/moim.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/max_turns.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e139d4c98ad865f48703688805d6c28589b815a50bc37ffa1f219cc5d52882"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060msg.contains(\u0022max_tokens\u0022) || msg.contains(\u0022smaller steps\u0022)\u0060 appears character-identically in 2 files \u2014 crates/goose-provider-types/src/formats/anthropic.rs, crates/goose-provider-types/src/json.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":3175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbef5f64c655aa4d835c32fcb28bb46ea9b187572e3918b824abfad74875a08e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060msg.contains(\u0022tool arguments\u0022) || msg.contains(\u0022truncated\u0022)\u0060 appears character-identically in 2 files \u2014 crates/goose-provider-types/src/formats/databricks.rs, crates/goose-provider-types/src/formats/openai.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83ed63097d4aa97706ffdef28a1bf1d6d6eeec6ba55cba2a0a4e45c1112355c"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 2/7 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: downloadUpdate: \u0060downloadUpdate\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/githubUpdater.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"5704347a4bf607aea1ef8ca6b8d54799810bea5e6b46f9a5977c53e721624405"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchJwks: \u0060fetchJwks\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oidc-proxy/src/index.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5bbe023eea111fc70cfd51ce1b62b00b8064ed8f27c47e8cc04a5560dce7dc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchGitHubStars: \u0060fetchGitHubStars\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/utils/github-stars.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"951bba1a2a2e1a6c68a0d93751d158bf13a221e4f83865d3ad01440f80542f0e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchMCPServers: \u0060fetchMCPServers\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/utils/mcp-servers.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c562538a2814701820aeda2fc09518aec351711585cfd2a75708436abd9c34f6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchLatestRelease: \u0060fetchLatestRelease\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/src/components/LinuxDesktopInstallButtons.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fef6307025deceadc203217f4d9425cdcabdf46999a0321cddf88bf576b4b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 472 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6398cec006a4e2b63ad3e695299b2f51a86ccfb744a783d2dd28b82dfeb746a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 523 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"920798624691b6f7d986b61ed9a14a45db318983fad6d121f5e39d1f738c8e4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 528 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"f890bd9b988e9596d45284b023ac155d7284e01fff6d65feef773062aae9a6c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 530 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"377833d5056f88daeb825cbf73b159f38dbbd3899b78d70243ed9b6bd2d7c0f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 545 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edc0535e4f6c0927dee89b720e59073e17fc5944e62012267ec6d051a3ce180"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 547 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ae81643012f7ed44ef5d449d07fd7a71b20060318affc658a8498f579e1aa0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 588 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"64895efd7656555e285e9126c2165ab83fa881989da85f70fb687ca936a4ab69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 601 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafee14d2bb80929ce45153b965524298d32265f910d903889f581ec356ae240"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 602 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b402fea406d00cc804702e1cfef1e7eb5f40bedebca14c7472333b5c6e15e8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 607 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9e4d6cca036cfe54e9f216f917573dd90188d34140c3424f0968f310eba273"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 608 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6010c5148bdf0a35aff3b2fa21fe8e54fdf9fd56dfaf61f3028e777d6232de1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 617 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9db06bd1dd7701415a19b1c0bfd4372070f0dda812d6834ab51c6b9983ca69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 755 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98ed02c26619071c10a9718788958b8fdf93bd215e12f7f4fe25522d0c13038"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 874 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/provider-error-proxy/proxy.py"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"7788470201175b72c104d5845db61a7f70c45001a762be1279f9e3a0d10496f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 347 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-roaming/src/node.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb4077f0f10e7608f0197d2d0f96ea4f8746207902090052c3d7359fa846113"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 516 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-roaming/src/node.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f8bff05b7ef34478c78c0ea78c909ec4a3be814d6570a6221fe9383ed315c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 532 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-roaming/src/node.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce962e54a911271d1d863ee2bb8bef95872f08ff7e51951c4acc4f7a7268859"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 552 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-roaming/src/node.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"829461249b613e0297e3f304473d5b749dc7dd4ebfed2bcb8c99a64361c5bae1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 606 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-roaming/src/node.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfc9a8f0bc1c86e690ce5613c298b405b5245dd94b4d6870b2817464e4044c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 397 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/anthropic.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0708198adb78a96532b39e404968717377823be153e21c61393ebc22ded45d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 338 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/http_status.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b088de29d603c83b9ac08ad582ea69c83b9872e626ba97e845adcfe4d9ef2983"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 551 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/ollama.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea2c609805105d3b3f0dc9160a0f6cf98fed990157b876c81208b7863a05ff0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 835 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-providers/src/openai.rs"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b21f2f0623d37818c9a8cd7932801d472f98b22276ab1d4df5ea942fb8885d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 137 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/retry.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbaf90e838870fd18a4c14055e4b57fca72ad0a7cd6ce2a65e8d851db4f194a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 221 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/retry.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee66256b9a6493c9ab1d247e3b8130f4289cd63ac6842acb365de0f5d2d543e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 228 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/retry.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db9c2af2ae17fe1dce7e19dd7e46e73fc1f76a7fe93457a8370f594193eb5bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 238 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/retry.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"31db888ce445b94d23344349e14e00761ecfcdfb488c1ab53b24b302e7c99313"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 261 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/retry.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf10c6278de8e173d6b2aad038c2c1107ef5218f450a4a6f7438cb48e335c204"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 738 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"4835d3d3b9a195e72d53ecb1bbf933584a41c38447d1c495a0f4df1010b117e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1205 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a758cf76e79bd84a679374ea49b0147e349caad84303f890467d03f556243888"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1336 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/anthropic.rs"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f7b59c8b6cbdf3e1bdf2176a02c340dbf38069aabd6546fa05a6d5edf6f078"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 332 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b648adf32175d8a2b052577276a2bea8723d4e49058e6721a0a6daf6173c6e87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 444 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c758dde9cb9f7427610e4788602f48fb64db058121eef7211118d4856adb696"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 502 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ec8dad1ba083e0f7b14518ba7c6e7c50a0eeeca5f84d87fc995adaef5fb217"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 515 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6a0716b7a94f097d3b08d00a3b45eab4434936968ac412913b90ae0d992f49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 709 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/google.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"270b7f17bc2ec4c949eb31c6ef13ebc9dccae37147e9db322f8f1ee2444545e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 551 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"628e68d8c0f73a2b326cb29ef147ea48f574c4187187ea4a879859e3c3e39092"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 680 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/openai_responses.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d79177b6c9369c085cc5ea8c8978a5cc818fbd1c73df7cc113a14d26947f20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 313 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/snowflake.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc728ad46026feac6d188aaacf245c3a4a19fe8095c660fde749752d865039b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 44 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/mcp_server_runner.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e35be733fa27038500329c1443c4aabf6a13eb854f9b1ed0880240e701e62b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 41 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-mcp/src/peekaboo/mod.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b07dc25f43612c311460d0606dede61be38e6d3b24b069a45a8042802d02e9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 45 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/tool_emulation.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f99889a23fef633f975cd244deee6fa351cc80365cce1e68757636712d87452"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 185 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/inference_engine.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3939d70432e0368e978bd98f94a0dccba96f3e35b11fc0936f09153b5aa5e19b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 206 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/inference_engine.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1312914c4223f3372c192a80cfc37d6d8c42a3174e36e6284383cf52e807285"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 109 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/inference_native_tools.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"416295573596b6c02c845199d2843738ba82efd917554d596d0f8ac8011c41ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 429 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/llamacpp/mod.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"941d94abffb74f68449eecbd7ee4a404cee35248be66eb44dab4ded2bf355502"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 91 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-context-management/src/summarize.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5421077a791b25a0cc82a5eb7062b24f1ac3c6a692529929e3144d4d284ec97"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1583 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0d6d26684e63f41976b9dacd9cea39c7f519d6cedd3f2ec96dba090b9725f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1756 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":1756}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4921b00def52e3f45624791cec06e89b9e52d99e5509219809fc6880a193ed2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1790 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"987d9f08045e5acca56b7adcb3ad13aab15c6efb1c7c160a8dc722778df0a310"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1812 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/cli.rs"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac608a8e16c4f64990150ace13a7c62f8482066b4a4c00806776d1222d8d1dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 806 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/builder.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13c177e1814ed2652ee2ce796cfa0ed37b6e1de82b43b4adb10171635e8b12b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 848 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/session/builder.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"02063c4cbf8eac31a35db1740b49ecff692ab13e1e215e0b21b80c9b724fe8d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2391 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/configure.rs"},"region":{"startLine":2391}}}],"partialFingerprints":{"codehealthFindingId/v1":"944899da79fa1906dd49be6816297136755b3c4876b20382ca50e1d23139e3ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 97 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-cli/src/commands/roam_client.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a22d610879aef6ef49ce0bb24cea5250645dd264fcff48b6ccd7f000ef08ca7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 233 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/action_required_manager.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ed236d044569eb3e537e81691d7ca94f35b2779f93dca7a343c4e596ea546f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 250 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/action_required_manager.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cfde76381aa328fe59d13d18e9bf91d11c6052dfac310832bf265d2d7418c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 148 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/extension.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3134ff53cc3beb5e0e5097cfd6cbc231edf7e72abb58c77ccecb81f2d85564"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 411 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/inference.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"1554baee0525b3635fe1be99fbdf6fc36f3c6e6a6c65885e9818368bf95b8c1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 588 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/inference.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dfdbd0337592430c334795480c52adb246503a73f8f9bd7f530e5873aa6a52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 64 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/skills/discovery.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8087a982d70ccbcade1c1ea3e40ca08170fb31c5568d9979701df6c9cb5d0e96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 72 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/skills/discovery.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cea1d9bf1d10c0725f7c68f1228144fcc75618d152c6b922780d096987636b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 81 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/skills/discovery.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29588b9accc109b73fe5c222641dd597b6866abf96f4622e6f0a7dcae17a41f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 177 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-agent/src/skills/discovery.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e782c3fe66dd4ded6866e9a86da4803a29651925e7e682390781071e66f5a551"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 574 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf4842617473d26ee4601844000f78f38c506b411fcc608be082acbe548be77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 612 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"8807d682d5844bc0b4ef415a91c5d6351be8d3edd34b11db7dd2d46fb1d53afd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/tool_call_labels.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d41bfb6ced239cb3627dc9cea08d2dd6c3f9bebc1757a4b6e0508ec091b0b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 99 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/tool_call_labels.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"44158ed3f8e77b48343b52a43c2aae223efce7597cf139bc6bdeee93e02d858a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 27 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/slash_commands/recipe_slash_command.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1822447716c4a845f4493ef165961805a4598ee4a7f268d5e4a6c10beb1ebb1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 401 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/mod.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"40368547e0753170b8d0349a3e6869ea80c98ade3f99f33fc9f2df009f321a84"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 409 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/mod.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5f008a53fe712b17dc07e253f74a77cff7fa794418e6f190ec4caa3a1663d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 418 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/skills/mod.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab8e030f3f77fce2b3b41453f2bfdeb7f4837f5eeb49516c278a90c70541121"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1131 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44e2243160b7d720a0309c99e9c2d8f573d7927d540415b30b83e84ed83724c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1318 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"778cdce23f1be398a85ec87b65692bf6ad28de83ededde9a61ed9aba7b5f1a9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1322 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad99a6e7bbf0c873ea71689c49704e622536e190c9af1f882cddc21c5c354cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1327 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caaacb81b67dca72a0f37f211f28d5838c2a3c789cdfbaf613199494fc94e4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1332 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c7af6dfd977ad711d46b3081769fcb2a9cb334f268bc8a05ad71c1b6fdaea7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1415 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"af82fd7b58d3740ce8edd2d53408559ae900518debf232b7d8b192b0fd00be92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1421 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f050ee7695c32b033ae10db0c6bb460e450ee01455dcecd840bb7b0343f51b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1424 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session/session_manager.rs"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcec10b4a6b15fe4e4b4107594c37b1afdde4f7dac0898c8ca3f563a3be2fa2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 99 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/adversary_inspector.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e5096b6d05d0c862893f17385049e66a4c8861f928c8599b4c5c554537b77a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 109 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/adversary_inspector.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d1e651d623b3a73d9aa035a23f028e622631c7962e82eab0d8c8c4f49fc3de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 123 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/mod.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"040e978de21188b979de4484f52e62f2a831b3a5b2f39482bca3eb76316f2f1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 143 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/mod.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39a387e3c8dc5de6e6ea29ad701e5ee22135f24d86ea2ef1218f175c5f62974"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 148 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/scanner.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"911605b6fbdb8bef5652db9a1b06435fcdbe04d46c871d1d5dcf2a1d9f42e760"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 163 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/scanner.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"484898a036a5217bc0dad0da1dcb365f9ca9d7a7e0b101c4e0bd847491fa8e36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 304 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/security/scanner.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"61041a438c0837365fb8564a29db7c47c81383bb874d5111a6fcca567a48a76f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 152 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e454b957342f502df0d6597f71a767d5c15d4b35cfa58f11d4fa8d611c5a37a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 172 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3100c8d5baa349647c8066a4fb2c5ccb37ec570d2c47b24f04df43f24933649"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 182 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1c23f3ce9ccd0b175ccce93c98a7aff037c5c33f9483e482c8c11455bb86ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 208 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9e65a1f4ac554e3efd7ae95ae500c05dd1851a24425c03517f6e85410e5909"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 241 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb7659392243ad81fc3584d6a787009b5b266e1cd81f65df339c3576e5eb40d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 245 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"519bd6a4ce39d84e53c845a324c954f8f65e7615f59c8a130ad55caf46654c7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 247 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c037129d64b65025f51ae0122297e12819662e1983cf0fd84d9b8a2982f6d9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 424 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4f355fa0e322acfb38e8e396c2b4e984b6dc9b211e38680c43fad76726cfbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 439 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76b4eabc6c280cb5924554d3f50c0584a5fb9f87ba3b1c57326b8bac7a96db5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 456 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebea8d7e68d2fd75f2c894ce9fe950cd02cce5165042c89791974606bffb78f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 459 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"764d56dc1e0bc790ecc17f6512edf65f6331fd19a4153fbbf946e1854552e346"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 465 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6fbd21b0432f1aebef633bb74023302d1fbfa78466a022bac93af177471ed1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 476 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc874174130ce2132f4ac9167bd2f87f69f25b3653e1207c07c962b99d3f948"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 488 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ec2a8ebd0f7d4f4760ec02d6d0b5b7292f8add58b42880cca372a27d4b06d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 537 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"b422542d744d2579372ee31c7a546ac191f47ae2d008b1b47aecdd17c804a2aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 547 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"d462ea97e517e58d91b5464515967984ebf40e1c12fd279fee413521d38a2ab6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 558 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27fbccea475cb4430ebf3219671d529da5a1b59b17b679235555eecf16e964a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 948 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ce45b07b991ae6daef0ee0f94067ffd69b72ae9266671ef41fdaeb0a36afa5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1007 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae93abe57df0a64f2c93b727580c598fffd5f6d85f81358c1e0821ee61916ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1070 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/scheduler/full.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d659bb52ec20998581afd4b7eca51a49e6f0583d549ee4a763735de3e2ce06a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 144 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/recipe/local_recipes.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e214942f8ef62ad91812eb24bacd6c2a017bd89c521fa4edfccf37728c23e35e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 230 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62af18b863a10067b4db56013edf313175718fde9a9ccdcc336c2e9ed8d23cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 725 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"258d74f556aaf0f8144357eff947ba0736c43d831ad910a80ef37da34f30c463"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 791 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/chatgpt_codex.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"758e073e8df354c3ca49dfffc665ec6b69ff3625aacf4a1ff8a5ca10b9a0fcd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 265 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/codex.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c6b24e4819d889a3b05ab5848b25edb86b2a14afc64248d57afac35af59303"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 368 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/cursor_agent.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e3d28404d137ccbf1185fc71a91e15f6d6aac8269ae224573b7c6067809161"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 370 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/cursor_agent.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba06b37555796125637b29f83a3ed577d972d2e853db22239ea36c6cca11f644"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 335 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpvertexai.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"212c83ca6f0488e2f998802520db8757d79233efc1d8ebc6cf5127f5354aa9db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 382 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpvertexai.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"433242388d02c8e8f8a803546b105708e881bc0994aeb1319403eccd22c36bf5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 396 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpvertexai.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f560d58e3a89dc06e0bf8f3891c872e542d2363aabde121e7a1d450b0bf47f75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 410 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpvertexai.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"000b6833ca482873a7bef592649d0f1e222f90649d715e99fd7928c510fc8b3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 412 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpvertexai.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"644d19dfa2b7fb781996b4ee606f253523f4cc4ba6110603a3691ee79878a101"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 464 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpvertexai.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"68591c4aa42fe67dbdf39f3560a03b7a99a3456ded929cbfc1304430ae98f4a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 501 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpvertexai.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"51678ce00f93f9875bd7701e194f30aa10ac762ddef9b6f0d06a7fcd314b95f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 509 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gcpvertexai.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f32f21a810f621931a15d54f535316bfd68db9f34e0f370c10572d57512ee0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 413 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gemini_oauth.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d775603220a4b6fec53dd1bad29b5056b98fb1e11b43c68baa2afdb68c8291"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 447 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gemini_oauth.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a6440c3267e1971d5eec870afe97e197b4b8364e3f1c77e840b5e6fd256f06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 690 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gemini_oauth.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"009c3e296eb05b0468707b32032b8a84a843ebf9efcb87f3568815265f052011"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 719 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gemini_oauth.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"f032ba9dd9b560cc1f2dc7c3e3e1826c717f7cf06db9f5b9b01b640b0f5c140b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 766 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/gemini_oauth.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b358f1af6fde6b401e5a0c41a2dbdf7c77178e1a08af3fb058d3f4edc31820"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 412 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/githubcopilot.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d746e1f1f747c0bb0e0407c13301a62a41ba5925c6c72807a152c68501a5be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 417 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/githubcopilot.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cdd2cd9d8d43837b492a503c802454defbfc12f2545b09e2da3cdcd951eae6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 458 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/githubcopilot.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4026a0b0e478b2112f0be7a1dd1aaf9b85411011fb4982c60200ab4d80ebdb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 173 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/huggingface.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"da179b5faea8555658a289766fc59cf33c5c85943e0c639f17b96ca8eecbb22e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 571 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/huggingface_auth.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bf477c108c82edcc8d3850c40f4faae4603f6f7fc1d9f271caed33d9fe1cc1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 227 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/init.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdb52479947e8bedc9af7daf3892f966f7c1d980f92192b566c824d47853d31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 253 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/init.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0978280455e11a88ec3f7810e0ca5d2e906a854611d0386512fa2972bc4909"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 114 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/kimicode.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a39a7ed6b1919496faa8cd6dafd30b26c36b790bcb590c189c0610e98d389ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 204 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/kimicode.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cce12a9dd0b0a5b8021472cfa6faf61ff5636bfcc7fa3677a0e1540f870f151"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 264 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/kimicode.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83ee3030e09982bff7bcfd449fbf1193cc5c3cac064a36fc22cb4920db9d033"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 269 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/kimicode.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7c8e733dd5fad75de82d8768304f8b731097731ca084ee13316b79fb31a2b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 257 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/muse_code_def.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae4f25f456b20e7164f3c1138db254bba6d18737bb66c8d287b1e0c7a5e4e11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 576 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/oauth.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a7e9111aa29a50effa400effeaa9989b2d26d3f7edf50fd7d4e8664a0844a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 582 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/oauth.rs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c3653d8433dbfcc3f102847bea1542ebb9b1ae7d2a210140f93651bf608727"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 591 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/oauth.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b385937614045f27d8c8db87eff8a7eb433f46f5bcc0415e1b7a38e094215cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 359 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/oauth_device_flow.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cf5976eb91d5ff4714af092a995c936a49c0af8c722235b63b20831ce16d9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 200 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/ollama_cloud.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a562ff62a8330c9d28d8509a116beb458147af15fd0ef97788ac0f458aa94973"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 134 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/ollama_def.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3489ab9d2f046b033dc3df57f56d35608b2363b7e6d6377b2d1b94392eb1c30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 147 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/ollama_def.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33b268f305ed62474be9922441e9e2ffa498b9132279029461b3da1b1117e9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 196 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/openai_def.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"62017c6d02b79ba3d9ca071a8390f02407258e300c76abfe01bc745c6dc2f816"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1029 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/toolshim.rs"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec748d8c46e1ab9639423f9d6da98e1286e2ba9cc0217f42fe0162e087597b38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1063 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/toolshim.rs"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b62ea2d36dfd2628509219bbc53a9f8affa6cc933337f99bcbbaa6470567903"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 575 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/xai_oauth.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74099b4752220f99c7b20356436648e8291653bc08f88e0c505c27e148f06dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 595 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/xai_oauth.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"8057a5ef0bbb948749a19486e9c599beecb0e75fbfe8548c590c623ca7f69720"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 669 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/xai_oauth.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b886f1bb65f1314dc5d5a228c14b4776604528e9ed69bdb8410333096092d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 750 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/providers/xai_oauth.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6c22dabf4351e5b5b0db6fa20f4f378f42447db519074e2a70a7f79e4c29fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 133 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/plugins/mod.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"44eca5d3ca9dfc6632ec048f5096dc46e87aa57e73f12ae8362ab8143949da46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 164 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/permission/permission_judge.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a750b83f05e958b5eb50266ae55f8203f1275b22adbc4c1d89a16ad9ea007cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 594 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/otel/otlp.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e96c48744ff0830465bdd123442c19dfc61541409ae5b9ef7575a407afec867"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 603 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/otel/otlp.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"19599065932d5ef4a0f0ac3babc8e03d4c17075d0cb2b15c49b2c4b41dd85255"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 612 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/otel/otlp.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2036461af490946f0f2a45506ba3df19cf158904d3f9f3bb4b5314f3237970a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 76 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/oauth/mod.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c993622802039450719447432d98a5326adadc0f7df37bfacde71084bd291a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 136 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/oauth/mod.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ccbc42fcf84c84c50dbcf5816a5c4f72b187f0d340f44a338636b11f64ef17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 399 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/oauth/mod.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71240403e53d7a0d83e6aa2af6704f75e4ab8d9d9b5da9b56752ae4a2c89cac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 408 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/oauth/mod.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"df583486d00d4fb1d6c1a7ff538e4a442cc776b6f4affab3610e66318e91f09a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 473 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/oauth/mod.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"5320c1645fbe1a6a6ff8055eaa7adb8fc412ff1ac2ba451c342d6ff03ce30af3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 659 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hooks/mod.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1622b051a92981e07dcd1cd151ba42a84adbc838b6969ecf4d454ca2b9ba02f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 299 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hints/import_files.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"8baf5140c6ab3e96b1e5e7464a56d14858c600b0f06a13a247df723afcb77956"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 357 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hints/import_files.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"00396594593f2aacc718562c15f70eeeffb24aaa7411bf53dd83966e97da6475"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 363 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hints/import_files.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a9425bb8169a174e205006beedc98ba74040ad2972668e47f016751bfc7d8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 402 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hints/import_files.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bcd6227ba28f7a007aef2374d85ca7dbbaafacfb9302c9ad4891e13878fbe5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 503 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hints/import_files.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2435fb3606f68f6504a40e619911b7517950d808837ba88ab28c421eec7989"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 510 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hints/import_files.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fc496732e8ed0b4abedcf8f0c0ddeae03cb37478e5aa00038fbcf59de3bfcc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 517 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hints/import_files.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"845fc3e1950f567509668466f4cc0726ac88dd7851a9ac7398e7cfb6944e7041"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 293 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/goose_apps/app.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3048bdedb36c59ddef71130d25dc3a5f2fb599db9a250a131ff4156314461416"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 120 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/goose_apps/cache.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31a84873a366eac89724e7d7d92a02573fa7e4fe3c6c03978416967cfed7353"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 122 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/goose_apps/cache.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9187822c16d5fc34cc4e69592773f59d6f27c346fdb7578f3e720a29eb4f60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 573 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/handler.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6a4c7d9423a0fb9c844c38756b682daf8b9407741fdc797efeabe6e047fd90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 741 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/handler.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"874e42cd18f0deb5b584efcc2fa5a3cae4cd01feb3ad5d60658a42691eabaf49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 747 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/handler.rs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"7518727a0cceec3af6e7512209f7530c9b0570a8227f8ada330e51137dfd82ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 753 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/gateway/handler.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe880e769769dfadc587f3f18907bd8693a850b45fad35457f79935a45ca9f6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 197 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/providers.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e866a5fb268fee0c5902402e6783646f87a4c0451d7e6c3914f0421b3b1c8dcc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 210 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/providers.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f6c9362e62d1f6685223c7e58f200f217cd35a072e74844b43601e0e4e8905"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 218 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/providers.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"01118ac8548aebec33e1b99e782ef2d9a0c3086d89668794c8be8401ba224d43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 246 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/providers.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22fac229bee4a86f8bb14ad8a91286ce7243059c66d5df9fb66165348bcf47a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 298 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/providers.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"909f2102dea7433c14111cb8fbc59ef38d75d8259c088b4626dc06547096562c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 358 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/providers.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"565e069e17628a8d44d22a43dfdad0d3d4fbd3335559d47251c22620f6dde088"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 388 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/providers.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bfe2420d095982c1791e8e1ad26d0d88255c19b7cbeaee5578c8ced9be3fd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 414 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/providers.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a03f4615a81f896c9c16b6bb5696dd6f89ba4d9c3233e32aff766fe36d20025"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 427 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/providers.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"60aa56ddb02c71c653ef88efaaced5a4ba01baab05d416d935548ab59979d514"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 497 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/providers.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa0e7aef158ff45756ed6a48368402a3adebb47941392e64450f363ddf85084"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 152 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/dictation/whisper.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"23833e1516c1434d44d7b531b91ea7dd109c49950a8eb41db3d36f2d33b0d6f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 245 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/context_mgmt/mod.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"58329395bedbb773e2f6d570d15461f9be55d3520b6b91ff5df1933eeb5c9376"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 352 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/context_mgmt/mod.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f236fb1503a828864d6fba7136e087399f64754be9fa9d2d4032615b2217f570"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 362 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/context_mgmt/mod.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb517e1e7bdb2851f2124fb6f946093ad6ec9360903e8959de98ed9b50cebe9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 512 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/base.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7712904e3b09d5d16d733b5bc693c6f14fea9079e6534f2588c313a92a1070"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 522 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/base.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedf2ecfee09eb2625e4e6398d411d4d502e25e2a02f540cb9e74f558468bc95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 541 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/base.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd44d2e5bf46180c5ab0feddefb99b52cb1588d0e339e5a0f703ace3e183f690"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 545 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/base.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"042a65afa4b53db978da074971d10f76ba8bd56c93e06839efe3caeff444536b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 78 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/extensions.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8f4d440a1db1bf279c08e1893b6a04dbe6512c2f054f8a85efd93ef7ad2ee0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 125 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/extensions.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a8b490fe7fb687875a41cfa08e7e95ac065646d9aaabba51303fc3a41f2d58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 127 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/extensions.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ddfaeac84fab549886a05e17476180bcf54851bf46277a07ed6d21a17ace26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 228 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/config/permission.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e38315fd66611e2c8edda258694eb5cc8483136acafb4b4938269e241800f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 48 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/provider_manager.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f089d56083a8e7e6a8dbc0fe7407e0bb137a0d740740b533324a52c5157ecc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 137 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/reply_parts.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0319cfba6e43439d5904b726717ed77a557d928b957f4cf6a1b6a3a0b9b0430"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 347 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/reply_parts.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ea279ea85989077a55513003c5aa68eb6f09a4a803fde36c837a12e24102a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 23 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/retry.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"69279c33271b7d3271ab4f6850ab5f2bc7c2c191dc5667b0280f2d7f678d03c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 31 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/retry.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6427430e9fd59c6ca28393e9ca56b6d17ab5fedc91cc459dfd3bc64a8d582ade"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 46 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/retry.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e530180c0a6dbd3967a3752a510e4a1f0cd9983b52d389a6c780423b999446"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 85 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/retry.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7eddafcef2a92b828ff42e103b0822e6cdf76204871373d1116f27d6e530ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 98 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/retry.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"967ddf6b1363e4cce4d916bf3108bc0b52d317cfd4b5f6491926f24dbfe32ba0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 138 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/retry.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b027aa00397b21f19c488440e5dd73f9b9c5985a24d77beeaf8ef05fb30950b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 151 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/retry.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b0f899eae712170d5a51501ffa61bf33a71ebb95f860b68cd280ea2974a945"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 154 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/retry.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7a3173e611893168b511e12b390ede4ecd5d676f4cd8bd4aa5dd302d9e8a02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 167 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/retry.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b53310cbd9e5e6514d0407a34b405620b9a474a9073512b542b710b3a22d082"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 170 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/retry.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"057dac2c04055a2c57e649895b5a7b0b3ca9d0d90940ab29501fc318dfdc0605"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 861 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/services.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"467470d4f85df0608016c1b032547cf72c407e012a0dcf6eb37a1c5b8a137604"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 910 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/services.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd311cb1cda6e5cbffed6b7b56575936a916db55d92bceb76798cf6fb942441"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1186 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/services.rs"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"279be898172820f19172011bc979954b5c6e1504adb3d519ca7d268bfd9fe15e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1313 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/services.rs"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a229592d89d81e24074a4cf235470c00477e1841922354e4de89d392ea47956"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 76 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine_builder.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2a7580d172238da38e4e9519b242bd1dd733983d2e9099530079ebe56a6c21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 99 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_tool_pair_compaction.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ef1c6f803c4392f9f70b2439f8836aa73a1002f5c57379a8a10bf32100318f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 128 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_tool_pair_compaction.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7f0aec30b080d1fb51d23dbf016195837bc509d0a8d5569c0f651658e0b1ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 153 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_tool_pair_compaction.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0914b74e59a255c2332c06be02ac767a9463d7eccd76494dcf35097604accf1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 316 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summarize.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"780ded785b80d506c2ac09e8e3b67e096aa7e7901396ffa62522c120c9f90af4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 351 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summarize.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec179da17c04f8842d9169a6198445573c9c7ffa493b7ddc30c00975be023bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 362 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summarize.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06f97c433c671d4155956c7af585115178886fa6c91b355fff3143465779adc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 106 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summon.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"72799d8dc8b4be967bffbf55ea06b8a687cbd7dbd78604da8459062dd3128e2b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 175 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summon.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cd62693320612694d52233c3ebd71168a1ba1213ef0533bb48dbdb5a188e0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 203 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summon.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b4f71fc4899e53f1b8f894099f294e1796f1f5c5ed41ada466aedfe8fb7361"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 234 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summon.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e053d2c8d4e9c25654f5120743e579c918e55b8eeada848609367955b820f952"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1267 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summon.rs"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4973bf2b600301a7d113fea1c30df451409b7368a79a974be8a7576b9a37df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 71 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/stdio.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b60ae6d0493eb92e73f27eccb5e08ea3a5d92bb6dd46c4bd2115edd97f51a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 77 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/stdio.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8952b06de9de620480501a4d1bf17da0af387962126fc684499a54fd5e218e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 157 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/streamable_http.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2b448178ff3f5208594c94f920ba4669f28629ff1f62f423ce41f6dca1e34f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 603 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/streamable_http.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0569b9cc2fa717d9a25be1196c932d4dac8303b275c6bfcbdd9bd8e7ded404"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 611 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/streamable_http.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ada1b05d6c07f6086ce7292fdb71ad7627f8cdfa289819f6f779a0616924c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 641 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/streamable_http.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a43858263c6a312a2c294e283534e97cf5aa90ecbbcc586a03cf344d357085"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 676 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/extension_manager/streamable_http.rs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"69928264602eb57d9c9b9349ca292ec04b53c3b673352e578ba984991baa0a2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 134 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c2e1c4936eb18b479eaea9fe769848fcd4dac460b87f4f2115e5f9ea18b731"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 369 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a4bc73166193dcbba2b30ac015f16885bcf3874329aa342ea961c523cc2c97"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1135 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c740bfa70ff3ace5f1dc061150335211bb014ba1dca9affdb748a947d2da45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1177 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9eb60484ffb13d85c8dfae032a8a53e02c122fa21c588d3e70e5ae121fb89b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1496 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/provider.rs"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2f603822e72210047acdc1c173f4db017d344e38991f118334f534bdc3988b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 215 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/dictation.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbe57d8540ca1901b5903dc0862dc0dedaef8c0d3985097c0e003e0bbf7113c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1133 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/providers.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5532bf84af2b3999f37c49fc54f154bce169df9c29b8bedb3f2f796ef6a6c4eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1143 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/providers.rs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8ea1f50462b2503c1a17db6289390a9828dbe95380a148abe5a9799fa46244"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 101 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/recipe/mod.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cefe12e795de4c717c895c565917152336c090b70d56ac5d260bed191457d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 119 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/recipe/mod.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"668e215fec8a4ce541cea03cdd072bc4b73343d7ab3688cea67a31d9b4d713be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 208 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/recipe/mod.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2d3c0714bced3d5bdc83677549cd7d2a8f833a15bb2e728397e01f7ce36770"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 225 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/recipe/mod.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a9fc1b783f6253eeb6821ba0e51b6efc34306a1c26ac4ec9412e7e5b5ce8c9"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.4 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 32 assertion(s) across the 79065 source line(s) of the 473 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: ui/desktop/src/utils/autoUpdater.ts (6), services/ask-ai-bot/utils/ai/tools/docs.ts (4), ui/desktop/src/components/ChatInput.tsx (3). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022absolute bottom-4 left-4 z-20 pointer-events-none\u0022\u003E\u0060 under \u0060isCreatingSession\u0060, but \u0060isCreatingSession\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/Hub.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e05a9207b25e0aee0fff26e82c2d7fcf4e87dd39552415f6bfdc31bf661152"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex items-center gap-2 py-6 text-sm text-text-secondary\u0022\u003E\u0060 under \u0060loading\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/auth/AuthSettingsSection.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"017e4ea2b126647e66514e875eb1a3c8124f61acbbbc61da89e3c27fc38ff702"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-4 w-4 animate-spin\u0022/\u003E\u0060 under \u0060configuringId === secret . id\u0060, but \u0060configuringId\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/auth/AuthSettingsSection.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17b67def2cbb4acc0f1a6358779e1590d3916eb21859f849e7b086bfbc5b0dc"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-4 w-4 animate-spin\u0022/\u003E\u0060 under \u0060deletingId === secret . id\u0060, but \u0060deletingId\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/auth/AuthSettingsSection.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd207b8283d99c5a93030ce58af9e0680e8beb2e2f60d44f5c9f323b475a2138"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-4 w-4 animate-spin\u0022/\u003E\u0060 under \u0060signingIn\u0060, but \u0060signingIn\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/settings/auth/HuggingFaceSignInPrompt.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"140dde69c3f9b5c314a13801d08e7aad4501289820a36b438e7c1310ecc51f91"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003C\u003E\u0060 under \u0060isSaving\u0060, but \u0060isSaving\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/components/recipes/shared/CreateSubRecipeInline.tsx"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de37943ec81476f55dbc79a9e7a498551c018018dec29b74208f7254acb6f42"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get_file_list\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/diagnostics-viewer.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e657e3ed59169b918e5e494886fd7e345fe8be8c09091265615571a61796d91"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_subrecipe_content\u0060 turns every \u0060Err\u0060 into \u0060Ok(String::new())\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/summon.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"f542af57c538128f9987207277c7a422a9e130bf24b3a97c19696860cfca5fb7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060prompt_parts\u0060 turns every \u0060Err\u0060 into \u0060Ok(Vec::new())\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/state_machine/ops_project.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"755cfe685c7bb9cd5890ca44a6bf78df9cdc08c118d896fd1f8de9b867e36a88"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_new_hints\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/hints/load_hints.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"beebdbe118d422cd8d696d80c77d46071d96ab8fcdbe00903ef4ed6a542ff69d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060count_skill_dirs\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/onboarding.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41bf1c5e749fb35c5e42fd89dd341bcf6af986d8d381826a27b9dba077b88a9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060import_skill_dirs\u0060 turns every \u0060Err\u0060 into \u0060Ok(ImportPairCount::default())\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/onboarding.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d815120dac67e89b3841ed358719179a031e69d3429222c5fac7d31cab91017"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060extract_tool_locations_from_request\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/acp/server/tool_calls/conversion.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"172cdba8171e2b3117a2fb57d5ff40a7822b28944601f1e64f74a0db9fb4c3c3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060extract_functions\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":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a88db05dcf0cef6c0df79e9d55ef84088403f76a7429c8525c56b11bb979e06"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060extract_classes\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":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"def7db2c7e27eab04c563fa1eee5a2031006a0feb62f3c59011eed4cf130185d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060extract_imports\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":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c75975b084c2350196f8cd2ea9a3cce1b9b518c2c73215b33ebf0e0788067d9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060extract_calls\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":"crates/goose/src/agents/platform_extensions/analyze/parser.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7fa54875749a316a3e607c975f6c37bdecf2d628cfc5f5bf876ea81a00b977"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060windows_shell\u0060 turns every \u0060Err\u0060 into \u0060\u0022cmd\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/developer/shell.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"23959bcadf774e33f089ed08c4b4b225c19a6ffcc6a95032f2c0d83e9f6a6b36"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060count_file_lines\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/agents/platform_extensions/developer/tree.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bee2b2851c2ed7f1b64a0cd4321f9a26ded19820df9576912a34938a16bbac"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060auto_update_plugins_at_root\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/plugins/mod.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef36afa3be3f0cfba0b4dd1e59f2fffdfd2c880f54a2cde9a2a14d20ec56d7f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060list_dir_children\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/plugins/discovery.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"114994c39c3031fcfbfb9e78854c07692df2496e5f2f26d5e1aefb6644dcfdaf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060installed_skill_dirs\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/plugins/formats/open_plugins.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a2f9af22f9ac13a0606671accb75c91b71b1c3c89cc47a4d6c1299bcd56fdd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060session_user\u0060 turns every \u0060Err\u0060 into \u0060\u0022unknown\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/session_context.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c469c7832216c1f2c638b6641f6ed522bd2f774bb0fd2a94476c8f60a40f7af"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_existing_project_properties\u0060 turns every \u0060Err\u0060 into \u0060HashMap::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c68f75aaf20d004c41b811da4e2f41eeb65849b4a622a959dd4a302d1b70d6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_existing_agent_properties\u0060 turns every \u0060Err\u0060 into \u0060HashMap::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"112ff8a118bf98162682d54f83659eaca6990dd6a7f73ba8e99c7279b60a9993"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060project_working_dirs\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/sources.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab623bc2890730eb25b7af20fee7d4f2753b54446915b6267bc1396436fb697e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060format_message_for_compacting\u0060 turns every \u0060Err\u0060 into \u0060Some(\u0022tool_request: [error]\u0022.to_string())\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-context-management/src/format.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"304188704b297787ff87890d6fa50d638375056994b8751811a4840009310918"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060build_openai_messages_json\u0060 turns every \u0060Err\u0060 into \u0060\u0022[]\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/lib.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62f05c2e9164e431afff3eb3334f1cbb4f38805449380f311189b4f3148fbe6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060build_openai_text_messages_json\u0060 turns every \u0060Err\u0060 into \u0060\u0022[]\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/lib.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"460784254e5a4e25bf15154fcf7aa9071f63f571a64bb6ca01d4a6343f42a2dc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060quant_bits\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/hf_models.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"7244570d92d42065a5d9ec1195b7b418f4bbea7f5530160cee442649c950a809"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060generation_config_eos_token_ids\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-local-inference/src/mlx.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f168d84868069c26fe4042800d5933af99e76585f38059b7c0ca3b59b14f723"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060recommended_models_from_registry\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":"crates/goose-provider-types/src/canonical.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"205fbec2de914554961592ab0b07ad0690641b658abcd461fb49b5f9a97a31ec"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060format_messages\u0060 turns every \u0060Err\u0060 into \u0060\u0022{}\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose-provider-types/src/formats/databricks.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef56e69306ffe38e9893efa7a4b53f01345aff6d44bade7c18d63074afab0ac"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ipcMain.handle(\u0022list-git-branches\u0022)\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/desktop/src/utils/gitBranchIpc.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a7a25f05a119d41a2590f7c0d82e0e10b217eeb2e3b4a9231a057543da22a0"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060content1.contains(\u0022Stream 1\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060content1.contains(\u0022Stream 1\u0022)\u0060 also satisfies \u0060content1.contains(\u00221\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/tests/tetrate_streaming.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a55862ce0f675a8f70dfef3c02182c09587fcb9b2bd7588f588776068f4a60b"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060content2.contains(\u0022Stream 2\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060content2.contains(\u0022Stream 2\u0022)\u0060 also satisfies \u0060content2.contains(\u00222\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/tests/tetrate_streaming.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5b259584398a5136d248fcd1ee723c670aab7df8afca861f80f764b94d6a30"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060target.starts_with(\u0022goose::metrics\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060target.starts_with(\u0022goose::metrics\u0022)\u0060 also satisfies \u0060target.contains(\u0022metric\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/goose/src/otel/otlp.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06a9c5c037063e32816a2ff08137cbdaf10ccb4537e24e96c5b5e3d61b225eb"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1050","guid":"c769a6f8-c07c-6a59-9131-c5ed25ebf209","name":"CWE-1050","shortDescription":{"text":"CWE-1050"},"helpUri":"https://cwe.mitre.org/data/definitions/1050.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"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-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.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-400","guid":"ca529a89-676d-8857-aac1-84359c77bb6c","name":"CWE-400","shortDescription":{"text":"CWE-400"},"helpUri":"https://cwe.mitre.org/data/definitions/400.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-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-770","guid":"aeddd25d-2b4f-7255-92c9-e933d075dd43","name":"CWE-770","shortDescription":{"text":"CWE-770"},"helpUri":"https://cwe.mitre.org/data/definitions/770.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"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-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-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"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":151,"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."]}]}