{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"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":"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"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":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"WidgetDataStore.refresh (cyclomatic 27): WidgetDataStore.refresh has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Stores/WidgetDataStore.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6692d61f80f7d46f6b34b3a90b9b9d7b998d853a4dac9cb994c269ef2e923706"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorUsageMapper.mapUsage (cyclomatic 27): CursorUsageMapper.mapUsage has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Cursor/CursorUsageMapper.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bf8988806740c4ba199c9461a81b059a8151afbe43cba3b48c8ff0c7e77a63"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardView.body (cyclomatic 26): DashboardView.body has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/DashboardView.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41d6c99373f67d9fa1bb34dcd4e0c3dee26bafd6e84c393a58d929e916b5fdf"}},{"ruleId":"D1","level":"warning","message":{"text":"OllamaHistorySource.days (cyclomatic 22): OllamaHistorySource.days has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Ollama/OllamaHistorySource.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ea8ed81b607748a0cb46489b1e5e3b840704704cd9192269c6c94c36193e3b"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountProviderRuntime.claimClaudeResetGrant (cyclomatic 21): AccountProviderRuntime.claimClaudeResetGrant has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeResets.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b79132ece61442b39a0847c5888027d2b8b589d833c16f42593b6f8f61bf9a4"}},{"ruleId":"D1","level":"warning","message":{"text":"AmpUsageMapper.map (cyclomatic 21): AmpUsageMapper.map 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":"Sources/OpenUsage/Providers/Amp/AmpUsageMapper.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a56125a229699e5433f910662f7011d1e8f2cc241db96f1b172c7018a7623eb"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorUsageEvents.parsePage (cyclomatic 21): CursorUsageEvents.parsePage has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Cursor/CursorUsageEvents.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6060f7c851312bbd1f5f8c32844ab4d7ba201129a9be6c100bf1b548877e8a59"}},{"ruleId":"D1","level":"warning","message":{"text":"DemoFactory.line (cyclomatic 20): DemoFactory.line 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":"Sources/OpenUsage/Development/DemoFactory.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61645adc0803b563a89aa53c330854c3cbee72fb576172ee5b5893816851dda"}},{"ruleId":"D1","level":"warning","message":{"text":"PriorityBoard.make (cyclomatic 16): PriorityBoard.make 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":"Sources/OpenUsage/Models/PriorityBoard.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da19c14c76dcb5d5de2531b19c062984d52140b17d5a2f117397e2797426b74"}},{"ruleId":"D1","level":"warning","message":{"text":"PaceNotificationLogic.transitions (cyclomatic 16): PaceNotificationLogic.transitions has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Support/PaceNotificationLogic.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e712e92f1d8bbf3883f93c9f97a852443bad6bc7afddad3b4d656332b660224b"}},{"ruleId":"D1","level":"warning","message":{"text":"GrokCreditsConfigDecoder.decode (cyclomatic 16): GrokCreditsConfigDecoder.decode 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":"Sources/OpenUsage/Providers/Grok/GrokCreditsConfigDecoder.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddbea2f4a8be0dfbaa594e81c38b7380ac083bf037480883e164a6403772638"}},{"ruleId":"D1","level":"warning","message":{"text":"ZAIUsageMapper.mapQuota (cyclomatic 16): ZAIUsageMapper.mapQuota has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/ZAI/ZAIUsageMapper.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"845352564538710307c279afd640aed13ecdaf4cc2849f1633b5e788810e68f3"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorUsageMapper.mapUsage (cognitive 36): CursorUsageMapper.mapUsage has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 9, ternaries 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Cursor/CursorUsageMapper.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6810ccfccbe4f64c1cef1b685e73c3be5eded3595a9f3215eb936efe7b280573"}},{"ruleId":"D2","level":"warning","message":{"text":"WidgetDataStore.refresh (cognitive 32): WidgetDataStore.refresh has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 7, loops 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Stores/WidgetDataStore.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13c6cf4685f8888b365ef03bec9ac8920597496b3930fc5598e69b9140a5e06"}},{"ruleId":"D2","level":"warning","message":{"text":"OllamaHistorySource.days (cognitive 32): OllamaHistorySource.days has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 13, if/else 5 (12 pts), loops 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Ollama/OllamaHistorySource.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a498d8aded22e59ddc4b0c8066010ec4970544509ae8b471aba2ec3fd326b247"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorUsageEvents.parsePage (cognitive 31): CursorUsageEvents.parsePage has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 10, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Cursor/CursorUsageEvents.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5493c15cfec4b7e3664c6904066d8f16e3b01297062abfb7a69d4831d6017534"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaNotificationEvaluator.evaluate (cognitive 29): QuotaNotificationEvaluator.evaluate has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Stores/QuotaNotificationEvaluator.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87e2b8ab058d137cfb602b3fb60320ecb9ec61769938e92203064162d8623b9"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardView.body (cognitive 27): DashboardView.body has cognitive complexity 27 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 1, match/switch 1, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/DashboardView.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0eb7ebf93b54599d0c5b2ea7d31353526032c3e32c3768f5fc7d08dc2b9aad"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountProviderRuntime.claimClaudeResetGrant (cognitive 23): AccountProviderRuntime.claimClaudeResetGrant has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, error handling 3, ternaries 3, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeResets.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27785c61eacffcc5701d0831adedb5cbf6a7b9893a14c47c685ed7aa16ada45"}},{"ruleId":"D2","level":"warning","message":{"text":"APIKeyV1Files.importOnce (cognitive 23): APIKeyV1Files.importOnce has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (14 pts), error handling 2 (6 pts), boolean chains 2, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Stores/APIKeyV1Files.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d748146f7c31f917ae5579886f6a70c0dbe548303fb3b6ccbf1bd0d3c18e21"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountDetailView.body (cognitive 22): AccountDetailView.body has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/AccountDetailView.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"99537675434f2e0615fdd02730f8501cceda580e3ef6fc64108c35b1b6fa1332"}},{"ruleId":"D2","level":"warning","message":{"text":"AmpUsageMapper.map (cognitive 21): AmpUsageMapper.map has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (9 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Amp/AmpUsageMapper.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"017bb26864a5a4cc2d3d1728800440285665e5b2dd548350f90baf8b0a20737c"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorHistorySource.readDay (cognitive 21): CursorHistorySource.readDay has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Cursor/CursorHistorySource.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa7edd2554f4b028feddf067ec6727d0010f01a1086d6f929bb202ffb617a96"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountStore.checkForDuplicate (cognitive 20): AccountStore.checkForDuplicate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 1 (3 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Stores/AccountStore.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4accda0f4462c9c58976b7ffffde7b30f6d8f9ca755c7f2ad924f7c59ad56b"}},{"ruleId":"D2","level":"warning","message":{"text":"GrokCreditsConfigDecoder.decode (cognitive 20): GrokCreditsConfigDecoder.decode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 9 (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":"Sources/OpenUsage/Providers/Grok/GrokCreditsConfigDecoder.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b821c7c2d22f02d1395250084ce8d8d1bcabd1fee12513c5bcd0d73419110841"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarStripRenderer.visibleBounds (cognitive 19): MenuBarStripRenderer.visibleBounds has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Support/MenuBarStripRenderer.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae85bb69432102267a36f3e16d1eecdb85680f65b497d8510e71daa973b30b1"}},{"ruleId":"D2","level":"warning","message":{"text":"ZAIResetsMapper.resets (cognitive 19): ZAIResetsMapper.resets has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/ZAI/ZAIResets.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab795457a363a8b8bba87d738eeb2028a1977c0d2af3bfee13579df75ecc2fa"}},{"ruleId":"D2","level":"warning","message":{"text":"PaceNotificationLogic.transitions (cognitive 18): PaceNotificationLogic.transitions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"Sources/OpenUsage/Support/PaceNotificationLogic.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa7863de29527eb952860c157489815612ba6eb90425ab33ea98c790c0d0045"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityUsageClient.quotaSummary (cognitive 18): AntigravityUsageClient.quotaSummary has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Antigravity/AntigravityUsageClient.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"34757348fcc90412f687453101db470fbb58e50524d2c07c0c76382346c0c86c"}},{"ruleId":"D2","level":"warning","message":{"text":"ZAIUsageMapper.mapQuota (cognitive 18): ZAIUsageMapper.mapQuota has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/ZAI/ZAIUsageMapper.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e72f0f408f8730df8a5ef3bbdf968e82bff1edde4817c0c61b5dbb4edd4fcf3"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountProviderRuntime.cursorUsage (cognitive 17): AccountProviderRuntime.cursorUsage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Cursor/AccountProviderRuntime\u002BCursorUsage.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"86747acf979aa9f4d7ef6070870ec0cc6be043604288a6b5cc17135d8e3a9019"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountStore.mirror (cognitive 17): AccountStore.mirror has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 3 (6 pts), loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Stores/AccountStore.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bbf4d8740f7ac07204a806e289ec2fdb1f2b66148761701b75ef9b9935fbba"}},{"ruleId":"D2","level":"warning","message":{"text":"HubDetailView.body (cognitive 17): HubDetailView.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/HubDetailView.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c11a66582552f8607c32904633c0f1d4ed57ff324183a9bc75060e0d27c8a6"}},{"ruleId":"D2","level":"warning","message":{"text":"DemoFactory.snapshots (cognitive 16): DemoFactory.snapshots has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (4 pts), boolean chains 3, 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":"Sources/OpenUsage/Development/DemoFactory.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2f3de0f2e4be80e49e20cbbb9813e581619aa569e6271566ae9821b6d41b52"}},{"ruleId":"D2","level":"warning","message":{"text":"HubReconciliation.init (cognitive 16): HubReconciliation.init has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (7 pts), loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Models/CLIProxyHub.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16376c239a53f9b32e16b1345c6262c62f25aad902d285511c8ac5468f4a393"}},{"ruleId":"D2","level":"warning","message":{"text":"OAuthLoginSupport.swift.authorizationCode (cognitive 16): OAuthLoginSupport.swift.authorizationCode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, ternaries 1 (3 pts), match/switch 1 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Services/OAuthLoginSupport.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb285355ad8e9e52b74198db8313fea6bd6db17e9190dc45a977cbc10585c57"}},{"ruleId":"D2","level":"warning","message":{"text":"ReorderGeometry.swift.reorderTarget (cognitive 16): ReorderGeometry.swift.reorderTarget has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/ReorderGeometry.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4c5bd6ff9178ebe4e260d24b2529b4f386cc1f9cfc2ee160f4c1cd8de3af63"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AccountProviderRuntime: TooManyMethods \u2014 57 methods, declared across 10 files: Providers/AccountProviderRuntime.swift (33), Claude/AccountProviderRuntime\u002BClaudeUsage.swift (7), Claude/AccountProviderRuntime\u002BClaudeResets.swift (4), ZAI/AccountProviderRuntime\u002BZAIResets.swift (3), \u002B6 more file(s). The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/AccountProviderRuntime.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a341bd709fa99b9cc6d985e3dd444396cad3a48d1f25ad7c0ce615537c3a41"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AccountProviderRuntime.widgetDescriptors: MethodTooLong \u2014 widgetDescriptors runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/AccountProviderRuntime\u002BDescriptors.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"586b18c8645725be14e4714d2cf72130b4dd3525028533949e10eaa4bc8ed774"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/OpenUsage/Services/DeviceProviderLogins.swift:67-80 | Sources/OpenUsage/Services/DeviceProviderLogins.swift:90-106 | Sources/OpenUsage/Services/DeviceProviderLogins.swift:117-138 | Sources/OpenUsage/Services/DeviceProviderLogins.swift:151-170 \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":"Sources/OpenUsage/Services/DeviceProviderLogins.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c28f78ec36116d0d8b53f19b258c62cc9198ffe29512e586fd08bc7d2d4857c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/OpenUsage/Providers/Ollama/OllamaHistorySource.swift:18-39 | Sources/OpenUsage/Providers/OpenRouter/OpenRouterActivitySource.swift:14-34 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Ollama/OllamaHistorySource.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12f2c02fdb91c39f79618ecbb1beffd481359d85b9995cda92a00d86a6d011d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/OpenUsage/Views/PriorityDashboardView.swift:102-126 | Sources/OpenUsage/Views/PriorityDashboardView.swift:255-282 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/PriorityDashboardView.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf95379100182f03e65550782d140e512bfc70f7a9c244c9745e3ed438db590"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/OpenUsage/Views/AccountDetailView.swift:152-173 | Sources/OpenUsage/Views/HubDetailView.swift:56-77 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/AccountDetailView.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b8f7d2c2fba640ca9d6db5cf1d6aaddc6d31084798ce6182fa4691e8d4de8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/OpenUsage/Providers/AccountProviderRuntime.swift:340-351 | Sources/OpenUsage/Providers/AccountProviderRuntime.swift:387-400 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/AccountProviderRuntime.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab027ea0c5d6e23f18cba945fe203cac8c49f466adf989e85988194c12c56a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/OpenUsage/Providers/Antigravity/AntigravityUsageClient.swift:4-20 | Sources/OpenUsage/Providers/Codex/CodexUsageClient.swift:4-23 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Antigravity/AntigravityUsageClient.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"51918dca895b714c08e5011253beeef4ab9217561d4474a7fa1372f6abe49b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/OpenUsage/Views/AccountDetailView.swift:85-110 | Sources/OpenUsage/Views/AccountListView.swift:55-73 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/AccountDetailView.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b118dd5620507dc927c5b319c03972d407e8e543c08fb1db45b6b5127c650698"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Sources/OpenUsage/Providers/OpenRouter/OpenRouterUsageMapper.swift:102-107 | Sources/OpenUsage/Providers/OpenRouter/OpenRouterUsageMapper.swift:110-116 | Sources/OpenUsage/Providers/OpenRouter/OpenRouterUsageMapper.swift:119-125 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/OpenRouter/OpenRouterUsageMapper.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa4603d932b5adf422f535d7a8d94dfa6669fc1b23cbf8f7c2a3690df29eba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Sources/OpenUsage/Views/PriorityDashboardView.swift:128-138 | Sources/OpenUsage/Views/PriorityDashboardView.swift:140-151 | Sources/OpenUsage/Views/PriorityDashboardView.swift:166-176 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/PriorityDashboardView.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0751f51ad003b9dfdba83d4da06750fde4f36b202450312e303ca86bc12a3214"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/OpenUsage/Views/RateLimitResetsDetail.swift:77-90 | Sources/OpenUsage/Views/RateLimitResetsDetail.swift:92-108 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/RateLimitResetsDetail.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d79b34d1f20068459ec947021770e66f4c97342dbca2d948b64e2db56b691b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/OpenUsage/Stores/LayoutStore.swift:78-87 | Sources/OpenUsage/Stores/LayoutStore.swift:99-107 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Stores/LayoutStore.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b457f707f8be368cec8b3f93f4458b46dd6bb251c7632fe7a517a3a1f16243fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/OpenUsage/Models/WidgetDescriptor\u002BFactories.swift:4-14 | Sources/OpenUsage/Models/WidgetDescriptor\u002BFactories.swift:41-53 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Models/WidgetDescriptor\u002BFactories.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b64c47b40cc07ad6caa2cb696e63b5e8a745f2bf94563b0619697056f17d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/OpenUsage/Providers/Amp/AmpUsageClient.swift:6-17 | Sources/OpenUsage/Providers/OpenCode/OpenCodeUsageClient.swift:4-11 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Amp/AmpUsageClient.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8a3fa808036957703f74264d426f6083651fc38f3d01b829e18a39e9478a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/OpenUsage/Providers/Amp/AmpUsageClient.swift:26-38 | Sources/OpenUsage/Providers/Cursor/CursorUsageClient.swift:105-117 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Amp/AmpUsageClient.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fb025ca0712f54f9b4f41db3679f54be5d7cd1f443509c498cfe308fff87d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/OpenUsage/Views/DashboardMetricRow.swift:90-105 | Sources/OpenUsage/Views/DashboardMetricRow.swift:108-123 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/DashboardMetricRow.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb257b7d4c4a2ef120359ed96928a5e45733192c5190e4e75729ce317c9c098"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/OpenUsage/Views/AccountDetailView.swift:136-150 | Sources/OpenUsage/Views/AccountDetailView.swift:250-262 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/AccountDetailView.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42ecea9c6a3aa990f18b3421ff8bbe5aefaafddf8951dd63f03a7a4509a12d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/OpenUsage/Providers/OpenCode/OpenCodeUsageMapper.swift:40-47 | Sources/OpenUsage/Providers/ZAI/ZAIUsageMapper.swift:55-64 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/OpenCode/OpenCodeUsageMapper.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40f70b00f5553e28469dcd031ec23c7f82aeb2c16c3744519440db30bd1b1c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/OpenUsage/Providers/Copilot/CopilotUsageMapper.swift:72-80 | Sources/OpenUsage/Providers/Copilot/CopilotUsageMapper.swift:82-90 | Sources/OpenUsage/Providers/Ollama/OllamaUsageMapper.swift:78-85 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Copilot/CopilotUsageMapper.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"42843bef6a36f2f28044dea38f2d56ef72b2f50935d62f3f29cecac279445ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/OpenUsage/Models/WidgetDescriptor\u002BFactories.swift:16-26 | Sources/OpenUsage/Models/WidgetDescriptor\u002BFactories.swift:28-39 | Sources/OpenUsage/Models/WidgetDescriptor\u002BFactories.swift:55-63 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Models/WidgetDescriptor\u002BFactories.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2db4127cb7b6d698fcff3b1d3675a9e8bf2829553b3707093febeb0d1b4417"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/OpenUsage/Providers/OpenCode/OpenCodeUsageClient.swift:23-27 | Sources/OpenUsage/Providers/OpenCode/OpenCodeUsageClient.swift:29-33 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/OpenCode/OpenCodeUsageClient.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0712b6a77dc63b3b5eca06088ae5e48c31f255d52f330d6361c3032519844d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/OpenUsage/Providers/Claude/ClaudeUsageClient.swift:100-108 | Sources/OpenUsage/Providers/Grok/GrokUsageClient.swift:47-54 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Claude/ClaudeUsageClient.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3ffb3572a085cb3e88343ff3047bc831713466047d625d92fa09212b36292b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/OpenUsage/Providers/Ollama/OllamaUsageMapper.swift:35-41 | Sources/OpenUsage/Providers/Ollama/OllamaUsageMapper.swift:43-48 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Ollama/OllamaUsageMapper.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c39840120d7708f8ce5661845114cf2691a5637350a15b7c4a238efc196aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/OpenUsage/Models/DashboardRowModel.swift:49-53 | Sources/OpenUsage/Models/DashboardRowModel.swift:55-58 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Models/DashboardRowModel.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3b0989005d66f2b0d683509cf8f88f4020ea43564ec50ec9e4936fb3a800bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/OpenUsage/Providers/Copilot/CopilotUsageMapper.swift:113-119 | Sources/OpenUsage/Providers/Grok/GrokCreditsConfigDecoder.swift:62-67 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Copilot/CopilotUsageMapper.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbc96a4069f9f42bd7fed528ff10fc68440b75de1d12c31fe26a46e71f2e3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/OpenUsage/Services/AccountCredentialVault.swift:42-44 | Sources/OpenUsage/Services/HubKeyVault.swift:42-44 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Services/AccountCredentialVault.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9818f87b2966e8893df0d549a90b4419f5ec3215887609f08c842d4e0aa5456c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/OpenUsage/Views/AccountListRow.swift:22-36 | Sources/OpenUsage/Views/CLIProxyHubRow.swift:26-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/OpenUsage/Views/AccountListRow.swift:22\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/AccountListRow.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb644f71d2d8f3cabe97f2277fae859f2b9624a3aa945121aa3725df7d1bd3ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/OpenUsage/Providers/Codex/CodexUsageClient.swift:4-16 | Sources/OpenUsage/Providers/Grok/GrokUsageClient.swift:4-16 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/OpenUsage/Providers/Codex/CodexUsageClient.swift:4\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Codex/CodexUsageClient.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b2e4bcc9e1d5c86d7a00120787b28a457bc26e7d55073979c2d97eccd6e3ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/OpenUsage/Views/AccountDetailView.swift:153-164 | Sources/OpenUsage/Views/HubDetailView.swift:57-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/OpenUsage/Views/AccountDetailView.swift:153\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/AccountDetailView.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d1e827958db2d1aa8957b96786617ad285a6c4d343e7e4602f98dd426b8f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/OpenUsage/Providers/Codex/AccountProviderRuntime\u002BCodexResets.swift:79-85 | Sources/OpenUsage/Providers/ZAI/AccountProviderRuntime\u002BZAIResets.swift:54-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/OpenUsage/Providers/Codex/AccountProviderRuntime\u002BCodexResets.swift:79\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Codex/AccountProviderRuntime\u002BCodexResets.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2011fd534e0b847ada5b87c22b228a06830feab91b011bda7c8836161358c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/OpenUsage/Views/AddAccountSheet.swift:273-279 | Sources/OpenUsage/Views/AddAccountSheet.swift:348-354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/OpenUsage/Views/AddAccountSheet.swift:273\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/AddAccountSheet.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee061c62f69b42cfea16b31d439916440dc2ed4552d69d9c225c8f71a9279512"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/OpenUsage/Views/PopoverFooter.swift:68-74 | Sources/OpenUsage/Views/PopoverFooter.swift:116-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/OpenUsage/Views/PopoverFooter.swift:68\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/PopoverFooter.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdd3a49adafbc9c631f34734067e9cc0cced9e6c3a1e8423808581ca553738a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/OpenUsage/Views/PriorityDashboardView.swift:145-151 | Sources/OpenUsage/Views/PriorityDashboardView.swift:170-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/OpenUsage/Views/PriorityDashboardView.swift:145\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/PriorityDashboardView.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1965d7733a4301c0acd8ced14dd9f12bc2d2dcfbaaceb5b4f1762bc855e99c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/OpenUsage/Providers/Ollama/OllamaHistorySource.swift:26-31 | Sources/OpenUsage/Providers/OpenRouter/OpenRouterActivitySource.swift:23-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/OpenUsage/Providers/Ollama/OllamaHistorySource.swift:26\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Ollama/OllamaHistorySource.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0476798d78153e645611193503b18374bb7ad8f1c8cecd623c91b229b31d1969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeResets.swift:140-144 | Sources/OpenUsage/Providers/Codex/AccountProviderRuntime\u002BCodexResets.swift:79-83 | Sources/OpenUsage/Providers/ZAI/AccountProviderRuntime\u002BZAIResets.swift:54-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeResets.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"597476d8c635b60b87accf9fecc7ea02eb4134e9bdae2d8b4c39c69e854f9f41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): Sources/OpenUsage/Services/DeviceProviderLogins.swift:68-72 | Sources/OpenUsage/Services/DeviceProviderLogins.swift:90-93 | Sources/OpenUsage/Services/DeviceProviderLogins.swift:117-120 | Sources/OpenUsage/Services/DeviceProviderLogins.swift:152-156 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/OpenUsage/Services/DeviceProviderLogins.swift:68\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/OpenUsage/Services/DeviceProviderLogins.swift:68\u0060 calls \u0060deviceAuthorization\u0060 and \u0060Sources/OpenUsage/Services/DeviceProviderLogins.swift:90\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Services/DeviceProviderLogins.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f95597e2d18a49c8ed4e54edf64389c50f51e94c8b50fe0b52c14e5e8357bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/OpenUsage/Services/DeviceProviderLogins.swift:231-235 | Sources/OpenUsage/Services/DeviceProviderLogins.swift:258-262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/OpenUsage/Services/DeviceProviderLogins.swift:231\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Services/DeviceProviderLogins.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4f8d7a5bed9e520dfbab7b9d0cef882530c0dd7eb6204fbecffbf7cb475961"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OpenUsage: OpenUsage: abstractness 0.02, instability 0.00, distance 0.98 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f4f507515449bbf222be3f410264a2bf61a20bc0016b3910aa5712e51b478708"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UpdaterController (LCOM4 4): UpdaterController\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":"Sources/OpenUsage/App/UpdaterController.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef183b3316326acdeac8e66704c13c53836b5dcd92a6f0c022ce5329a0623ca"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnavailableArgonPreservesSharedQuotas: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/OpenUsageTests/AntigravityArgonQuotaTests.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b75fb1a0d1c69929c89dc8e2556a85ef50d1fcf3401518c6681633e8400d83f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOnlyExplicitArgonWeeklyGroupCanPopulateTheRow: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/OpenUsageTests/AntigravityArgonQuotaTests.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"89061f52fa238d297682ed5bd61254cc7d80c326661d0343a8e1918f561edab5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAmbiguousWeeklyBucketsDoNotChooseOrMergeAQuota: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/OpenUsageTests/AntigravityArgonQuotaTests.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bcc54412e306128d660e5641566195bebd4336be3dffa705565cd1d94e9cf9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReportedStandardSeatUsesStructuredTotalInsteadOfLegacyTwentyDollars: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/OpenUsageTests/CursorTeamPoolTests.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70f059b225ae5c9d41336d8df2330bccbb0f6603e0a7c46eb5ca76b37c36399"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInvalidateDropsQueuedHeight: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/OpenUsageTests/PanelHeightBridgeTests.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8df2085a06d233acb55242e52b543ef5e93fe6196f08bcc5e25a1a0cb10218f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRateLimitWithoutRetryAfterDoublesFromFiveMinutesToAnHour: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/OpenUsageTests/RefreshBackoffTests.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"854dc7fe08881b684b97afe2e0b53ccaa3ee216764eaa7dde93ac814298515be"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNoAnswerRetriesEveryPassWithoutGrowingTheWait: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/OpenUsageTests/RefreshBackoffTests.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"289469bc26965d20ed879a51877e4ae69603770fcf988db6db27018bad246148"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCancelledSignInAgainDoesNotCommitWhileRetiringOldRuntime: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/OpenUsageTests/SignInAgainTests.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a350fd6489b2fab790d08eb5d4c730ee06cce1521fecffd3ccdffa1d9ba8aa4f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFailedReplacementKeepsAlreadyRotatedOriginalCredential: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/OpenUsageTests/SignInAgainTests.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a4dc95ed50d3471d65bf40c1ec5d299953c613a375e84e3279f001b0d961f1"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbfa72f14093d7711a879b6dedb92a1853ca6c9b44fb6c1109ebbb38b6dbeafe"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3604f957cd34d4b36754a8215b365f4debf1e79ffc33862d90f0e239e47485a9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9207367605d6ee021c681b47e3bc74171fb36616ee3c403d9a19ef3cfd6819b4"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/OpenUsage/Stores/WidgetDataStore.swift: Sources/OpenUsage/Stores/WidgetDataStore.swift changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in WidgetDataStore.refresh at line 163. 18 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Stores/WidgetDataStore.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Stores/WidgetDataStore.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"91117b5dcd90e9f699e3df79e65d6a3e1eca3d42130470d859406db4e66126c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/OpenUsage/Views/DashboardView.swift: Sources/OpenUsage/Views/DashboardView.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in DashboardView.body at line 26. 6 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Views/DashboardView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/DashboardView.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e541ca4293c3c29422066583fed6d984ca2db93e61960f00d2faf4326c97e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/OpenUsage/Providers/Cursor/CursorUsageMapper.swift: Sources/OpenUsage/Providers/Cursor/CursorUsageMapper.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in CursorUsageMapper.mapUsage at line 69. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Providers/Cursor/CursorUsageMapper.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Cursor/CursorUsageMapper.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff57c14a31cfc8c36b0b920ffc69b28b057be21d697253785f5852401cbe515"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/OpenUsage/Models/PriorityBoard.swift: Sources/OpenUsage/Models/PriorityBoard.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PriorityBoard.make at line 162. 5 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Models/PriorityBoard.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Models/PriorityBoard.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"de924e556544cf86251a45fdfec950e31b858e08dc14e03bc09533ed59a4c6d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/OpenUsage/Support/PaceNotificationLogic.swift: Sources/OpenUsage/Support/PaceNotificationLogic.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PaceNotificationLogic.transitions at line 70. 3 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Support/PaceNotificationLogic.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Support/PaceNotificationLogic.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8497879497945a9578cae0fc3c64de1882229cbd3c4a812312ddd3c4ce8c52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeResets.swift: Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeResets.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AccountProviderRuntime.claimClaudeResetGrant at line 78. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeResets.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeResets.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b662bfc39468a61608a2048b0ebfeebdd0eebe5b5afe4904fc7890b1c43bb74"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/OpenUsage/Providers/ZAI/ZAIUsageMapper.swift: Sources/OpenUsage/Providers/ZAI/ZAIUsageMapper.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ZAIUsageMapper.mapQuota at line 9. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Providers/ZAI/ZAIUsageMapper.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/ZAI/ZAIUsageMapper.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e7e68f71d12deabd8d6e780d43c7ec16068c1c499b0642f2e78777d9c0739c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/OpenUsage/Providers/Grok/GrokCreditsConfigDecoder.swift: Sources/OpenUsage/Providers/Grok/GrokCreditsConfigDecoder.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in GrokCreditsConfigDecoder.decode at line 18. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Providers/Grok/GrokCreditsConfigDecoder.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Grok/GrokCreditsConfigDecoder.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff94fd58d47d0aec772e0358d1993334e05cf3d98a71198268bc383b5c40ee5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Stores/AccountStore.swift: Sources/OpenUsage/Stores/AccountStore.swift changed 13 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is AccountStore.mirror at line 191), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cliproxyapi): trust a hub listing, retry it, and re-list when a login is gone (#1680)\u201D; \u201Cfix(cliproxyapi): harden hub keys and the login mirror, then turn the hub on (#1545)\u201D; \u201Cfix(openrouter): drop BYOK from saved rows, share one popup empty state, name every account (#1552)\u201D; \u201Cfix: keep card ids unique, undo across a rename, and device sign-in through a network error (#1516)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Stores/AccountStore.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Stores/AccountStore.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80d04a0dd4e61c6fcfed26dba7bbb0ec3d193ba92dcae95f5f70c64471a669f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Providers/Claude/ClaudeUsageMapper.swift: Sources/OpenUsage/Providers/Claude/ClaudeUsageMapper.swift changed 13 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is ClaudeUsageMapper.resetClaimOutcome at line 22), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(claude): title an Enterprise plan\u0027s Extra Usage row Spend (#1592)\u201D; \u201Cfix(claude): show Extra Usage in the account\u0027s billing currency\u201D; \u201Cfix(dashboard): always show balances at $0 and hide disabled Extra Usage (#1557)\u201D; \u201Cfix(claude): show Max and Ultra plan names (#1499)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Providers/Claude/ClaudeUsageMapper.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Claude/ClaudeUsageMapper.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"22283aeedcdde3878e24bd17b9c6dd7b95d264b57468a16e4635e08e177f6c44"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Models/CLIProxyHub.swift: Sources/OpenUsage/Models/CLIProxyHub.swift changed 12 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is HubReconciliation.init at line 116), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cliproxyapi): trust a hub listing, retry it, and re-list when a login is gone (#1680)\u201D; \u201Cfix(cliproxyapi): reread hubs on Refresh and count only real unsupported logins (#1643)\u201D; \u201Cfix(cliproxyapi): allow http to Tailscale hubs and show one message on Connect (#1563)\u201D; \u201Cfix(cliproxyapi): harden hub keys and the login mirror, then turn the hub on (#1545)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Models/CLIProxyHub.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Models/CLIProxyHub.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf54aa41b3af7f371bdb6587a937202b30ea0a5085e6f1c79ae8305e38f853dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Stores/CLIProxyHubSync.swift: Sources/OpenUsage/Stores/CLIProxyHubSync.swift changed 12 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is CLIProxyHubSync.connect at line 32), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cliproxyapi): trust a hub listing, retry it, and re-list when a login is gone (#1680)\u201D; \u201Cfix(refresh): retry a refresh that had no network path instead of flagging it (unproven) (#1670)\u201D; \u201Cfix(cliproxyapi): reread hubs on Refresh and count only real unsupported logins (#1643)\u201D; \u201Cfix(cliproxyapi): allow http to Tailscale hubs and show one message on Connect (#1563)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Stores/CLIProxyHubSync.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Stores/CLIProxyHubSync.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f85bb63dbad6229174f9b8bdb6dc098a09995291eb6acf2414ed9f72e3dbf38"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Services/CLIProxyHubClient.swift: Sources/OpenUsage/Services/CLIProxyHubClient.swift changed 8 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is HubRefusal.init at line 154), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cliproxyapi): trust a hub listing, retry it, and re-list when a login is gone (#1680)\u201D; \u201Cfix(cliproxy): say to allow Local Network when macOS blocks the hub (unproven) (#1672)\u201D; \u201Cfix(refresh): retry a refresh that had no network path instead of flagging it (unproven) (#1670)\u201D; \u201Cfix(cliproxyapi): allow http to Tailscale hubs and show one message on Connect (#1563)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Services/CLIProxyHubClient.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Services/CLIProxyHubClient.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"406339d83836467d411b28100b9419faacf9e13665cbd1dff83f70866ad6df72"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeUsage.swift: Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeUsage.swift changed 8 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is AccountProviderRuntime.refreshClaude at line 18), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(claude): read reset grants with usage and keep their kinds in the cache (unproven) (#1666)\u201D; \u201Cfix(claude): title an Enterprise plan\u0027s Extra Usage row Spend (#1592)\u201D; \u201Cfix(claude): make a new sign-in prove itself with its own request (#1536)\u201D; \u201Cfix(refresh): keep one Keychain read in flight per account and check Claude\u0027s due reads first (#1517)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeUsage.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeUsage.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d76f9c3bb5afbda5994c0a07891f9a01933173bf3b7a3c43138806b6cc6237f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Providers/Antigravity/AntigravityUsageClient.swift: Sources/OpenUsage/Providers/Antigravity/AntigravityUsageClient.swift changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is AntigravityUsageClient.quotaSummary at line 70), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(antigravity): show active Gemini quotas and session resets (#1641)\u201D; \u201Cfix(providers): read 403 rate limits and dual 429s as rate limits (#1529)\u201D; \u201Cfix(antigravity): renew a refused token once and retry a failed project lookup (#1510)\u201D; \u201Cfix(oauth): treat only a refused token renewal as an expired sign-in (#1461)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Providers/Antigravity/AntigravityUsageClient.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Antigravity/AntigravityUsageClient.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee233b78d3b85e69abbeb2fbe4166633d3fafbf1362267e39e54a8343fa4cf7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Models/ProviderSnapshot.swift: Sources/OpenUsage/Models/ProviderSnapshot.swift changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is RefreshFailure.init at line 62), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(refresh): retry a refresh that had no network path instead of flagging it (unproven) (#1670)\u201D; \u201Cfix(claude): read reset grants with usage and keep their kinds in the cache (unproven) (#1666)\u201D; \u201Cfix(cursor): title a team-pool Extra Usage row Team Spend\u201D; \u201Cfix(cli): use the app\u0027s account names and staleness rule (#1466)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Models/ProviderSnapshot.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Models/ProviderSnapshot.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"066d6136585a1816fb11de5adca8d772bf231dd48c4acc5b05513a49534f48d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Providers/ProviderRuntime.swift: Sources/OpenUsage/Providers/ProviderRuntime.swift changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is MetricLine.percent at line 30), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cursor): title a team-pool Extra Usage row Team Spend\u201D; \u201Cfix(providers): restore the Grok team plan and Claude\u0027s \u0022spent\u0022 word (#1463)\u201D; \u201Cfix(keychain): stop repeat Keychain popups and keep Always Allow (#1379)\u201D; \u201Cfix(codex): bring back local spend by counting each folder for the account signed in there (#1349)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Providers/ProviderRuntime.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/ProviderRuntime.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f13de60ab2d4c7141379e1479977de6a9b5463887cc6587003b1e2ce7885a98"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Providers/OpenRouter/OpenRouterUsageMapper.swift: Sources/OpenUsage/Providers/OpenRouter/OpenRouterUsageMapper.swift changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is OpenRouterUsageMapper.activityTotals at line 84), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(openrouter): read activity dates that carry a time of day (#1655)\u201D; \u201Cfix(dashboard): always show time-range rows at 0 and disabled Extra Usage as no data (#1555)\u201D; \u201Cfix(openrouter): show dollars in history rows and tokens and BYOK in a Cursor-style popup (#1550)\u201D; \u201Cfix(openrouter): drop the Credits bar, which has no limit behind it (#1547)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Providers/OpenRouter/OpenRouterUsageMapper.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/OpenRouter/OpenRouterUsageMapper.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1150783f2350860089152964efe3029d2d4c6dba4f332a86b27a7ec91ab86096"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Views/PopoverScrollView.swift: Sources/OpenUsage/Views/PopoverScrollView.swift changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is PanelBars.body at line 39), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(panel): keep the system footer edge on macOS 27 and frost it on 26\u201D; \u201Cfix(panel): frost content under the footer on macOS 26 and later\u201D; \u201Cfix(panel): soft edge under the footer only, clean edge under the headers (#1549)\u201D; \u201Cfix(panel): fade content under the bars instead of the system glass edge (#1548)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Views/PopoverScrollView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Views/PopoverScrollView.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"390925ec35d2ef010ed5fa56be960a045f058a9c6ba6c098460377b442415da8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Providers/Ollama/OllamaUsageMapper.swift: Sources/OpenUsage/Providers/Ollama/OllamaUsageMapper.swift changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is OllamaUsageMapper.balanceLines at line 8), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ollama): accept free-plan accounts with no included allowance (#1689)\u201D; \u201Cfix(ollama): read credits and limits from /api/balance (#1368)\u201D; \u201Cfix(ollama): warn when the plan response can\u0027t be read (#1300)\u201D; \u201Cfix(ollama): display monthly cloud usage limit (#1270)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Providers/Ollama/OllamaUsageMapper.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Ollama/OllamaUsageMapper.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5469048b026076ee1765be3da275a906e01c08049e0b5b5f4cc6c159453d193f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Support/Formatters.swift: Sources/OpenUsage/Support/Formatters.swift changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is Formatters.whenLabel at line 8), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(dashboard): read months as mo, roll into years, and drop zero tails\u201D; \u201Cfix(resets): tighten the unified resets list and drop \u0022Use by\u0022 (#1665)\u201D; \u201Cfix(ui): show minutes in reset times a few days out (#1618)\u201D; \u201Cfix(providers): reject provider numbers too large for an Int (#1518)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Support/Formatters.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Support/Formatters.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ee1793097c8b7713fcecadd94e6dd4c009b390af50d5c893360478965cd4ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Providers/Grok/GrokUsageMapper.swift: Sources/OpenUsage/Providers/Grok/GrokUsageMapper.swift changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is GrokUsageMapper.mapCreditsConfig at line 4), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(grok): show the pay-as-you-go cap in dollars (#1657)\u201D; \u201Cfix(dashboard): always show balances at $0 and hide disabled Extra Usage (#1557)\u201D; \u201Cfix(providers): restore the Grok team plan and Claude\u0027s \u0022spent\u0022 word (#1463)\u201D; \u201Cfix(grok): keep local spend when team billing returns 412 (#1272)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Providers/Grok/GrokUsageMapper.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Grok/GrokUsageMapper.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c71dd0f940aef6c76568e570422e029c2da424c2bd75b219ecc65d17b001d79"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Services/LimitsEnvelope.swift: Sources/OpenUsage/Services/LimitsEnvelope.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is WireResource.init at line 80), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(claude): show Extra Usage in the account\u0027s billing currency\u201D; \u201Cfix(cli): name the account-keyed limits JSON openusage.limits.v2 (#1504)\u201D; \u201Cfix(cli): use the app\u0027s account names and staleness rule (#1466)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Services/LimitsEnvelope.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Services/LimitsEnvelope.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df614bca74bf9bb170d9618cb7317b92a200e2225e8ca0e40850eb0a6a1081d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Services/BrowserProviderLogins.swift: Sources/OpenUsage/Services/BrowserProviderLogins.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is CodexLogin.deviceLogin at line 71), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(claude): ask for user:inference so Use can spend a reset (#1652)\u201D; \u201Cfix(claude): fail a sign-in whose profile read failed instead of adding a duplicate (#1525)\u201D; \u201Cfix(oauth): send a random state, never the PKCE verifier (#1460)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Services/BrowserProviderLogins.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Services/BrowserProviderLogins.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2915d22f3d281f0976c6439ba2a6cccd21dc130b77856b42344790a757b56d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Stores/HideFromScreenShareSetting.swift: Sources/OpenUsage/Stores/HideFromScreenShareSetting.swift changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is HideFromScreenShareSetting.isEnabled at line 13), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(settings): name the setting Privacy Mode\u201D; \u201Cfix(settings): explain Hide From Screenshots and Recordings in an info tooltip\u201D; \u201Cfix(privacy): blur copied cards only with Hide From Screenshots and Recordings on\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Stores/HideFromScreenShareSetting.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Stores/HideFromScreenShareSetting.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eba7e0feabad5c0d434b3bf01524f653ca13f7f02af430576dc1632d2922668"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/OpenUsage/Providers/Cursor/AccountProviderRuntime\u002BCursorAuth.swift: Sources/OpenUsage/Providers/Cursor/AccountProviderRuntime\u002BCursorAuth.swift changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is AccountProviderRuntime.cursorTokens at line 8), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(auth): wait out Retry-After before renewing a sign-in early again (#1526)\u201D; \u201Cfix(auth): keep renewed tokens when the Keychain write fails (#1515)\u201D; \u201Cfix(oauth): treat only a refused token renewal as an expired sign-in (#1461)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:35:41 \u002B04:00\u0027 --until=\u00272026-11-14 14:35:41 \u002B04:00\u0027 --full-history --no-merges -- Sources/OpenUsage/Providers/Cursor/AccountProviderRuntime\u002BCursorAuth.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Cursor/AccountProviderRuntime\u002BCursorAuth.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a44042a0b7982b3fd88bd3fad4d5b3651485523bc30782a761926f2fdaabde"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060Package.swift\u0060 makes this repository a deployable product (line 10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Package.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cb68a1ee6c4cb93e1c9ac7b48b28011c2bc672548de5c6ade44fdf2c34c979"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb3166f362d5b2bba710260eb81cac937ec3d095f07101cc31756e6ef255e76f"},"properties":{"commitSha":"dc2a80dcd4bc22a12d2319d69d4b99e0cf4a2967"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1cf12dbd078164b6515c94a611debcb72af13f1e90b9274e493743ba3ca913b6"},"properties":{"commitSha":"7129ab29aa5ff31bae93f86f13aff497c6bd5e0a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d1b1a69f524b22642c394b0fc221744e47e3162390161ab81756aed3a770471"},"properties":{"commitSha":"d067b1fc633330c1dfbb93b80880b4c95168c577"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0dbb915274563a1a1c7710b67a8c19d2a107f22fcaf0daddfce999f66be50e9d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5f270647e3a5b47fe38a956ce3cfb1062a21192ef81288219897f493a18488a8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"958b02d3591729b101fd90a1d8a339fb44dace2ae07ff27613c5489d7bdfef30"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f078f69c7161556d9aeb73856a476343922867db61291e894707cc6b05ba3a22"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d8137e2843a4d9ace312984d4d1b8b07998cf19f7a31e2c7e904de2ca9c84a6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d2070f338c8186ecd5f3cb981ffa48b8ac45cc1a06e32777fbdad389fb73a31"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b03900d6057ff735d09307b11d6e6e151805ce3ff2bb836098d92c5d7434e348"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"783b36f4d9748c525656ab4cdbe01cbb4e16a8440c83e486d927a78be9aaaade"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60f347aa4c8e832d9c97a23241a938fabae77f815b43ccc5d1da32c5619c1b08"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b4e467d6ffecaec3536cd676fe32aed7ce146a607439dd01ad0769873f7369d"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d390f5eed84f07ce918bdecadb27e67a8ac4fc15dbde853816a64c8a1908dda2"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9b7b5aea7a859b29ce1d9a6e49f1442cf7ce948f3f38efd7812d4f48b024f32"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23b2965b78530cfc8fff0d45a64bcb3b28c39fa3e8130ddc14d93ea27237d8c4"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"289de59c49dbade2773b8487e6686f753ae914e7189cff9063e647eaa3e0afb3"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed3c4ef10e0940c1d862ef27b3d4e7b64d54f5fcb10a829b7922c52aa9686eb6"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6216938ec6898edd3ff4b7a8ad99172b9f58c1dd0bfa631db85cbf6cca460a5"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b80217db741963bc111847bf4978fe69005a1e6143c8e6e807558538dfb1b687"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad29b8b7cf9f261083da4a99572767db32c21b4643ce352d7648aaf03b1ec91a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc7902e1f56d674c5b3bf262e67d87e7c10b11de4ebb298e4004671bda29b32c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d19b175705306814b5764652d07e9d21e25e69c598f4409ed5c5c02a0f93e216"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6c6caae798cf61efd764303da503f7e9c6f5e88116aa29fa84ae48484161ebe"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"693249723480b7d3690fbc9002e4acaa2fd5c4f5277d52948268b51530c89d1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5bef425293a36bbe7c4edbf952d5ec247c3c4261145151b042987d182b661b3c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b2a4c399da73bdfa798d42810cd6cee348dcd7af36c538c1f08f8171d6b14ab"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63bcd62c263553112735200bc067de7b36e8c1138daadcef0834efa9fc5f6124"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"957b150e90b8de065e3fab913d6db8aa84cc38085b4826b482eaabde0c4cf347"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e475326e9a1f37a9ed45705bfe7c1de83fa9d741a16bb59b9d56ebc4e099d6c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44cc43d7308a41044a085bbc74b8260ce57e93700a02f748fde9451bc9ec5d7c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab8d83539c5ebe567cb6deae98d392d6617f9ea4001a34a9a21fb3f393c0be8f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0082de57840457d8aab66e1e70bb16f003122ef8b2671c05a662ea734f8f88ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3e4b9e3d44a9a3bfdb18a8be44020c4f6cab5fb06efefaee686823735d5c365"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73281edb0cbf488605a4260113fe4c9ac0e5304b69d1e6e73aec6a2ec0429955"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"958b873d714b6f1b4607be7d3dcbca3403f8acffc232a3b5dba7f949cfe0e7b2"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"704fbed9c6e522898ed12b4fcf02c1f6276093587dcf166fbf0b79ab605624a2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f36121c50c77bc51f9d62349e385fa3e2ef35bf1ad2a00ae5ea0871d76dc55f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AccountProviderRuntime.swift \u2194 AddAccountFlow.swift: \u0060Sources/OpenUsage/Providers/AccountProviderRuntime.swift\u0060 and \u0060Sources/OpenUsage/Views/AddAccountFlow.swift\u0060 change together 60% of the time (6 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 6 shared commits counted here, the most recent 3 are \u006061789646\u0060 feat(copilot): sign in on GitHub Enterprise domains on GHE.com (#1607); \u0060461e77c3\u0060 refactor(cliproxyapi): gate only the Add Account choice and drop the \u2026; \u0060d83e0a65\u0060 feat(cliproxyapi): turn the hub off behind CLIProxyHub.isEnabled unti\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/AccountProviderRuntime.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"001758a84cf68d837d1c347064ea61b880f4a7d4251890c751f5c4229121659d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CLIProxyHubSync.swift \u2194 AddAccountFlow.swift: \u0060Sources/OpenUsage/Stores/CLIProxyHubSync.swift\u0060 and \u0060Sources/OpenUsage/Views/AddAccountFlow.swift\u0060 change together 60% of the time (6 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 6 shared commits counted here, the most recent 3 are \u00600c4ef6d2\u0060 fix(cliproxyapi): allow http to Tailscale hubs and show one message o\u2026; \u0060461e77c3\u0060 refactor(cliproxyapi): gate only the Add Account choice and drop the \u2026; \u0060d83e0a65\u0060 feat(cliproxyapi): turn the hub off behind CLIProxyHub.isEnabled unti\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Stores/CLIProxyHubSync.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faefa5482665801064029d4b6e628e757fc35947dc86e61193d4e59845e7e411"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WidgetDataStore.swift \u2194 PaceNotificationLogic.swift: \u0060Sources/OpenUsage/Stores/WidgetDataStore.swift\u0060 and \u0060Sources/OpenUsage/Support/PaceNotificationLogic.swift\u0060 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). 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 7 shared commits counted here, the most recent 3 are \u0060f84068b3\u0060 fix(alerts): start a new alert window only once the old reset has pas\u2026; \u00606ccbd550\u0060 feat(priority): list limits burning fast (#1594); \u0060df0713a7\u0060 feat(settings): add Priority Limits for warning and critical levels (\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Stores/WidgetDataStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b4a890d9ac72a69ee5353ba3c61c976a8cedf49ef84c773d9c46be930a2813"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 8 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060refreshClaude\u0060 is async and calls .wait() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeUsage.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fb1f5693614b1563be83bc1139b85dae8be3bbe3c4a670954131196f474ce7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060refreshHourlyReads\u0060 is async and calls .wait() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Claude/AccountProviderRuntime\u002BClaudeUsage.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d128982f21c90a5a04bc349f05c69f05eccb78aeb40980e7ea67860211e5e916"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OpenUsage/Providers/Antigravity/AntigravityUsageMapper.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc01fa5a38dfd0de888b8ca04b9964b20d9940efc684f7d6ccb312bd08526927"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":47,"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."]}]}