{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"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"]}],"properties":{"cwe":["CWE-506"]}},{"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"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":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM8","name":"Value-object opportunities","shortDescription":{"text":"Value-object opportunities"},"helpUri":"https://codehealth.canine.dev/dimensions/DM8"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"QuotioHostSnapshot.validate (cyclomatic 49): QuotioHostSnapshot.validate has cyclomatic complexity 49 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostSnapshot.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"be093bb7acf501bd11459fb85adc70607755db8de77b7fe813cd71e9bd70a7a2"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeConfigEditor.strippingJSONCSyntax (cyclomatic 33): OpenCodeConfigEditor.strippingJSONCSyntax 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeConfigEditor.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"662c458ca4a3090377260ffd741aaad8ae678fc74b6243949452f295df3c168f"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountRow.body (cyclomatic 29): AccountRow.body 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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"90baea6419928aa61255625db1acc010e9974246a1731e29059e4c186e7277a2"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountsSettingsScreen.body (cyclomatic 27): AccountsSettingsScreen.body has cyclomatic complexity 27 (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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreen.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3861d81ea0c8ee331c9e3e57795c8035ffdf65cbff9ca97a03caf116f820aff8"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioHostPresentationMapper.resolvedSnapshot (cyclomatic 26): QuotioHostPresentationMapper.resolvedSnapshot has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1637aedc1b8eaf63fee9775db48e5867d0b8bd072a329eedeb6da2492eea4456"}},{"ruleId":"D1","level":"warning","message":{"text":"ProvidersScreen.groupedAccounts (cyclomatic 26): ProvidersScreen.groupedAccounts has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae068c77621c34b41f209bd1480701f1ab4a39771d4671867fabf97db66d9531"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotaProvider.entry (cyclomatic 25): QuotaProvider.entry 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":"apps/ios/QuotioWidgets/QuotioWidgets.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d6bf24abb3159313864df4e15caf3231d71ebc4b5001a9610ce2b67df3482e"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexConfigurationCodec.scalarString (cyclomatic 24): CodexConfigurationCodec.scalarString 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/CodexConfigurationCodec.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8a55bd93781269390893ad4a7f3e68aa71b00f32cd296c6a772de4fd2e2a0f"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeConfigEditor.deletionRange (cyclomatic 24): OpenCodeConfigEditor.deletionRange has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeConfigEditor.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd765241ef1e54c4517d1aee4e1e05c6db357ab16c1e14df01ee512d38adc97"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountQuotaCardV2.accountHeader (cyclomatic 23): AccountQuotaCardV2.accountHeader has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/ProviderQuotaView.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08bc4037fa3e8c9a760a45cebc2e000c209597da5e926f9585139369de8be8f"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioHostHTTPClient.responseData (cyclomatic 21): QuotioHostHTTPClient.responseData has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHTTPClient.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21750a8e7f96d49963db67876b307c80007a261151044348ac1b754377634cc"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotaWidgetView.body (cyclomatic 21): QuotaWidgetView.body 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":"apps/ios/QuotioWidgets/QuotioWidgets.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1811e68149979d7377771a9b6e1f2f6da3fb72d86798c4604f6a221bb1fb8c"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomProviderYAMLSerializer.escapedString (cyclomatic 20): CustomProviderYAMLSerializer.escapedString has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/CustomProviders/CustomProviderYAMLSerializer.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af024048d453b11569f01e70316868b0af6b26ada29a587200fbb65788945ce"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioCLIServerProcess.start (cyclomatic 20): QuotioCLIServerProcess.start has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1817cc80d66ca31fd11eec81b99f9ec4049512703f05eb555f096f4f454ddd"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioHostPresentationMapper.metric (cyclomatic 20): QuotioHostPresentationMapper.metric has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84b59a8be8a28fe954d9bfb3b560e5ffd34a0010f2ddcc18f236689e81e27d5"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderSettingsState.init (cyclomatic 19): ProviderSettingsState.init 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":"Packages/QuotioCore/Sources/QuotioApplication/Accounts/ProviderSettingsState.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d7b510195e4684bd355a75d1e7fbe1d9b245deed6a27e8c3c5af6e0b33b328"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioCLILegacyAccountMigration.migrate (cyclomatic 19): QuotioCLILegacyAccountMigration.migrate 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLILegacyAccountMigration.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2bdfba724656f1b322966a075992796864c400385ed8896685e193f733f8a4"}},{"ruleId":"D1","level":"warning","message":{"text":"ProvidersScreen.body (cyclomatic 18): ProvidersScreen.body 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":"Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12479917be216a1f008e760145497174a595e6ff3cec152721094d0cc16a98c"}},{"ruleId":"D1","level":"warning","message":{"text":"HostStore.refresh (cyclomatic 17): HostStore.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":"apps/ios/QuotioIOS/HostStore.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3beb5dbb0a1d3227c2443d9510e66938a07c677bb6b5aba397b2a51722d1e0e6"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyLifecycleController.install (cyclomatic 16): ProxyLifecycleController.install 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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"014810478790162f12e649ad765c7ca94e0ca6b71e93a97d14c5075e1b8d3e8c"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeAgentConfigurationAdapter.configurationResult (cyclomatic 16): OpenCodeAgentConfigurationAdapter.configurationResult has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeAgentConfigurationAdapter.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c235d2a35b05b895b14d0e45cac85bbea40c143f36d2230145efa4582b4c9482"}},{"ruleId":"D1","level":"warning","message":{"text":"KeychainCredentialDataStore.readData (cyclomatic 16): KeychainCredentialDataStore.readData 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/KeychainCredentialStores.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e995cceb96f158b158f883fbb669bc207d8e03ea93465080819adf6a36ee1fb"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioCLIBackend.loadSnapshot (cyclomatic 16): QuotioCLIBackend.loadSnapshot 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"719d65beb294364365e64eaaf960e480128acd5374b66b7553f21844e8d78d40"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioCLIBackend.resolvedAccount (cyclomatic 16): QuotioCLIBackend.resolvedAccount has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"b753c251b4b905326b13f397ee41b8d026625f236d3eca2196b5c396e62e09b9"}},{"ruleId":"D1","level":"warning","message":{"text":"AppSettingsPage.body (cyclomatic 16): AppSettingsPage.body 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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AppSettingsPage.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef64bd59a56d939fc6012b7a7a79494058e4da33f0f5c1e2f5e9f277783d4a3"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioHostSnapshot.validate (cognitive 59): QuotioHostSnapshot.validate has cognitive complexity 59 (threshold 15). Drivers by points: boolean chains 34, if/else 10 (20 pts), loops 4 (5 pts) (nesting depth added 11). 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":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostSnapshot.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85dadfebd1b24790d4e2e34155ec72483ff9923e7e46c423e0dab3f3a10a15e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeConfigEditor.strippingJSONCSyntax (cognitive 58): OpenCodeConfigEditor.strippingJSONCSyntax has cognitive complexity 58 (threshold 15). Drivers by points: if/else 18 (35 pts), boolean chains 12, loops 5 (11 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeConfigEditor.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ac22266ddda5ddcd3985b4ef6ad03a6186e9b6dde5b93032a75c26fa4ecca0"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaWidgetView.body (cognitive 57): QuotaWidgetView.body has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 8 (28 pts), if/else 11 (25 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/ios/QuotioWidgets/QuotioWidgets.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec04e87101ba57420223b9664f11da14f89785f464173498d70f02810c0bec3"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaProvider.entry (cognitive 47): QuotaProvider.entry has cognitive complexity 47 (threshold 15). Drivers by points: if/else 9 (24 pts), error handling 5 (13 pts), boolean chains 10 (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":"apps/ios/QuotioWidgets/QuotioWidgets.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d35d3cad37c8fa8d0bcf23325e2af14b25c008ac5dea45106ae408e4c88e8f7"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioHostPresentationMapper.resolvedSnapshot (cognitive 41): QuotioHostPresentationMapper.resolvedSnapshot has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 2 (7 pts), loops 4 (5 pts), match/switch 2 (4 pts), boolean chains 3 (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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2babf6c1779cbeeb814fe035d2ca3276e3e082b19fe0bb63abc954947bfa07e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProvidersScreen.groupedAccounts (cognitive 40): ProvidersScreen.groupedAccounts has cognitive complexity 40 (threshold 15). Drivers by points: loops 8 (13 pts), if/else 6 (11 pts), boolean chains 9, ternaries 3 (7 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":"Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c5fc614171a6660baf5060b55f9233a22c71f7c698a589944a7cfc5d5fc3aa"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountQuotaCardV2.accountHeader (cognitive 35): AccountQuotaCardV2.accountHeader has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 7, ternaries 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/ProviderQuotaView.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a3f7ca4ba010ad43baa179a85fbfab767b32717856997798e87302e8d94916"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountRow.body (cognitive 33): AccountRow.body has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 11, ternaries 2 (4 pts) (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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1290da5b93e967f805ec270b8a8e85028ff7b0c7de23b0b906b95897e08029"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexConfigurationCodec.scalarString (cognitive 30): CodexConfigurationCodec.scalarString has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 3 (7 pts), boolean chains 4, 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/CodexConfigurationCodec.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fef47c620ffb95325a175baa501808f841630121550e184d3c4d73032d8416"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentFileStore.apply (cognitive 29): AgentFileStore.apply has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 3 (6 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/AgentFileStore.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec04c945146e53ef60240a4fc6d58a3978bad57da9b9e8559e8f8f4b75efeb9"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioCLILegacyAccountMigration.migrate (cognitive 29): QuotioCLILegacyAccountMigration.migrate has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 6, error handling 4 (6 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLILegacyAccountMigration.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7ef5468e17158fe3909904b725abc8cb894d33e6c30e60ee77b1f5d2edb49e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProvidersScreen.body (cognitive 29): ProvidersScreen.body has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 3 (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":"Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d2487764e6f754ef6c8ee959ab439a473a628fd28f32cd0b9a6f4ee0d389e8"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeConfigEditor.deletionRange (cognitive 28): OpenCodeConfigEditor.deletionRange has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 14, if/else 6 (9 pts), loops 4 (5 pts) (nesting depth added 4). 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeConfigEditor.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e681e7ac28713c67eebf7c9ca59048f4f13f698f8af327c02ebfc4d088bba4"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.skipTrivia (cognitive 28): Parser.skipTrivia has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (9 pts), boolean chains 5 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeConfigEditor.swift"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37f76651b694c23e8e7c96e132a70ee8f3d57fdc0b83d62d070537d9c8098f0"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderSettingsState.init (cognitive 27): ProviderSettingsState.init has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 8, 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":"Packages/QuotioCore/Sources/QuotioApplication/Accounts/ProviderSettingsState.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"553d2488da9caa16c1244718134cf0aa7e005d3196145f4b26707e1f603baa07"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalProxyOAuthAuthorizer.runManagementFlow (cognitive 27): LocalProxyOAuthAuthorizer.runManagementFlow has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 3 (7 pts), match/switch 1 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa7ae752e0eb0ce16568138d94d2fbbb00039f1e0204922caadbe1d79b65f3b"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountsSettingsScreen.body (cognitive 26): AccountsSettingsScreen.body has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 4, error handling 3, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreen.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a5a460ba0f5603802db6e8bd00b7063b275cfb2ec769a8f532c958a527cb10"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyLifecycleController.install (cognitive 25): ProxyLifecycleController.install has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, error handling 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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ea70a4506ac94805c2f00a070775727edba5c5a68cc69fa9122f4b7efe0872"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioCLIBackend.loadSnapshot (cognitive 24): QuotioCLIBackend.loadSnapshot has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 6, error handling 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"2849b617c7354ab05ba25b75df305bad5541115fec9db342cb1ead6a8652019c"}},{"ruleId":"D2","level":"warning","message":{"text":"KeychainCredentialDataStore.readData (cognitive 23): KeychainCredentialDataStore.readData has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (4 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/KeychainCredentialStores.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9e2af401b45c1ab21c677fcfac2173b5810a6e957d445df95a5a3026179053"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioCLIServerProcess.start (cognitive 22): QuotioCLIServerProcess.start has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7, match/switch 1 (2 pts), 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ef5218636024dd970d5bcc4d1bfe83baf958c33fc8280f258b4e07811a5bde"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioHostPresentationMapper.metric (cognitive 22): QuotioHostPresentationMapper.metric has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (9 pts), match/switch 2, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1099fe74d125291cfa720ddf0647b2079abc3936b0362c51ebc8c8ed3db4a06f"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexConfigurationCodec.snapshot (cognitive 21): CodexConfigurationCodec.snapshot has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 4, 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/CodexConfigurationCodec.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0ffe6fba281c06159579691276886b5d8d17683465234f3835f836a6a6d1d4"}},{"ruleId":"D2","level":"warning","message":{"text":"OAuthStatusView.body (cognitive 21): OAuthStatusView.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (8 pts), boolean chains 2, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Components/OAuthSheet.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2960a5da6da2c4c8a4b367d631829bf500a1c619a43059feac97f1ad8d3de9e6"}},{"ruleId":"D2","level":"warning","message":{"text":"AppSettingsPage.body (cognitive 21): AppSettingsPage.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AppSettingsPage.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"411fc034b9feedac9c9d9b5c55f6ba288f1cb95bb71cc3f208b38e30f9db260f"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioHostHTTPClient.responseData (cognitive 20): QuotioHostHTTPClient.responseData has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 8. 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":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHTTPClient.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cfb2e469938d989dfa97a17a4930c140d3db37f92a6b2866af67ff11755ebe"}},{"ruleId":"D2","level":"warning","message":{"text":"HostStore.refresh (cognitive 20): HostStore.refresh has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, error handling 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/ios/QuotioIOS/HostStore.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"751bb4ae20b206a98eafd72f93ffb75b9b1be61d77fc6a68a83d650e463ce7b8"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexConfigurationCodec.filteredLines (cognitive 19): CodexConfigurationCodec.filteredLines has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 6, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/CodexConfigurationCodec.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9eff7cca8b5d7a2c7d1fab52747658e1b6afbd94e649db0c085ff025e4da40"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeConfigEditor.merging (cognitive 19): OpenCodeConfigEditor.merging has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeConfigEditor.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4021ccae5255ece2bb7da9cc526417eb920e1a9998cc5a8f3af49e94d142df7"}},{"ruleId":"D2","level":"warning","message":{"text":"FileProxyConfigurationRepository.ensureAPIKey (cognitive 19): FileProxyConfigurationRepository.ensureAPIKey has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Proxy/FileProxyConfigurationRepository.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aab0efdb65374ff72c9453e4ce2d9cbf8c191c0102ff44eaca4d2d8ff366cff"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeAgentConfigurationAdapter.configurationResult (cognitive 18): OpenCodeAgentConfigurationAdapter.configurationResult has cognitive complexity 18 (threshold 15). Drivers by points: if/else 2 (6 pts), error handling 3 (5 pts), match/switch 1 (4 pts), ternaries 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeAgentConfigurationAdapter.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1588b10b6301148e9bb6a8b8e7926598ab783c6c1c1b539bb1cbde50dcd22b5"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeConfigEditor.insertion (cognitive 18): OpenCodeConfigEditor.insertion has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (2 pts) (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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeConfigEditor.swift"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f057631e9374ad8013e70d7353c181b31ddd888820209eaf876334b693fc1a4"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityAccountSwitcher.switchAccount (cognitive 18): AntigravityAccountSwitcher.switchAccount has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, error handling 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Antigravity/AntigravityAccountSwitcher.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8f2358b8c6e33e5b87053f446e282b6b18414ef7868c5464f7e0333206a122"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanionConnectionSetupView.body (cognitive 18): CompanionConnectionSetupView.body has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (5 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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/CompanionConnectionSetupView.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"043e1dd86006d6f31a4a12ec796902242ef9bd01ddd37674052d3a91e9919d19"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomProviderYAMLSerializer.keyBlock (cognitive 17): CustomProviderYAMLSerializer.keyBlock has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/CustomProviders/CustomProviderYAMLSerializer.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6ead128c57f98a762c88e5453714b9d8cfc7c1c4d00f9f85766f86d3c7a384"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubAtomProxyUpdateFeed.latestVersion (cognitive 17): GitHubAtomProxyUpdateFeed.latestVersion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (2 pts), error handling 1, ternaries 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Updates/GitHubAtomProxyUpdateFeed.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6994018fbd3767d58a48e588c8149c9319e027eb1cf3337dd26ded4afe4726f1"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusBarManager.renderStatusBar (cognitive 17): StatusBarManager.renderStatusBar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarManager.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f06a38b2e698dcf9554d952531446c62bb3203aeb4f69ab3c5f421adf68422"}},{"ruleId":"D2","level":"warning","message":{"text":"PairHostView.body (cognitive 17): PairHostView.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 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":"apps/ios/QuotioIOS/PairHostView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4e2014d34bcdd1c7b940a77b22ea5e8618418e28f6ffcc0156fb8e3b72232a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyLifecycleController.activate (cognitive 16): ProxyLifecycleController.activate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, 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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d83385297bf0041dfb967ef48c5a27978b66af0882c4c5c46cfe89aa1e431a"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeAgentConfigurationAdapter.modelConfiguration (cognitive 16): OpenCodeAgentConfigurationAdapter.modelConfiguration has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 4, ternaries 2 (4 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeAgentConfigurationAdapter.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b5495558ec3fb43df728bd89e4cea1fd36a7d6e7e1668de84c32b3d1c7b901"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioCLIOAuthAuthorizer.begin (cognitive 16): QuotioCLIOAuthAuthorizer.begin has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (6 pts), error handling 2, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIOAuthAuthorizer.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d9cb43b8f2324c86d1cb6b60294b7a8f4fad884b5c0446b9ff3ca453b2243e"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioCompanionService.configure (cognitive 16): QuotioCompanionService.configure has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5 (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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCompanionService.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10a8d70e53abe66deeeb51c744c107a22b42876656aaeca2c2f28e561f86c48"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusBarMenuRenderer.buildMenu (cognitive 16): StatusBarMenuRenderer.buildMenu has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (7 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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f3c0eac740373f74b013826e81db47f0268d965e61cba6b4286eab8d0418ce"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayNames.metricLabel (cognitive 16): DisplayNames.metricLabel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/ios/Sources/QuotioMobile/DisplayNames.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14bca7f969bb593027a3ff070cf6028fbb4af71af43d016c93fe8a1a84ebafe"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayNames.resetHint (cognitive 16): DisplayNames.resetHint has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 1 (3 pts), ternaries 1 (3 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":"apps/ios/Sources/QuotioMobile/DisplayNames.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ee7cfed87c1eb676f963dc650acd351fffaa136649169cd53fc614dde05b97"}},{"ruleId":"D2","level":"warning","message":{"text":"RootView.body (cognitive 16): RootView.body has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 4, ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/ios/QuotioIOS/RootView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc52a42ec0ed6712e0e2e93fe1ffc742ba10b3a97f0f0e2ac7f27d7bcf8a094e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MenuBar/StatusBarMenuRenderer.swift: FileTooLong \u2014 1294 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 794 over it, 2.59\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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeb07b189ffd72e5b10038398323ececf8659f1b7b8456798032888a6761ef3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompositionRoot.makeProduction: MethodTooLong \u2014 makeProduction runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/macos/Quotio/App/CompositionRoot.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c389723fb06c594ad12f7c9f69842df5a0d2b152134000f0f284aeb8ed6a1f2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QuotioCLIBackend: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b25936d4382856fbe6c89a8b0c17b051892612632527a72c8d5ff1a27f0157"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProxyLifecycleController: 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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2ce6ebdc6a44cd06fc314d0390ad7d7937168b1fcc17ea3a4f221e11186c60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Quota/ProviderQuotaView.swift: FileTooLong \u2014 752 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 252 over it, 1.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/ProviderQuotaView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b904a444cb4444901983d3fbc826b39c135d1fdc2cf80445007e2005aff2bbcf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AccountQuotaCardV2.accountHeader: MethodTooLong \u2014 accountHeader runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/ProviderQuotaView.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca59ea80a2cd650addb6e221909f28a4fd7efe88b3794ec8db3cbc2624dcfd0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CustomProviderSheet: ClassTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 196 over it, 1.49\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/CustomProviderSheet.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0075ea7810aac697c02b8a27d61c408b8c75b3d6fa71d5474a695548ebf9b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Proxy/ProxyLifecycleController.swift: FileTooLong \u2014 713 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 213 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"119252b32d2a67bb48c2c8f461541f89f94166dc69f9a764a6c99976c9076065"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Components/AgentConfigSheet.swift: FileTooLong \u2014 703 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: AgentConfigSheet (11-741). The bar is 500 significant lines; this is 203 over it, 1.41\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/AgentConfigSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b45560a6a0a865c7814f86dc1bb21822589448a00fc464c0662b809866da15"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: URLSessionProxyManagementAPI: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. Most of these members implement Packages~QuotioCore~QuotioApplication.ProxyManagementAPI (32 of 39 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Proxy/URLSessionProxyManagementAPI.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"201e71b47adb63b92c39b0ed786b7c36bb38526d67c77c27542c9b98bdeb4fd5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProvidersScreen.body: MethodTooLong \u2014 body 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":"Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad21e25f7d180f8150a92f4f9bf16c1578c0ff0ca392b8f240c90200a75d38a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProvidersScreen: ClassTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 123 over it, 1.31\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":"Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a87fa554125d841af0ab6b92217cab620a86591a7da11c161386e482622dd4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AccountRow.body: MethodTooLong \u2014 body runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a379b4922c3c8cd0658b4f0cdd0926e36657ce19db411f15d318b6488f239dda"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Components/CustomProviderSheet.swift: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: CustomProviderSheet (10-916). The bar is 500 significant lines; this is 105 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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/CustomProviderSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f454362f20d366ecb831ef3791b68811d5eaccae78901664805377490d7f42c4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentConfigSheet: ClassTooLong \u2014 481 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 81 over it, 1.20\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/AgentConfigSheet.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b394410b80c69aadc3f6f0436cde025dc5e487b55761ac9cfa3cbcbe5c2146cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProxyManagementScreenModel: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"Packages/QuotioCore/Sources/QuotioPresentation/Proxy/ProxyManagementScreenModel.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2869ff56f3ff484a2e379f27a873dd65315bcabd9fc137bf28f98cfa44e993"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OAuthStatusView.body: MethodTooLong \u2014 body runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/OAuthSheet.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"576ed7e026714aee5ff66995121e175863fe68464120a8bc8da4166dc001a4ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Screens/ProvidersScreen.swift: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ProvidersScreen (7-788). The bar is 500 significant lines; this is 60 over it, 1.12\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":"Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78bc0ff244ba17557b843d1fd6656c1f0b17ac3ed8e1879caf05cccdd902e4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QuotioCLI/QuotioCLIBackend.swift: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 29 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefbda05e94016db7258038d0faac9fafdbcbf096159b86884093be4093e9940"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AccountsSettingsScreen.body: MethodTooLong \u2014 body runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreen.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9d863dda264857cc92d932758036915ec2027760cf8ac6b3dc4bb91b0e44f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/CopilotAvailableModelCatalog.swift:62-74 | Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/CopilotAvailableModelCatalog.swift:76-88 \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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/CopilotAvailableModelCatalog.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd1ddbf15225eed705bcce2589b8b6461801b414d82b1cbfb78eaeead97c98a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift:40-78 | Packages/QuotioCore/Sources/QuotioApplication/Quota/QuotaPorts.swift:69-99 | Packages/QuotioCore/Sources/QuotioDomain/Proxy/ProxyManagementModels.swift:23-61 | Packages/QuotioCore/Sources/QuotioDomain/Proxy/ProxyModels.swift:290-326 | Packages/QuotioCore/Sources/QuotioDomain/Settings/PreferenceValues.swift:107-135 | Packages/QuotioCore/Sources/QuotioPresentation/Proxy/ProxyManagementScreenModel.swift:40-72 | apps/macos/Quotio/App/CompositionRoot.swift:293-343 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3746caa4e85ff2da48d2028e22f290f0f73e290c78443885f13996b5913e4cd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift:233-255 | Packages/QuotioCore/Sources/QuotioPresentation/Shared/ProviderPresentation.swift:5-27 | Packages/QuotioCore/Sources/QuotioPresentation/Shared/ProviderPresentation.swift:29-51 | Packages/QuotioCore/Sources/QuotioPresentation/Shared/ProviderPresentation.swift:103-125 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa978007dd8f71700b848c4b5bc4c67de1bb477c9d6ba2b6b140076a336250c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:63-91 | Packages/QuotioCore/Sources/QuotioPresentation/Screens/DashboardScreen.swift:392-420 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:63\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bcc39bd932f1110b153cfbf356d4a672c0577d7964ae82c96dee51b854e870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Screens/AboutScreen.swift:335-353 | Packages/QuotioCore/Sources/QuotioPresentation/Screens/AboutScreen.swift:496-514 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Screens/AboutScreen.swift:335\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, \u0060Packages/QuotioCore/Sources/QuotioPresentation/Screens/AboutScreen.swift:515\u0060 calls \u0060sheet\u0060, \u0060ProxyVersionManagerSheet\u0060, \u0060environment\u0060 and \u0060Packages/QuotioCore/Sources/QuotioPresentation/Screens/AboutScreen.swift:354\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":"Packages/QuotioCore/Sources/QuotioPresentation/Screens/AboutScreen.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"1508fb62a0649ff0853dc2d421315c1c9496e053a75ceb68ad13418c9308d7f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift:235-252 | Packages/QuotioCore/Sources/QuotioPresentation/Shared/ProviderPresentation.swift:7-24 | Packages/QuotioCore/Sources/QuotioPresentation/Shared/ProviderPresentation.swift:31-48 | Packages/QuotioCore/Sources/QuotioPresentation/Shared/ProviderPresentation.swift:105-122 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift:235\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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a6a5f471bbbde3a2a35446bb75082b32233868072346dd801fce50fa586182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:66-82 | Packages/QuotioCore/Sources/QuotioPresentation/Components/WarpConnectionSheet.swift:86-102 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:66\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 \u006020\u0060 in one and \u00604\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeacf9a05dc0abb3922ca03ee892ed2e158ded86321bd90462f3e5fe7e1e392b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:77-92 | Packages/QuotioCore/Sources/QuotioPresentation/Settings/ProxyVersionManagerSheet.swift:42-57 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:77\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"021fd20dcb0c800baf5289c1488a1abb31538ab1c4fc2643b712504463b81b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:403-418 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:436-451 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:403\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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd989b9ca52cf486fdb4b24635c570547fc951b73e2ce6c5921dc48eb4e5b40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Packages/QuotioCore/Sources/QuotioPresentation/Components/AgentConfigSheet.swift:756-770 | Packages/QuotioCore/Sources/QuotioPresentation/Components/AgentConfigSheet.swift:786-800 | Packages/QuotioCore/Sources/QuotioPresentation/Components/AgentConfigSheet.swift:852-866 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/AgentConfigSheet.swift:756\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/AgentConfigSheet.swift"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e604a2b36ee6c657bd7f025d4ae91712dfae3515d95027f96e27820d254aba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/CustomProviderSheet.swift:103-115 | Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:44-55 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/CustomProviderSheet.swift:103\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/CustomProviderSheet.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"412de796142d76820dc58537ad686dc7716e5b15c8ec9c9de1ed661fa77877cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/MenuBarBadge.swift:52-62 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/MenuTooltipPresenter.swift:43-55 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/MenuBarBadge.swift:52\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/MenuBarBadge.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d3103ad25b677b19f9511c52c63b040f1f18033c147f465106ace46e3bbc57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/SwitchAccountSheet.swift:55-67 | Packages/QuotioCore/Sources/QuotioPresentation/Components/WarmupSheet.swift:143-155 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/SwitchAccountSheet.swift:55\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/SwitchAccountSheet.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a396469076103b09bfb634867c12f1a59aa154319ffc9b8ef21b763bdeb5b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift:59-70 | Packages/QuotioCore/Sources/QuotioApplication/Quota/QuotaPorts.swift:84-95 | Packages/QuotioCore/Sources/QuotioDomain/Proxy/ProxyManagementModels.swift:42-53 | Packages/QuotioCore/Sources/QuotioDomain/Proxy/ProxyModels.swift:308-319 | Packages/QuotioCore/Sources/QuotioDomain/Settings/PreferenceValues.swift:121-132 | Packages/QuotioCore/Sources/QuotioPresentation/Proxy/ProxyManagementScreenModel.swift:54-65 | apps/macos/Quotio/App/CompositionRoot.swift:318-329 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift:59\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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d869a57ea648dd33eff8d98e21ad88d2866517d7110d76fa73e81ae107c911ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.swift:210-220 | Packages/QuotioCore/Sources/QuotioPresentation/Screens/QuotaScreen.swift:39-49 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.swift:210\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":"Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"535280b12be43ab6cb101aff4a14c6ae9408559bbe986b3930386affa4f18c1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift:78-88 | Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift:117-127 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift:78\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift:76\u0060 calls \u0060padding\u0060 and \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift:116\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4673976c04f6f646004a22f53c1abf037726d63d0e77e7c5a90a3a9e2969999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:845-855 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:914-924 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:845\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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6be75ff614f40e9d12fbf2bb97c53bb7279e23e2806d9110ae492ff152debee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Settings/UsageDisplaySettingsSection.swift:32-42 | Packages/QuotioCore/Sources/QuotioPresentation/Settings/UsageDisplaySettingsSection.swift:51-61 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Settings/UsageDisplaySettingsSection.swift:32\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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/UsageDisplaySettingsSection.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac5a2b6b1abd22a1c032e40b97fd08d6737006b58a7166ab08e1bdad1999181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Providers/CustomProviderPresentation.swift:39-48 | Packages/QuotioCore/Sources/QuotioPresentation/Providers/CustomProviderPresentation.swift:68-77 \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":"Packages/QuotioCore/Sources/QuotioPresentation/Providers/CustomProviderPresentation.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a950567d46adec96852efa2bc7e51eaf37ca19c581f19adb3ad2aa43ea2fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/AgentConfigSheet.swift:471-480 | Packages/QuotioCore/Sources/QuotioPresentation/Components/AgentConfigSheet.swift:642-651 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/AgentConfigSheet.swift:471\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/AgentConfigSheet.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"b267604d9829c6c1c069819547c7897b7c1d049e6504c684dcd063173cd626a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:338-347 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:559-568 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:338\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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9eb1a802799effe4811d020fd940fcd301460269e959f17ec843019a21f0e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1593-1602 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1674-1683 \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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"264a1011d23685c2e914d861b8b68738fef32df66aa4bc49a7fdf9eaaba458cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Quota/ProviderQuotaView.swift:611-620 | Packages/QuotioCore/Sources/QuotioPresentation/Quota/ProviderQuotaView.swift:701-710 \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":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/ProviderQuotaView.swift"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"a686f538c616e7f089a2ec4b48f9bc317afdccc0ef0e8852ed0fe25ff1c2a04f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Quota/ProviderQuotaView.swift:948-957 | Packages/QuotioCore/Sources/QuotioPresentation/Quota/ProviderQuotaView.swift:1067-1076 \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":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/ProviderQuotaView.swift"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd0d1cb28cc7fa4965d558ecd1c826c539a87c0ce01fe5af256ba7104d05272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:98-106 | Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:120-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:98\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 \u00602\u0060 in one and \u00608\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 before the matched lines, \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:114\u0060 calls \u0060background\u0060, \u0060Color\u0060, \u0060opacity\u0060 and \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:93\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"257a7700bd5f33592c8d88671c641cebb096f730ecc155154242de363fe0c481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/ios/QuotioIOS/DesignSystem/AccountCard.swift:71-79 | apps/ios/QuotioIOS/DesignSystem/EmptyAccountRow.swift:34-42 \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 \u0060apps/ios/QuotioIOS/DesignSystem/AccountCard.swift:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/ios/QuotioIOS/DesignSystem/AccountCard.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5257491ea98f59c722d0908429b945424e61346323859a8fb5ed5e3b78bd4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:163-170 | Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:223-230 | Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:294-301 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:163\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:161\u0060 calls \u0060background\u0060, \u0060Color\u0060, \u0060opacity\u0060 and \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:222\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13a16ba681c523860a72f28bc3364b2f3a18afd5b1f2592d331c7d81849b665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioDomain/Quota/QuotaModels.swift:31-38 | Packages/QuotioCore/Sources/QuotioDomain/Quota/QuotaModels.swift:132-139 \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":"Packages/QuotioCore/Sources/QuotioDomain/Quota/QuotaModels.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"490b3ac42d8682b8f95e81973486c4fdefdbef176a6063730adfe436ae613a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioInfrastructure/Process/ProxyProcessController.swift:155-161 | Packages/QuotioCore/Sources/QuotioInfrastructure/Tunnel/CloudflaredService.swift:120-128 \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 \u0060Packages/QuotioCore/Sources/QuotioInfrastructure/Process/ProxyProcessController.swift:155\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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Process/ProxyProcessController.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"104f259aa59a1b3dfd984c438af989d676f0b287bdb944fcb68d45d82b0fe5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1198-1204 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1245-1251 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1198\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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"78543d9f2deff278005592cd6f5c53b764dfaf0e3051fb081d11c07dbb60def6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1894-1900 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1981-1987 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1894\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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7a60de2faa3c1b607f3c3c6079626aff692bb31ac787e1aa1253227a9e86e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift:511-516 | Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift:633-638 \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 \u0060Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift:511\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5e0fc1868991fcca451d1e47453b87f40fa274a29d6407d3c8491042138cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/CopilotAvailableModelCatalog.swift:68-72 | Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/CopilotAvailableModelCatalog.swift:82-86 \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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/CopilotAvailableModelCatalog.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cec6db4271d6c3a32f02ffed490e6a925b02a2f168254f70539998f6375195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/ios/Sources/QuotioMobile/ConnectionIssue.swift:36-40 | apps/ios/Sources/QuotioMobile/ConnectionIssue.swift:48-52 \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 \u0060apps/ios/Sources/QuotioMobile/ConnectionIssue.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/ios/Sources/QuotioMobile/ConnectionIssue.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9933abc938c2f2bdd4873c72f4c1cc410502ef95178e2bf23c3aba2b232c09f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/ios/Sources/QuotioMobile/DisplayNames.swift:122-126 | apps/ios/Sources/QuotioMobile/DisplayNames.swift:149-153 \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 \u0060apps/ios/Sources/QuotioMobile/DisplayNames.swift:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060apps/ios/Sources/QuotioMobile/DisplayNames.swift:148\u0060 calls \u0060String\u0060 and \u0060apps/ios/Sources/QuotioMobile/DisplayNames.swift:121\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":"apps/ios/Sources/QuotioMobile/DisplayNames.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb415c7eb72b99912e3f759529cd63958675d25b3423772e3872ad0670043862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioDomain/Accounts/AntigravitySwitchModels.swift:39-44 | Packages/QuotioCore/Sources/QuotioDomain/Proxy/ProxyModels.swift:258-268 \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":"Packages/QuotioCore/Sources/QuotioDomain/Accounts/AntigravitySwitchModels.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3edb14b1dcc98c9931aff167b10a38715b16588edbe781dde0dfe0552c8938b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/AmpAgentConfigurationAdapter.swift:77-82 | Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/ClaudeCodeAgentConfigurationAdapter.swift:101-106 | Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/CodexAgentConfigurationAdapter.swift:73-78 | Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/FactoryDroidAgentConfigurationAdapter.swift:86-91 | Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeAgentConfigurationAdapter.swift:131-136 \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 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/AmpAgentConfigurationAdapter.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0102e5b2dbb1563eeb61c79892ddc71f2ef31e8799f4e7c57e60841ecd112279"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/AmpAgentConfigurationAdapter.swift:156-161 | Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/ClaudeCodeAgentConfigurationAdapter.swift:194-199 | Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/CodexAgentConfigurationAdapter.swift:80-85 | Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/FactoryDroidAgentConfigurationAdapter.swift:149-154 | Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeAgentConfigurationAdapter.swift:138-143 \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 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/AmpAgentConfigurationAdapter.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e220f381a83884a803a69b96147bb239b35e242fb73a37406b3f631f100929e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioInfrastructure/Persistence/FileAccountMetadataRepository.swift:13-18 | Packages/QuotioCore/Sources/QuotioInfrastructure/Persistence/FileAccountSnapshotDataStore.swift:7-12 \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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Persistence/FileAccountMetadataRepository.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5220b6f048ba7891b29735c8ac1dac57acf1f6d0bbea8a973047978654b9890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioDomain/Agents/AgentModels.swift:166-171 | Packages/QuotioCore/Sources/QuotioDomain/Companion/CompanionModels.swift:56-61 \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":"Packages/QuotioCore/Sources/QuotioDomain/Agents/AgentModels.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34a8c7ab9dcaffb957b6d92c247ad0e59ba1eaa6f5b72c2a345647256c83d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioDomain/CustomProviders/CustomProviderModels.swift:103-107 | Packages/QuotioCore/Sources/QuotioDomain/Proxy/ProxyModels.swift:210-218 \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":"Packages/QuotioCore/Sources/QuotioDomain/CustomProviders/CustomProviderModels.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4a7f3abb6df30d150fa50079d05947a9835deb365369958aa3806e252c7388"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: QuotioDomain: QuotioDomain: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"119eb8c8b20394edb3440a63b70b1ecb87ebb0b804d05773fa494b7ca8f6d568"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: QuotioHostClient: QuotioHostClient: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1112f47acd9cc79263c101de7930b8002d51d63188d61f5fe4b07a72352919c1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: QuotioCLIBackend (LCOM4 7): QuotioCLIBackend\u0027s methods fall into 7 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 7 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce01b253c1cd825dea661cbdcbf37d25f802f9693d1cde83de4e3d2b6540a82d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: String (LCOM4 5): String\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioApplication/Accounts/AuthFileRepository.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac135d680636a7574bca07cbf1f7199db1df5166c4d5e345cd90ae35eb52bd4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProxyManagementScreenModel (LCOM4 4): ProxyManagementScreenModel\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":"Packages/QuotioCore/Sources/QuotioPresentation/Proxy/ProxyManagementScreenModel.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"217e34fbdce337026a8eacf42f1de0ad7d9b738e3b788abc13087c1c08a9c8e9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WarmupSettingsManager (LCOM4 4): WarmupSettingsManager\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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/WarmupSettingsManager.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa92f83b586d926fd88fd950abb01c56a530114ae6c1d10afa06fc77f5d1bdfe"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 Swift suite: Coverage NOT MEASURED: the Swift half could not be measured \u2014 the Swift suite in Packages/QuotioCore produced no coverage export. 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. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLegacyProtectedCredentialIsReadOnlyAndDoesNotResurrectAfterDeletion: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioInfrastructureTests/AccountPersistenceTests.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40fae48d636134c0ab3313beb4751447aff4da9caa72ca37e958597a02fdf8e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderAccountsScreenScenarios: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioPresentationTests/AccountsScreenSnapshotTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3784e784bd07106189e47b46831a2dba56972670949d00f4e41dc9f9d060dc23"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderPairingLayouts: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioPresentationTests/CompanionScreenModelTests.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d307a283e71726a4193e9d92b2fbdab2e0a3ab90c89ca310938fa6906da1fe8c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLiveRustTLS: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioHostClient/Tests/QuotioHostClientTests/QuotioHostClientTests.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ceae5e085095441d999d181b832f37f8679adfa81588125c7c7d9556d2a7e56"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testManualCompletionBelongsToCurrentAttempt: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioApplicationTests/OAuthFlowControllerTests.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ab14e11291dfd9af6cca9ca7b9cb64f4210e277f5140794a1dffedbc77bdef"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnterminatedStringIsRejected: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioInfrastructureTests/OpenCodeConfigRegressionTests.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"feaf292d9548d34f60595f0ad32660df6b9c0ce2ea2fd390bcebc77eac7d9f85"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNestedBlockCommentIsRejected: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioInfrastructureTests/OpenCodeConfigRegressionTests.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd257597890e2fb11b4a9132c40b3edbef68c3966c5bc38caae84c488a6f2ce"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrailingContentAfterRootIsRejected: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioInfrastructureTests/OpenCodeConfigRegressionTests.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c4d40d5e25b1fd35f055e3c3887e77cd5dc4a5687095a012fb3713526bcfd7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRootThatIsNotAnObjectIsRejected: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioInfrastructureTests/OpenCodeConfigRegressionTests.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ff375edfb88d5bb9ced162cafc78633ff921281e0b5dbe04a83adfaa78e86b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDuplicateProviderKeyIsRejected: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioInfrastructureTests/OpenCodeConfigRegressionTests.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d688ef050eacf13c40f68b83af964b3dab52f10d337d4f84bfaf4d8ed60e8b36"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNonObjectProviderIsRejected: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioInfrastructureTests/OpenCodeConfigRegressionTests.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f625c92a1b97f487bd20cd7f9a253f0f95d1b6a50d5a4e82516c354d14934743"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMissingCommaBetweenMembersIsRejected: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioInfrastructureTests/OpenCodeConfigRegressionTests.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0569bf0464f5bd04e067dd859b903083dd973e0739895f391319beeacbd3da0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/server.rs: apps/cli/src/server.rs changed 57 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in quotio::server::collect_usage at line 738. 24 of those changes were fix/bug commits, and the other 33 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/server.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/cli/src/server.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8fbaaaa364cc289dcabb578b137cf09dd52dccdf528400cc1e6806ea3043eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/service.rs: apps/cli/src/accounts/service.rs changed 63 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in quotio::accounts::service::scoped at line 23. 30 of those changes were fix/bug commits, and the other 33 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/service.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":"apps/cli/src/accounts/service.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b4b02d0a2230b3c49ccc452f587976713f2bba8c2e1f431d6db9938cd8e831"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/providers/capabilities.rs: apps/cli/src/providers/capabilities.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in quotio::providers::capabilities::capability at line 166. 4 of those changes were fix/bug commits, and the other 26 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/providers/capabilities.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":"apps/cli/src/providers/capabilities.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0536a122d8a1e0d67538e031b945fd32873f63bd7c04e2ce63de8da260af50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/vault.rs: apps/cli/src/accounts/vault.rs changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Vault::begin at line 339. 13 of those changes were fix/bug commits, and the other 33 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/vault.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":"apps/cli/src/accounts/vault.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e7cac8321e5f46bf39ecc91d2054d49626a034547e97811d28c659d1dfa94a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/server/management.rs: apps/cli/src/server/management.rs changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in quotio::server::management::mutate at line 330. 16 of those changes were fix/bug commits, and the other 24 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/server/management.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":"apps/cli/src/server/management.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9fb1fd9b12525c023814d860237865266638a867d36d0f2a9e98f50c53880c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/main.rs: apps/cli/src/main.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in quotio::run at line 72. 3 of those changes were fix/bug commits, and the other 18 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/main.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":"apps/cli/src/main.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d45d5e2ee1c3a126de4be7e74e90da21eed1102fa8d83b6d53508ae055fbc7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/mod.rs: apps/cli/src/accounts/mod.rs changed 51 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Document::reserve_factory_refresh at line 401. 11 of those changes were fix/bug commits, and the other 40 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/cli/src/accounts/mod.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b66c54f03a0794208eece15215d66da4e5491055dbd9c8d6bb9935464ac968"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in QuotioCLIBackend.loadSnapshot at line 526. 31 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bb672d6def6d040631b036f38b48d3ffc6061ea5e7439d5c4ece8a4e7abe24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/api.rs: apps/cli/src/accounts/api.rs changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AccountDto::from at line 25. 11 of those changes were fix/bug commits, and the other 31 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/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":"apps/cli/src/accounts/api.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f817025a6bf29a971ba38a0bc4a20fbb2f0fc7877819ce88fe1105256c79b86"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.swift: Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.swift changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ProvidersScreen.groupedAccounts at line 55. 3 of those changes were fix/bug commits, and the other 24 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.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":"Packages/QuotioCore/Sources/QuotioPresentation/Screens/ProvidersScreen.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8492a595bc9e8d5fc747f7196d2f7e07f6c747deaf7706361ddd57006ee0129"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/discovery.rs: apps/cli/src/accounts/discovery.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in Registry::inspect_for at line 130. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/discovery.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":"apps/cli/src/accounts/discovery.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e9db8be4f1fa3d778fb0f26be5e97e07af460e0633711cfe11a21ce8b4efbd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/providers/amp.rs: apps/cli/src/providers/amp.rs changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in quotio::providers::amp::parse at line 184. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/providers/amp.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":"apps/cli/src/providers/amp.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16a34a3193279b448921090816a3e94a2d5731239c062177c3f5033f76a5240"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/providers/catalog/oauth_editors.rs: apps/cli/src/providers/catalog/oauth_editors.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in quotio::providers::catalog::oauth_editors::open_cursor_database_at_with_hooks at line 904. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/providers/catalog/oauth_editors.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":"apps/cli/src/providers/catalog/oauth_editors.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"326128ff5b986178c90a4096d9b93984e12d98559aa731105f5d0cfe6ac593eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.swift: Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in AccountRow.body at line 214. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ba82397c150719c2600422adfc7fa495439009d8b1c3dbb4fc383ec44f8df7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/command.rs: apps/cli/src/accounts/command.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in quotio::accounts::command::run_with_vault at line 18. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/command.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":"apps/cli/src/accounts/command.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cc31ebaa0a0886efdc446843376574fa939c11d20cca887767a6d396db11b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/providers/antigravity.rs: apps/cli/src/providers/antigravity.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AntigravityProvider::fetch_with_token at line 290. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/providers/antigravity.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":"apps/cli/src/providers/antigravity.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"5095c8338ef44771e0862fd0f83bc407a88c969c487717a92d7aada712a72e76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/providers/codex.rs: apps/cli/src/providers/codex.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in quotio::providers::codex::parse at line 90. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/providers/codex.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":"apps/cli/src/providers/codex.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0552efd347f5d1707140d6ec15fa72bd96446fc1bec383847e43fe30893035e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/cache.rs: apps/cli/src/cache.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in UsageCache::one at line 196. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/cache.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":"apps/cli/src/cache.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4615f77704828c37aaab2d2fa845e55e8bf36244daa9a25e37ceeaed2ef6bc30"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/providers/key_api.rs: apps/cli/src/providers/key_api.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in quotio::providers::key_api::zai at line 265. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/providers/key_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":"apps/cli/src/providers/key_api.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7674b3790eda024d786f5a6e5f3ee6a467d450f222c918131b1ec14cc5540e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/oauth.rs: apps/cli/src/accounts/oauth.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in OAuthSessionManager::poll_device at line 658. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/oauth.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":"apps/cli/src/accounts/oauth.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0be143767a88e79a6b6fb08ccca701ed6a18d1bd61361e6e550825cff0aa46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostSnapshot.swift: Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostSnapshot.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in QuotioHostSnapshot.validate at line 126. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostSnapshot.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":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostSnapshot.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed283828870b807c58550db57836226ca3cf44d58991611e252ec6f3a3d99f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.swift: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in QuotioCLIServerProcess.start at line 77. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fae4501372e446e0e7e13333605822e630b5b56e5add688fb12a19bd66ab31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/output/text.rs: apps/cli/src/output/text.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in quotio::output::text::render at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/output/text.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":"apps/cli/src/output/text.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b137457d65ce25c737f6e74df710e35882ad27187db174a06f10ab7cbed56640"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/resolved.rs: apps/cli/src/accounts/resolved.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Registry::validate at line 453. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/resolved.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":"apps/cli/src/accounts/resolved.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe168a540f4dcde1bf6eb4e0764651502bae057cde17c196789a7e06a3fe2433"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarManager.swift: Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarManager.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in StatusBarManager.renderStatusBar at line 93. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarManager.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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarManager.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5d2a7aa07f72a041a9215cb6026d52ef6fb28bd33b3ad19d5eac4b6081eda0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/contract.rs: apps/cli/src/contract.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in Snapshot::validate at line 203. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/contract.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":"apps/cli/src/contract.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a601e720dc437d1648c88de431c4c390a0304db917e1e31c44f4e952efd0035f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/server/security.rs: apps/cli/src/server/security.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in quotio::server::security::guard at line 202. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/server/security.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":"apps/cli/src/server/security.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dbfc8e98b50e369c2255663f778cd35057465886f2be6e300b5119a91ec588"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioDomain/Agents/AgentModels.swift: Packages/QuotioCore/Sources/QuotioDomain/Agents/AgentModels.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in AgentConfigurationInstruction.localizedText at line 7. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioDomain/Agents/AgentModels.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":"Packages/QuotioCore/Sources/QuotioDomain/Agents/AgentModels.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1020e9f59c149446013607887bbc1f0bb732d827aef2c558d8e5c4493c75fbd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in QuotioHostPresentationMapper.resolvedSnapshot at line 14. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8ac4dbc13602166c44cdd7feac340f8016a8990c46d76e8ca6bc300a0e388a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/contract/snapshot.rs: apps/cli/src/contract/snapshot.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in quotio::contract::snapshot::project at line 303. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/contract/snapshot.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":"apps/cli/src/contract/snapshot.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"c164a1dae584d21744daf17e9c3d69e19afb29343d682fa16027163b11a8e893"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/settings.rs: apps/cli/src/settings.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SettingsStore::patch at line 161. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/settings.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":"apps/cli/src/settings.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95e26dca91b3df010a3d341d0966e41d7e92d310fc8d5155b92b13a80fa5d69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioPresentation/Settings/AppSettingsPage.swift: Packages/QuotioCore/Sources/QuotioPresentation/Settings/AppSettingsPage.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AppSettingsPage.body at line 15. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioPresentation/Settings/AppSettingsPage.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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AppSettingsPage.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"be18f3631a2771142c728e219dd547571bb79593ea9bd299cba3b8cb65ace2db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/ios/QuotioIOS/HostStore.swift: apps/ios/QuotioIOS/HostStore.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in HostStore.refresh at line 108. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/ios/QuotioIOS/HostStore.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":"apps/ios/QuotioIOS/HostStore.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"608453048c3a00a3a35115f5aba92fa2326f8ef57924c5ea6ee4ac6e261cbc17"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/discovery/host.rs: apps/cli/src/accounts/discovery/host.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in quotio::accounts::discovery::host::scan at line 56. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/discovery/host.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":"apps/cli/src/accounts/discovery/host.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21a6c0bb18d9d589143b1bfdffe3e2de3331555999c6dc277c9abdaa9d8f942"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/ios/QuotioWidgets/QuotioWidgets.swift: apps/ios/QuotioWidgets/QuotioWidgets.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in QuotaProvider.entry at line 61. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/ios/QuotioWidgets/QuotioWidgets.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":"apps/ios/QuotioWidgets/QuotioWidgets.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"552a7f60eba6198a6d664a5c1be8d8e0f96d91f06bce798a8c3561bf4b9312ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/KeychainCredentialStores.swift: Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/KeychainCredentialStores.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in KeychainCredentialDataStore.readData at line 81. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/KeychainCredentialStores.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/KeychainCredentialStores.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1209700a4f5babca141385ace9b0daafcf7399cdc1fb66e627f8387d4cbf17a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHTTPClient.swift: Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHTTPClient.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in QuotioHostHTTPClient.responseData at line 106. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHTTPClient.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":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHTTPClient.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"349c035060ec4d62b2ea75006ce181b3ecdc3bcedd092784e60a469a0c9cfb5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift: Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in LocalProxyOAuthAuthorizer.accountName at line 233. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f624bc948dcf60b267f2cf79ea2d03a3c5a0b1009319ea1a71f8e5b3a3f4796d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeAgentConfigurationAdapter.swift: Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeAgentConfigurationAdapter.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in OpenCodeAgentConfigurationAdapter.configurationResult at line 145. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeAgentConfigurationAdapter.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/OpenCodeAgentConfigurationAdapter.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a9ee491d28b115e0cf9bb491bb9763f02845d03f963c3ea5a45df63b247985"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/devices.rs: apps/cli/src/devices.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in quotio::devices::run at line 64. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/devices.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":"apps/cli/src/devices.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d48a4c141a4e669603edb5e2130c48f3e77a2fcbb6dd8edb1cbcf91103a15c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioApplication/Accounts/ProviderSettingsState.swift: Packages/QuotioCore/Sources/QuotioApplication/Accounts/ProviderSettingsState.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ProviderSettingsState.init at line 22. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioApplication/Accounts/ProviderSettingsState.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":"Packages/QuotioCore/Sources/QuotioApplication/Accounts/ProviderSettingsState.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"00efa154e5b920cbfbf0580dc12e97599826b9cffef5ec2c1478060ea50ea698"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioPresentation/App/PresentationValues.swift: Packages/QuotioCore/Sources/QuotioPresentation/App/PresentationValues.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in NavigationPage.icon at line 30. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioPresentation/App/PresentationValues.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":"Packages/QuotioCore/Sources/QuotioPresentation/App/PresentationValues.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f811474b1d03a783655b8b7699c4e266c1e9ab89e93995629e7bf50fe38f88e2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: apps/cli/src/accounts/authorization.rs: apps/cli/src/accounts/authorization.rs changed 6 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is quotio::accounts::authorization::target at line 7), 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(factory): resolve omitted selectors before native authorization\u201D; \u201Cfix(factory): freeze exact native Keychain account selectors\u201D; \u201Cfix(copilot): bind Keychain authorization and reads to the selected account\u201D; \u201Cfix(copilot): prefer file logins and require scoped Keychain access\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/authorization.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":"apps/cli/src/accounts/authorization.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee12d6ff444cdae072ac6c49dbbe697554edb0c0bfc09d06de7bca8aa2d16ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: apps/cli/src/providers/antigravity_auth.rs: apps/cli/src/providers/antigravity_auth.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is quotio::providers::antigravity_auth::visit_fields at line 396), 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(antigravity): read unified oauth state and report expired logins\u201D; \u201Cfix(cli): stabilize helper signing and suppress background keychain prompts\u201D; \u201Cfix(antigravity): validate native protobuf credential structure\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/providers/antigravity_auth.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":"apps/cli/src/providers/antigravity_auth.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"74566e6de289ba7b706e6bd6b49a273623e6afbbc12512f12b8887400057fd8d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: apps/cli/src/providers/catalog/devin_desktop.rs: apps/cli/src/providers/catalog/devin_desktop.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is quotio::providers::catalog::devin_desktop::parse_usage at line 179), 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(devin): expose percent consumption for progress metrics\u201D; \u201Cfix(devin): merge native sessions by user and show account email\u201D; \u201Cfix(auth): reject unsafe Devin native credential destinations\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 23:26:29 \u002B07:00\u0027 --until=\u00272026-09-30 23:26:29 \u002B07:00\u0027 --full-history --no-merges -- apps/cli/src/providers/catalog/devin_desktop.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":"apps/cli/src/providers/catalog/devin_desktop.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"57db2cd578ed4ae3b5335556446083f633a3070c705a4d62a3edf04904529d59"}},{"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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent naming for synchronous vs asynchronous state retrieval. While the plural/singular distinction is a common pattern, it creates a slight asymmetry compared to other controllers in the API (e.g., \u0060TunnelLifecycleController\u0060 uses \u0060states()\u0060 for the stream and has no direct \u0060state()\u0060 method, relying on the stream or a separate snapshot property). More critically, \u0060ProxyLifecycleController\u0060 exposes both a property \u0060snapshot\u0060 (inherited from its controller role or implied context) and a method \u0060snapshot()\u0060. If \u0060snapshot\u0060 is a property, \u0060snapshot()\u0060 is redundant. If \u0060snapshot\u0060 is not a property, the method name is slightly ambiguous compared to \u0060states()\u0060.: Ensure consistent naming across all LifecycleControllers. If \u0060ProxyLifecycleController\u0060 has a \u0060snapshot\u0060 property, remove the \u0060snapshot()\u0060 method. If it does not, rename \u0060snapshot()\u0060 to \u0060currentSnapshot()\u0060 to distinguish it from the stream \u0060snapshots()\u0060, or align with \u0060TunnelLifecycleController\u0060 by exposing a \u0060snapshot\u0060 property and removing the method. (signatures: ProxyLifecycleController.snapshot(): Packages~QuotioCore~ProxySnapshot | ProxyLifecycleController.snapshots(): AsyncStream\u003CProxySnapshot\u003E)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b6d849d81fa8f1992f073c7da9bfe63117544ed82f77701dd7c3b810c554b367"}},{"ruleId":"D26","level":"note","message":{"text":"Split Packages/QuotioCore: A generic catch-all name that is huge (35k LoC) and sprawls across 57 namespaces with no coherent theme. Suggested: "},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"138cebdcdfccb358933e02bef34f0872d38f336e2032de78013e65da93153323"}},{"ruleId":"D27","level":"note","message":{"text":"High interface indirection: 41 % of calls go through an interface \u2014 tracing a call means resolving the implementation each hop. Prefer concrete types where there\u0027s a single implementation."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cdce37f9abf7531f8d28e92afaa9d119cadea0ab8dd2d3958949c20b31f486ec"}},{"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":"d746ec7cf4fae7076e8b54cf37c9fb7397e022244aea1eb37cd002783531ae55"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"2e86379b401a617c1d0c42f969c9807771a845859536edb0bd4a09cc6601ba84"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"e5793d835a729e204d665b823f5f722cedf6ab475dbaaa7a1bbc13d4c6d198dc"},"properties":{"dependency":{"package":"rustls-pemfile","version":"2.2.0","advisory":"RUSTSEC-2025-0134","reachability":{"kind":"unknown"}}}},{"ruleId":"D32","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":"60829566ab47d68e7629321b5fddd304b17a5eb5c4581b207615c33be123eb1a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 261 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 261 of the 365 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: Packages/QuotioCore/Sources/QuotioPresentation/Components/WarpConnectionSheet.swift. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: RootNavigationView.swift \u2194 CompositionRoot.swift: \u0060Packages/QuotioCore/Sources/QuotioPresentation/App/RootNavigationView.swift\u0060 (context QuotioCore) and \u0060apps/macos/Quotio/App/CompositionRoot.swift\u0060 (context macos) sit in DIFFERENT parts of the tree yet change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00602bd21cce\u0060 fix(macos): restore cliproxyapi management and lifecycle; \u00608e434313\u0060 refactor(macos): remove retired services from the production graph; \u0060fa16a824\u0060 refactor(macos): render account and quota state from host snapshots \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/App/RootNavigationView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9855d3b44fa735feabfddd0a62595ead4b9e323e775b2d5942ce8a8c6dedfc70"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: DashboardScreen.swift \u2194 QuotioApp.swift: \u0060Packages/QuotioCore/Sources/QuotioPresentation/Screens/DashboardScreen.swift\u0060 (context QuotioCore) and \u0060apps/macos/Quotio/QuotioApp.swift\u0060 (context macos) sit in DIFFERENT parts of the tree yet change together 53% of the time (10 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060ecf3ea0a\u0060 refactor!: remove remote proxy mode (at that commit the files were still \u0060Quotio/Views/Screens/DashboardScreen.swift\u0060 and \u0060Quotio/QuotioApp.swift\u0060); \u00604b1990d5\u0060 refactor!: remove proxy bridge and request history (at that commit the files were still \u0060Quotio/Views/Screens/DashboardScreen.swift\u0060 and \u0060Quotio/QuotioApp.swift\u0060); \u00607aea9dc7\u0060 fix(proxy): bundle plus binary source (#389) (at that commit the files were still \u0060Quotio/Views/Screens/DashboardScreen.swift\u0060 and \u0060Quotio/QuotioApp.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Screens/DashboardScreen.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b2dab9b1fb6e8ee195b876fdfdfc891c7dcb4f72cc29752bd8e33c9fa17ed5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: StatusBarManager.swift \u2194 QuotioApp.swift: \u0060Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarManager.swift\u0060 (context QuotioCore) and \u0060apps/macos/Quotio/QuotioApp.swift\u0060 (context macos) sit in DIFFERENT parts of the tree yet change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060c65a3478\u0060 fix(menubar): follow explicit app appearance (#515) (at that commit the files were still \u0060Quotio/Services/StatusBarManager.swift\u0060 and \u0060Quotio/QuotioApp.swift\u0060); \u0060dac67f3c\u0060 fix(menubar): render native template image to eliminate glow and unfo\u2026 (at that commit the files were still \u0060Quotio/Services/StatusBarManager.swift\u0060 and \u0060Quotio/QuotioApp.swift\u0060); \u006069987424\u0060 feat(menu-bar): stack paired quota metrics across providers (#494) (at that commit the files were still \u0060Quotio/Services/StatusBarManager.swift\u0060 and \u0060Quotio/QuotioApp.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caec9ffccd11214fdde41ff14b4478cc525c748e18dbbf3fcd261c6f4a7d8ea3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: QuotaCard.swift \u2194 QuotaScreen.swift: \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotaCard.swift\u0060 and \u0060Packages/QuotioCore/Sources/QuotioPresentation/Screens/QuotaScreen.swift\u0060 change together 90% of the time (9 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u006014fb0933\u0060 fix(menubar): render placeholder instead of 101% for no-data quotas (\u2026 (at that commit the files were still \u0060Quotio/Views/Components/QuotaCard.swift\u0060 and \u0060Quotio/Views/Screens/QuotaScreen.swift\u0060); \u0060eebdf03d\u0060 feat: enable remote access when Cloudflare tunnel is active (#296) (at that commit the files were still \u0060Quotio/Views/Components/QuotaCard.swift\u0060 and \u0060Quotio/Views/Screens/QuotaScreen.swift\u0060); \u00601f1aedbf\u0060 feat: Refactor fallback with format conversion and Kiro token managem\u2026 (at that commit the files were still \u0060Quotio/Views/Components/QuotaCard.swift\u0060 and \u0060Quotio/Views/Screens/QuotaScreen.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotaCard.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca02876c007002c5b4a7a5e25873522fad6bd5ed5ab522e718bdbe1de1573124"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: QuotioCLIBackend.swift \u2194 QuotioCLIServerProcess.swift: \u0060Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift\u0060 and \u0060Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.swift\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00603262c1ab\u0060 fix(host): persist disabled borrowed sources across refreshes; \u0060720fcc10\u0060 refactor(api)!: move host control routes to the default v2 contract; \u0060be274714\u0060 refactor(macos): bind monitoring controls to Rust host settings \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebba5bc23388eb1a3b56b5016363f6a5385ddd0555dde36640676388f243c71"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: QuotioCLIBackend.swift \u2194 AccountsScreenModel.swift: \u0060Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift\u0060 and \u0060Packages/QuotioCore/Sources/QuotioPresentation/Accounts/AccountsScreenModel.swift\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060b5c5bb09\u0060 feat(macos): expose logical name and source management actions; \u0060823aaa91\u0060 feat(macos): render credential fields declared by the Rust host; \u006019dffbc4\u0060 feat(host): own native discovery and source registration \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"470a94add3c5d2901b1a4157c311c5e0dffd6fa8f6b95183ba24fc1de1fa233e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: config.rs \u2194 tests.rs: \u0060apps/cli/src/config.rs\u0060 and \u0060apps/cli/src/server/tests.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00603262c1ab\u0060 fix(host): persist disabled borrowed sources across refreshes; \u006065d7ad0d\u0060 feat(host): schedule native discovery using persisted tracking settings; \u006027d44130\u0060 fix(usage): preserve helper account and refresh semantics \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/cli/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7588c1b841346d87d0f44dd986664f75e88f5625fe2c783f5c6b1431e09856d5"}},{"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"}},{"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"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 3/6 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060apps/cli/distribution/npm\u0060, \u0060apps/ios\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lowercased.contains(\u0022free\u0022) || lowercased.contains(\u0022standard\u0022)\u0060 appears character-identically in 2 files \u2014 Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift, Packages/QuotioCore/Sources/QuotioPresentation/Quota/ProviderQuotaView.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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea21042487c1bf47679cf3020d1e66d5d71a85fff177b6051eafdab58a2b2d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value?.contains(\u0022127.0.0.1\u0022) == true || value?.contains(\u0022localhost\u0022) == true\u0060 appears character-identically in 3 files \u2014 Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/AmpAgentConfigurationAdapter.swift, Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/ClaudeCodeAgentConfigurationAdapter.swift, Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/FactoryDroidAgentConfigurationAdapter.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Agents/AmpAgentConfigurationAdapter.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c0c09b699572844f78e2d843567983cf597e8c84aa04bb19824999cec42389"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.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":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":7,"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."]}]}