{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"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":"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"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":"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":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"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":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"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":"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":"model-config-card.ModelConfigCard (cyclomatic 178): model-config-card.ModelConfigCard has cyclomatic complexity 178 (threshold 15). Of this number, 93 points are the body\u0027s own statements and 85 belong to 52 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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"658038992792336323567eacf83ee6e691079e02a15d45057cbf24350bdd5274"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App (cyclomatic 110): App.App has cyclomatic complexity 110 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 64 belong to 34 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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6709e989d183cfe6b268463fdf4ecf244673be802fd6093f4cbe80febfd8b3ed"}},{"ruleId":"D1","level":"warning","message":{"text":"setup-wizard.SetupWizard (cyclomatic 96): setup-wizard.SetupWizard has cyclomatic complexity 96 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 46 belong to 21 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":"Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6aa02e9b306aed4ed149b5def7734e90eb6cf455cc477b7dde24847d6567a05"}},{"ruleId":"D1","level":"warning","message":{"text":"DemoBackend.handle (cyclomatic 80): DemoBackend.handle has cyclomatic complexity 80 (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":"ios/BrewPing/DemoBackend.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"985e7ee594fa97184b74c85f288da13bb1d31dadef611c3bca060abeb64518b7"}},{"ruleId":"D1","level":"warning","message":{"text":"DemoBackend.handle (cyclomatic 75): DemoBackend.handle has cyclomatic complexity 75 (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":"Android/core/src/main/java/com/brewping/core/demo/DemoBackend.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b916bd0a6420853dc3c88b92236bc880b7fbc05cbf09a2222550715bbf4d7783"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-card.EnvironmentCard (cyclomatic 67): environment-card.EnvironmentCard has cyclomatic complexity 67 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 34 belong to 11 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":"Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4463fbb2981c51a7acc2c31236ce25ea0124af2df32819b1e3c192957424a1f4"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeScreenKt.HomeScreen (cyclomatic 35): HomeScreenKt.HomeScreen 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":"Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a7cb59feb9168582555df8ad5b2cddc03f718b88fd99ea1901220688ac467f"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-provider-form.PiProviderForm (cyclomatic 34): pi-provider-form.PiProviderForm has cyclomatic complexity 34 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 16 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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f47ad08491d4b35c50b7105203045f3857c83ad6bc551a343f89ccf6b3b492c"}},{"ruleId":"D1","level":"warning","message":{"text":"brewping_desktop::services::command_runner::execute_agent_command (cyclomatic 33): brewping_desktop::services::command_runner::execute_agent_command 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/command_runner.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad24dbff8fe7cf9e3887e7694f3f52656b3102d47ce2a38ba4695baf8ad2ea85"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-provider-form.CodexProviderForm (cyclomatic 32): codex-provider-form.CodexProviderForm has cyclomatic complexity 32 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 12 belong to 4 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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"497242cd05b9a06de90c55c4664b9c04cc42b5afe477f38270101ca8e002c176"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-provider-form.OpenCodeProviderForm (cyclomatic 32): opencode-provider-form.OpenCodeProviderForm has cyclomatic complexity 32 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 13 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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f39b32070fce97602dc0f3d1a44aacff3fd4ff77447cd6966d215613b48e29f"}},{"ruleId":"D1","level":"warning","message":{"text":"ScreenRenderer.handleCSI (cyclomatic 29): ScreenRenderer.handleCSI has cyclomatic complexity 29 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"Sources/PTY/ScreenRenderer.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"951dab498b3513707c9ebd050382b0727d6aa2bb9003cb6daf694e1b92fd7243"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationDetailScreenKt.ConversationDetailScreen (cyclomatic 29): ConversationDetailScreenKt.ConversationDetailScreen has cyclomatic complexity 29 (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":"Android/app/src/main/java/com/brewping/android/ui/ConversationDetailScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e76af725d4937a86ed1d818fe8a8f664aad72e969b6d9dea523232c51e07f3"}},{"ruleId":"D1","level":"warning","message":{"text":"CliTakeover::disable (cyclomatic 29): CliTakeover::disable 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/cli_takeover.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae03bf4b6fa4817b5725bbe918a4d997fdb772c1795f369cd9fe835cdffe28d"}},{"ruleId":"D1","level":"warning","message":{"text":"brewping_desktop::services::model_transform::convert_message (cyclomatic 29): brewping_desktop::services::model_transform::convert_message 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"03801bff3f5f32a4a7d011a1fa8e0447d19c9ef7ddd298fd0a8f6c97b2548e82"}},{"ruleId":"D1","level":"warning","message":{"text":"HTTPAPI.conversationPatchResponse (cyclomatic 27): HTTPAPI.conversationPatchResponse 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. This is NOT this file\u0027s highest cyclomatic complexity: HTTPAPI.handle (cyclomatic 33) 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 method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/App/HTTPAPI.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"52888a5d60676070c3142a15b503cf8d2167599d7e2c8b42f1677d8d0b1acf23"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationSettingsSheetKt.ConversationSettingsSheet (cyclomatic 27): ConversationSettingsSheetKt.ConversationSettingsSheet 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":"Android/app/src/main/java/com/brewping/android/ui/ConversationSettingsSheet.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eeaa8be8c1c5067cc67dce7792cb0f8bddf2bac2dcb01bc6dbf71d196ef3f79"}},{"ruleId":"D1","level":"warning","message":{"text":"workdir-picker.WorkdirPicker (cyclomatic 26): workdir-picker.WorkdirPicker has cyclomatic complexity 26 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 11 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":"Sources/BrewPingwinDesktop/src/components/chat/workdir-picker.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1c4aba55030aab967faa8ae835798c8e26c6bc321536a3041c497c7b372ea7"}},{"ruleId":"D1","level":"warning","message":{"text":"HTTPServer.parseHead (cyclomatic 25): HTTPServer.parseHead 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":"Sources/App/HTTPServer.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c4eb1957c20109c208ee2e6cbb171d13bf921ea2af08b8074040795eb092a4"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownBlock.parse (cyclomatic 25): MarkdownBlock.parse has cyclomatic complexity 25 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"Sources/BrewPingDesktop/MarkdownView.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9323fceeb25b777c65e34bd085c95f3313f46f6a35d43b2739acf6ba2696702b"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchSessionManager.requestStatusSync (cyclomatic 25): WatchSessionManager.requestStatusSync has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Watch/WatchSessionManager.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c93f2235c439c64a1ba2050634e22d58391cd9d13f44f5671fdb3e29f6fdf7"}},{"ruleId":"D1","level":"warning","message":{"text":"check_localization.find_L_calls (cyclomatic 24): check_localization.find_L_calls 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":"ios/Scripts/check_localization.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16dd21a9a32b9bf01d6a5647b60e8688360f575356e718b19feff5e49f9f213"}},{"ruleId":"D1","level":"warning","message":{"text":"BrewPingCLI.cmdStart (cyclomatic 22): BrewPingCLI.cmdStart 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":"Sources/App/BrewPingCLI.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"23129e116f512ba532d490cb51c5b333dfa8bdba9aeb79510ecfdeab335e3ac6"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentView.body (cyclomatic 22): ContentView.body 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":"ios/BrewPing/ContentView.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb1e7ae8ae727090290aee9af80ecef846a5b41e603bc633e13524c487bdbe7"}},{"ruleId":"D1","level":"warning","message":{"text":"SseState::parse_chunk (cyclomatic 22): SseState::parse_chunk 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bffb39f90bd4fd1a439a40145030d6ed1832bad61f37f7f387823a42db67138"}},{"ruleId":"D1","level":"warning","message":{"text":"brewping_desktop::services::folder_browser::browse_directory (cyclomatic 22): brewping_desktop::services::folder_browser::browse_directory 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/folder_browser.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49b1af53df7ad340704a19ac175b28c508c91c33caa4bf89c951246ca8dae7f"}},{"ruleId":"D1","level":"warning","message":{"text":"brewping_desktop::services::model_transform::anthropic_to_openai (cyclomatic 22): brewping_desktop::services::model_transform::anthropic_to_openai 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15ec69e306dcdf416e1772abccaba5ca08241015be0eec8073463781c1abd3a"}},{"ruleId":"D1","level":"warning","message":{"text":"App.SettingsView (cyclomatic 22): App.SettingsView has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e288ffcffe6f1af7c30376459b3f69a6655e237d6b2efc01ecfd63aa9770b69f"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownInline.attributed (cyclomatic 21): MarkdownInline.attributed has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingDesktop/MarkdownView.swift"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70e17ea70494f249914f2e162557de128a9df4996bc92278e36b514f80f127c"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandSubmitter.poll (cyclomatic 21): CommandSubmitter.poll 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":"ios/BrewPing/CommandReceiver.swift"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"1984f2af29d469c1e5740d2aec4cd02180c2cd263345fa8d96b6248cff2e166c"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchSessionManager.applyContext (cyclomatic 21): WatchSessionManager.applyContext 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":"ios/Watch/WatchSessionManager.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c18175ff01e9b5c63cd8caa3d42b823b568c7c413dd23cc09499b5c7b4312e"}},{"ruleId":"D1","level":"warning","message":{"text":"check_localization.main (cyclomatic 21): check_localization.main has cyclomatic complexity 21 (threshold 15). 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":"ios/Scripts/check_localization.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0dc2a6695ffc399f45e8e1e64262a42eeb7a7b374948c529e77d29417691e7"}},{"ruleId":"D1","level":"warning","message":{"text":"brewping_desktop::services::conversation_api::handle_patch_conversation (cyclomatic 21): brewping_desktop::services::conversation_api::handle_patch_conversation 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_api.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b489da0c5b5d1881b5bb3fc655905d0e9a70eff0bcd5b8051670bc46cd3327"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-provider-panel.PiProviderPanel (cyclomatic 21): pi-provider-panel.PiProviderPanel has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 125). 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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-panel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"af46d62d052cc810f102d6a2de9acbc1ddf5f078f238c01a3f54991477250d65"}},{"ruleId":"D1","level":"warning","message":{"text":"HTTPAPI.commandResponse (cyclomatic 19): HTTPAPI.commandResponse has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: HTTPAPI.handle (cyclomatic 33) 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 method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/App/HTTPAPI.swift"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfbbbb6490992ed3df6cfb8dff03df7c3495b061cfa2e65386c3e403988c92e"}},{"ruleId":"D1","level":"warning","message":{"text":"ScreenRenderer.handleEscape (cyclomatic 19): ScreenRenderer.handleEscape 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":"Sources/PTY/ScreenRenderer.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69b8ae064a32fc9b91d2bc9da853840b9dc4721f567f221e5f54f273a078fdc"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchConnectivityManager.handleWatchMessage (cyclomatic 19): WatchConnectivityManager.handleWatchMessage 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":"ios/BrewPing/WatchConnectivityManager.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fcfcb1aab4eeda5bf848e812d75b1d76fb074d894ae7cbabb27695d74798e7"}},{"ruleId":"D1","level":"warning","message":{"text":"brewping_desktop::services::model_proxy::attempt_forward (cyclomatic 19): brewping_desktop::services::model_proxy::attempt_forward 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_proxy.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcbf0b840e905dba26597f773fdd550d2339f39ccf3ef80abf6e04e641ddddb"}},{"ruleId":"D1","level":"warning","message":{"text":"brewping_desktop::services::model_transform::openai_to_anthropic (cyclomatic 19): brewping_desktop::services::model_transform::openai_to_anthropic 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79bc8ee54e029bcb964bf086c75618d3ba106e087f59b629b7606cc99b3289c"}},{"ruleId":"D1","level":"warning","message":{"text":"claude-provider-form.ClaudeProviderForm (cyclomatic 19): claude-provider-form.ClaudeProviderForm has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 5 function items inside it that branch (applyPreset, a function literal at line 123, a function literal at line 88, \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":"Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebb24d7334104411771432ea27ac1dd1a216169c9413b3b3ab400522afc2ebc"}},{"ruleId":"D1","level":"warning","message":{"text":"AttachService.run (cyclomatic 18): AttachService.run 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":"Sources/App/AttachService.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"305073db6f615d95ce84ab6c1eccb8af72b8bf7807204b0816988d8aa9e80e3e"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelStore.refresh (cyclomatic 18): ModelStore.refresh 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":"ios/BrewPing/ModelCatalog.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15b48ea008c371f4dc19d7915aaa54037533208aa50b0a23b3eecea4c2bded3"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-provider-panel.CodexProviderPanel (cyclomatic 18): codex-provider-panel.CodexProviderPanel 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 one function literal inside it that branches (line 89). 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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-panel.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cc58bbe99ea29a86ab812e257d31898e77a9d32f8aa26872216405810e84e0"}},{"ruleId":"D1","level":"warning","message":{"text":"BrewPingAgent.run (cyclomatic 17): BrewPingAgent.run 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":"Sources/App/BrewPingAgent.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc4c91f36d0060c3571311c6932288e937920e3b45ac86868492d9b9f886db4"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseExtractor.extract (cyclomatic 17): ResponseExtractor.extract 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":"Sources/App/ResponseExtractor.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"710988a8966347a37450b4b8a8aa3a34f1375ebe997055580fcd332c33a207f7"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseExtractor.fallbackRaw (cyclomatic 17): ResponseExtractor.fallbackRaw 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":"Sources/App/ResponseExtractor.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2e774a008287e0d266284d51190249d560c78727128301690adebab7175066"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationStore.refresh (cyclomatic 17): ConversationStore.refresh 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":"ios/BrewPing/ConversationStore.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bbc5a2f0004c97c446009ed015ed900099aa6a3d79b2d02580047a6cfc6e5a"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-provider-panel.AgentProviderPanel (cyclomatic 17): agent-provider-panel.AgentProviderPanel has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 132). 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":"Sources/BrewPingwinDesktop/src/components/settings/agent-provider-panel.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4c77e4fbceb7efd1ef8449055bf5c256720db0341b63e1aaeb5ba2f312acd5"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandSubmitter.post (cyclomatic 16): CommandSubmitter.post 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":"ios/BrewPing/CommandReceiver.swift"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"c689a37b8d2b29c1d6ae5ef953dbf776cefb42066472addf38d0fc413218adf1"}},{"ruleId":"D1","level":"warning","message":{"text":"FolderBrowserSheetKt.FolderBrowserSheet (cyclomatic 16): FolderBrowserSheetKt.FolderBrowserSheet 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":"Android/app/src/main/java/com/brewping/android/ui/FolderBrowserSheet.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1b4f7632fc4dca83a7d60edf04ec8c78dfcae162787c1f7fa1d0c8efc623cf"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-view.ChatView (cyclomatic 16): chat-view.ChatView has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 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":"Sources/BrewPingwinDesktop/src/components/chat/chat-view.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d277e3973ba3a9a68a531be9e53199a840bdfdc5ed8c843f8a258f0d4746f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"model-config-card.ModelConfigCard (cognitive 147): model-config-card.ModelConfigCard has cognitive complexity 147 (threshold 15). Drivers by points: boolean chains 70, if/else 41 (44 pts), ternaries 16 (25 pts), error handling 8 (nesting depth added 12). Of this number, 74 points are the body\u0027s own statements and 73 belong to 52 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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b689d7dfceb97399f4a31a3da8eae6e55d6f928b8773b214360bf8f6c3077b3"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 130): App.App has cognitive complexity 130 (threshold 15). Drivers by points: ternaries 38 (56 pts), boolean chains 35, if/else 26 (28 pts), error handling 9, loops 2 (nesting depth added 20). Of this number, 53 points are the body\u0027s own statements and 77 belong to 34 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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"be280dba55117003d3344039448598580e994e33d975544ba9d834428a35f362"}},{"ruleId":"D2","level":"warning","message":{"text":"DemoBackend.handle (cognitive 116): DemoBackend.handle has cognitive complexity 116 (threshold 15). Drivers by points: if/else 47 (79 pts), boolean chains 24, ternaries 4 (12 pts), match/switch 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":"ios/BrewPing/DemoBackend.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"973233061c592ecf2828458eaaa1eb9a6801edaf79a1ebc0ccc14ab5e6723113"}},{"ruleId":"D2","level":"warning","message":{"text":"setup-wizard.SetupWizard (cognitive 111): setup-wizard.SetupWizard has cognitive complexity 111 (threshold 15). Drivers by points: ternaries 44 (67 pts), boolean chains 27, if/else 11, error handling 5 (6 pts) (nesting depth added 24). Of this number, 68 points are the body\u0027s own statements and 43 belong to 21 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":"Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c544eef152b2ba18e836c906a3262636f5a915d3a28207daf3a8ab9586c83a"}},{"ruleId":"D2","level":"warning","message":{"text":"DemoBackend.handle (cognitive 107): DemoBackend.handle has cognitive complexity 107 (threshold 15). Drivers by points: if/else 47 (76 pts), boolean chains 27, loops 1 (2 pts), error handling 1, match/switch 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/core/src/main/java/com/brewping/core/demo/DemoBackend.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"22798889ce425a4bcd6cc79baf2dda3cb5b8d42ff0cd75b79cc0eaf672b1c2e2"}},{"ruleId":"D2","level":"warning","message":{"text":"CliTakeover::disable (cognitive 67): CliTakeover::disable has cognitive complexity 67 (threshold 15). Drivers by points: if/else 25 (66 pts), match/switch 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/cli_takeover.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b42399d84a3d9914c322acfddb71315c5757f27a8594118af9fa2ac796e2fa"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeScreenKt.HomeScreen (cognitive 58): HomeScreenKt.HomeScreen has cognitive complexity 58 (threshold 15). Drivers by points: if/else 28 (48 pts), boolean chains 8, match/switch 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"963be8da7702b4640a28af1501bee6127f4aa89dbeaff75d498ed05a486608c0"}},{"ruleId":"D2","level":"warning","message":{"text":"check_localization.main (cognitive 57): check_localization.main has cognitive complexity 57 (threshold 15). Drivers by points: loops 11 (30 pts), if/else 6 (24 pts), boolean chains 2, ternaries 1 (nesting depth added 37). 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":"ios/Scripts/check_localization.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bd745943fab25b8416938c6f48bc6c01ea2a6b58ebbc9024cd1b968b9ed127"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-card.EnvironmentCard (cognitive 54): environment-card.EnvironmentCard has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 19 (23 pts), boolean chains 20, if/else 9, error handling 2 (nesting depth added 4). Of this number, 26 points are the body\u0027s own statements and 28 belong to 11 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":"Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5b06910bbe76d70d7c149445f9c9171a0f913d90f000db8bf19cfd5fdf194d"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::command_runner::execute_agent_command (cognitive 53): brewping_desktop::services::command_runner::execute_agent_command has cognitive complexity 53 (threshold 15). Drivers by points: if/else 22 (39 pts), match/switch 6 (7 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/command_runner.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"54333a7c4edc0947b90cf0d9aad2d6e32f3219792cfe752811f1f2c454631abb"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::model_transform::convert_message (cognitive 48): brewping_desktop::services::model_transform::convert_message has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (38 pts), match/switch 2 (5 pts), boolean chains 4, 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43cb6c99dfd61e4a558edcfae78cb0367d69ee50fd865987c34acb20dcbe955"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationSettingsSheetKt.ConversationSettingsSheet (cognitive 45): ConversationSettingsSheetKt.ConversationSettingsSheet has cognitive complexity 45 (threshold 15). Drivers by points: if/else 27 (38 pts), boolean chains 6, match/switch 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":"Android/app/src/main/java/com/brewping/android/ui/ConversationSettingsSheet.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d901ea73ece9a30970af92bbdf392124166347f7c2ae3934da5149a1d27ec1"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandSubmitter.poll (cognitive 43): CommandSubmitter.poll has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (23 pts), ternaries 3 (12 pts), match/switch 1 (3 pts), boolean chains 2, error handling 1 (2 pts), loops 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":"ios/BrewPing/CommandReceiver.swift"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a427344ca0a8fb8dba0f431d827291628de50d54cbb06437a8f3e16a0123092"}},{"ruleId":"D2","level":"warning","message":{"text":"SseState::parse_chunk (cognitive 43): SseState::parse_chunk has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (36 pts), loops 2 (7 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd39faaaf8a361cfefeb1b36d6f738f51d23344d0253f6881b74081d7971d65"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownBlock.parse (cognitive 42): MarkdownBlock.parse has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 6 (16 pts), boolean chains 9 (nesting depth added 18). Of this number, 41 points are the body\u0027s own statements and 1 belongs to one function item 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":"Sources/BrewPingDesktop/MarkdownView.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac6c813c96857bda974af0974c783694bfe151f758c3911300520ef1d1fa0c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationDetailScreenKt.ConversationDetailScreen (cognitive 41): ConversationDetailScreenKt.ConversationDetailScreen has cognitive complexity 41 (threshold 15). Drivers by points: if/else 36 (37 pts), boolean chains 4 (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":"Android/app/src/main/java/com/brewping/android/ui/ConversationDetailScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7b90869a04495e860720eb870b8ea432e519556f6435c9dbc74cecee177a98"}},{"ruleId":"D2","level":"warning","message":{"text":"AttachCLI.streamLoop (cognitive 37): AttachCLI.streamLoop has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (32 pts), loops 2 (4 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":"Sources/App/AttachCLI.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6217fd4743bc291112204d60f8b21d15c9f38ca1c97a39414b30fe5554812d60"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::conversation_api::handle_patch_conversation (cognitive 37): brewping_desktop::services::conversation_api::handle_patch_conversation has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (36 pts), match/switch 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_api.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82b6e6fefb619aa19f54e43493c34a00d8122bac6ce863a30356d650e5324f5"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-provider-form.PiProviderForm (cognitive 37): pi-provider-form.PiProviderForm has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 12 (15 pts), boolean chains 14, if/else 7 (8 pts) (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 19 belong to 6 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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a0f9d0607c876837a3a4acc1b5889c8d4abf9b742249298cc37b5fd61766e2"}},{"ruleId":"D2","level":"warning","message":{"text":"AttachService.run (cognitive 36): AttachService.run has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 2, loops 1 (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":"Sources/App/AttachService.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3e19fdf8094d5a0457bc3e87153f27b00cdf49a9ac4241280fc77a0bc15dce"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-provider-form.CodexProviderForm (cognitive 36): codex-provider-form.CodexProviderForm has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 13 (19 pts), boolean chains 13, if/else 4 (nesting depth added 6). Of this number, 23 points are the body\u0027s own statements and 13 belong to 4 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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f3c08933109eff43eca2050656734183f74b760225920982aefaed45aaedb6"}},{"ruleId":"D2","level":"warning","message":{"text":"BrewPingCLI.cmdStart (cognitive 35): BrewPingCLI.cmdStart has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 8, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/App/BrewPingCLI.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"65930b23cfc110f8a885892c107dbae7e2d17e66d50da0a0ae512a5de6a4d379"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::command_runner::pump_pipe (cognitive 35): brewping_desktop::services::command_runner::pump_pipe has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (20 pts), match/switch 3 (11 pts), loops 2 (4 pts) (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":"Sources/BrewPingwinDesktop/src-tauri/src/services/command_runner.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f4375a2ca64fd1be95df96131c8373900d3265c712681c54cc64d464d7c9d1"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::model_transform::openai_to_anthropic (cognitive 35): brewping_desktop::services::model_transform::openai_to_anthropic has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 2 (4 pts), match/switch 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e79572c938965c74a6451a367dcde4ec9b7d793f8dd12a53b58917a51c45e0d"}},{"ruleId":"D2","level":"warning","message":{"text":"HTTPServer.parseHead (cognitive 34): HTTPServer.parseHead has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 5, match/switch 1 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/App/HTTPServer.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5538eaea0dea46124d43ff7a63636857e7c07cee165cfae5f4acd7b167ba47a"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::folder_browser::browse_directory (cognitive 34): brewping_desktop::services::folder_browser::browse_directory has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 5, match/switch 2 (4 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/folder_browser.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dd7881306c6a0b7361b385d21bdcea38e9248c5182c56a221971c185b9ea28"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::model_transform::anthropic_to_openai (cognitive 34): brewping_desktop::services::model_transform::anthropic_to_openai has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (28 pts), loops 3 (5 pts), 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69dd056c9220c739937298af85d2d398499d48d68ecd31c50ad6a77967056ad"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-provider-form.OpenCodeProviderForm (cognitive 34): opencode-provider-form.OpenCodeProviderForm has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 12 (15 pts), boolean chains 13, if/else 5 (6 pts) (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 16 belong to 4 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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2c46d191f2fe4422c0d0a09ae92400700ddeecea92a6ba944278079f0580d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenRenderer.handleCSI (cognitive 33): ScreenRenderer.handleCSI has cognitive complexity 33 (threshold 15). Drivers by points: loops 4 (12 pts), if/else 8 (11 pts), boolean chains 7, ternaries 2, match/switch 1 (nesting depth added 11). Of this number, 31 points are the body\u0027s own statements and 2 belong to one function item 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":"Sources/PTY/ScreenRenderer.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d8ed64532636bc7dcdfcc3828a8f4765802f5500a444b9c53d77994b3533f0"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-provider-panel.PiProviderPanel (cognitive 33): pi-provider-panel.PiProviderPanel has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 9 (24 pts), boolean chains 9 (nesting depth added 15). Most of this is not in the body itself: 7 of the 33 points are its own statements and the rest belongs to one function literal inside it that branches (line 125). 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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-panel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b43a56703b50a4767d28673b995bbd93838f4969eaadc2fe377bb58a147f449"}},{"ruleId":"D2","level":"warning","message":{"text":"HTTPAPI.conversationPatchResponse (cognitive 32): HTTPAPI.conversationPatchResponse has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 11, error handling 2, 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":"Sources/App/HTTPAPI.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"c526eec981de375be7befc5e45b9148645970ec28d782ac77cb1c4387289990a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-provider-panel.CodexProviderPanel (cognitive 31): codex-provider-panel.CodexProviderPanel has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 9 (24 pts), boolean chains 7 (nesting depth added 15). Most of this is not in the body itself: 5 of the 31 points are its own statements and the rest belongs to one function literal inside it that branches (line 89). 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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-panel.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f273f2b94693d35c6d7c1533150666d0d0936ceeacf7a5be3d7bae7c80e87c1b"}},{"ruleId":"D2","level":"warning","message":{"text":"HTTPAPI.commandResponse (cognitive 30): HTTPAPI.commandResponse has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 1 (4 pts), ternaries 1 (4 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/App/HTTPAPI.swift"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a2b2f94460c8b3453a6bbcc2ee6f1fc8abf957d6b12c32c1d2730232441043"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownInline.attributed (cognitive 30): MarkdownInline.attributed has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 11, loops 1 (nesting depth added 10). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function item 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":"Sources/BrewPingDesktop/MarkdownView.swift"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7d75e03bcd279de6200c37b42cbebe7e84f2ea951ad796f5ed746324ef4e48"}},{"ruleId":"D2","level":"warning","message":{"text":"check_localization.find_L_calls (cognitive 30): check_localization.find_L_calls has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Scripts/check_localization.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2529fd222651f230bec05730b1bf0872f18c81bc041e05efbc798e997c6b4554"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenRenderer.handleEscape (cognitive 29): ScreenRenderer.handleEscape has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 7, loops 3 (6 pts), match/switch 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":"Sources/PTY/ScreenRenderer.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9537a357dbd0f1be8d971cf0ca480b3510131a01d5424bdc859c6b56aff4e5"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchSessionManager.requestStatusSync (cognitive 29): WatchSessionManager.requestStatusSync has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Watch/WatchSessionManager.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fe07080f5617b8a18b6b343d817864f041ed7fa8d137faee5f00419acf12ac"}},{"ruleId":"D2","level":"warning","message":{"text":"BrewPingAgent.run (cognitive 28): BrewPingAgent.run has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 2 (4 pts), error handling 3, 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":"Sources/App/BrewPingAgent.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e1489bd46a054fecdc18272023f1b394ef7a6398e643d95160029072dda246"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseExtractor.fallbackRaw (cognitive 27): ResponseExtractor.fallbackRaw has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 3, 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":"Sources/App/ResponseExtractor.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afa23e0fa33d58d165375ed0067f12ef37feb25399be9caaf63f8a5efb2cc7b"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.body (cognitive 27): ContentView.body has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 7 (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":"ios/BrewPing/ContentView.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8e0fdcff8911f6267c5514b17d2ae64bd49c53c67dcded3c5cb9b5b7b51667"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::model_proxy::proxy_fallback (cognitive 27): brewping_desktop::services::model_proxy::proxy_fallback has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_proxy.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b896dbf42f1e9772d424ff3db40768e95bfdb196285986cc869292fd7d8f1f0"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchConnectivityManager.handleWatchMessage (cognitive 26): WatchConnectivityManager.handleWatchMessage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (22 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":"ios/BrewPing/WatchConnectivityManager.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"af382e99bff0f2edb7297ea1e1980a1d7d956cc3eb3c2ff66e1766d5edf96fb3"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::model_proxy::attempt_forward (cognitive 26): brewping_desktop::services::model_proxy::attempt_forward has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 5, 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_proxy.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5a5bd1369072f49029c4a782fe4d04e08f08bce999b9a5ce7bde9b57aed8d3"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseExtractor.extract (cognitive 25): ResponseExtractor.extract has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4, 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":"Sources/App/ResponseExtractor.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"127ea9876de6c595d035dda8d2297f1275d3dc9ee6c3b2569eacdd26e18e5f8d"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtocolStateService.agentProjections (cognitive 25): ProtocolStateService.agentProjections has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 2 (6 pts), boolean chains 1, 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":"Sources/Protocol/ProtocolStateService.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10b25b45bf5cbb72c8765edd2644145ee931584cfa4bfcebf7b75d329727f38"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::http_server::handle_decide_approval (cognitive 25): brewping_desktop::services::http_server::handle_decide_approval has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 2 (3 pts), boolean chains 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d73a130ee72c133613ed910ba6b143977ad52fc89ab894e264a6a0dbc919c8"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchSessionManager.applyContext (cognitive 24): WatchSessionManager.applyContext has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 6 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Watch/WatchSessionManager.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"020f0eb21a7f5a113d94ef106714a2171ba4c6593d9558f38a2377645e48a4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopApiClient.fetchAgentModels (cognitive 24): DesktopApiClient.fetchAgentModels has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (7 pts), error handling 1 (2 pts), boolean chains 1, match/switch 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":"Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20325e6c9698d9b5e7f6b706f4d2c61c1eec1d2eab8425d95060b8ce4072944"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationStore.refresh (cognitive 23): ConversationStore.refresh has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4, 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":"ios/BrewPing/ConversationStore.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7f35c5f9293c755b8955092fb6df7e5f239f79322899a6fc8ae55b9b3064b1"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelStore.refresh (cognitive 23): ModelStore.refresh has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 6, 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":"ios/BrewPing/ModelCatalog.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb93aa4be7aebf1046448b5386b828e1730c92fd29a6366caf2b99c191e8c607"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::agent_discovery::extract_version (cognitive 23): brewping_desktop::services::agent_discovery::extract_version has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (4 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/agent_discovery.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"33428a18ee35a7b96d76a28c5831ccd7edd7d4aaa9814413fb2edf33ec5eed01"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandRunner.watch (cognitive 22): CommandRunner.watch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, loops 2 (4 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":"Sources/App/CommandRunner.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4c98113718e248e15bf98b572e26ac48cbf9b247d1c33f933fb008e4e5034a"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-provider-panel.OpenCodeProviderPanel (cognitive 22): opencode-provider-panel.OpenCodeProviderPanel has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (18 pts), boolean chains 4 (nesting depth added 11). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 90). 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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-panel.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba8eb036b9ed8693ebae6fa841e27ae0b4960c4120f76ee748e24b989c89157"}},{"ruleId":"D2","level":"warning","message":{"text":"EnvironmentSetup.installedNodeVersions (cognitive 21): EnvironmentSetup.installedNodeVersions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (5 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":"Sources/App/EnvironmentSetup.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5887cb01a38e158ddeac0891a32a49437b4cd7fa20b111dd9f3033f2df0abc70"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.refreshStatus (cognitive 21): ContentView.refreshStatus has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 2 (5 pts), boolean chains 1, error handling 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":"ios/BrewPing/ContentView.swift"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4c3372db2d0d806f7c5b98cb923ffe771d4dcbdf73105ee26e3e7851834a1e"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderBrowserSheetKt.FolderBrowserSheet (cognitive 21): FolderBrowserSheetKt.FolderBrowserSheet has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 2 (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":"Android/app/src/main/java/com/brewping/android/ui/FolderBrowserSheet.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1114ebdaea94b65598a0d19ab5309cee38db6a1f33c82d326e9e6a23f14a2e88"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandSubmitter.post (cognitive 20): CommandSubmitter.post has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 6, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/BrewPing/CommandReceiver.swift"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"484bf85f4b5d7e31fd50d34a57d856a31009829e367d0b3c0368dcaffb8ea202"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationListView.body (cognitive 20): ConversationListView.body has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 2 (6 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":"ios/BrewPing/ConversationListView.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d6d49c122f895d97f4c684837ccf5caf6fb2c59859f89228d49a5643278421"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchConnectivityManager.makeRecognizer (cognitive 20): WatchConnectivityManager.makeRecognizer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, loops 2 (nesting depth added 6). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to one function item inside it that branches (bestMatch). 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":"ios/BrewPing/WatchConnectivityManager.swift"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2ef7888791ac9be76f29823e267e9017162efc60771f4bcb44c27d791dd065"}},{"ruleId":"D2","level":"warning","message":{"text":"workdir-picker.WorkdirPicker (cognitive 20): workdir-picker.WorkdirPicker has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 6, error handling 2, ternaries 1. Of this number, 11 points are the body\u0027s own statements and 9 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":"Sources/BrewPingwinDesktop/src/components/chat/workdir-picker.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c62e933163ee927586cbadde1da23ef96527c8fb783ebf5b481c4955783dff"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentConfigDiscovery.discoverPi (cognitive 19): AgentConfigDiscovery.discoverPi has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, loops 2 (4 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":"Sources/Agents/AgentConfigDiscovery.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbff00af75e120e0cbc249110a99a841655c5ff51bbe3c480f92deaf1b437249"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopCore.refreshStatus (cognitive 19): DesktopCore.refreshStatus has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/App/DesktopCore.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3a8de560baa3e9d5728ca2392ce9a7a48a9a29e1d6bad7bea3c0d9bc3dea37"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniTOML.parseValue (cognitive 19): MiniTOML.parseValue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 1 (4 pts), loops 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":"Sources/App/MiniTOML.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f3d0de4796bff0e8b7f443ec01b0bf66d25a8215acd2bc1f5d37e34a9fda80"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelProvidersView.agentPrefCard (cognitive 19): ModelProvidersView.agentPrefCard has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (6 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":"Sources/BrewPingDesktop/ModelProvidersView.swift"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"28616f8261e4c6a134694dacdb297fb07636b8e01dd375ec2c0ed1eb9cf7b8b0"}},{"ruleId":"D2","level":"warning","message":{"text":"AttachCLI.run (cognitive 18): AttachCLI.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, ternaries 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":"Sources/App/AttachCLI.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef77feebd8f4d5463f79a9a8faa2f860507dbd334bffdbb6bf650d488a2da097"}},{"ruleId":"D2","level":"warning","message":{"text":"HTTPAPI.approvalDecideResponse (cognitive 18): HTTPAPI.approvalDecideResponse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, error handling 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":"Sources/App/HTTPAPI.swift"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6de24fb4d099788584de119b8d6cf88525156077d41677114bae7cdc601f5d"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelProviderStore.save (cognitive 18): ModelProviderStore.save has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (8 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":"Sources/App/ModelProviderStore.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6e3c383eca6c00261b4de9344196b323a045b3229a5ee0ec23d4cef0c4b216"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.commitDeviceForm (cognitive 18): ContentView.commitDeviceForm has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 1 (3 pts), boolean chains 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":"ios/BrewPing/ContentView.swift"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68179c67ff9d971e85d17627c8115fa5b07537e8c271298d38e5b53398693b8"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchConnectivityManager.localeSubtags (cognitive 18): WatchConnectivityManager.localeSubtags has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, 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":"ios/BrewPing/WatchConnectivityManager.swift"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"af449d3c446296df45f8072546483366ee4f351eb79184cf1dcc20c330cea1c1"}},{"ruleId":"D2","level":"warning","message":{"text":"WearViewModel.refreshInternal (cognitive 18): WearViewModel.refreshInternal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 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":"Android/wear/src/main/java/com/brewping/wear/ui/WearViewModel.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f9d02a5623633b012f575d4f37c259d787487d519e8bef75ffb17a4f43883e"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::http_server::handle_get_approval (cognitive 18): brewping_desktop::services::http_server::handle_get_approval has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be436c73e7f9236411976c52606549a47222a59de379fc1cd722402c8c887fa"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::pi_config::save_provider_at (cognitive 18): brewping_desktop::services::pi_config::save_provider_at has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c7f778a1ac319597c6c0fbf8bd8d7d8bff75a4eef78a45b81dc5bc4e216774"}},{"ruleId":"D2","level":"warning","message":{"text":"App.SettingsView (cognitive 18): App.SettingsView has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 13, ternaries 4, if/else 1. Of this number, 16 points are the body\u0027s own statements and 2 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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d711964080a0c2686bd1e95a90b504a46c7a2f787694f2a4efd85f48bc6e41"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandRunner.runHeadless (cognitive 17): CommandRunner.runHeadless has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 4). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function item 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":"Sources/App/CommandRunner.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1e13af988ec2207d1f56087fc4bd6f74eeeac5fc6d4fabe0735ed24d19ef13"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniTOML.reindex (cognitive 17): MiniTOML.reindex has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item 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":"Sources/App/MiniTOML.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"db179d1fd138e47b02cb4f59775e51d86a6c21d184a486515c5b46241a95c6ca"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupWizardView.doneStep (cognitive 17): SetupWizardView.doneStep has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 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":"Sources/BrewPingDesktop/SetupWizardView.swift"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"540d918081b6a0aa73db15bbe1b481cefc3460f58e3411d639cc0810039d9f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarView.conversationRow (cognitive 17): SidebarView.conversationRow has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 5 (6 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":"Sources/BrewPingDesktop/SidebarView.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9736e7f0e8736122aadd76c387c1f9291532f44a4c8f5b579009337445ce831"}},{"ruleId":"D2","level":"warning","message":{"text":"PTYSession.readLoop (cognitive 17): PTYSession.readLoop has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 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":"Sources/PTY/PTYSession.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c956dc7f832027b004e95532b3a426f550133f88eda29449080e7d0656efb5d"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandSubmitter.trackApprovalResolution (cognitive 17): CommandSubmitter.trackApprovalResolution has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 1 (3 pts), boolean chains 2, match/switch 1 (2 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":"ios/BrewPing/CommandReceiver.swift"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"383f6b1eaa11c611f09f64c08610d587b7b19b69cba0ce4f0af9c9faa4111e6f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-provider-panel.AgentProviderPanel (cognitive 17): agent-provider-panel.AgentProviderPanel has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (7 pts) (nesting depth added 3). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 132). 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":"Sources/BrewPingwinDesktop/src/components/settings/agent-provider-panel.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5331da837b39cf4f64f3e3530c391b5f2aacb3ebfa8ce50401c62fb0955e4a79"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-provider-form.ClaudeProviderForm (cognitive 17): claude-provider-form.ClaudeProviderForm has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, ternaries 5 (6 pts), if/else 3 (nesting depth added 1). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 5 function items inside it that branch (applyPreset, a function literal at line 88, a function literal at line 123, \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":"Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8726c64d32cacb815a9727f85508e4a04db9e4b59ab441e0d127df1fbf2ea60b"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderBrowserView.browsingList (cognitive 16): FolderBrowserView.browsingList has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/BrewPing/FolderBrowserView.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb1fd3979ea08911fb6c0e88ff3f07fc64225409e83f68b935be402e09bb83b"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopRepository.refreshStatus (cognitive 16): DesktopRepository.refreshStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (16 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":"Android/app/src/main/java/com/brewping/android/repository/DesktopRepository.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7e3c9f9866955ca29284473fb193f75ad0285783a684ea86444e475b0b1f3b"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownTextKt.splitBlocks (cognitive 16): MarkdownTextKt.splitBlocks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 2, match/switch 1 (2 pts), 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":"Android/app/src/main/java/com/brewping/android/ui/MarkdownText.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8706f5c2bbb84bd6ed1dccadb75a604e5e09b2fac768588064065caf22f45ea4"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::set_conversation_archived (cognitive 16): brewping_desktop::set_conversation_archived has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (16 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":"Sources/BrewPingwinDesktop/src-tauri/src/lib.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2759a4fa00d99aa4761d9f8ef6c2d1bb5fcaa5a00057f49088ca6a1b6e3dad"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::run (cognitive 16): brewping_desktop::run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 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":"Sources/BrewPingwinDesktop/src-tauri/src/lib.rs"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f32a83be1f1c003e5b4b97bef30b48370e4f3399d9e02381668c5423389343"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::codex_provider_config::save_provider_at (cognitive 16): brewping_desktop::services::codex_provider_config::save_provider_at has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"405d3228a9f864683f68bb71a7265e100ba797e77d0a621cee4c1aed7314164b"}},{"ruleId":"D2","level":"warning","message":{"text":"brewping_desktop::services::model_transform::clean_schema_inner (cognitive 16): brewping_desktop::services::model_transform::clean_schema_inner has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"043f8076fb449eb493493fc94f6791e41d735374fd1c97a50bdaf0b896c2c32b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-config-card.ModelConfigCard: FunctionTooLong \u2014 ModelConfigCard runs 1368 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1268 over it, 13.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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0a2217783fa387f937285a9bca47d13135060913c47afbe5fe870cfa2b6bf4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 785 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 685 over it, 7.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"834eba1a72c1d20dc3de9190a64d148102e21ebe3930fd3720964558c911a368"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: setup-wizard.SetupWizard: FunctionTooLong \u2014 SetupWizard runs 580 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 480 over it, 5.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":"Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2826ca7dbcd2293288ca571a3df483059033e5be39d90be859845b3138e5b661"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: environment-card.EnvironmentCard: FunctionTooLong \u2014 EnvironmentCard runs 374 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 274 over it, 3.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":"Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9502536606517529b03f718f7c65b99afbf74c0893fb58b76e789f46636edb0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/model-config-card.tsx: FileTooLong \u2014 1495 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: ModelConfigCard (176-1899). The bar is 500 significant lines; this is 995 over it, 2.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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36de29e25d635c564c98100c927fa0e313aa9e484debf4252c59ecb3058cb52c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: opencode-provider-form.OpenCodeProviderForm: FunctionTooLong \u2014 OpenCodeProviderForm runs 275 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 175 over it, 2.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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c324388c67858bc5a42a03ec54f6272aeaba22ce1139fabf6d0e74ad948f6ae3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pi-provider-form.PiProviderForm: FunctionTooLong \u2014 PiProviderForm runs 255 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 155 over it, 2.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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"769c01625e74b7c932de1fe88163c60fee2a76a42c3a6d916ecc2929aa6c65c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ContentView: ClassTooLong \u2014 1006 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 606 over it, 2.52\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":"ios/BrewPing/ContentView.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab18fe7892fa05e7aaa8976d94773633b80c6319c33ea310afcde603dc1e7c50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: BrewPingDesktop/CLIProviderPanels.swift: FileTooLong \u2014 1251 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 751 over it, 2.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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5e42ef7738169791facd2e505f5c2fb5e50136b28d963d02f1f51cd991fd88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: BrewPingDesktop/DesktopStrings.swift: FileTooLong \u2014 1247 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: DesktopStrings (431-1268). The bar is 500 significant lines; this is 747 over it, 2.49\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":"Sources/BrewPingDesktop/DesktopStrings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30b99d8b992ecd7dd89cfa0913fe907bd7344e316360846dcd8d413b65ad6fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeScreenKt.HomeScreen: MethodTooLong \u2014 HomeScreen runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.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":"Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de4948de1a9625ac7063e8481269d6bcc651ad3b85fbe212173e8d2ae9de887"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: brewping_desktop::run: FunctionTooLong \u2014 brewping_desktop::run runs 248 significant 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 148 over it, 2.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":"Sources/BrewPingwinDesktop/src-tauri/src/lib.rs"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"636075fc52c823262047b955ef65fcae7a04fa3fc52cb65e2341edd449f3ffa8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workdir-picker.WorkdirPicker: FunctionTooLong \u2014 WorkdirPicker runs 243 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/chat/workdir-picker.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea1ea766989c0e632e96905031d8d9b59ce76ed0a37ec344af450c11da5087c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/App.tsx: FileTooLong \u2014 1201 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: App (230-1345). The bar is 500 significant lines; this is 701 over it, 2.40\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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fda0a46fa2d95d09d924d85aa55f6c306a92b411553942dd567efa2c4fc684"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DemoBackend.handle: MethodTooLong \u2014 handle runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.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":"ios/BrewPing/DemoBackend.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b0b3e4a39b45225fc7079ce6f65296962f21ff2a319f42cd53361a9c753218"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: brewping_desktop::services::command_runner::execute_agent_command: FunctionTooLong \u2014 brewping_desktop::services::command_runner::execute_agent_command runs 234 significant 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 134 over it, 2.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":"Sources/BrewPingwinDesktop/src-tauri/src/services/command_runner.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04d0065549d94669f32690fd4b0387324e92d93def7ec9970cb1f9c82e6bb9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-provider-form.CodexProviderForm: FunctionTooLong \u2014 CodexProviderForm runs 229 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 129 over it, 2.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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"619008c609e730d287bdf3cd96befa4f89de9314d974eaac31c761aba13ca25c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.SettingsView: FunctionTooLong \u2014 SettingsView runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bce09678ad8b646e189d57cfaebc64e29b4939259c5521838cfa097a7e4478a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1054 significant 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 67 free functions. The bar is 500 significant lines; this is 554 over it, 2.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":"Sources/BrewPingwinDesktop/src-tauri/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"627a72e1eb14c1bffb92dd46a7c18006efacca7433af640a98aec3bbc0a0579f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DesktopStrings: ClassTooLong \u2014 831 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 431 over it, 2.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":"Sources/BrewPingDesktop/DesktopStrings.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"577677561d5e2ce22f6f6cbe3387e61231297a739c80e28642a2e0504b4a5fb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: BrewPing/ContentView.swift: FileTooLong \u2014 1037 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ContentView (49-1605). The bar is 500 significant lines; this is 537 over it, 2.07\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":"ios/BrewPing/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee63cb61b435c64eab18d2d12a4295625439d3ee85dd3f595b27d9c313a6a536"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DemoBackend.handle: MethodTooLong \u2014 handle 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":"Android/core/src/main/java/com/brewping/core/demo/DemoBackend.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"38de5b078629906e86913e10111a93475eaf812277142a03ca58550e188793a5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: App: ClassTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 385 over it, 1.96\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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12286d993116eec374a7a59c64534cbfac1fadae6f81ac3b82278261872cfebf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: claude-provider-form.ClaudeProviderForm: FunctionTooLong \u2014 ClaudeProviderForm runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cb1178ba7219bb8db0b738e4c70e721ecc13b7cd1256b4d57ee71dfd4231c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pi-provider-panel.PiProviderPanel: FunctionTooLong \u2014 PiProviderPanel runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-panel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f99241077f1107f17bdd57f2665b9188bd891af8c07a4b385072c81cd007a89"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SetupWizardView: ClassTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 300 over it, 1.75\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":"Sources/BrewPingDesktop/SetupWizardView.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd010d462bde19991210d3a0ad6076780a1eff9bdbc33f8771a999182d24435"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DesktopAppState: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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":"Sources/BrewPingDesktop/DesktopAppState.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b641d9d5592ba90a1da70217e450f1b3d100d4ed8072d405dde7b834f6734107"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-provider-panel.AgentProviderPanel: FunctionTooLong \u2014 AgentProviderPanel 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":"Sources/BrewPingwinDesktop/src/components/settings/agent-provider-panel.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca83af401b94b60e1e22981e6b85e389950ae4755a2e9c7a4a8644a1a705403"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/http_server.rs: FileTooLong \u2014 798 significant 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 298 over it, 1.60\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f346065987a0240cc4a0ec8b72c8a4ec14ab5cf9e94945e3e937ad4c429d42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-provider-panel.CodexProviderPanel: FunctionTooLong \u2014 CodexProviderPanel runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-panel.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"32424aa389795f3405c1e19ecaba2b80644274a0e20520b27308b5322bbb4251"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/env_setup.rs: FileTooLong \u2014 774 significant 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 43 free functions. The bar is 500 significant lines; this is 274 over it, 1.55\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":"Sources/BrewPingwinDesktop/src-tauri/src/services/env_setup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72ba307259b455363202da74e41a4f27cb768f888a9a26956d081284c3157f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/HomeScreen.kt: FileTooLong \u2014 737 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 237 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":"Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c706ab297449f32265efbef76b09ea6715392f1828ebe1e42792f54c01f1b32a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DesktopApiClient: ClassTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 183 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":"Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"696f0ce8402a7612642a11d10c2823470901b83f35a8e3ce1c79833431636ec7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HomeViewModel: 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":"Android/app/src/main/java/com/brewping/android/ui/HomeViewModel.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6125fba42a13e066009543645c914842b2155e0f34e3082e11dd375aa31ea026"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HTTPAPI: ClassTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 173 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":"Sources/App/HTTPAPI.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"137749d55e99731a7471abd3a01a1a11ab697fd677f7bbda82b3fe2b72c777df"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FolderBrowserSheetKt.FolderBrowserSheet: MethodTooLong \u2014 FolderBrowserSheet 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":"Android/app/src/main/java/com/brewping/android/ui/FolderBrowserSheet.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5103bae362883b45f6e07961db99ebc5b6adce5d42fef26bb526590011ebd604"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DesktopAppState: ClassTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 162 over it, 1.41\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":"Sources/BrewPingDesktop/DesktopAppState.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"958f18b3f163f98c12615fb75f5d54e0b7ef83c20548798bcbb25777a4428fd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: BrewPingDesktop/SetupWizardView.swift: FileTooLong \u2014 702 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: SetupWizardView (14-996). The bar is 500 significant lines; this is 202 over it, 1.40\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":"Sources/BrewPingDesktop/SetupWizardView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2746e9b55abfe3809d8a1cbd78cb9ec3fcfe5d1eaed5106f06556d660fee47f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkdirPickerView.popup: MethodTooLong \u2014 popup runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingDesktop/WorkdirPickerView.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"203ef44e060849657f1e6f85d42e55f224cffa8d69171b5595b6d5a5a52e8281"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PTYSession.swift.brewping_forkpty: FunctionTooLong \u2014 brewping_forkpty runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.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":"Sources/PTY/PTYSession.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6274b2c06ae445b8ddac87193bdc3046f3e828cf98644e73058ec48d4dfa018"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: setup/setup-wizard.tsx: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: SetupWizard (118-838). The bar is 500 significant lines; this is 147 over it, 1.29\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":"Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fe4a58debc65b580b781ff32773b326c4cb8c6ff378ebb7392d39a09b30b74"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/model_transform.rs: FileTooLong \u2014 634 significant 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 134 over it, 1.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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"084e89c02e24b76ae27ad5348894ca2f9d9198747e9515d0683b295febfcf88c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WatchConnectivityManager: ClassTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 107 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":"ios/BrewPing/WatchConnectivityManager.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9e029b112b02b4d8b3ab5dfbc269e43f327800f0d2ca9e760124fe58bb7354"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelProvidersView: ClassTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 104 over it, 1.26\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":"Sources/BrewPingDesktop/ModelProvidersView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9709c1379e4659578ea3429a88c43283d294b821b671842f187b944820ca3dff"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DemoBackend: ClassTooLong \u2014 497 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 97 over it, 1.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":"ios/BrewPing/DemoBackend.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"df575d6268e86e02a1cd18a46a8522ec2904dd49cb4b0c3f0d50237066cb5808"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/DesktopApiClient.kt: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: DesktopApiClient (38-892). The bar is 500 significant lines; this is 109 over it, 1.22\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":"Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a80ce0e12f7ceff7ca5b4055c0cf7993872273248f9729e7a39d8bb051533a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: opencode-provider-panel.OpenCodeProviderPanel: FunctionTooLong \u2014 OpenCodeProviderPanel 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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-panel.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"14929648527bccd721d4ced934badeca3c349ea938cf1dd398a8055d127ada40"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: BrewPingDesktop/DesktopAppState.swift: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: DesktopAppState (90-1056). The bar is 500 significant lines; this is 104 over it, 1.21\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":"Sources/BrewPingDesktop/DesktopAppState.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a7974796ca152bed1477916be2480adcded7000ac4695eb5b752e65ebc426f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: BrewPing/ConversationDetailView.swift: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: ConversationDetailView (11-571). The bar is 500 significant lines; this is 85 over it, 1.17\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":"ios/BrewPing/ConversationDetailView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dacfffcc0da23b60b6aafcf516a6c511183c7cd03458ea815576716d1ad8b2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FolderBrowserView.browsingList: MethodTooLong \u2014 browsingList runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/BrewPing/FolderBrowserView.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db244b35c8e824f7918bd837a0a0a0182e9f900628fd8bb183280aa55ffed21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/HTTPAPI.swift: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: HTTPAPI (3-866). The bar is 500 significant lines; this is 74 over it, 1.15\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":"Sources/App/HTTPAPI.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b114149cd60fa032facbdbeefa91a69d00077a531684206cc339f0a2e77d40f0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DesktopApiClient: 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":"Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"53854a5e12f7c5c3d3d73e95ddf428fe7bb34fe37d0ec8a4db10e50bba7c4023"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WatchSessionManager: ClassTooLong \u2014 446 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 46 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":"ios/Watch/WatchSessionManager.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"124e0f53e01e2957853d1b04a34040f0b93b019f62e24259f2de0f01d7588061"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/ConversationDetailScreen.kt: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 52 over it, 1.10\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":"Android/app/src/main/java/com/brewping/android/ui/ConversationDetailScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f095ce37306e0a05b221b2819015fdb37d8d4bc96ac15c871423999f59708a9d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EnvironmentCardView: ClassTooLong \u2014 438 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. 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":"Sources/BrewPingDesktop/EnvironmentCardView.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7101c9640c433116af4ff3541f43478e1d6a333a1dba95155e875e3c7733674f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: BrewPingDesktop/ChatView.swift: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 44 over it, 1.09\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":"Sources/BrewPingDesktop/ChatView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdf43ac5efd9a02b6629be938ca2eea51637d7cddd3babf2d0e39f3d6a3a965"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: BrewPing/WatchConnectivityManager.swift: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: WatchConnectivityManager (7-832). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/BrewPing/WatchConnectivityManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53dfd40468ebb3bab843bd6c0248cc663d73e6faecf63e18779040209da329f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConversationListView.body: MethodTooLong \u2014 body runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"ios/BrewPing/ConversationListView.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fca91e68a812996e781ac4a6c23881ec5ae8ff8535d5baf7467ccf6cf34d22"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WatchSessionManager: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 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":"ios/Watch/WatchSessionManager.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5c807659683f9a74d80a502eece5846269e276fd7f96ad49366e1dc24a1920"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EnvironmentSetup: ClassTooLong \u2014 425 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 25 over it, 1.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":"Sources/App/EnvironmentSetup.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca25fdf905a4bb79cadcce968911dda1242ac04b620cbb35d7a3a0bc66f6edd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModelProviderFormView.body: MethodTooLong \u2014 body runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"Sources/BrewPingDesktop/ModelProviderFormView.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1974443bda8589a8330801e55afeaa402b9f80e29dd61e70aa79dc2bffcc4701"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.DirFilterMenu: FunctionTooLong \u2014 DirFilterMenu runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"37579910021c5ac67f737d49df6657d72dbaaf404611126ebab16a51a97472c9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LKey: ClassTooLong \u2014 415 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 15 over it, 1.04\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":"Sources/BrewPingDesktop/DesktopStrings.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1351b65e32701b5f4fe2e3a1cb62c1fa9ae88e58679754b98e9d52f52e3378"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DemoBackend: ClassTooLong \u2014 410 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 10 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":"Android/core/src/main/java/com/brewping/core/demo/DemoBackend.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6842c566db8d339eecc5a30143a79624dab9be730167c216cff448c08d2b49d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: BrewPingDesktop/ModelProvidersView.swift: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: ModelProvidersView (16-734). 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":"Sources/BrewPingDesktop/ModelProvidersView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"647678ae97ac045b39980e4f7599497e02528725064bc9439be83b524a9633a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): ios/Watch/WatchSessionManager.swift:239-292 | ios/Watch/WatchSessionManager.swift:568-616 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Watch/WatchSessionManager.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f971c1083f8142a15f1d15ee69a8fd2cda5d3d622c31cc969eb27e1c1e4b40c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): ios/BrewPing/WatchConnectivityManager.swift:353-399 | ios/BrewPing/WatchConnectivityManager.swift:402-455 \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":"ios/BrewPing/WatchConnectivityManager.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b010622291a928d5d248d40196ff5ffeae29bddcbc9f142948506584fc5205ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Sources/Agents/AgentConfigDiscovery.swift:85-120 | Sources/Agents/AgentConfigDiscovery.swift:258-308 \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":"Sources/Agents/AgentConfigDiscovery.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"013cdd16acd122e8fbc22c6a88c75aab15c3ea29459a468fa21aa257f52d9b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 47\u002B corresponding lines): Sources/BrewPingDesktop/CLIProviderPanels.swift:1130-1176 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1528-1574 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1714-1765 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 47 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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"874923082ec247f4b6b443bef6775c150fc56398aba2a6a8e313cdce2d600896"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 39\u002B corresponding lines): Sources/BrewPingDesktop/CLIProviderPanels.swift:338-376 | Sources/BrewPingDesktop/CLIProviderPanels.swift:597-650 | Sources/BrewPingDesktop/CLIProviderPanels.swift:737-785 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 39 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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"73152616d3a068d7dd12e1817c34fab22a656e7b6e0e52536bd92dff760d686c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/lib.rs:462-525 | Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs:510-565 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/lib.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"61da624df1605f73545a7145153c9335cb80598ba7661651738afd43e53d57e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/App/ModelProviderStore.swift:53-67 | ios/BrewPing/ConversationStore.swift:42-58 \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":"Sources/App/ModelProviderStore.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d48b52d47ad91dcfc1bbab04e10cf65918fcfb4c112a1324a25ee8546dc58c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): ios/BrewPing/WatchConnectivityManager.swift:469-504 | ios/BrewPing/WatchConnectivityManager.swift:537-572 \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":"ios/BrewPing/WatchConnectivityManager.swift"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a7fe1723fd1bcab8bfa3b5b7af7256548988518d8ba1adb93a75c210aafe2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs:309-362 | Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs:340-389 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"865c3a53ddb6e885da1ea8c02dae1024ab749238daafbd0308dca9ac72732eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): Sources/BrewPingDesktop/CLIProviderPanels.swift:296-336 | Sources/BrewPingDesktop/CLIProviderPanels.swift:562-595 | Sources/BrewPingDesktop/CLIProviderPanels.swift:702-735 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb9cbd744ef4d78ca3968f2a8b89993631a185877732d0bb8f9e4212253dbdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/BrewPingDesktop/CLIProviderPanels.swift:1238-1255 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1789-1806 \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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2bed7515d07703f3b86c0e6582b4eb7b87fc6b81987dea27da727dda68b153"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:495-527 | Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:531-554 \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":"Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca7baddfd1fc350971714eb4e24ca8b3842f0d321a95005fddd45979a041c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): Sources/BrewPingDesktop/CLIProviderPanels.swift:1293-1312 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1659-1680 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1813-1832 \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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda201c92f99cbcab8969d23b2748ab7eaec7793e3519b74e6f86f1cb12fab16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Sources/BrewPingDesktop/SettingsView.swift:206-238 | Sources/BrewPingDesktop/SidebarView.swift:398-430 \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":"Sources/BrewPingDesktop/SettingsView.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e460af989c37c5c6a2cff0f2d7cc96d8012da4b4a8cf635f2d712d641d015562"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/App/UnixSocket.swift:89-109 | Sources/App/UnixSocket.swift:111-132 \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":"Sources/App/UnixSocket.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab09f7c13a2a924372ca4f7b16aa29496a1d4819f7124841c1cca8b305a8b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/BrewPingDesktop/SetupWizardView.swift:469-497 | Sources/BrewPingDesktop/SetupWizardView.swift:501-534 \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":"Sources/BrewPingDesktop/SetupWizardView.swift"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"769946eb3871b86ccbc55fb3492c9c1634a0ce9076f03474d7e4863cb4860a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/App/RelayBridge.swift:143-167 | ios/BrewPing/RemoteAccess.swift:211-235 \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":"Sources/App/RelayBridge.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8303396825bfc9f491446cc3b45858c4fb51bfb2799653e527bee082bbb0e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): ios/BrewPing/BrewPingHTTP.swift:32-51 | ios/BrewPing/BrewPingHTTP.swift:59-82 \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":"ios/BrewPing/BrewPingHTTP.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8a1de5b0addb6385844e802bcb7d851c342b3f92f4d71d460f662313ed35e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs:146-165 | Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs:239-258 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"461293814256da8a8c5ad3424866138e2e05e0edd752266aded3e9010fa1a80e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/App/RelayBridge.swift:175-200 | ios/BrewPing/RemoteAccess.swift:237-260 \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":"Sources/App/RelayBridge.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0484e35fed72e34207dd494ce6c7eb9673c29eda871aa1483b9517302703841d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/App/FolderBrowser.swift:182-199 | Sources/App/WorkdirPrefs.swift:60-79 \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":"Sources/App/FolderBrowser.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe284bd3e2c6f408374519f1c65e0ae62ccef64b81e3ac181b19ef1f85357ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/App/CLIConfigSupport.swift:47-64 | Sources/App/OpenCodeProviderConfig.swift:214-227 \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":"Sources/App/CLIConfigSupport.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d84a06f00893fbe00dbb3eeaddb44949bec44916c2b2b346d02a0c1b638cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/agent_discovery.rs:265-290 | Sources/BrewPingwinDesktop/src-tauri/src/services/agent_discovery.rs:293-318 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/agent_discovery.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b6452c5b6209441cf1bbf0a24388525912c241572f49e19285f138c064040c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:391-409 | Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:411-430 \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":"Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3890a6dfec49780322387426f5c3da1f1504fd4f337c6c0b4eb8d9a8a61e512b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): ios/Watch/WatchSessionManager.swift:350-372 | ios/Watch/WatchSessionManager.swift:386-411 \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":"ios/Watch/WatchSessionManager.swift"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a143e6ce7281c5ae0868cab71cbe8842cc2db63afccffc156c9c7ec44b52157"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/App/RelayBridge.swift:37-46 | ios/BrewPing/RemoteAccess.swift:136-145 \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":"Sources/App/RelayBridge.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4622801c69862213966e9f1d73a2ee1a357db9af927463df812a92465a54a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs:475-494 | Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs:979-1002 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a18a62779be52290d8e4e0e57be21d7fdda801dfa41577f5eb13786c94bf393"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:153-169 | Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:174-190 \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":"Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d3547a58bfce310e1b8dc39cebf3ca18af07845147371783c30e740549dce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/App/HTTPServer.swift:35-45 | ios/BrewPing/DemoBackend.swift:515-525 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/App/HTTPServer.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57e0689852dea3e29168e3dff5605054782d0d46f7473d4dcf9936215b539bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/App/RelayBridge.swift:254-265 | ios/BrewPing/RemoteAccess.swift:341-352 \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":"Sources/App/RelayBridge.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe35768c4d104f76b21a3f1a2c0cb03de0fe9dd7ebd95b5dc2897f6a93cbf967"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Sources/BrewPingDesktop/CLIProviderPanels.swift:26-38 | Sources/BrewPingDesktop/CLIProviderPanels.swift:84-99 | Sources/BrewPingDesktop/ModelProvidersView.swift:720-733 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c0b57f490290d95120237d157a5918a7c7b845545336f8905c3e683fd6e5b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/BrewPingDesktop/MenuBarContentView.swift:119-133 | Sources/BrewPingDesktop/SettingsView.swift:294-308 \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":"Sources/BrewPingDesktop/MenuBarContentView.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d8b4e7f5c25e3e04f24fc30090067807e30646241eade1c38a3d79cc83b233"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/BrewPingDesktop/CLIProviderPanels.swift:958-969 | Sources/BrewPingDesktop/EnvironmentCardView.swift:178-189 \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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22121d28a0c052ecd5ac70796d7ee891b971d2a55ad201c7cfe43e632a63b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs:138-148 | Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs:174-183 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"240a7e7a3244b19336641463165bc9007ef0a7ef54a731ae1c315036631a2c86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ios/Watch/WatchConversationViews.swift:80-93 | ios/Watch/WatchConversationViews.swift:205-217 \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":"ios/Watch/WatchConversationViews.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca55e99c22eb9c1fa93849d9eebf7ec8d093bceb713a1f823374b1d551935a51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/BrewPingDesktop/CLIProviderPanels.swift:113-128 | Sources/BrewPingDesktop/SetupWizardView.swift:833-846 \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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab28568281d431cc0364c8de4bdbfca33c08e000fc1214d4dce50abd3dfa0aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/App/CodexProviderConfig.swift:40-46 | Sources/App/OpenCodeProviderConfig.swift:51-57 | Sources/App/PiProviderConfig.swift:49-55 \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":"Sources/App/CodexProviderConfig.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96cdfbc39c9cf5e40af92bab94df595d8204a95aeb1ffa8558ba2d0a56f3e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/BrewPingDesktop/DesktopAppState.swift:1048-1055 | ios/BrewPing/LatteTheme.swift:60-69 \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":"Sources/BrewPingDesktop/DesktopAppState.swift"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2a2b1521c3a8fdc01ef0a75ed0e611b17cd1d55d4460d3a09578c8b9bdba26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/BrewPingDesktop/CLIProviderPanels.swift:1515-1526 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1700-1712 \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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"6253358a768b1e071020f70c50ec09a56b10bf6e1a015c9bdfb463d28db2c8f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/BrewPingDesktop/SidebarView.swift:301-314 | ios/Watch/ContentView.swift:153-162 \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":"Sources/BrewPingDesktop/SidebarView.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b90d14e6a19591ea0a6a00a70df06e2dc9d867c05f742b507f3d818dd2426c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/BrewPingDesktop/CLIProviderPanels.swift:1041-1047 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1048-1054 \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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcf22b5b8ae859ba6f39ae5ee08c5ba071fe4ac58a495a62f08586b03a57936"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/App/AttachService.swift:73-84 | Sources/PTY/PTYSession.swift:116-129 \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":"Sources/App/AttachService.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b27ccc8eb769c5419af63c2cba9829da69c8999419960e29fe29536848df8fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ios/BrewPing/CommandReceiver.swift:733-749 | ios/BrewPing/CommandReceiver.swift:751-768 \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":"ios/BrewPing/CommandReceiver.swift"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a634d23c25623f2cb0b96444c5a2be961cd9fd61b55e2a4bb31c4d39b5b535c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ios/BrewPing/LanguageManager.swift:129-142 | ios/Watch/WatchLanguageManager.swift:57-66 \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":"ios/BrewPing/LanguageManager.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f253cfe207688ef2e4df4d1baf87b100f2ec7e9325eb02d0344d298ec98bed6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs:178-186 | Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs:193-199 | Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs:241-249 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca91070bb1878374ba6a50fa0fdf1202fbd647c03c08b6141f596dc5e0013a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/App/ApprovalGate.swift:328-340 | Sources/App/WorkdirPrefs.swift:81-89 \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":"Sources/App/ApprovalGate.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8bf604c90cf977f53533960bbd9c7601ef4bcee6492996b89d7fe96ef5f79b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ios/BrewPing/LatteTheme.swift:72-79 | ios/Watch/WatchTheme.swift:85-93 \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":"ios/BrewPing/LatteTheme.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3abdba9e4609ce607aec1c910f727b19a2af06c1afcc1ef2f61628b95f5e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/App/DesktopCommands.swift:595-602 | Sources/BrewPingDesktop/CLIProviderPanels.swift:837-844 \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":"Sources/App/DesktopCommands.swift"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb36d471ee011e6403ea8772668a109baea554e72731651f8d8b295aedfd88c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/approval_gate.rs:539-554 | Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_store.rs:634-644 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/approval_gate.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1f1fbe059eccfba9ed5f795554ec90514f37fd8ce42cee4166152180af107f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/BrewPingDesktop/EnvironmentCardView.swift:138-147 | Sources/BrewPingDesktop/ModelProviderFormView.swift:290-299 \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":"Sources/BrewPingDesktop/EnvironmentCardView.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4926af032083fccef1ddb672bdd7b477d3ba4f47228b9cef5a652354c24bc02d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/lib.rs:861-870 | Sources/BrewPingwinDesktop/src-tauri/src/lib.rs:877-886 \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":"Sources/BrewPingwinDesktop/src-tauri/src/lib.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"67778382e27b36b776e6442519db7f5ccf266bb8302fc040c09f3486b5b4ce21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/App/ApprovalGate.swift:187-196 | Sources/App/ApprovalGate.swift:199-206 \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":"Sources/App/ApprovalGate.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2af30d94846f38303ad5ec7fdb7af6e11b9e9c54780c9f48264049df8048d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Sources/BrewPingDesktop/CLIProviderPanels.swift:1215-1227 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1602-1612 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1768-1778 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9475908f19eb7d9841ce470f0dbdaee9e15258bf89312b96c6e0ee393cd85c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/BrewPingDesktop/AppLanguage.swift:107-114 | Sources/BrewPingDesktop/AppLanguage.swift:117-124 | ios/Watch/WatchTheme.swift:85-93 \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":"Sources/BrewPingDesktop/AppLanguage.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9602bf8abfcb4f666b244e08937f85cc04aa144dca5e98f82426daed6265d07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ios/BrewPing/LanguageManager.swift:156-160 | ios/Watch/WatchLocalized.swift:5-9 \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":"ios/BrewPing/LanguageManager.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9eeb515aef873814857cf02657cd6fbcc7fa28fe7c5c021040bb76d022f1d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/BrewPingDesktop/DesktopComponents.swift:18-29 | Sources/BrewPingDesktop/DesktopComponents.swift:65-75 \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":"Sources/BrewPingDesktop/DesktopComponents.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36bb9fc5772664b933fbbc51e3e8d94f976a52d4d953224f84be0c5da4cafd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/lib.rs:728-735 | Sources/BrewPingwinDesktop/src-tauri/src/lib.rs:745-752 | Sources/BrewPingwinDesktop/src-tauri/src/lib.rs:762-769 \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":"Sources/BrewPingwinDesktop/src-tauri/src/lib.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb62a7994b333f662aff0b457eb56ca28203af6240cb3a672fcc94a7ef65c938"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/App/CommandStore.swift:91-101 | Sources/App/ConversationStore.swift:352-362 \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":"Sources/App/CommandStore.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e950253e292aebee4379a3059429e929c57c08cb5290a0f8802a7a0bbfb33560"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs:127-135 | Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs:176-184 | Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs:186-194 | Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs:199-207 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1715fa7b27ac0c704861d4107bd5f9ef44427bc671edf9f25b87a461a88646c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_store.rs:625-632 | Sources/BrewPingwinDesktop/src-tauri/src/services/model_prefs.rs:116-122 | Sources/BrewPingwinDesktop/src-tauri/src/services/model_provider_store.rs:491-501 | Sources/BrewPingwinDesktop/src-tauri/src/services/workdir_prefs.rs:90-99 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_store.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"00456bc9afcbac2243c4433ca5657195c0541ad529ed42960c7c9d188af6ed22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/lan_address.rs:16-31 | Sources/BrewPingwinDesktop/src-tauri/src/services/lan_address.rs:69-84 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/lan_address.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1a79ae9401554299d3e0ae03115fcd55960be8bb196d21d1d8cd7c4c0ff46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/model_prefs.rs:107-114 | Sources/BrewPingwinDesktop/src-tauri/src/services/workdir_prefs.rs:81-88 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_prefs.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0871da2f6598efb0bf9cd2dff19ef9d6d938608062d1bef631bd0e5589c983c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/BrewPingDesktop/CLIProviderPanels.swift:829-835 | Sources/BrewPingDesktop/ModelProvidersView.swift:710-716 \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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"222206f541b369e436e6598f5379233c4d9ab3a9da9aa13a42057f1ca61815c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/BrewPingDesktop/EnvironmentCardView.swift:448-454 | Sources/BrewPingDesktop/ModelProvidersView.swift:346-352 \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":"Sources/BrewPingDesktop/EnvironmentCardView.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f9927eb245dd3d8a119b9407fcb4d41ae3b8de0aed34ca1977bfd78641c75e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/App/CommandStore.swift:103-106 | Sources/Session/SessionManager.swift:43-46 \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":"Sources/App/CommandStore.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ed2140bcfdfee3abaaa4f353e12f0c3231f4f7a4016c109ccfaf57adb449d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Sources/App/ClaudeProviderConfig.swift:103-106 | Sources/App/CodexProviderConfig.swift:140-143 | Sources/App/OpenCodeProviderConfig.swift:118-121 | Sources/App/PiProviderConfig.swift:115-118 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/App/ClaudeProviderConfig.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"be26b920d33b3d988c7b7d19a94b176113e882a908941696141bd650686a9f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/approval_gate.rs:558-561 | Sources/BrewPingwinDesktop/src-tauri/src/services/pairing_store.rs:355-358 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/approval_gate.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c9765880778aa1f85b26c2000c4a69d448ec7b80cf9fb0cb63e8a6a39447c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs:140-143 | Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs:209-212 | Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs:199-202 | Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs:222-225 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17cb83b51d7e7cef7ffd396d1314f019037c4c2f8d7f4bf6f138b00e5105272"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): Sources/App/OpenCodeProviderConfig.swift:31-31 | Sources/App/PiProviderConfig.swift:29-29 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/App/OpenCodeProviderConfig.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e90fc1b99eb03aaf30fd9213037f4c0006e06c44226865a10e47d39a3d9e992"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ios/Watch/WatchAudioRecorder.swift:150-154 | ios/Watch/WatchSessionManager.swift:543-548 \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":"ios/Watch/WatchAudioRecorder.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7535a1325e3249d7458f960544a60a698b518b27bc21d8e8d72103180c989b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/BrewPingwinDesktop/src-tauri/src/services/cli_takeover.rs:492-495 | Sources/BrewPingwinDesktop/src-tauri/src/services/device_identity.rs:77-80 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/cli_takeover.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed697e99230a47b3534ce70929db87374c1d0350e9527c285ea9193c1813321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/BrewPingDesktop/ChatView.swift:446-463 | Sources/BrewPingDesktop/ChatView.swift:577-594 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/BrewPingDesktop/ChatView.swift:446\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingDesktop/ChatView.swift"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"091ec572064f531f7006ad35298c94b145c3ced7479c8f24969963c7dff10f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201332 lines \u00D7 2): ios/Watch/WatchSessionManager.swift:261-292 | ios/Watch/WatchSessionManager.swift:584-610 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/Watch/WatchSessionManager.swift:261\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Watch/WatchSessionManager.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7eee9e4547da70d50b308d3b7a2849e10f1756b51c7e24f9fc57f643d553fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): Sources/BrewPingDesktop/CLIProviderPanels.swift:349-365 | Sources/BrewPingDesktop/CLIProviderPanels.swift:620-636 | Sources/BrewPingDesktop/CLIProviderPanels.swift:760-776 \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 \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:349\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, \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:368\u0060 calls \u0060keyBadge\u0060, \u0060t\u0060 and \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:779\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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad4590a8d1b253cbcc1bd7eecc2a031606501c33e91ca090be4f7c701872e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ios/BrewPing/DemoURLProtocol.swift:60-76 | ios/BrewPing/RelayURLProtocol.swift:124-140 \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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/BrewPing/DemoURLProtocol.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce8bd541958ebd6e721832faecb66f51acf7d57286e74f9682a9f21b15a8639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/BrewPingDesktop/CLIProviderPanels.swift:1259-1274 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1634-1649 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:1259\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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:1630\u0060 calls \u0060trimmingCharacters\u0060 and \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:1254\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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c5ab4712a571b1c2a632f5da51fe3998077551cb1759abd4582b65955944ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): ios/BrewPing/FolderBrowserStore.swift:115-129 | ios/BrewPing/FolderBrowserStore.swift:172-185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/BrewPing/FolderBrowserStore.swift:115\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":"ios/BrewPing/FolderBrowserStore.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9006cd0a2145ef57b296a0940b9da94a2e1c26a60f052d2b2024e6d60799b6bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Sources/App/ConversationStore.swift:368-381 | Sources/App/DesktopCommands.swift:571-583 \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":"Sources/App/ConversationStore.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"987ce1f4b9fd59db41761d938ad7a1faf0e4f1e6ae4b56d99ec613b5a593ab5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/BrewPingDesktop/SettingsView.swift:223-236 | Sources/BrewPingDesktop/SidebarView.swift:415-428 \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 \u0060Sources/BrewPingDesktop/SettingsView.swift:223\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":"Sources/BrewPingDesktop/SettingsView.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce40e52df0d2daf819a9a9471269474e7df34ed56041ff24c83be4f7bb15b7af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/App/CLIConfigSupport.swift:73-85 | Sources/App/CLIConfigSupport.swift:100-112 \u2014 both copies are in the same file, so extract the block 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, \u0060Sources/App/CLIConfigSupport.swift:114\u0060 calls \u0060appendingPathComponent\u0060 and \u0060Sources/App/CLIConfigSupport.swift:86\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":"Sources/App/CLIConfigSupport.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a8d68387a4c99110f0f0f5e22a74f92e93e4ba9cd63911d6e1738b691b177c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ios/BrewPing/ConversationDetailView.swift:344-356 | ios/BrewPing/ConversationDetailView.swift:449-461 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/BrewPing/ConversationDetailView.swift:344\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/BrewPing/ConversationDetailView.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd703404f64258f901d4acaf37ab4427c7c80cc6be6cdab9a409f997c77a4603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ios/BrewPing/WatchConnectivityManager.swift:358-370 | ios/BrewPing/WatchConnectivityManager.swift:410-422 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/BrewPing/WatchConnectivityManager.swift:358\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":"ios/BrewPing/WatchConnectivityManager.swift"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ea42068d64869d26f8c9606b365ab5f99841dc8e3ee246bb601ddfdfabd320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/BrewPingDesktop/CLIProviderPanels.swift:1239-1251 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1790-1802 \u2014 both copies are in the same file, so extract the block 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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"621f9b815de0b003ec61e3fb411815e5b78f3322a13886043bda20a7bfe2a19c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): ios/BrewPing/ContentView.swift:519-529 | ios/BrewPing/ContentView.swift:614-624 | ios/BrewPing/ContentView.swift:717-727 \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 \u0060ios/BrewPing/ContentView.swift:519\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/BrewPing/ContentView.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7b2fea46918bd75e61ac056dccecd92192b113ddf7437f1167c683234ce928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/App/FolderBrowser.swift:184-193 | Sources/App/WorkdirPrefs.swift:64-74 \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":"Sources/App/FolderBrowser.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c98bc91ef5fb55e4e42d027671dfabbf7bfddd222748ced4cc70b4858542eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/BrewPingDesktop/MarkdownView.swift:55-65 | Sources/BrewPingDesktop/MarkdownView.swift:75-85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/BrewPingDesktop/MarkdownView.swift:55\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":"Sources/BrewPingDesktop/MarkdownView.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2ead72748cfe2b7868d927ec7641d29f941d9454ce0ae32832aba3d93e4d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ios/BrewPing/BrewPingHTTP.swift:41-51 | ios/BrewPing/BrewPingHTTP.swift:72-82 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/BrewPing/BrewPingHTTP.swift:41\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/BrewPing/BrewPingHTTP.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"324d21373308799a3c2e15fc8a973d4d19d6e871ac3b8d96625db0bdb56ded53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ios/BrewPing/DemoBackend.swift:446-456 | ios/BrewPing/DemoBackend.swift:462-472 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/BrewPing/DemoBackend.swift:446\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/BrewPing/DemoBackend.swift"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f35e927c4b1d8adf39045765f80c9dbd56dacb8ff062185e6a679f6392f577"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Sources/App/CommandStore.swift:31-39 | Sources/App/ConversationStore.swift:136-145 \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":"Sources/App/CommandStore.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ffb7e70cef9593f9e38b87f969410dbde0f66ecd9251f07ef1c8f8e7d4e827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/BrewPingDesktop/CLIProviderPanels.swift:914-922 | Sources/BrewPingDesktop/ModelProviderFormView.swift:224-232 \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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdabe7991978297b591b1fb682f363e975d7f7d9fad9733359be28c807763b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/BrewPingDesktop/CLIProviderPanels.swift:1182-1190 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1582-1590 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:1580\u0060 calls \u0060TextField\u0060, \u0060t\u0060, \u0060cliInput\u0060 and \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:1181\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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e2a45a596bb11c77b53372581f9004966150bf6d57e06ff115857ea3e940ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/BrewPingDesktop/WorkdirPickerView.swift:189-197 | Sources/BrewPingDesktop/WorkdirPickerView.swift:208-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/BrewPingDesktop/WorkdirPickerView.swift:189\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingDesktop/WorkdirPickerView.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e28c026be6f81f28977488e75397e0be583c1609f9fb3f75154ee9a10837c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/BrewPing/ContentView.swift:542-550 | ios/BrewPing/ContentView.swift:698-706 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/BrewPing/ContentView.swift:542\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":"ios/BrewPing/ContentView.swift"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0de643f732a5f639c13a08b88f5641885a3ad78cab4795620387938f475597e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): Sources/BrewPingDesktop/CLIProviderPanels.swift:1137-1143 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1535-1541 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1721-1728 \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 \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:1721\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060agentId\u0060 to \u0060\u0022opencode\u0022\u0060 in one and \u0060\u0022codex\u0022\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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c8baa2d340044ae38c198c220975017504e5b4af7a759dc3d01676ae018546"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/BrewPingDesktop/ComposerDropdown.swift:101-111 | Sources/BrewPingDesktop/SettingsView.swift:227-234 | Sources/BrewPingDesktop/SidebarView.swift:419-426 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/BrewPingDesktop/ComposerDropdown.swift:101\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingDesktop/ComposerDropdown.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"358dcb803ca8cafc7e8756c8c13dda2b0877abbca453c5b0e2c2ddbd5c3643d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/BrewPingDesktop/SettingsView.swift:357-364 | Sources/BrewPingDesktop/SetupWizardView.swift:726-733 \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":"Sources/BrewPingDesktop/SettingsView.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"32250e4cbc32720a467450728e95173c04662d9429fd3cb7fbd4fad1985d7f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ios/BrewPing/ConversationStore.swift:378-385 | ios/BrewPing/ConversationStore.swift:427-434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/BrewPing/ConversationStore.swift:378\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":"ios/BrewPing/ConversationStore.swift"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b9d5a2793eb316df66315f54aa73562603d513b4c10be56a3239b60a156bed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/BrewPing/WatchConnectivityManager.swift:484-492 | ios/BrewPing/WatchConnectivityManager.swift:556-564 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/BrewPing/WatchConnectivityManager.swift:484\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/BrewPing/WatchConnectivityManager.swift"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd73916c43731a80e34cbfd0c917feff26d31ba996377f3f21bb6dbbe05999f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/BrewPingDesktop/EnvironmentCardView.swift:54-60 | Sources/BrewPingDesktop/SettingsView.swift:430-436 | Sources/BrewPingDesktop/SetupWizardView.swift:603-609 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/BrewPingDesktop/EnvironmentCardView.swift:54\u0060 it begins part-way through the construct above it, so those exact 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, \u0060Sources/BrewPingDesktop/EnvironmentCardView.swift:61\u0060 calls \u0060loadIfNeeded\u0060, \u0060onReceive\u0060, \u0060publisher\u0060 and \u0060Sources/BrewPingDesktop/SettingsView.swift:437\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":"Sources/BrewPingDesktop/EnvironmentCardView.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3c836cf1012fae188187b09bdfbc8d5031aef4a31d71bba90935a073833beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/App/DesktopCommands.swift:596-602 | Sources/BrewPingDesktop/CLIProviderPanels.swift:838-844 \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":"Sources/App/DesktopCommands.swift"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4daebbac4b2a050d9f056461b22c9c595f443dd885df4f353a0450f893cddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/App/HTTPAPI.swift:479-485 | Sources/App/HTTPAPI.swift:609-615 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/App/HTTPAPI.swift:479\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/App/HTTPAPI.swift"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77457ff11f173993c698548a6753ff4d767a2fa244970a8d7cff7e2f247c43e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/BrewPingDesktop/AppLanguage.swift:108-114 | Sources/BrewPingDesktop/AppLanguage.swift:118-124 \u2014 both copies are in the same file, so extract the block 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":"Sources/BrewPingDesktop/AppLanguage.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a6020eae6ecf708288b043fbf0a297423c700c68580906f03302979b1b565d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 2): Sources/BrewPingDesktop/CLIProviderPanels.swift:86-92 | Sources/BrewPingDesktop/CLIProviderPanels.swift:103-107 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift: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. 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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2cea6560e8d3ca1fadd706d676a52f724e76b3e591504de8b6068cc6ada68b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/BrewPingDesktop/CLIProviderPanels.swift:601-607 | Sources/BrewPingDesktop/CLIProviderPanels.swift:741-747 \u2014 both copies are in the same file, so extract the block 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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"20044aec3bdde8cde6b396e0782241d17a2c53f457dc6a0176e19d1db97f4ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/BrewPingDesktop/EnvironmentCardView.swift:257-263 | Sources/BrewPingDesktop/WorkdirPickerView.swift:176-182 \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 \u0060Sources/BrewPingDesktop/EnvironmentCardView.swift:257\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingDesktop/EnvironmentCardView.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"330cfa8031e9e5e53b9da5eef0404ca6210edca383f0c5a281c10caaaa7d65f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/BrewPing/ConversationListView.swift:36-42 | ios/Watch/ContentView.swift:178-184 \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 \u0060ios/BrewPing/ConversationListView.swift:36\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 \u0060spacing\u0060 to \u00608\u0060 in one and \u00606\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":"ios/BrewPing/ConversationListView.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"62628d01b5e9e36fa108debd97630f6ca26992815315b79b2fb4af1cf3f98150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 3): Sources/App/UnixSocket.swift:19-27 | Sources/App/UnixSocket.swift:92-104 | Sources/App/UnixSocket.swift:115-126 \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 \u0060Sources/App/UnixSocket.swift: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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/App/UnixSocket.swift:114\u0060 calls \u0060close\u0060 and \u0060Sources/App/UnixSocket.swift:91\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":"Sources/App/UnixSocket.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8656b08257fc9b02b36b604c03321ca4d81a467031e174974bd438a7cad29817"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/BrewPingDesktop/EnvironmentCardView.swift:342-347 | Sources/BrewPingDesktop/SetupWizardView.swift:567-572 \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 \u0060Sources/BrewPingDesktop/EnvironmentCardView.swift: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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u00600\u0060 in one and \u00606\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/BrewPingDesktop/EnvironmentCardView.swift:348\u0060 calls \u0060truncationMode\u0060 and \u0060Sources/BrewPingDesktop/SetupWizardView.swift:573\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":"Sources/BrewPingDesktop/EnvironmentCardView.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"413ea06f606a67e37b41317efeef89bef32ef29f40928a3fa53126ee77716b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/BrewPing/ContentView.swift:1326-1331 | ios/BrewPing/ContentView.swift:1337-1342 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/BrewPing/ContentView.swift:1326\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ios/BrewPing/ContentView.swift:1343\u0060 calls \u0060Text\u0060, \u0060font\u0060, \u0060foregroundStyle\u0060 and \u0060ios/BrewPing/ContentView.swift:1332\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":"ios/BrewPing/ContentView.swift"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"386fedbfa870051c2f618bf44a42aab42b81ec503e6f92cab820fa6bbe586d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/App/CodexProviderConfig.swift:181-185 | Sources/App/OpenCodeProviderConfig.swift:158-162 | Sources/App/PiProviderConfig.swift:169-175 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/App/PiProviderConfig.swift:169\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/App/CodexProviderConfig.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"25428a5be0d454429f4cdd3bb5f86665d2d5efabf566ecf26c42bda1a0cc94a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/BrewPingDesktop/CLIProviderPanels.swift:1293-1298 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1659-1664 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1813-1818 \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 \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:1293\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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"371af99093d4587ead2f1bd3a44a286e99066d1be36b9a711151e1984694e1e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/BrewPingDesktop/CLIProviderPanels.swift:27-31 | Sources/BrewPingDesktop/ModelProvidersView.swift:722-726 \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 \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:27\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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0fad11ebe17ae457f4102d99a6339e057c308bce1683db7f949f86d1e0e142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/BrewPingDesktop/TerminalDockView.swift:121-125 | Sources/BrewPingDesktop/TerminalDockView.swift:140-144 \u2014 both copies are in the same file, so extract the block 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":"Sources/BrewPingDesktop/TerminalDockView.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f956cd918fa5c79b144ebb304f7ca5d79c112570df9770fd179818f9899dc0d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/BrewPingDesktop/DesktopRootView.swift:171-177 | Sources/BrewPingDesktop/MenuBarContentView.swift:102-108 \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":"Sources/BrewPingDesktop/DesktopRootView.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f517c58700e2458880dcb6cbd89a07f3fc894c80253cf5214e88d48b2a6a231d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/BrewPingDesktop/MenuBarContentView.swift:110-117 | Sources/BrewPingDesktop/SettingsView.swift:279-286 \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":"Sources/BrewPingDesktop/MenuBarContentView.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7d5082d1858bb7e2bae72dce1373ba93ffd9ba803c7ab0ee37109d7a5a0b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/App/HTTPAPI.swift:434-438 | Sources/App/HTTPAPI.swift:576-580 \u2014 both copies are in the same file, so extract the block 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":"Sources/App/HTTPAPI.swift"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"501fec17f0f6f21088f98ad79089010cacffab02018fedba319a17f58970108e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/App/HTTPAPI.swift:833-837 | Sources/App/HTTPAPI.swift:849-853 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/App/HTTPAPI.swift:833\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":"Sources/App/HTTPAPI.swift"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"907b0a18ed85da0bd6e2a08782c08ffa866aac014dd81df5774a15a1f30337be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/App/RelayBridge.swift:42-46 | ios/BrewPing/RemoteAccess.swift:141-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 \u0060Sources/App/RelayBridge.swift:42\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/App/RelayBridge.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"183fe51877a85122e4396aad24592bca22961d2d6ef52909bd0b116dffdc809b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/App/RelayBridge.swift:255-260 | ios/BrewPing/RemoteAccess.swift:342-347 \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 \u0060Sources/App/RelayBridge.swift:255\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":"Sources/App/RelayBridge.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b78cfbfe34b80ec07281fa1cb7c99c1018c7d96d36db43bcd911f96b9c4726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/BrewPingDesktop/CLIProviderPanels.swift:1303-1308 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1672-1677 | Sources/BrewPingDesktop/CLIProviderPanels.swift:1823-1828 \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 \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:1303\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:1309\u0060 calls \u0060t\u0060 and \u0060Sources/BrewPingDesktop/CLIProviderPanels.swift:1678\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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc73b45e103282bec8a1b530b0133c5f7da53bcc468879d7c6f29cf25bdae36d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Android/app/src/main/java/com/brewping/android/ui/ConversationListScreen.kt:295-312 | Android/app/src/main/java/com/brewping/android/ui/ConversationListScreen.kt:361-378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Android/app/src/main/java/com/brewping/android/ui/ConversationListScreen.kt:295\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/app/src/main/java/com/brewping/android/ui/ConversationListScreen.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6edad75d8bf6fa59f32dc7be7fdcc62284709c4e941bf9d6bc96d92a3601d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt:152-163 | Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt:422-433 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt:152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d458c67e2ad7ad0f630cbe9f201fada4a786ec2e9464b9bb8f2dab10641eeb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt:140-148 | Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt:414-420 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt:140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6b03dbbfbc15695d2c96320f49210e94c3bebb950bce929962cfe100b46a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt:247-254 | Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt:295-302 \u2014 both copies are in the same file, so extract the block 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":"Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c590c52d9aecff3b21ea066c23d9e0089210d29b19bd418e442586bf9ac2542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:158-165 | Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:179-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:158\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f008fba63899ed13bb2fe0978f394c78136eb8d7fefe9cb048d7739b34e418a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:534-538 | Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:606-610 | Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:732-734 \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 \u0060Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:534\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"51216bf7ed77e719d39ad10b60c8b4fc7641ad18fd207feb286933f1249737dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:542-549 | Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:741-748 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:542\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d2604a336a14bc7c476a3abf00c4d48e660a809d702c078d19884142346fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:396-401 | Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:417-422 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt:396\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":"Android/core/src/main/java/com/brewping/core/api/DesktopApiClient.kt"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fb2bcd63d45f65f4761c323ea125f3ab212d12a4143f1cf42e94c69e938254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/lib.rs:470-497 | Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs:524-551 \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":"Sources/BrewPingwinDesktop/src-tauri/src/lib.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc25270a73d3a8c6c499c57fbd636b171dfa191ee7cadabae7bae03b42dfc62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 3): Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs:114-133 | Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs:118-139 | Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs:133-152 \u2014 before extracting anything, compare \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs\u0060 and \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs:136\u0060 calls \u0060is_reserved_provider_key\u0060, \u0060contains\u0060 and \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs:145\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":"Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"41edb1c6598b740380dc298b12a42a8de5cff92e20f2d818d61b953ecea29997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs:142-162 | Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs:146-166 | Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs:156-176 \u2014 before extracting anything, compare \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs\u0060 and \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1137462fea94a2f91168e0cbf16132e55989a12c1207cf5a2fc362a463b215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/agent_discovery.rs:267-288 | Sources/BrewPingwinDesktop/src-tauri/src/services/agent_discovery.rs:295-316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/agent_discovery.rs:267\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/agent_discovery.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f3bc0f2dd67f206376febc0e38cefb0285621d4acfefd8a05ae3fa5ef38b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs:147-160 | Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs:240-253 \u2014 before extracting anything, compare \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs\u0060 and \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs:147\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":"Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"15826bbad640748b073a402260171dfa4148bf8b6c120840d1a8bf9bf791508a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_store.rs:350-362 | Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_store.rs:451-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 \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_store.rs:350\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":"Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_store.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a73179c0fa0570b735c665466b0da6955191c4e282f1f5c4d7506d7bb45018"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs:477-488 | Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs:985-995 \u2014 both copies are in the same file, so extract the block 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c70752dd94b5f2ac12c06ce66c0700d7d1d394521ccbd864d3b60bdecce20e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs:155-165 | Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs:218-228 | Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs:248-258 \u2014 before extracting anything, compare \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs\u0060 and \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"85547f7f314f68bcd65298c498d3ae36bf7eb52bbbb1a9edc7264578e31e5eb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_api.rs:80-87 | Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_api.rs:274-284 \u2014 both copies are in the same file, so extract the block 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_api.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a879f13b03516d2b2742e879355fc8471379ecee17866016dfb3802fb46f2f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs:438-447 | Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs:471-478 \u2014 before extracting anything, compare \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs\u0060 and \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9880bfc8e710fe5fe54c87444c1ba013de60a889532e4afd3d6ba6b61ef6b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/folder_browser.rs:162-172 | Sources/BrewPingwinDesktop/src-tauri/src/services/folder_browser.rs:278-285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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, \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/folder_browser.rs:277\u0060 calls \u0060from\u0060 and \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/folder_browser.rs:159\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":"Sources/BrewPingwinDesktop/src-tauri/src/services/folder_browser.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"800ac046b4f9e333f0cb054a6128600dbcea2d16b8e5befabfc6703a136ad598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/BrewPingwinDesktop/src-tauri/src/lib.rs:236-241 | Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs:480-484 | Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs:987-991 \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 \u0060Sources/BrewPingwinDesktop/src-tauri/src/lib.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. 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, \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs:485\u0060 calls \u0060get\u0060 and \u0060Sources/BrewPingwinDesktop/src-tauri/src/lib.rs:241\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":"Sources/BrewPingwinDesktop/src-tauri/src/lib.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df4c425bc15b3041eea3141b164d54b9ab494e7163046d848b0733915dc0428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs:144-148 | Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs:179-183 \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 \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs:144\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":"Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba95487e3b996d8e1fbd4e9bb324853cea8a2e99b8226286671628e3383e6ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs:221-227 | Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs:118-124 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f44d497042d0976ac6c7cba30ea991601feb35605ae983af84c897ec3a5ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs:320-326 | Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs:167-173 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6401639220fc4177a0cae9deac77601054aeff17a057d8e7081c7e8b47c1d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs:409-415 | Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs:190-196 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"3163e3389e06fd52d22a4904b83deef78cefab2f0963e914090666b9555dc0f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs:417-423 | Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs:181-187 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e960aec8b2f9d601a28dcc8271c019fb87864e9d60c71ce0ec3af7f632b88b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs:167-176 | Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs:230-239 | Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs:227-236 \u2014 before extracting anything, compare \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs\u0060 and \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cad4f4cf9599b888b9580014bef194769de7a081df448be8ac14c537fa7c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_store.rs:169-174 | Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs:101-106 \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":"Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_store.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1100a0e55b5f31c4d6946efe534423f646cea3c5befce711df1feec74cd045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs:279-287 | Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs:391-399 \u2014 before extracting anything, compare \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs\u0060 and \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs\u0060 as WHOLE FILES: this scan already matched 3 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d180698c38275efcdb477ac69c4739fe1c0a8d795920595076f6416dd15afd07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/command_runner.rs:512-529 | Sources/BrewPingwinDesktop/src-tauri/src/services/command_runner.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/command_runner.rs:512\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/command_runner.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"864bd85949332c6d9ff8b0feba4e36e175df6a27e4a591271b04c2e648562f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/env_setup.rs:599-607 | Sources/BrewPingwinDesktop/src-tauri/src/services/env_setup.rs:680-690 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/env_setup.rs:599\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":"Sources/BrewPingwinDesktop/src-tauri/src/services/env_setup.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a39097c41149e4da7a798616bed35c5de10aa5c8cfe80d4a6e885d30b5dc40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs:728-737 | Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs:746-753 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs:728\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"577ad9e28ef9e582b9611a1c340f45598f4ec230c6604238dfccdb9f226e9cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/BrewPingwinDesktop/src-tauri/src/services/cli_takeover.rs:271-275 | Sources/BrewPingwinDesktop/src-tauri/src/services/cli_takeover.rs:323-327 \u2014 both copies are in the same file, so extract the block 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":"Sources/BrewPingwinDesktop/src-tauri/src/services/cli_takeover.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3c292dfc139995962fdff4ef15b9d28012abfc19fe463e20e416e9c4120e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs:179-183 | Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs:242-246 | Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs:276-280 \u2014 before extracting anything, compare \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs\u0060 and \u0060Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc027071ce731b143e96d15089507d6b2b076cb9798290178a06397678a5310"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/verify-cli-config.swift:87-91 | tools/verify-cli-config.swift:92-96 \u2014 both copies are in the same file, so extract the block 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":"tools/verify-cli-config.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7ceeee7b7c062ed98e77d70fe10d8e66394e8c924a6132164d018ff594d0ba"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: BrewPingCore: BrewPingCore: abstractness 0.02, instability 0.00, distance 0.98 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"64c266f2a1c9f7c3fbd9a33dffe155d7bb4f53d1c0bc99f2a4fc04c539258a8f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :core: :core: abstractness 0.03, instability 0.00, distance 0.97 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2c169ab358d9ef7b8aa3cb879c1f7e85b6a8f6804912a9a734828ed1d7a04167"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WatchConnectivityManager (LCOM4 4): WatchConnectivityManager\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":"ios/BrewPing/WatchConnectivityManager.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a98395573f1fabb4c30a9944184b61fd4790bc5bccde41d16725164619fd59"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript and Swift suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 experimental/relay-server/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency; the Swift half could not be measured \u2014 the Swift suite in . produced no coverage export. This repository\u0027s production source spans both ecosystems, and no partial figure is published as if it were the whole: coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/BrewPingwinDesktop/src/App.tsx: Sources/BrewPingwinDesktop/src/App.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 110 in App.App at line 230. 2 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Sources/BrewPingwinDesktop/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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d6b68f461c6921a363a77d5a6de86954921ed55dfa956b091328b359b19384"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/BrewPing/ContentView.swift: ios/BrewPing/ContentView.swift changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ContentView.body at line 131. 12 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- ios/BrewPing/ContentView.swift\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":"ios/BrewPing/ContentView.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddd64b885b61c6d4848b049233772bca5a89978cfb162880ac8e37b19641291"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/BrewPing/DemoBackend.swift: ios/BrewPing/DemoBackend.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in DemoBackend.handle at line 106. 3 of those changes were fix/bug commits, and the other 5 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- ios/BrewPing/DemoBackend.swift\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":"ios/BrewPing/DemoBackend.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3e90b79cac1ede0d24d88e9ec34b26d3869145f4b242a19c4312d9ef09ab90"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx: Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 178 in model-config-card.ModelConfigCard at line 176. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Sources/BrewPingwinDesktop/src/components/settings/model-config-card.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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"38389c80a59c5d9931889a2fc0638ea89bef6763136e1e92936182ec5ca71a1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt: Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in HomeScreenKt.HomeScreen at line 98. 4 of those changes were fix/bug commits, and the other 8 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt\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":"Android/app/src/main/java/com/brewping/android/ui/HomeScreen.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9760e1e41ac563351e4a95031171ff37975a0c621b85f04d0b61572f8228d54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/App/HTTPAPI.swift: Sources/App/HTTPAPI.swift changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in HTTPAPI.commandResponse at line 632. 5 of those changes were fix/bug commits, and the other 15 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Sources/App/HTTPAPI.swift\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":"Sources/App/HTTPAPI.swift"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8e1f662fb59d6cd35f6ca570207d88f6043b1b5bb3baade7c0f0eddd0522e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/Watch/WatchSessionManager.swift: ios/Watch/WatchSessionManager.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in WatchSessionManager.requestStatusSync at line 568. 6 of those changes were fix/bug commits, and the other 8 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- ios/Watch/WatchSessionManager.swift\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":"ios/Watch/WatchSessionManager.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ba5d134e3b26eac730362655443189b8d14957dc0f69bdcee04741b3983fb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/BrewPing/WatchConnectivityManager.swift: ios/BrewPing/WatchConnectivityManager.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in WatchConnectivityManager.handleWatchMessage at line 224. 7 of those changes were fix/bug commits, and the other 8 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- ios/BrewPing/WatchConnectivityManager.swift\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":"ios/BrewPing/WatchConnectivityManager.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c272814d23e139293bd7e19dc9b8055d20b9f95f7259aad9698e746101f4a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/BrewPingwinDesktop/src-tauri/src/services/command_runner.rs: Sources/BrewPingwinDesktop/src-tauri/src/services/command_runner.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in brewping_desktop::services::command_runner::execute_agent_command at line 226. 3 of those changes were fix/bug commits, and the other 5 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Sources/BrewPingwinDesktop/src-tauri/src/services/command_runner.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/command_runner.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e9eed5baaec1d91a7e0cd1b7295735a9787dd75343e7ea392c82148dc2c45f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/BrewPing/CommandReceiver.swift: ios/BrewPing/CommandReceiver.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in CommandSubmitter.poll at line 531. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- ios/BrewPing/CommandReceiver.swift\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":"ios/BrewPing/CommandReceiver.swift"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"826b369c4b92be0364ac654ea0fc584c10cd90dbbf1db999621ec30d736aa5ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Android/app/src/main/java/com/brewping/android/ui/ConversationDetailScreen.kt: Android/app/src/main/java/com/brewping/android/ui/ConversationDetailScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ConversationDetailScreenKt.ConversationDetailScreen at line 89. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Android/app/src/main/java/com/brewping/android/ui/ConversationDetailScreen.kt\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":"Android/app/src/main/java/com/brewping/android/ui/ConversationDetailScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed14abe206c46cb9671876fb60d745ff33c4d2cdd91412dc3e78c03dcce9d2c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/BrewPing/ConversationStore.swift: ios/BrewPing/ConversationStore.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ConversationStore.refresh at line 187. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- ios/BrewPing/ConversationStore.swift\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":"ios/BrewPing/ConversationStore.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"718867713b3b48a123bbf5c8439a5294cf375d4cfb23699e88c31c4f7bc9a0f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/App/BrewPingAgent.swift: Sources/App/BrewPingAgent.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BrewPingAgent.run at line 31. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Sources/App/BrewPingAgent.swift\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":"Sources/App/BrewPingAgent.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cbcfda0757342ac516f75fc29c25680f270cb1d02a144c8e198f19a183d24c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/App/HTTPServer.swift: Sources/App/HTTPServer.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in HTTPServer.parseHead at line 301. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Sources/App/HTTPServer.swift\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":"Sources/App/HTTPServer.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"221098d7b31667a17372281e37024eae51e04173968c742e766f4d541ff25f71"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_api.rs: Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_api.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in brewping_desktop::services::conversation_api::handle_patch_conversation 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_api.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":"Sources/BrewPingwinDesktop/src-tauri/src/services/conversation_api.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"15984653b5294b46efc308df1081e6f4acd2e9406679fff6f2e2aeb0a4230893"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/BrewPingwinDesktop/src/components/chat/chat-view.tsx: Sources/BrewPingwinDesktop/src/components/chat/chat-view.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in chat-view.ChatView at line 119. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Sources/BrewPingwinDesktop/src/components/chat/chat-view.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":"Sources/BrewPingwinDesktop/src/components/chat/chat-view.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee81b1df9a4c36b5a2994ace61f8c2fcb640f5e8e30bb5b83bcf907468d55266"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/BrewPing/ModelCatalog.swift: ios/BrewPing/ModelCatalog.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ModelStore.refresh at line 134. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- ios/BrewPing/ModelCatalog.swift\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":"ios/BrewPing/ModelCatalog.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fa43604412a96857c5792d45d2139a6926e198703e8ccd35dc4bfff432cbe6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ios/BrewPing/BonjourDiscovery.swift: ios/BrewPing/BonjourDiscovery.swift changed 12 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is BonjourDiscovery.handleConnectionState at line 360), 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(ios): \u63A2\u6D4B\u8FDE\u63A5\u56FA\u5B9A IPv4 \u2014\u2014 \u907F\u514D remoteEndpoint \u7ED9 IPv6 \u94FE\u8DEF\u672C\u5730\u5730\u5740\u201D; \u201Cfix(ios): didResolveAddress \u9996\u5E27\u4E0D\u5B8C\u6574\u5373\u6536\u5C3E \u2014\u2014 58ms \u5931\u8D25\u7684\u771F\u6B63\u4FEE\u590D\u201D; \u201Cfix(ios): TestFlight \u81EA\u52A8\u53D1\u73B0\u4E09\u8F6E\u53D6\u8BC1 \u2014\u2014 resolve \u751F\u547D\u5468\u671F \u002B PolicyDenied \u7801 \u002B \u5F71\u5B50\u671F SKIP \u002B \u5168\u94FE\u8DEF\u8BCA\u65AD\u201D; \u201Cfix(ios): TestFlight \u9996\u88C5\u81EA\u52A8\u53D1\u73B0\u88AB UserDefaults \u95E8\u7981\u9501\u6B7B \u2014\u2014 \u79FB\u9664\u95E8\u7981 \u002B 8 \u79D2\u7ADE\u6001\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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- ios/BrewPing/BonjourDiscovery.swift\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":"ios/BrewPing/BonjourDiscovery.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3445282bdbf20c48958bd0bf8a182af942569358bfec0d57c6c02e635f2e4b96"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ios/Watch/VoiceCommandView.swift: ios/Watch/VoiceCommandView.swift changed 11 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 7 (its worst body is WatchComposer.body at line 23), 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(watch): \u5237\u65B0\u65F6\u6536\u8D77\u4E0A\u4E00\u6761\u547D\u4EE4\u7684\u5931\u8D25\u63D0\u793A\uFF0C\u5E76\u53BB\u6389\u91CD\u590D\u6E32\u67D3\u201D; \u201Cfix(watch): \u6E05\u7406\u91CD\u5199\u6B8B\u7559\u7684\u91CD\u590D\u5C5E\u6027\u58F0\u660E\uFF08hasDraft/isCompletedState/inFlight\uFF09\u201D; \u201Cfix(watch): \u9EA6\u514B\u98CE\u6539\u4E3A\u900F\u660E\u8F93\u5165\u6846\u7684\u89C6\u89C9\u5C42\u2014\u2014\u70B9\u51FB\u8D70\u7CFB\u7EDF\u539F\u751F\u805A\u7126\u5F39\u952E\u76D8\uFF08\u542B\u542C\u5199\uFF09\uFF0C\u4FEE\u590D\u70B9\u9EA6\u514B\u98CE\u65E0\u53CD\u5E94\u201D; \u201Cfix(watch): \u4FEE\u590D\u70B9\u9EA6\u514B\u98CE\u5F39\u4E0D\u51FA\u952E\u76D8\u2014\u2014\u805A\u7126\u4E0E\u6E32\u67D3\u6761\u4EF6\u4E92\u9501\uFF0C\u6539\u4E3A\u5148\u6E32\u67D3\u8F93\u5165\u6846\u518D\u805A\u7126\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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- ios/Watch/VoiceCommandView.swift\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":"ios/Watch/VoiceCommandView.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad3d1913063a03ecd1446ff8e86957ad2d36b8acd5855bc866606ee7013ccda"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/BrewPingDesktop/SetupWizardView.swift: Sources/BrewPingDesktop/SetupWizardView.swift changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is SetupWizardView.body at line 34), 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(mac): \u914D\u5BF9\u6210\u529F\u65E0\u53CD\u9988 \u002B QR \u6C38\u4E45\u8F6C\u5708 \u2192 \u6210\u529F\u6001\u5E76\u81EA\u52A8\u8FDB\u5165\u4E3B\u754C\u9762\u201D; \u201Cfix(mac): \u914D\u5BF9 QR \u5E26\u8FC7\u671F LAN IP \u5BFC\u81F4\u626B\u7801\u540E\u4E00\u76F4\u8F6C\u5708\u201D; \u201Cfix(mac): Node \u6B65\u6309\u573A\u666F\u91CD\u6784\u4FE1\u606F\u5C42\u7EA7 \u2014\u2014 \u5DF2\u88C5\u8FC7\u65E7\u65F6\u300C\u5207\u6362\u300D\u662F\u4E3B\u64CD\u4F5C\u201D; \u201Cfix(mac): Node \u63A2\u6D4B\u5BF9\u9F50 nvm default \u002B \u591A\u7248\u672C\u68C0\u6D4B\u4E0E\u5207\u6362\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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Sources/BrewPingDesktop/SetupWizardView.swift\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":"Sources/BrewPingDesktop/SetupWizardView.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"600c0551e1d48947a794ab3e6de723daa53bfbe048cd6b81ecbe545faf4f3997"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/BrewPingDesktop/ChatView.swift: Sources/BrewPingDesktop/ChatView.swift 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 9 (its worst body is RunStatusIndicator.primaryText at line 542), 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(mac): composer \u9996\u5B57\u6BCD\u88AB\u541E \u2014\u2014 updateNSView \u56DE\u5199\u524D\u6821\u9A8C AppKit \u65E0\u5728\u9014\u7F16\u8F91\u201D; \u201Cfix(mac): \u6309\u94AE\u5168\u5C40\u8865\u5185\u8FB9\u8DDD \u002B \u7A7A\u6001\u95EE\u5019\u5782\u76F4\u5C45\u4E2D\uFF08\u7528\u6237\u5BA1\u6838\u53CD\u9988\uFF0C\u4EC5 Mac\uFF09\u201D; \u201Cfix: chat view, root view, theme improvements\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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Sources/BrewPingDesktop/ChatView.swift\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":"Sources/BrewPingDesktop/ChatView.swift"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e948a0d88dece79d3118ab8b918803b7ed4c9b66de513165fb22a18ba43f80"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/BrewPingDesktop/CLIProviderPanels.swift: Sources/BrewPingDesktop/CLIProviderPanels.swift 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 11 (its worst body is OpenCodeProviderForm.applyPreset at line 1238), 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(mac): \u70B9 OpenCode tab \u4E0D\u518D\u81EA\u52A8\u5F39\u51FA\u300C\u6DFB\u52A0\u5382\u5546\u300D\u8868\u5355\u201D; \u201Cfix(mac): i18n \u8BED\u8A00\u5207\u6362\u5B9E\u65F6\u751F\u6548 \u2014\u2014 11 \u5904\u81EA\u5EFA I18n \u5B9E\u4F8B\u6539\u4E3A\u5171\u4EAB EnvironmentObject\u201D; \u201Cfix(mac): \u6309\u94AE\u5168\u5C40\u8865\u5185\u8FB9\u8DDD \u002B \u7A7A\u6001\u95EE\u5019\u5782\u76F4\u5C45\u4E2D\uFF08\u7528\u6237\u5BA1\u6838\u53CD\u9988\uFF0C\u4EC5 Mac\uFF09\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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Sources/BrewPingDesktop/CLIProviderPanels.swift\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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9279d2971e076ba7dd35f1bfd400efe738520389aee3ec24b3db404234fe2e54"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/BrewPingwinDesktop/src-tauri/src/services/approval_gate.rs: Sources/BrewPingwinDesktop/src-tauri/src/services/approval_gate.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 ApprovalGate::decide at line 359), 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(approval): \u5BA1\u6279\u72B6\u6001\u6539\u4E3A\u539F\u5B50\u5FEB\u7167\uFF0C\u51B3\u5B9A\u54CD\u5E94\u56DE\u4F20 conversationId\u201D; \u201Cfix: \u4E09\u7AEF\u6D88\u606F\u94FE\u8DEF\u5BF9\u9F50 \u002B Android \u914D\u5BF9/\u9274\u6743\u8BED\u4E49\u4FEE\u590D\u201D; \u201Cfix(windows): \u5BF9\u8BDD\u7EA7 Agent / \u6A21\u578B / \u6388\u6743\uFF0C\u7A97\u53E3\u6309\u94AE\u4E0D\u518D\u9759\u9ED8\u5931\u8D25\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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- Sources/BrewPingwinDesktop/src-tauri/src/services/approval_gate.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":"Sources/BrewPingwinDesktop/src-tauri/src/services/approval_gate.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28705fb531561987614edc1a58c9ff10ce31e061d83541e18bca454a19da656"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ios/Watch/WatchConversationViews.swift: ios/Watch/WatchConversationViews.swift 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 8 (its worst body is WatchConversationListView.body at line 20), 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(watch): \u5237\u65B0\u65F6\u6536\u8D77\u4E0A\u4E00\u6761\u547D\u4EE4\u7684\u5931\u8D25\u63D0\u793A\uFF0C\u5E76\u53BB\u6389\u91CD\u590D\u6E32\u67D3\u201D; \u201Cfix(watch): \u5BF9\u8BDD\u9875\u81EA\u52A8\u5237\u65B0 \u2014\u2014 Mac \u5DF2\u56DE\u590D\u4F46\u624B\u8868\u505C\u5728 loading / \u65E7\u8F6C\u5F55\u201D; \u201Cfix(watch): \u5496\u5561\u68D5\u5E95\u4E3B\u9898\u002B\u6FC0\u6D3B\u81EA\u6108\u002B\u7ED3\u679C\u515C\u5E95\u622A\u65AD\u002B\u76EE\u5F55\u53EA\u53D6\u6700\u8FD1\u4E00\u6B21\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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 12:22:23 \u002B08:00\u0027 --until=\u00272026-11-10 12:22:23 \u002B08:00\u0027 --full-history --no-merges -- ios/Watch/WatchConversationViews.swift\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":"ios/Watch/WatchConversationViews.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa9ee54ecf3a9670ac098ddc757d89d7498f4c99543985495b1f9692d7c8881"}},{"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 \u0060Package.swift\u0060 makes this repository a deployable product (line 18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Package.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cb68a1ee6c4cb93e1c9ac7b48b28011c2bc672548de5c6ade44fdf2c34c979"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060additionalPATHEntries\u0060 spells \u0060PATH\u0060 where 40 names in the project spell it \u0060Path\u0060: 40 of 41 names in project Agents spell the token \u0060Path\u0060 (40 of 41; unit: names in project Agents containing \u0060Path\u0060). Peers: SystemCommand.run(executablePath) (Sources/Agents/AgentDiscovery.swift:81); HeadlessCLIAgent.executablePath (Sources/Agents/HeadlessCLIAgent.swift:97); OpenCodeAgent.defaultPath (Sources/Agents/OpenCodeAgent.swift:4); OpenCodeAgent.resolveExecutablePath (Sources/Agents/OpenCodeAgent.swift:45); ClaudeConfigStore.resolveConfigPath (Sources/App/ClaudeProviderConfig.swift:103). Rename to \u0060additionalPathEntries\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Agents/AgentDiscovery.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6930ba8280ea35bd4989bd47ef0de28df76cd94573efe6176836c6b90d6675"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (22159 LoC, 261 module-visible types across 10 directories) overshoots its size bounds. 2 of 8 build unit(s) (Cargo, Gradle, SwiftPM, Xcode, npm) overshoot their size bounds, lowering Project Cohesion to 5.0/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"Package.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef91926bd754eb6d4ee98140c4b33eb6f98f362cf24a02371c2db5e0aec4e519"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060Sources/BrewPingwinDesktop/src-tauri\u0060 (19978 LoC, 122 module-visible types across 2 directories) overshoots its size bounds. 2 of 8 build unit(s) (Cargo, Gradle, SwiftPM, Xcode, npm) overshoot their size bounds, lowering Project Cohesion to 5.0/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/Cargo.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a8c4baf1d3ea351d367bfb282b512e9e81bf495f07f76c0523114ed31c11f4"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8109dce38defa2356a4dadc0d0de54d2a3068d55e0fa05a6643a42adc1a4628c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82a1893f62fe8dee3fcdaad2e3da3e94b86729172346ee8d336b86cb9d8780c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b084deba18fe695fd181ce54d9bc60c94af417f07daf68e37cdadef3853e8975"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b562a86ba4fad32d6ccdcd6ca2d4c34c2236a59e5d8276adbfb83a1790cdee0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"b4b84274ded7e6b21af20f24c3c1abbd7c2623cc940e96b12bd49088aeb7e024"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","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-3","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":"551e789fb719f4e48af16084a3093c1d310e047b09ebebab075fb12bf9ee41c2"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"8f9d87ea2f7861474fdf308d7ddbaecfb325f18e3465d922825796717f60400c"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"critical","fixedVersion":"2.0.8","relation":"transitive","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":"c39f844df538d51092af0771259c5cbbefb7ddd25354620b31c069c32d5ea3ca"},"properties":{"dependency":{"package":"tinypool","version":"0.8.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"2.1.1","relation":"transitive","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":"7856791d7a332f9f34298e4082dddbe27a273c14d4756616f0df801a7285792e"},"properties":{"dependency":{"package":"vitest","version":"1.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"critical","fixedVersion":"3.2.6","relation":"direct","declaredRange":"^1.2.0","reachability":{"kind":"test-or-tooling","file":"experimental/relay-server/src/__tests__/server.test.ts","line":5}}}},{"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":"4fa467702bae2ab5529fc67bc90b0a93b400f521a82e1801da3464b7c6657c45"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","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":"68f7478995ddb8ede173ffb8e1d7d5157147e8f32e3bcb385f32fb7c140fdf88"},"properties":{"dependency":{"package":"vite","version":"6.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.4.4","relation":"direct","declaredRange":"^6.3.2","reachability":{"kind":"test-or-tooling","file":"Sources/BrewPingwinDesktop/vite.config.ts","line":1}}}},{"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":"1a45b5c9b96a370a3034457a83f8264f8b040d785243c4bc387df51f6cae77a0"},"properties":{"dependency":{"package":"body-parser","version":"1.20.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.20.9","relation":"transitive","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":"9a837d4d3315bc40dfb81756f382b755d830e80bb27ad0e33db9ded2f601f81b"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","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":"b6a2503ac5f9cbc69671a2ae21afd09c1d6dbceaa072ed9aab11cd0882dbf9b8"},"properties":{"dependency":{"package":"vite","version":"5.4.21","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]"],"severity":"high","fixedVersion":"6.4.4","relation":"transitive","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":"62243e8cd4e36d2c398b3a5515e7a993c37eccb23ef9776443343d75ab4eed71"},"properties":{"dependency":{"package":"glib","version":"0.18.5","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2024-0429"],"severity":"medium","fixedVersion":"0.20.0","relation":"transitive","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":"9aeb553ee9a8c5c469bae2dc647bc1010fa828c55063cbeb0592556f8873d719"},"properties":{"dependency":{"package":"proc-macro-error","version":"1.0.4","advisory":"RUSTSEC-2024-0370","severity":"medium","relation":"transitive","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":"46fd235a10454bdf4e00461a562896ea88787846dde3647286b61f16c4186383"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.17","advisory":"RUSTSEC-2026-0338","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0340","RUSTSEC-2026-0343","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"severity":"medium","fixedVersion":"0.11.18","relation":"transitive","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":"0c4226352515a1d301ebede84da4807ec1b68454f32772505c12cc3c0f0305ec"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.15","advisory":"RUSTSEC-2026-0538","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.5.16","relation":"transitive","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":"e06c03212e0963d30bb6e3a3a7a8d939eb494c596ba2bfc75a1b82c5bd486275"},"properties":{"dependency":{"package":"rustls","version":"0.23.44","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0347","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"severity":"medium","fixedVersion":"0.23.45","relation":"transitive","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":"8c3e3c3b006c4dbc998228674f77c37e49c3b89b87d4a497d881d970e99c23ae"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.15","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"0.103.16","relation":"transitive","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":"daac4dc42977166959ddaf52bf704d42dfa963db1da4765aa55483f05c47699c"},"properties":{"dependency":{"package":"tokio","version":"1.53.1","advisory":"RUSTSEC-2026-0386","severity":"medium","fixedVersion":"1.53.3","relation":"direct","declaredRange":"1","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":"3030191286874217108cf4126a34fab661e64deecc575921fa124ee03ae6d093"},"properties":{"dependency":{"package":"unic-char-property","version":"0.9.0","advisory":"RUSTSEC-2025-0081","severity":"medium","relation":"transitive","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":"b4292a9e45fe9ea6589c4113d0472761fabca5f1d88f5e275ecb19f93300644f"},"properties":{"dependency":{"package":"unic-char-range","version":"0.9.0","advisory":"RUSTSEC-2025-0075","severity":"medium","relation":"transitive","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":"52fde87405d0d83e7e3a25768cd233262587c3f22cf8a56fae28216aa7397794"},"properties":{"dependency":{"package":"unic-common","version":"0.9.0","advisory":"RUSTSEC-2025-0080","severity":"medium","relation":"transitive","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":"9c8e9049e2a1d83de46862796b6fa490738d3479daecd4410969c5871920bebb"},"properties":{"dependency":{"package":"unic-ucd-ident","version":"0.9.0","advisory":"RUSTSEC-2025-0100","severity":"medium","relation":"transitive","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":"6642a2af76a61253c59ecbe67ba488dd83042fbfb2af14aa43869512cd0378f9"},"properties":{"dependency":{"package":"unic-ucd-version","version":"0.9.0","advisory":"RUSTSEC-2025-0098","severity":"medium","relation":"transitive","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":"e11a4dd3d1b0f8797f311ff23ecf8898fe5c645602aa72603fd37438bef5b4ae"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.9","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.0.10","relation":"transitive","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":"77e1d11944211337613c5bae2792397acdc990ad6f78f6fcb8b240391fd6a53f"},"properties":{"dependency":{"package":"esbuild","version":"0.21.5","advisory":"[GHSA redacted]","severity":"medium","fixedVersion":"0.25.0","relation":"transitive","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":"b31cc29d12e42da4ac67c2fa9630d7ecabf6265375f7c56a49b408fb72149b49"},"properties":{"dependency":{"package":"qs","version":"6.15.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"6.16.0","relation":"transitive","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":"0ca90fdcc4fd401d6dc392fba12e1c890b51a439567ff8873826a251f9ccfd76"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"0.18.2","relation":"separate-copy","declaredRange":"^0.18.7","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":"a8d50173f4308245921d2307b44efac1dbf7cacc82a7c5b862f5fbee55d6592c"}},{"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":"d223f93e383c77cde61863eaf1c28a2d36d17e4b32d71877c0c986d2dd16f739"},"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":"9deaae35345a8ad5a106f70daf513882652e1b9ffd4d23d3e2da2e7393c6d019"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"a9e3243a94a983bbcbd5be59d3e27d807c9dfa23591fa357e0f722585afb5b34"},"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":"3861cf80bf22050b4e3af8cd99364977c8de8cc0c31dbcd43353f99f75f3aa24"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc3df3a6d82a72e5bfbdd7cc254ac4449789f3ce878b8efb1b1f347a2668499"}},{"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":"Sources/BrewPingwinDesktop/src/components/chat/chat-view.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"260e28cb1ee270f9b4d93ac208cf4cf37dc2163c33d49dca1c74846d15ff2b06"}},{"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":"Sources/BrewPingwinDesktop/src/components/chat/workdir-picker.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"95adc43dd9d96d164c78cf8adf236fc5202060b6d66416963a2f995ac5428b34"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34f49a23433381fd2890915a321a69ecec15c2b8b794cf175004f7f9dad4e63"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7670c641f8fbdf919a65f066ce494093ccf078a835ff947f4f17fa11168d9d15"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"2098b32121785fcc3fc1f222b4e473b8f3fc80a65dbc38dc963b37bd60b10b6a"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1617735e4a8864bb8d834b2f57b449c8dcfcae437d442a13d41375dfd065e870"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ca9f76d92fe83076ec6d6eec794aac1e5758733a9427428f0d157b43113307"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d632564436fa288eb2d6f6be5f3675b23435985519c567c76de3a61921007dbf"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73c371bec522529f86eb019ba2d7a15cf937ecab9bf7c24fe09086a2efe3f1c"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cdb260834726cf03b64c74fe23458d6d51af51638f3302863e06e374ece2eb"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61f872c429dc3772890da1c8c2644dcf69630714ad338f25d8b3995822e45a7"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e661327009cc8d4a02573381fdd8a39b66dc52f09f9902661fd180c779cae2d"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff6ec715134ac18c60def9bfd7342359f2f8f63f03647e2d0453d41ccfa87d8"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a667925f414103c19011717c1f78c3dca3c9bbb8396a4a35742b79445935199f"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6222bcc0d989210746638c0c7408d1bf7b8eef75c6e659c6f48714ecd1ee0f9"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d72897390ce14b99b0cbcd6b118195896c5b1d29d64048bff1dd667d4ba2ad8"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bc4cf152fb4dc6fad6061f51ad333b5293f5a292dd864f4c0b1f9655b3ba52"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d797111e9fb4de801b13d8a516fe6d111f795eae802b7d37aa0b650256cb4dd"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"8754007dfd49a7124fb678a0fd4f8ee38bbfdd843d39f2b2b4e9f5e987c9a51d"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fdb40f981f0b231f5c72fcb4b687326b2e407a6c5ed06508d1da5897ef95e7"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3e59d7e19ff7828ffff8de55883e6da6d77f24e6df3395fb4857a5b30b492f"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9b7d8618cfeac2d371c0e57cca4742344413e80a4c0faf3f5b786041afc9e7"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"468a3c781d78b168d0c36b681efb6996dd39bf26c0b5621f1168e1c1e2d5c2f0"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b95811208fee2489ba6a0c1b153c292944d12a9e418732abc05181afc0609e"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db1396d7cb9e5955029ef339540cabaed55320ac1b7f3b7f308dad7bdab5a14"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d0b279d086675e2e7d1b72bd977054d8d3d2925197bdd634ec98d186db600e"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5567bec9c61bec5d18be89563acda6e07bf8fec94898eacb9c8b6c46487f587"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"419658d553b87310bb8ef0ce3decb19f2cfa1eecfaa575ac33d96a20746fadf9"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"984de209c3cd872c4697cb6c01b5aa7df9afe6ff5618810a18b79133f38599ce"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2a6f84607921b5dfd60e19ec3b29983270d43a4612e3f51903b05bb646da4d"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44a10d97acf40511194239339ca7c239bb3ee234f55013bc8cca87157716311"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8238a0f7d7abff5f3543372efc9e0ad5012e79724d41ed4e29bbf1c01c6ab99"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"64255252ae7b68fb977b881c6ef6f2adcd874adee1130e2a64971d6c7c3a0adc"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b8bd4f5e5bd5843b1b728e2f9be4ce3b112ebc8fcb0ac9aaf31c0687db8030"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"95575daf3a35dddbb231039b6c3d9facd7ba8ea831fa5ed2de851cd76544f273"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e74d2378c9a8c70989288241f0fa11a947c4a09a2c6d2a80341cc76d2dd0ce"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"890edf0bf8cf8da5a8566198f7d28e9b04008b1a8d59577a2225b9891e742686"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/vendor-preset-select.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d5c16906f04714acecfe2d0b6274fad0a8e84a8e48d93975d29c1d3bff4c58"}},{"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":"Sources/BrewPingwinDesktop/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b03e019869df8333fdd923126fb5b6094bfdb29e746480914003848a607ae16"}},{"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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"20094399543052c71a0e085befc578ae2812a9b828557d9d640ab3f6457a7064"}},{"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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"89db6779bdddf439315c6fce8297f49a275f6f0f794534053aebfccc4fb81367"}},{"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":"Sources/BrewPingwinDesktop/src/components/chat/workdir-picker.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ac546d118e920fdcc604b8a51242ec345046b3af7a0120f2ce268ad1cbfb40"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38ec09554e2724f36bb7315f94fa5b00f9b31252a8cc5405fda03da3af780a7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060*:focus\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":"Sources/BrewPingwinDesktop/src/styles/app.css"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1964761d8f38b85bfab8ed9b28c957fb283250420f8cfc175cc2288f409cbeab"}},{"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 3/4 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm/cargo/gradle: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, \u0060cargo\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":"562a29def8d43ef75e489823f0787f5ac77d25b2d4bceee0aa53700d436d37e4"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/release-mac.yml"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (202 matched lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx:80 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 1244 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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56fcd745b87fb2ea265eb20e29b9561c4d93dd3e0f19761f69309acc511d11c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (185 matched lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx:28 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx:29 \u2014 the two spans are one implementation copied and then locally edited \u2014 1167 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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7f351aa40e3f60cdfb175c85c9b23a792f13510176f7a4fc65b030bc3e8d43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (107 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/codex-provider-panel.tsx:74 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/pi-provider-panel.tsx:110 \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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-panel.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73b3da249b8fc2bcaaad395110249e8205fe7c82f2f78aa58fc5b3d3feaca51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (97 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx:177 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx:202 \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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb4c394c463d8f3635bc0624e3ef7c979a9accdd4f4e9b071b1dd48e1c36ea3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-panel.tsx:107 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/pi-provider-panel.tsx:175 \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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-panel.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c15827405d74314a3c835cf66a22276b34b022318aa5fd2aba21347a380fadc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 3 locations): Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx:142 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx:183 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx:208 \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":"Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f816bd87d0e220ade7d8887623a2a2696253b5ed1c1d7d500f5c2b7101432b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx:1557 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx:1625 \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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1557}}}],"partialFingerprints":{"codehealthFindingId/v1":"268c54a59812d08f0c425de90164bea44b55d6b48481616b8de909edc78de76e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx:256 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx:372 \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":"Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d055b5be2b90de429fe0cd6ccba40be04d7c971f2696b997592c42fca2bebc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/chat/composer-dropdown.tsx:55 \u00B7 Sources/BrewPingwinDesktop/src/components/chat/workdir-picker.tsx:69 \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":"Sources/BrewPingwinDesktop/src/components/chat/composer-dropdown.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf51d1cf07a42251840dc8d64f536a51133265d3e147cde5b33a120a26391082"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx:607 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx:763 \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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"899ee64998e5a97fcebbcd467ae13f5b3d95738cd103055d25d3d2d92c2afdf0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx:330 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx:327 \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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d87cfb2b1b12f621548f42524c0023c21cb8d3cb6142ca44555de1843729bf3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx:1670 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx:1759 \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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4c01f754f9c514095932ba657f0d21f5b960da2c00476414d9fa840e88b348"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx:28 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx:33 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx:34 \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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f950b5a1419b41bcf91065d9d5ff62708c8b47957b557c640d885d78cd9ddb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx:1390 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx:1590 \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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da556a62940043bef77a9bb70e2fd70640a13e2ec9b6e6d012ca27d06985d26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): Sources/BrewPingwinDesktop/src/App.tsx:122 \u00B7 Sources/BrewPingwinDesktop/src/components/chat/composer-dropdown.tsx:62 \u00B7 Sources/BrewPingwinDesktop/src/components/chat/workdir-picker.tsx:76 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67fd023e01e377993e972096aac56d024efdc6a87b77c5e5daef6a68d0cb4a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5 locations): Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx:309 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/codex-provider-panel.tsx:47 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-panel.tsx:47 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx:313 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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 5 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":"Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"22121f228da66447edb25a0cca4e4a6abf7fc7f259b8424d747f6f878d8bae80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx:446 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx:607 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx:763 \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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48b72acbc49c05260cef33780bdc3d67a19a68f94c2f3701ecfaed54bc98267"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/agent-provider-panel.tsx:227 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/codex-provider-panel.tsx:171 \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":"Sources/BrewPingwinDesktop/src/components/settings/agent-provider-panel.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c1635075b7417d46fa16d1c8b891e74b27b34d4e196aa45195b1d29a1eec03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx:1012 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/vendor-preset-select.tsx:106 \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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"037b82caf8e01d889916ca8c42fe1a2eeb1f1a3150c9fe327253960c8f2f73f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx:382 \u00B7 Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx:561 \u00B7 Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx:645 \u00B7 Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx:714 \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":"Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5adb3d043e6dd3893ff64d13ada77c9e2f1aaf016ea2fb9bf867f89db50558"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/api/tauri.ts:188 \u00B7 Sources/BrewPingwinDesktop/src/api/tauri.ts:208 \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":"Sources/BrewPingwinDesktop/src/api/tauri.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f49183a1d0e681ac8270e8c25c10c54c189df8665550a1319b4497840241e93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/agent-provider-panel.tsx:112 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx:307 \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":"Sources/BrewPingwinDesktop/src/components/settings/agent-provider-panel.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0dc41a7ef12677595d79024b7e5a7417ff79d6897ca148e6b2d62ebb768aa6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx:391 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx:449 \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":"Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81cf86dcb20a281f15a5dda88cd30c3b35bdc09c17b7849696b6502eac6ab5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx:724 \u00B7 Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx:798 \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":"Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd86a505d7586b95747c8157d6dd75b870d49d3e3e9c21e94f042617a18c411"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx:404 \u00B7 Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx:421 \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":"Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17de23e702205c3bd768f8d06a0d5ca8d62140d7edd859df494dedf1571b6bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx:86 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx:134 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx:136 \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":"Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0afb735c41dc7978e1e5aee75cd6230673b17c3f900e99f343fa16f977b0850"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx:240 \u00B7 Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx:248 \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":"Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a9f3e4ba9a6444d06e049978be8f0f57245b5721aaf439a8ecbb51f653b458"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): Sources/BrewPingwinDesktop/src/components/ui/card.tsx:6 \u00B7 Sources/BrewPingwinDesktop/src/components/ui/card.tsx:17 \u00B7 Sources/BrewPingwinDesktop/src/components/ui/card.tsx:24 \u00B7 Sources/BrewPingwinDesktop/src/components/ui/card.tsx:35 \u2014 all 4 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":"Sources/BrewPingwinDesktop/src/components/ui/card.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5affd13933938f4b229aaa8d189d6f7a83427a39a6ac982ebacd41a7787882"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): Sources/BrewPingwinDesktop/src/App.tsx:91 \u00B7 Sources/BrewPingwinDesktop/src/components/chat/workdir-picker.tsx:41 \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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d4f076f6329290a125cba4a78c83f7f88712b62caa488e0850b26e5aa97215"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelConfigCard (cyclomatic 96, cognitive 87): ModelConfigCard has cyclomatic complexity 96 and cognitive complexity 87; 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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"730b46a885ba72db3c3bb976b66beca67e9506ceee9a6bc079b2fc3e8941ed30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function App (cyclomatic 67, cognitive 64): App has cyclomatic complexity 67 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f9d6b5126afcdf56db431ef24a8d439a139f706a20fc944b8f0518468c6405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SetupWizard (cyclomatic 50, cognitive 49): SetupWizard has cyclomatic complexity 50 and cognitive complexity 49; 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":"Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f238cdb54d4ada67b3b4fa1a5e20fe3f706c46d0b6cf5ae8d97f03fd677de92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EnvironmentCard (cyclomatic 32, cognitive 27): EnvironmentCard has cyclomatic complexity 32 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":"Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b175370ac0ba2ebab9038e6fda23d6bacda52706591038b04dee73fd7958b09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsView (cyclomatic 21, cognitive 20): SettingsView 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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa828474c8174a50ab993112ac6c03b353e57243280165a04acfd39cd0a3b0ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodexProviderForm (cyclomatic 21, cognitive 18): CodexProviderForm has cyclomatic complexity 21 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 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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb75736eb0918c82870b5f742701bc17373f418380d7aed9232ce455a2f6adf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OpenCodeProviderForm (cyclomatic 20, cognitive 16): OpenCodeProviderForm has cyclomatic complexity 20 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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"48697c4272bf70914d7f4ccf66d10b9b495c0ca362357cf8b266c10277a22d0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PiProviderForm (cyclomatic 19, cognitive 16): PiProviderForm 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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3332a1e0a9eeb15eff9373e5a3739022e129ec9e0130ab49d3efdd9375258537"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkdirPicker (cyclomatic 18, cognitive 16): WorkdirPicker 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":"Sources/BrewPingwinDesktop/src/components/chat/workdir-picker.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd255223757eaf2b1755f64846934164b49ebc988afa722d68bb769fd953a1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 15): (anonymous) has cyclomatic complexity 17 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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25fbdf49ecc8ade5f980e10870f1a677108e90bf0950d1c95e8b21b6219d42a"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/agent-provider-panel.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"24236c23e049d47921e2d8b20145ea952b791a851aac49bd2a30e616b9ab829a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-panel.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"76efb9230ac90695665c28f4a0e8675f1904b10196292d6092537933223b642a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cdaf8e0d0646b48520436d75976864569b915f8a1354d2937599c8d19eeb40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-panel.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0964a0110a4fe8bcc8b84ddab78c6fe001fb072822905f57605a3f4cafc9c99a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyPreset (cyclomatic 11, cognitive 12): applyPreset 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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"021acea5e29efed95bf90159f4e7233713bca45846fa9cc075b48449c9b8e95d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyPreset (cyclomatic 11, cognitive 12): applyPreset 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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30355f93f38226735065a76bae871e393307c529507344ee8161f10fa758b93"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1691}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe0cc0aadf1d15e3df7f4e9d79ba1ce356baa291009f1d6741fa2fba033cf0b"}},{"ruleId":"R3","level":"warning","message":{"text":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx: 1799 lines of code: Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx has 1799 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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7598d5931d55ed675b003a856d81603868c584f3e7d8d78258b8fe3367416531"}},{"ruleId":"R3","level":"warning","message":{"text":"Sources/BrewPingwinDesktop/src/App.tsx: 1521 lines of code: Sources/BrewPingwinDesktop/src/App.tsx has 1521 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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b377487c3b312ae18078e90104ada4c1f99de9be71e7ba64015b5f76984f7f3"}},{"ruleId":"R3","level":"warning","message":{"text":"Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx: 789 lines of code: Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx has 789 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":"Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30831847009b4159d303717dc87ee32a0ccd4cb9f991ab7cff437a291a01189d"}},{"ruleId":"R3","level":"warning","message":{"text":"Sources/BrewPingwinDesktop/src/api/tauri.ts: 480 lines of code: Sources/BrewPingwinDesktop/src/api/tauri.ts has 480 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":"Sources/BrewPingwinDesktop/src/api/tauri.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8259e5243a50a7309342026b68ec3614b3991afb35e7ed065af73435aea5322a"}},{"ruleId":"R3","level":"warning","message":{"text":"Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx: 473 lines of code: Sources/BrewPingwinDesktop/src/components/settings/environment-card.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":"Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"218a51cdec7803881b76e35e88243773c54cd19db93e450353194beb7c2b38d7"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0767e976f4bbaa430210000625862ae6f2df743c33656c35936791797c4eb9e6"}},{"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":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08640ef6e38f4b865e9fdbb39cd4720deb77a40ef2774fc1000e8b7646b3e47d"}},{"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":"Sources/BrewPingwinDesktop/src/i18n/locales.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5a61585cf3cba5b41a4b903b9b1fb04da99322f99c28a034677e5ab21109dd"}},{"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":"Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba26c6ff21b1fb224e2bbdf27b42cd1ee5c3dfa03801730df8d7493f032baa4d"}},{"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":"Sources/BrewPingwinDesktop/src/api/tauri.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c8673d62a4f9e56b4846d497f31434cde97ff84e475b87ef5e1d6981c314ae"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"175fe312943f7c571be6f0ef62d5fcfa7b8cb081be94990589459e130b5e7bc4"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9352746c7775adadae3efe417f623000444edfa8df49d4b6399f078415b0ce"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e670d7f99e658cf47b0271db9b13565485cfa110cc10358e0276e4a5348fbd"}},{"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":"Sources/BrewPingwinDesktop/src/components/chat/workdir-picker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f184c3c067b25a0266c60c63d449e14fc59a7196cde69a5fb505082830422937"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/claude-provider-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd793e4bcb50ff6b50c6350d194abd1d7d2e8b490874bfe981d7bd1ffd33f24"}},{"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":"Sources/BrewPingwinDesktop/src/components/chat/chat-view.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f550cc30d8e09879c6c1ee8c1c707da0e6f870df960c25659299bb2e3732d0e"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/agent-provider-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e896bdc2ce0895609b7c866434172ce4c5fe44e28049cbf35fd0bf3c97b37870"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/pi-provider-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeac3799ca60fd14b1ab4c69c6f8b2ec7472adcc7b226c248f906097d2261c92"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/codex-provider-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c19c164c95d50406fad46d5bfc84dd420535b785cb38fb1df189d4d16c8995a"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"debaa3b15dfa79a9fde3c77f53219c0b9f65c4aad07c94eb92a814fcd31388b4"}},{"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":"Sources/BrewPingwinDesktop/src/components/error-boundary.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b938fffe2b210049d93b574e1c3df4b4b5330454fbcb3809b03072624fe147f2"}},{"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":"Sources/BrewPingwinDesktop/src/components/chat/composer-dropdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba74f56f8cfdfb258248c8eb5d998285977f6d4e9231f343a981f540cdfcea41"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/vendor-preset-select.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52c766e5e4281e9be65ca3b1bc8d653e8ba6f235dc3a02d90083016cb46f319"}},{"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":"Sources/BrewPingwinDesktop/src/components/chat/markdown-renderer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"322dc69b33580d4e2dd6f63dd45653526d829177a2adc7771c1b0f5bbd369e90"}},{"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":"Sources/BrewPingwinDesktop/src/components/chat/linkify-plain-urls.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb633a26a58e612e88d5b13558972d4c5c8e6b6f33d532a1f58eedd9d40bcda"}},{"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":"Sources/BrewPingwinDesktop/src/lib/setup-state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6c6722c72f37d6951145a748d300843c7539c7a6b5d59e7e2f06465381bc3b"}},{"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":"Sources/BrewPingwinDesktop/src/i18n/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"673f66915771bd49fd796144145d87eee8d1e24b3d79d090aaba281e26a9eff2"}},{"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":"Sources/BrewPingwinDesktop/src/components/ui/button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07d408aba6be31f00dbf45d8afeb1ffb15ccd8cb647a4613cb693519743d664"}},{"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":"Sources/BrewPingwinDesktop/src/components/settings/agent-model-tabs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b5efc78058a6c600b96694936c0312d1061bfd1af90fdc7b7b52fbaba185f2"}},{"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":"Sources/BrewPingwinDesktop/src/components/ui/card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f9b788f9914f37b2a626872a5ad3e0cbf64190b221f87a6fdbb69b1a51a2e0"}},{"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":"Sources/BrewPingwinDesktop/src/components/ui/badge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccf9f403bd40011ba69907325b787dc0523173d7d8e10b6d1d5da78821d01c1"}},{"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":"experimental/relay-server/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e866009a0d4c890e2b13c85a48f8dfd8283f1e0e00728405af19cab051c296"}},{"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":"Sources/BrewPingwinDesktop/src/main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8630102b3e5ca123c2ae950ab884620b6dda5125ee5758979ad588b7f4f7b3"}},{"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":"Sources/BrewPingwinDesktop/src/components/chat/shiki-theme.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbbdec3f8aca76b27b3dc8554ec246642b62d7b1557ac838c28a72bb5b69f87"}},{"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":"Sources/BrewPingwinDesktop/src/lib/conversation-layout.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54be2e0a623c5b9355ae78e5dbaad17d945fd92191fa892eef67c3b4fa0c9384"}},{"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":"Sources/BrewPingwinDesktop/src/lib/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3607c27f05de932291a4462de295374dce1d88d9188d949c7dd3543f45812b13"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc8e67e81453cf5399dd04786d18b232180426b135169175fee670bdd83ccb03"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~42 LoC): no import path from any entry point (2 application, 3 tooling, 1 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":"Sources/BrewPingwinDesktop/src/components/ui/card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6ff1d1b6e4d1c46de59323675c2e9b0918585e5fd3ea89a78c586712c12999"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027StatusResponse\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experimental/relay-server/src/types/message.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e532f5057f38d6d84ec7e9cd009e2979a7ae38ab1637f339e5a255bc9f7c468d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AuthResult\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experimental/relay-server/src/utils/auth.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd250a3e2db4144bd830da4e3b5f43a076fe0e1f595b06f6511d613cd39c4cf"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@tauri-apps/plugin-shell\u0027: Declared in Sources/BrewPingwinDesktop/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/package.json"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed9aa6358b27d788ba1069b5030142f0bc5e40d12add10264ac032b3ae5c4c2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027katex\u0027: Declared in Sources/BrewPingwinDesktop/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"469d5a1b16903f2d1768b79520842c0239f7794cc794d7fc91cf06fd3cb8113a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060confirmId === p.id \u0026\u0026 t(\u0022mp.confirmDelete\u0022)\u0060 appears character-identically in 4 files \u2014 Sources/BrewPingwinDesktop/src/components/settings/agent-provider-panel.tsx, Sources/BrewPingwinDesktop/src/components/settings/codex-provider-panel.tsx, Sources/BrewPingwinDesktop/src/components/settings/opencode-provider-panel.tsx, Sources/BrewPingwinDesktop/src/components/settings/pi-provider-panel.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":"Sources/BrewPingwinDesktop/src/components/settings/agent-provider-panel.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec45b6d294ccebbc5a11ec959e020afa0a141dbfcdce4525affadb65e3f652b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rootRef.current \u0026\u0026 !rootRef.current.contains(e.target as Node)\u0060 appears character-identically in 2 files \u2014 Sources/BrewPingwinDesktop/src/components/chat/composer-dropdown.tsx, Sources/BrewPingwinDesktop/src/components/chat/workdir-picker.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":"Sources/BrewPingwinDesktop/src/components/chat/composer-dropdown.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad753089384fa333d22a66507cfd770a541bd3f0087e4c7389f20b71909acf8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.is_ascii_lowercase() || b.is_ascii_digit() || b == b\u0027-\u0027\u0060 appears character-identically in 3 files \u2014 Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs, Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs, Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.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":"Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ae756f3b6c3ba7f8ea644edcf80eb967e0b061a5c650394d7b7110c0562344"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060base.starts_with(\u0022http://\u0022) || base.starts_with(\u0022https://\u0022)\u0060 appears character-identically in 4 files \u2014 Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs, Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs, Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs, Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.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":"Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc95d824046511d04f616e6e7c3c908af27c93dde2c139eb4df68adfdbca452"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes[0] == b\u0027-\u0027 || bytes[bytes.len() - 1] == b\u0027-\u0027\u0060 appears character-identically in 3 files \u2014 Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs, Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs, Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.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":"Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb182903957daa8c3e21fcbb614d8e593878d22b93ad32822327d874c9d634e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.is_ascii_lowercase() || c.is_ascii_digit()\u0060 appears character-identically in 3 files \u2014 Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs, Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs, Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.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":"Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"302998ca68026de26594842315f5a6794ecbd214bc747aa96e5fdfc842391bf7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060base.hasPrefix(\u0022http://\u0022) || base.hasPrefix(\u0022https://\u0022)\u0060 appears character-identically in 4 files \u2014 Sources/App/ClaudeProviderConfig.swift, Sources/App/CodexProviderConfig.swift, Sources/App/OpenCodeProviderConfig.swift, Sources/App/PiProviderConfig.swift. 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":"Sources/App/ClaudeProviderConfig.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b1e7d72e1cb096666a2e6e1c19addd4de58789f0eb1170eb69866590ccd1c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.contains(\u0022401\u0022) || message.contains(\u0022403\u0022)\u0060 appears character-identically in 2 files \u2014 Sources/BrewPingDesktop/CLIProviderPanels.swift, Sources/BrewPingDesktop/ModelProviderFormView.swift. 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":"Sources/BrewPingDesktop/CLIProviderPanels.swift"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19317831b796e1f57d4a972f7e7a6d4403f5f02875eb7f3c3046ba94886b444"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned value\u0027s release suppressed and never restored: \u0060std::mem::forget(mdns)\u0060 (line 1512) takes \u0060mdns\u0060 out of Rust\u0027s ownership: its \u0060Drop\u0060 never runs, so whatever it holds \u2014 a descriptor, a socket, a buffer, a lock \u2014 is never given back, and nothing can give it back later because the value is gone. Let it drop (or call its explicit close) where its work ends; if the handle must outlive this function, turn it into a raw handle with \u0060into_raw\u0060/\u0060into_raw_fd\u0060 and reclaim it with the matching \u0060from_raw\u0060 when the owner is done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/lib.rs"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"2594597c029b9a16e4eac48a9ea4fe7294d591b7c6aa4020a57e959dd9a4861e"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ClaudeProviderEntry.other_keys\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f450996aff25f16b4bfdcbba1b023db8ea634c41ec986b2ba737e57fc98188c"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060CodexProviderEntry.active\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4a7155657ce0d28f23e247d3530c45201f1678433d2d88bd2bb1cf37ea0683"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060PairBody.device_name\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e32fcd375b9776adfb57739b83cdc8921672247844ef2d86a9fd62f08ef713"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060PiProviderEntry.is_default\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d4240a208394aae19778a22fc6dbde724e7d82573e1c4cf26284b57d8bf4e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/BrewPing/CommandReceiver.swift"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"54253c579c7dc4c7dc5e3ba10acbb7164cc83bcd004d3c807d415730ac101701"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/BrewPing/CommandReceiver.swift"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"4694e95820b2a95ba8ee9d1f449c2d65201662cff855c6410aa274507cd24949"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/BrewPing/ContentView.swift"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b60c1dc888b30f8996455e4c3d421018e1ded1abdcf8c264c49a1d48795a10c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experimental/relay-server/src/websocket/connection.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e4ea917f4d2e258caabc0914d88a4e193c89b539900a7a60e994c1fa1c0a15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0eed14a3cff200f9c8fd666576327236daff3ef6992ac24d0221011dd5234d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bfcb88db077f1bd2b0d03124b00d52eb4ea8fd5b2b3ffb6e0f3d19c0c68c6f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"3916a0c28c6d5f1aa5e67bf3697bb6ffdcd543c92f02204870d81acf27771454"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"e309a340d99c067c635ec01e021f31536a99ea8d30af5c2e699795b93903bf98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/App.tsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa7b8e4303318c932a941692b424e3fad3f9879cdcdfd90a603ec89a25f4ce6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/lib/setup-state.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b626d34269a9086a9688ed58d9e07553edc99dfbefedcd5cda947b49e34f6862"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/lib/setup-state.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"067e0ca413c61bbaeadebd3a024a2d3f1017993a0d3c4254e963c98bba881847"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/lib/setup-state.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e903f540d6df74c2e1e5f9587065ce8af50a7ebc71bd89fe04e8c7ca07f9bf6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/i18n/index.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccd3f796caa719b97b41ed2d68b9a8fafe7251bfae57e11633fc5afffa1986f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/i18n/index.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b236e28b5bd00b67d64f9e16e91508f48fc0b05bc54886779f3fc0b396441a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/error-boundary.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"471b220931bfaee5546c520c2547afc25608583f5ca6a85b1adf793336c9fc58"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"38443ece0c7ca88e4f463c7e7ebff4a4b1d4b974a3a8dae542c77d3fd4013dcc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/setup/setup-wizard.tsx"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e06da9eb74d0b0145834ec4b1110ebef1d3d8f7fc4c761ceee7a919912a6e1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a522b75cbaa4442f0acfb49aa90ab3f9a57dcb3e5e4a3ca188a11ad3db6fa1ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67bf1d0ec2e87c8b4a1527dd3342d85b5340b074d75dbd19dd491baee85ad6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be8a4a822c149e0faf378508876451e116bd56ce9e3d935f5e081e67737b84c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/settings/model-config-card.tsx"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0e32b9869343e20563f9993ed4c82f5452edb2fe5402ba55741bb4f224f8e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src/components/chat/workdir-picker.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"79aa5a94d450d979dd4362d87c51a5c44d50424a40527b67a861f2aee6d4a4e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/App/HTTPAPI.swift"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d29ff9d7ab3cfb294c277ade2fc26333bfa5d6ccb625471cdbc83d4a28f2968"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Agents/AgentDiscovery.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"588bf6a602c0aa4c32e11bb3bfed256e8bdbef3916954fcdd742e800ad7d4687"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/core/src/main/java/com/brewping/core/store/PairingStore.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c06426c8fbf3b407902aeec9443143c10082d4b7365ad57dbac5530974b191c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/core/src/main/java/com/brewping/core/store/PairingStore.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6451ad54ba69bc3bdd225072da941d0b90326a2d06a5474ed63055d7692c92b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/core/src/main/java/com/brewping/core/store/PairingStore.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"24973b19fddb1b6c64a0320d9f2b3c0dec00f705b4bb3ffdd5cb26ecf92b341c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/app/src/main/java/com/brewping/android/ui/QrScanScreen.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fcd7170f3c351b348f964e85cf870c2912ccd39222c1df44c9c86ce68b9632"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/app/src/main/java/com/brewping/android/ui/QrScanScreen.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee2302917bed0ff83c56dc34a82aef944e27ada0136dcbf6180ecc5944e1e8f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Android/app/src/main/java/com/brewping/android/store/DeviceStore.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"809fef0fd670da2beee5bc7205b2d38784e1ab65d9dfe0b282c65af8f89cfe92"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060tauri::Builder::default().plugin(tauri_plugin_shell::init()).setup(|app|{let setup_started=std::time::Instant::now();let identity=services::device_identity::load_or_create();let device_name=services::device_identity::get_device_name();let lan_ip=services::lan_address::detect_primary_lan().map(|info|info.ip.to_string()).unwrap_or_else(||\u00220.0.0.0\u0022.to_string());log::info!(\u0022Device: {} ({}) on {}\u0022,device_name,identity.device_id,lan_ip);let agents:Vec\u003CAgentEntry\u003E=Vec::new();let default_agent=\u0022opencode\u0022.to_string();let terminal=TerminalManager::new();let command_store=CommandStore::new();let pairing=Arc::new(PairingStore::new());let approval=Arc::new(ApprovalGate::new());let model_prefs=Arc::new(ModelPrefs::new());let workdir_prefs=Arc::new(WorkdirPrefs::new());let conversations=Arc::new(ConversationStore::new());let env_setup=Arc::new(services::env_setup::EnvSetupState::new());let model_providers=Arc::new(ModelProviderStore::new());let model_proxy=Arc::new(ModelProxyManager::new(model_providers.clone()));let proxy_app=app.handle().clone();model_proxy.set_event_sink(Arc::new(move|event,payload|{let _=proxy_app.emit(event,payload);}));let event_app=app.handle().clone();let event_sink:services::http_server::EventSink=Arc::new(move|event,payload|{use tauri::Emitter;let _=event_app.emit(event,payload);});let app_state=AppState{identity:identity.clone(),lan_ip:lan_ip.clone(),port:DEFAULT_PORT,agents:Arc::new(RwLock::new(agents.clone())),default_agent:Arc::new(RwLock::new(default_agent.clone())),conversations:conversations.clone(),active_conversation_id:Arc::new(RwLock::new(None)),terminal:terminal.clone(),command_store:command_store.clone(),pairing:pairing.clone(),approval:approval.clone(),model_prefs:model_prefs.clone(),workdir_prefs:workdir_prefs.clone(),app_events:Some(event_sink),exec_lock:Arc::new(tokio::sync::Mutex::new(())),};let core=DesktopCore{state:app_state.clone(),http_port:Arc::new(RwLock::new(DEFAULT_PORT)),mdns_running:Arc::new(RwLock::new(false)),server_handle:Arc::new(RwLock::new(None)),lan_ip:Arc::new(RwLock::new(lan_ip.clone())),terminal:terminal.clone(),runtime_state:Arc::new(std::sync::RwLock::new(RuntimeState::Starting)),env_setup,model_providers:model_providers.clone(),model_proxy:model_proxy.clone(),};let port_handle=core.http_port.clone();let server_handle=core.server_handle.clone();let mdns_flag=core.mdns_running.clone();let runtime_state_handle=core.runtime_state.clone();app.manage(core);if let Some(window)=app.get_webview_window(\u0022main\u0022){use tauri::window::Color;let _=window.set_background_color(Some(Color(0xFB,0xF8,0xF4,0xFF)));}let state_for_discovery=app_state.clone();let terminal_for_discovery=terminal.clone();let handle_for_discovery=app.handle().clone();tauri::async_runtime::spawn(async move{let started=std::time::Instant::now();let discovered=tauri::async_runtime::spawn_blocking(services::agent_discovery::discover).await.unwrap_or_default();log::info!(\u0022Discovered {} installed agent(s) in {:?}\u0022,discovered.iter().filter(|a|a.installed).count(),started.elapsed());let default_agent=discovered.iter().find(|a|a.installed\u0026\u0026a.id==\u0022opencode\u0022).or_else(||discovered.iter().find(|a|a.installed)).map(|a|a.id.clone()).unwrap_or_else(||\u0022opencode\u0022.to_string());{let mut w=state_for_discovery.agents.write().await;*w=discovered.clone();}{let mut w=state_for_discovery.default_agent.write().await;*w=default_agent;}let term=terminal_for_discovery.clone();let ags=discovered.clone();tauri::async_runtime::spawn(async move{term.init_from_agents(\u0026ags).await;});use tauri::Emitter;let _=handle_for_discovery.emit(\u0022refresh-agents\u0022,());});let proxy_manager=model_proxy.clone();let proxy_snapshot=model_providers.snapshot();tauri::async_runtime::spawn(async move{let st=proxy_manager.apply(proxy_snapshot.proxy_enabled,proxy_snapshot.proxy_port).await;if let Some(e)=st.error{log::warn!(\u0022[ModelProxy] auto-start issue: {e}\u0022);}});services::tray::setup_system_tray(app.handle())?;services::tray::update_tray_status(app.handle(),\u0022\u6B63\u5728\u542F\u52A8\u2026\u0022,DEFAULT_PORT,\u0026device_name,\u0026lan_ip);services::tray::update_tray_pairing(app.handle(),app_state.pairing.current_code().as_deref());let state_for_server=app_state.clone();let identity_clone=identity.clone();let device_name_clone=device_name.clone();let lan_ip_clone=lan_ip.clone();let default_agent_clone=default_agent.clone();let handle=app.handle().clone();tauri::async_runtime::spawn(async move{let lan_for_server=if lan_ip_clone!=\u00220.0.0.0\u0022{Some(lan_ip_clone.as_str())}else{None};match services::http_server::start_server(state_for_server.clone(),DEFAULT_PORT,lan_for_server,).await{Ok((bound_port,srv_handle))=\u003E{{let mut p=port_handle.write().await;*p=bound_port;}{let mut h=server_handle.write().await;*h=Some(srv_handle);}let mut mdns=services::mdns_broadcast::MdnsBroadcaster::new();let lan_for_mdns=if lan_ip_clone!=\u00220.0.0.0\u0022{lan_ip_clone.clone()}else{\u0022127.0.0.1\u0022.to_string()};let mdns_ok=match mdns.start(bound_port,\u0026identity_clone.device_id,\u0026device_name_clone,\u0026lan_for_mdns,\u0026default_agent_clone,){Ok(())=\u003E{let mut flag=mdns_flag.write().await;*flag=true;log::info!(\u0022mDNS broadcasting started\u0022);true}Err(e)=\u003E{log::error!(\u0022mDNS start failed: {}\u0022,e);false}};{let mut state=runtime_state_handle.write().expect(\u0022runtime state poisoned\u0022);*state=RuntimeState::Online;}services::tray::update_tray_status(\u0026handle,if mdns_ok{\u0022\u5728\u7EBF\u0022}else{\u0022\u5728\u7EBF\uFF08mDNS \u5931\u8D25\uFF09\u0022},bound_port,\u0026device_name_clone,\u0026lan_ip_clone,);let _=handle.emit(\u0022runtime-state-changed\u0022,\u0022online\u0022);std::mem::forget(mdns);}Err(e)=\u003E{log::error!(\u0022HTTP server failed: {}\u0022,e);{let mut state=runtime_state_handle.write().expect(\u0022runtime state poisoned\u0022);*state=RuntimeState::Offline;}services::tray::update_tray_status(\u0026handle,\u0022\u542F\u52A8\u5931\u8D25\u0022,0,\u0026device_name_clone,\u00220.0.0.0\u0022);let _=handle.emit(\u0022runtime-state-changed\u0022,\u0022offline\u0022);}}});log::info!(\u0022setup completed in {:?} (agent discovery runs in background)\u0022,setup_started.elapsed());Ok(())}).on_window_event(|window,event|{if let tauri::WindowEvent::CloseRequested{api,..}=event{let _=window.hide();api.prevent_close();}}).invoke_handler(tauri::generate_handler![get_status,get_agents,set_default_agent,get_lan_ip,get_port,get_pairing_info,reveal_pairing_code,regenerate_pairing_code,get_approval_mode,set_approval_mode,get_terminal_state,get_active_agent_id,switch_active_agent,send_command,clear_terminal,get_agent_models,set_default_model,get_agent_workdir,set_agent_workdir,browse_roots,browse_folder,list_conversations,get_conversation,rename_conversation,set_conversation_archived,delete_conversation,activate_conversation,toggle_pin_conversation,set_conversation_workdir,set_conversation_approval_mode,set_conversation_model,check_environment,get_node_versions,install_nvm,install_node,installed_node_versions,switch_node_default,install_agent_cli,update_agent_cli,get_model_providers,save_model_provider,delete_model_provider,switch_model_provider,set_model_proxy,set_model_failover,get_cli_takeover,set_cli_takeover,get_provider_catalog,fetch_provider_models,get_opencode_providers,save_opencode_provider,delete_opencode_provider,get_claude_provider,save_claude_provider,delete_claude_provider,get_codex_providers,save_codex_provider,delete_codex_provider,activate_codex_provider,get_pi_providers,save_pi_provider,delete_pi_provider,activate_pi_provider,]).run(tauri::generate_context!())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060run\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/lib.rs"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0abbab92af2d6b45e04d73599e9b4aad03fea82ba92005045f921c58bb68d1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060root.as_object_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060apply_entry\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2add00785ea3ff58aec7b88947cca58db7c4681d40fbd3fe2b5d369e0dfc67d"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060obj.get_mut(\u0022env\u0022).and_then(Value::as_object_mut)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060apply_entry\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/claude_config.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab6d646ae1be56dab3c6b983587d916a90810f75f944b1e1aa294a7c438db1f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060doc.get_mut(\u0022model_providers\u0022).and_then(|i|i.as_table_like_mut())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060save_provider_at\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/codex_provider_config.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea98c24db63e5f3d8bb50b84739b3d857df565dece13c150260354839675239f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022^\\d\u002B(\\.\\d\u002B){0,2}$\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060validate_version_input\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/env_setup.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d59b15a82c17cbf27a68933919530f868c0c57cf1215ffcfd3fc748c374d9c4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060format!(\u00220.0.0.0:{}\u0022,port).parse()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060start_server\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/http_server.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8e3fc95e90060d40811a95e8ffb804d5ba41b6ed3e501231d0c411d6fed965"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060reqwest::Client::builder().connect_timeout(Duration::from_secs(15)).pool_idle_timeout(Duration::from_secs(90)).build()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060http_client\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_proxy.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4682bc3b33f9d9fe0133b24f48fd5f9af1fc0c41f82c5c2a6a200ce8b7d1aba1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.open_block\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060parse_chunk\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"467cc6b542fbedf3060ba08afa1bdbf10a1f759fab0d310c3a07904f89d3cd3f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.open_block\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060parse_chunk\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e6ed174c75cce5afa61344f1111b480ed944b9f33fed769856f9c399400a22"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.tools.get_mut(\u0026openai_idx)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060handle_tool_call\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdafb94e81cacea465795a4fbd23c8186c9e5a22b2151c6ec2e45c4e32825fad"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.tools.get(\u0026openai_idx)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060handle_tool_call\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_transform.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d9242df5fc7265cc6283f69b71e82578a9bda2db395b7a0f2121c44c3419a2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060root.as_object_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060normalize_provider_section\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d568d166a914691b4409fdbc2798b2939ac8e6932de433af8a9596dff0efa0"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060obj.get_mut(\u0022provider\u0022).and_then(Value::as_object_mut)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060normalize_provider_section\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/opencode_config.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e4c78f7c87756ef9f6742bab0ed5247f9f1d1885d22f09cc96e269fcbf1b17"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060root.as_object_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060providers_mut\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb59e147f41bded6535a2c414d0b70c702cb29c53f7019a4b55eb96739149e27"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060entry.as_object_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060providers_mut\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/BrewPingwinDesktop/src-tauri/src/services/pi_config.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0348a4cb1bbc4e5c3625f0530e01b09d8276f618906ce1ae011eed15e41717d"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 size=  class=\u0022animate-spin\u0022/\u003E\u0060 under \u0060checking\u0060, but \u0060checking\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":"Sources/BrewPingwinDesktop/src/components/settings/environment-card.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d8f9f40a2e48ad83b6be87499efa3cd5df647a92e4039394dbd10cf5cbdb27"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060config_version_for\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":"Sources/BrewPingwinDesktop/src-tauri/src/services/agent_config.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6502e9444af49bcc4bf1dee0bc185bd88055b075c2aa5e19a8a55353d796403b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060get_device_name\u0060 turns every \u0060Err\u0060 into \u0060\u0022BrewPing\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":"Sources/BrewPingwinDesktop/src-tauri/src/services/device_identity.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced5cc30dff6c01c68500c9b22b5ce890656821b3985b1940f848de5877f5eb1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060parse_openai_models\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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_list.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d237e311f5a4bfbff450345e52b157f9ad8517129853c0b67c8bbb279620ba5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load\u0060 turns every \u0060Err\u0060 into \u0060Stored::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":"Sources/BrewPingwinDesktop/src-tauri/src/services/model_provider_store.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d536a0dba8081a22fdb512091aef24704b8f5bd15173c0d1c7bfb4b36e1ccd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load\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":"Sources/BrewPingwinDesktop/src-tauri/src/services/workdir_prefs.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3425d4e6ad025ea1fdbc8853180d07b13e456415124db4d08bc2c5df69766181"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-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-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":43,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}