{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"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":"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":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"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":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 135): fetchUsage has cyclomatic complexity 135 (threshold 15). Of this number, 116 points are the body\u0027s own statements and 19 belong to 9 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openrouter.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e4e499b33314e23a0f30e7e8dcb65101c7d7d0392a61f386f85b0e4261684c"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderPluginManifest.init (cyclomatic 86): ProviderPluginManifest.init has cyclomatic complexity 86 (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/CodexBarCore/Plugins/ProviderPluginManifest.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"3544dcf20573927aa9b54589b87f1efaf377e3b02bf70ae48ecf6c55dca5b553"}},{"ruleId":"D1","level":"warning","message":{"text":"TTYCommandRunner.run (cyclomatic 83): TTYCommandRunner.run has cyclomatic complexity 83 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (TTYCommandRunner.run::processNonCodexChunk) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9d31f218194e0be90663df4abdf2e607b5d3d43f701be7b9ff00c9ca77e66b"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 79): fetchUsage has cyclomatic complexity 79 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 27 belong to 9 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sub2api.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"befb4b035efd79c3a79d770883a48b2c5e351f5db98a21a5bbd85fc4fedc5045"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 76): fetchUsage has cyclomatic complexity 76 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 19 belong to 17 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/poe.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d887fbb460a0334ae3813c233fc9a5d99c6a05a8a49348ebe1310c84973b739"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 75): fetchUsage has cyclomatic complexity 75 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"503f9ca6dd2de7afe0e6b0450f156d05b5ce9c3b3134241f8c623b1e0661e484"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.limitResetDetectorTransition (cyclomatic 68): UsageStore.limitResetDetectorTransition has cyclomatic complexity 68 (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/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fc0628db413f52e37ceb885e5764fb4aba0afc88d32d878bc2b6ce674a47a3"}},{"ruleId":"D1","level":"warning","message":{"text":"applyProviderPluginPrelude (cyclomatic 68): applyProviderPluginPrelude has cyclomatic complexity 68 (threshold 15). Most of this is not in the body itself: 1 of the 68 points is its own statement and the rest belongs to 52 function items inside it that branch (formatNumber, postOptions, a function literal at line 105, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/provider-plugin-prelude.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"680330db678906891243a066bf571fc025c096d190e713d8cb31a6482b6179a1"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 67): fetchUsage has cyclomatic complexity 67 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 24 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/neuralwatt.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a810cdf094facee265a25ad8d61179fba48afb9f5193a0e77aa0654483adf7"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 62): fetchUsage has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd8da0a3b5bbfc397e31e650caa930df5470d9a1671781a9d1eac435f2f6e33"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderPluginCookiePolicy.init (cyclomatic 61): ProviderPluginCookiePolicy.init has cyclomatic complexity 61 (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/CodexBarCore/Plugins/ProviderPluginCookiePolicy.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7715eb10900048e32975791180e8eba259f344e761345e8b6537fae0dfc87f"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 60): fetchUsage has cyclomatic complexity 60 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 35 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepgram.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d0be89fc8da50dcc152484ea87e496d08f9e93d2f70cbc288eb848b9b189c8"}},{"ruleId":"D1","level":"warning","message":{"text":"CostUsageFetcher.loadTokenResult (cyclomatic 58): CostUsageFetcher.loadTokenResult has cyclomatic complexity 58 (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/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd99417f6106b933043c02efb5dbb82ecd9279470ab4b4b811c567737bd3c6f6"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityOAuthConfig.binaryClient (cyclomatic 56): AntigravityOAuthConfig.binaryClient has cyclomatic complexity 56 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"020b1bd66d7a4cd8ea1e824642c91d1f12465f0d896c1338c4a2985a60e9de1f"}},{"ruleId":"D1","level":"warning","message":{"text":"Usage.rows (cyclomatic 55): Usage.rows has cyclomatic complexity 55 (threshold 15). Most of this is not in the body itself: 5 of the 55 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 44, 57, 61, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Linux/Shared/Usage.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9028cce864b056abec81972b50e856e6e749a2fc2aa06ca4068afc6cf904045"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 52): fetchUsage has cyclomatic complexity 52 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 11 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/t3chat.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"370cf555c5e92b7a68a4832345e702987667e6e58d77317136b56b10af3e282d"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 50): fetchUsage has cyclomatic complexity 50 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 11 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zed.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8877eb27158af3becb6fdd74e718056f4b7663c380e048a0a7a528bf553bdf0"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuBarLayoutRenderer.renderUncached (cyclomatic 49): MenuBarLayoutRenderer.renderUncached has cyclomatic complexity 49 (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/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"b435678ce680f2fe3ac684f4a1185ef1c476ee0682712312be7c40098997b415"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.menuCardInput (cyclomatic 49): UsageStore.menuCardInput has cyclomatic complexity 49 (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/CodexBar/UsageStore/UsageStore\u002BMenuCardModel.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc29c00b9339182df7b3d810bea7e968da4af01089e88a088752ca4a94f53c6"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.applyIcon (cyclomatic 48): StatusItemController.applyIcon has cyclomatic complexity 48 (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/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"220930f450ac9019b36640605333c7e188a2281b89042c0ac6c8ca4039f13637"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 48): fetchUsage has cyclomatic complexity 48 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/vercel-budget.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"812a5627c4139ce01c4d5f1777e081f51baa7582c8c3eb7cdd96a04c3df29963"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeCLISession.captureExclusive (cyclomatic 47): ClaudeCLISession.captureExclusive has cyclomatic complexity 47 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8f76c1579fd39445cb8100608ec70bb0d51298d6ec290a2457c79c4b88dbc1"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.handleProviderFetchFailure (cyclomatic 46): UsageStore.handleProviderFetchFailure has cyclomatic complexity 46 (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/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"35acccca289f6075856111ef8e09f46d3478ea0d4fdea5754395014cfc5a1c04"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 46): fetchUsage has cyclomatic complexity 46 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 25 belong to 14 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/museai.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc14a5baa466568429f266dafbe95da95c2d89c9f0668f486fb1d143a84a02be"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.populateMenu (cyclomatic 45): StatusItemController.populateMenu has cyclomatic complexity 45 (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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df1a8bad406b19a090b7ee4e5d60d87fa73af7e58abbba06ba3e38aaa447529"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 44): fetchUsage has cyclomatic complexity 44 (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/CodexBarCore/Resources/Plugins/xai.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5b85628e57f51364b8a9c639f47a298ba09ff63482f47adc3d2606c5229442"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 42): fetchUsage has cyclomatic complexity 42 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 12 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clawrouter.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbb2a6b1257b019e348d504fea186ea5c79ca8a1aff0796d66a7f575124b4e5"}},{"ruleId":"D1","level":"warning","message":{"text":"CostUsageFetcher.loadCachedCodexTokenSnapshotResult (cyclomatic 41): CostUsageFetcher.loadCachedCodexTokenSnapshotResult has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"df99082cf81f734812563e5a5f81b96a119ab1e8fe818e43d096cba175ad62b1"}},{"ruleId":"D1","level":"warning","message":{"text":"PiSessionCostScanner.loadDailyReportResultCancellable (cyclomatic 41): PiSessionCostScanner.loadDailyReportResultCancellable has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b1f7efe3e70e08a821fb67633b9d381e555891a9fe9283864f535ab6786be3"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 41): fetchUsage has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/perplexity.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3811f7e173574463eadde3a98a373d9d09e987dd93f79d4dcfd6fc0396014265"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexCLISession.captureStatus (cyclomatic 40): CodexCLISession.captureStatus has cyclomatic complexity 40 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexCLISession.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6565ac2fdd97e420faa0740f53461268b56ad308b6f3cd61607c8c246866acb6"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexRequestLedger.load (cyclomatic 39): CodexRequestLedger.load has cyclomatic complexity 39 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexRequestLedger.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"62efcd217828dedeec703a90eed236fa50deedf2f7a2674d9d8b062cea98d02a"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 39): fetchUsage has cyclomatic complexity 39 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 23 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/opendesign.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"74220fd62ba0b0ccca5d50274d369d14a08468fb6c638eb4bf5dd6b633c8243a"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 38): fetchUsage has cyclomatic complexity 38 (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/CodexBarCore/Resources/Plugins/synthetic.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d1b32772353d7116c786f87176e17d644783c2940f430dee533f671c65464b"}},{"ruleId":"D1","level":"warning","message":{"text":"install.main (cyclomatic 37): install.main has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Linux/install.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3973582a03ed3ac2d3a22646fdf463abcf64988ae1ecad4c1063ceeb690672"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 37): fetchUsage has cyclomatic complexity 37 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 12 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/manus.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"22857932f37f0496093f5f06afde0772e9070fdaed86a608f2decdf8b292c5f6"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuBarLayoutRenderer.renderItem (cyclomatic 36): MenuBarLayoutRenderer.renderItem has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffac4aa28a6047a2f6cf91a12112f52532634354bd89fd4217429463267c7720"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendDashboardModel.modelSummary (cyclomatic 36): SpendDashboardModel.modelSummary has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4277021950d746467995528a4a564da696ecd1b1560ac45fa4be3ae16f0d263e"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexBarCLI.topCostModelLines (cyclomatic 36): CodexBarCLI.topCostModelLines has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICostCommand.swift"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cc997506927f1a9a2ab943effe326c622ee27bc5236fdec52c0ba8d1ec4783"}},{"ruleId":"D1","level":"warning","message":{"text":"AlibabaTokenPlanCLIUsageParser.teamUsage (cyclomatic 36): AlibabaTokenPlanCLIUsageParser.teamUsage has cyclomatic complexity 36 (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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanCLIUsageFetcher.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c17b6c0c02a46c4e0a8005c50665093b743e326569226b884462bbc345fdb4"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 35): fetchUsage has cyclomatic complexity 35 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 4 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/flora.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78e8590a4c0921994792758f2c67931a47f3506e300ff6b3b9386a1915fd0b3"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 35): fetchUsage has cyclomatic complexity 35 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 18 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sakana.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b871491aae196633e29c678f150880eb4a0132c856a0b082695ce39ff6b4b4"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 35): fetchUsage has cyclomatic complexity 35 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 6 belong 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/CodexBarCore/Resources/Plugins/venice.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa71ee5fb8fdac7e1ab33b9dd29be4758344b88c54bcf3023d505747dfb0961e"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIDashboardFetcher.collectPageSnapshot (cyclomatic 34): OpenAIDashboardFetcher.collectPageSnapshot has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher\u002BPageScrape.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b355fce1fc3828c818fcce82d9c542bf98f20619c871211f2ff887a6ec7924"}},{"ruleId":"D1","level":"warning","message":{"text":"AmpUsageParser.parse (cyclomatic 34): AmpUsageParser.parse has cyclomatic complexity 34 (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/CodexBarCore/Providers/Amp/AmpUsageParser.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ccece074ab1944d86cccb7532363077b2af088d18a785b8aaccabeecfe63b5"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 34): fetchUsage has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 14 of the 34 points are its own statements and the rest belongs to 7 function items inside it that branch (get, amount, date, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zenmux.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef175757c6dce2d152a88621397fc59e8366d0fe8a428c2bd1900b7bc1bf41e"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionEquivalentBurnEstimator.estimate (cyclomatic 33): SessionEquivalentBurnEstimator.estimate has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionEquivalentForecast.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c61c50776a906d77e2f0d7bfbc01cd9509f0b7584fd45474a67b682a5ae56c0"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.applyProviderRefreshSuccess (cyclomatic 33): UsageStore.applyProviderRefreshSuccess has cyclomatic complexity 33 (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/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"9919d22315e2b5f336ed831a4a5117702ca529d831b45edb3784d4c5a8362e09"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.extraRateWindowMetrics (cyclomatic 33): Model.extraRateWindowMetrics has cyclomatic complexity 33 (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/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aaa2d932b4f553cbb910f94c902da0dc49b3007acac02821e53f1c2fa3a8633"}},{"ruleId":"D1","level":"warning","message":{"text":"MuseLocalUsageReader.parseLine (cyclomatic 33): MuseLocalUsageReader.parseLine has cyclomatic complexity 33 (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/CodexBarCore/Providers/Muse/MuseLocalUsageReader.swift"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3ebb674df35cb4e97b2687913861b109df0970cfb8e4b500ac611b54cee15c"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 33): fetchUsage has cyclomatic complexity 33 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 14 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/traecn.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a03f1bb011eaff55526a4862a18dc36bffeb20d865ac13fc1563fc099bb461"}},{"ruleId":"D1","level":"warning","message":{"text":"CostHistoryChartMenuView.body (cyclomatic 32): CostHistoryChartMenuView.body has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"50594a72e18dd1573053a3e08a3e1a642785c2e98995f2d646420d2eb3cc19c0"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.reconcileClaudeRefreshAfterFetch (cyclomatic 32): UsageStore.reconcileClaudeRefreshAfterFetch has cyclomatic complexity 32 (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/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a5b03cd68da7a58bcbb903f409dacaaf85c1c1da367d89faf6c5da094d5da6"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexWeeklyResetConfirmation.evaluateDelayedCandidateCreation (cyclomatic 32): CodexWeeklyResetConfirmation.evaluateDelayedCandidateCreation has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff78d727bd1140205e5dde164230d4899754a178894eeb32850d206e6660a3f2"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexWeeklyResetConfirmation.evaluateDelayedCandidate (cyclomatic 32): CodexWeeklyResetConfirmation.evaluateDelayedCandidate has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f8b2523c489cfa6a3ace90b6ea2e0b7d9a3cdc18269dcec9135aebde811d67"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexBarConfigValidator.validateProvider (cyclomatic 32): CodexBarConfigValidator.validateProvider has cyclomatic complexity 32 (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/CodexBarCore/Config/CodexBarConfigValidation.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ebdff26ca02360fe9a20fb6a4ab9743879c048feefd7d0b79167738cd26c17"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendDashboardModel.buildCurrencyGroup (cyclomatic 31): SpendDashboardModel.buildCurrencyGroup has cyclomatic complexity 31 (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/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f518ba499c55ce2f4317cbea41ab2b5ed957028a427d488b1e0be5f55d5eb4"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderSettingsTokenAccountsRowView.body (cyclomatic 30): ProviderSettingsTokenAccountsRowView.body has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProviderSettingsRows.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b4f0c27825d6699a5992c5cf7c4acf0441851359cca2e24fbc6d524a475d01"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.handleSessionQuotaTransition (cyclomatic 30): UsageStore.handleSessionQuotaTransition has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BSessionQuotaTransition.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"22110de1f4ab73b768129e1f0ed98244795df74f23666dfbf6cf6c7e4818b811"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.refreshCodexVisibleAccountsForMenu (cyclomatic 30): UsageStore.refreshCodexVisibleAccountsForMenu has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"836d43edf1a5baff09a02db73842b0392250e4d126d7a543833357f6cf9f9add"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.secondaryMetric (cyclomatic 30): Model.secondaryMetric has cyclomatic complexity 30 (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/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35cd06503d017926f9545d4cb6133cd24fc670efb7ae355eefd9d5d18cc32ed"}},{"ruleId":"D1","level":"warning","message":{"text":"AlibabaCodingPlanUsageFetcher.parseUsageSnapshot (cyclomatic 30): AlibabaCodingPlanUsageFetcher.parseUsageSnapshot has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bb74e652a81234592c19543241b71eaf9e381e1da7b3b6bface570c589ab0c"}},{"ruleId":"D1","level":"warning","message":{"text":"GrokWebBillingFetcher.parseGRPCWebResponse (cyclomatic 30): GrokWebBillingFetcher.parseGRPCWebResponse has cyclomatic complexity 30 (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/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82d43c912cd2e6d263c529d90f93d8c4763ac36e893a18e3ebf28a03aa5caf0"}},{"ruleId":"D1","level":"warning","message":{"text":"IconRenderer.makeIcon (cyclomatic 29): IconRenderer.makeIcon has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (IconRenderer.makeIcon::drawBar) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/IconRenderer.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f1d96d9ef029f3ef80d2f5459bbc83a004cc75e284d9f509f4eb854406fc95"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionQuotaTransitionReducer.evaluate (cyclomatic 29): SessionQuotaTransitionReducer.evaluate has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionQuotaNotifications.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6232f0f6500465b1039abe53ba56893b4da575ba1780150fe3a2d2650201f9"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuBarLayoutPersistence.preferredLibrary (cyclomatic 29): MenuBarLayoutPersistence.preferredLibrary has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayout.swift"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5459925498c15b096d79052c2ce5d7ea5fdd711a94bf221ce19790656acb7b2"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageMenuCardView.body (cyclomatic 29): UsageMenuCardView.body has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f478201d99d755c6bd9b7144f928c50671241fcf5e3b538cd76935d1f6a16c"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuDescriptor.usageSection (cyclomatic 29): MenuDescriptor.usageSection has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuDescriptor.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"25319de7fb27f1599cc8db37fe7e775fc6d0fd592f90983949c542d962bc314a"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuDescriptor.accountEntries (cyclomatic 29): MenuDescriptor.accountEntries has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuDescriptor.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0bc55821e1d07f204b457b2c6e2f5716da9f882f02a583fd58d351d76f5eb5"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.menuBarDisplayText (cyclomatic 29): StatusItemController.menuBarDisplayText has cyclomatic complexity 29 (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/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4085bb9d000ca7298694099058aa5e79c12c0e5837873d939e54d8d397c16b"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.importOpenAIDashboardCookiesIfNeeded (cyclomatic 29): UsageStore.importOpenAIDashboardCookiesIfNeeded has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"937802d9d67d0a69270729ffa3268b209f4590087ba6f777b953c7404a27f9f4"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexWeeklyResetConfirmation.confirmationDecision (cyclomatic 29): CodexWeeklyResetConfirmation.confirmationDecision has cyclomatic complexity 29 (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/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"216583dfdfc88b5be40b072e4efdb63b747ebcfff720145edbc9cd6d1b673f78"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaScriptCoreProviderPluginEngine.makeContext (cyclomatic 29): JavaScriptCoreProviderPluginEngine.makeContext has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28eca9e0a5a8dfa37296e77a7c7b4b4723c46dbb90b12b41e3e240faed37c50"}},{"ruleId":"D1","level":"warning","message":{"text":"QoderCookieRouting.preprocessedCurlShellText (cyclomatic 29): QoderCookieRouting.preprocessedCurlShellText has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Qoder/QoderCookieRouting.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"2debdf06588f7587a509965d73f0df077cdf39a80acd1ed97a4cb7d4b4713fcb"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 29): fetchUsage has cyclomatic complexity 29 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 12 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepinfra.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"20db784ab33b2bbc7763726d52d71b31799f3208a4d797727abf1efb63e96499"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoricalUsageHistoryStore.backfillCodexWeeklyFromUsageBreakdown (cyclomatic 28): HistoricalUsageHistoryStore.backfillCodexWeeklyFromUsageBreakdown has cyclomatic complexity 28 (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/CodexBar/HistoricalUsagePace.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd7866415d185b720772ba4bccad48322561407d598507b8ed2073376e7d42b"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.runCodexCostCatchUp (cyclomatic 28): UsageStore.runCodexCostCatchUp has cyclomatic complexity 28 (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/CodexBar/Providers/Codex/UsageStore\u002BCodexCostCatchUp.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1e2ff4fe4dc1ee049efc94acd05ca6171341682254828ab0889d4048ab9cf4"}},{"ruleId":"D1","level":"warning","message":{"text":"SignatureReader.slice (cyclomatic 28): SignatureReader.slice has cyclomatic complexity 28 (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/CodexBarCore/CodexLaunchPreflight\u002BSignatureIdentity.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"188dca6272b7b94403b0b1131f6a0672217b39f6636bb5fdaf66e2ed9b5c6c50"}},{"ruleId":"D1","level":"warning","message":{"text":"PiFamilySessionScanner.costSessionRoots (cyclomatic 28): PiFamilySessionScanner.costSessionRoots has cyclomatic complexity 28 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce5e16a0f0bccdeecd5fad005090196afb68a419f48cae368e8997c9e20e09c"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.metrics (cyclomatic 28): Model.metrics has cyclomatic complexity 28 (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/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fac21813250abf70e86a976987e8a1a04a86719373f031c23bf8b4856e6e4b"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderPluginCookieBroker.advance (cyclomatic 28): ProviderPluginCookieBroker.advance has cyclomatic complexity 28 (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/CodexBarCore/Plugins/ProviderPluginCookieBroker.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9761880d74442e0935ea522e3cb62d840c777bdde43a596d239e18acd6a7a7"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderPluginHTTPResponse.request (cyclomatic 28): ProviderPluginHTTPResponse.request has cyclomatic complexity 28 (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/CodexBarCore/Plugins/ProviderPluginHTTPResponse.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2fa14a43cc901f3bc296836bb68367a355af843a5451864d71e3c998ca2033"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.number (cyclomatic 28): Lexer.number has cyclomatic complexity 28 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityJSONLObject.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6987aaa265bc20168482413f9047e9528fe913ec35cd542e33544fbc585a9a13"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexRequestLedger.validate (cyclomatic 28): CodexRequestLedger.validate has cyclomatic complexity 28 (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/CodexBarCore/Providers/Codex/CodexRequestLedger.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbf4c38dcf8bbee799822ff1ec8c9cfd488aba539b3bf37ad8b82d28e085c28"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorStatusProbe.resolveSession (cyclomatic 28): CursorStatusProbe.resolveSession has cyclomatic complexity 28 (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/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BSessionResolution.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf32d908ac6cf91f0af0e689d5fc82389084105b43d05909b472d5b6a6712fe"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorStatusProbe.parseUsageSummary (cyclomatic 28): CursorStatusProbe.parseUsageSummary has cyclomatic complexity 28 (threshold 15). Of this number, 27 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/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BUsageSummary.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9992c8bc45cfc97326a57bec74f3f8445c0e48b2e49d64d7fdce7a9bfddce1b4"}},{"ruleId":"D1","level":"warning","message":{"text":"KiroUsageSnapshot.toUsageSnapshot (cyclomatic 28): KiroUsageSnapshot.toUsageSnapshot has cyclomatic complexity 28 (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/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"399016d8f875d805562ca88a07a0a42b710d460550b8cc00c4276799ac636d0c"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage::parseQuota (cyclomatic 28): fetchUsage::parseQuota has cyclomatic complexity 28 (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/CodexBarCore/Resources/Plugins/synthetic.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f7e726debd019c685fcb45791af7cf28e133b0a93afa7b995c6d227b36eca8"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendDashboardController.handleBuiltRequest (cyclomatic 27): SpendDashboardController.handleBuiltRequest 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/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2c134cb71735ac09a2cd05d63c8e0cb832808793a8631d28f5b882467f6f1f"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendDashboardModel.projectRows (cyclomatic 27): SpendDashboardModel.projectRows 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/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b067a92b0329828035c6ba59b979d178e124c0ce36841115f472f1827d1481"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.resolvePlanUtilizationAccountKey (cyclomatic 27): UsageStore.resolvePlanUtilizationAccountKey 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/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1405613efab5c3b40c96a98b51d117e74bed5b146f4cee689d184d4aa9ef6ad"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.refreshTokenUsage (cyclomatic 27): UsageStore.refreshTokenUsage 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/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d47764451c12440c804193bf56ef1061cb7cceeb06807bb198ce38e72a43bd"}},{"ruleId":"D1","level":"warning","message":{"text":"PiSessionCostScanner.parsePiSessionFile (cyclomatic 27): PiSessionCostScanner.parsePiSessionFile has cyclomatic complexity 27 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"8084097587d64dd896c98edf661c27708bca3a0b15caa5f18b2e45898c946c7b"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.costHistoryInlineDashboard (cyclomatic 27): Model.costHistoryInlineDashboard has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/InlineUsageDashboardContent.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0083b0c770a31420ad57720a1fb854e99fd22f4dbe53d9e12e8c36cbe5e3e8"}},{"ruleId":"D1","level":"warning","message":{"text":"KiloUsageFetcher.creditFields (cyclomatic 27): KiloUsageFetcher.creditFields 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/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffa77a4c6f3dd708751b3653091ad46648419c6fc2dd39ea05bf86d58e1b8b5"}},{"ruleId":"D1","level":"warning","message":{"text":"OllamaUsageParser.looksSignedOut (cyclomatic 27): OllamaUsageParser.looksSignedOut has cyclomatic complexity 27 (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/CodexBarCore/Providers/Ollama/OllamaUsageParser.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b28f110f4bdc9dcfebfa130d2d494f96a25863b358823d80f2f2b4ff1faf4d6"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexHistoricalPaceEvaluator.evaluate (cyclomatic 26): CodexHistoricalPaceEvaluator.evaluate 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/CodexBar/HistoricalUsagePace.swift"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b654f14f5eb0b8ded8c51b930596f35b7ba07e3c8a3c13a8afa47576d88274"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendDashboardSource.makeRequest (cyclomatic 26): SpendDashboardSource.makeRequest has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f8606c5142877448e74c619e06be9f8312f83c273b7709bc239a3c987451ad"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.addActionableSections (cyclomatic 26): StatusItemController.addActionableSections has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"67010ddf44058be5cd5ab63b8a9d42a507df11587249b571492a17692833805e"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.shouldExcludeFromHighestUsage (cyclomatic 26): UsageStore.shouldExcludeFromHighestUsage has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BHighestUsage.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57e0b30a7e45e21fe20fb01e0cd9c984c2c4509de243e8c0a16de96cc30e312"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.codexWeeklyResetDecision (cyclomatic 26): UsageStore.codexWeeklyResetDecision has cyclomatic complexity 26 (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/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.swift"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15970d4b1d9c5df298e95c741505fc04c3c69174a050ea5a19958a46e501c6e"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.handleQuotaWarningTransitions (cyclomatic 26): UsageStore.handleQuotaWarningTransitions 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/CodexBar/UsageStore/UsageStore\u002BQuotaWarnings.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac240a59582166190df9d6508ef6be4a2626151d6d6dbbe5e06896d024a175c3"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.makeWidgetEntry (cyclomatic 26): UsageStore.makeWidgetEntry 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/CodexBar/UsageStore/UsageStore\u002BWidgetSnapshot.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b45e17acac47c47302c9c1c3bbdbef8e4e20911adce95e88df49b515ce4fc57"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexBarCLI.runStandardCost (cyclomatic 26): CodexBarCLI.runStandardCost has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICostCommand.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"364b00ce81ab4c5e4eb5773f6abfa40e2990c1f63b12f0247c63c44aafb7bf31"}},{"ruleId":"D1","level":"warning","message":{"text":"SignatureReader.validate (cyclomatic 26): SignatureReader.validate has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLaunchPreflight\u002BSignatureIdentity.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed3034660d209feaa4ad95ba6464ce1a4acf6dac22c4be800d5e75295a52420"}},{"ruleId":"D1","level":"warning","message":{"text":"PiFamilySessionScanner.retainedSettingsRootResolution (cyclomatic 26): PiFamilySessionScanner.retainedSettingsRootResolution has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade077db58d6e952054ac290391793b4639c449288d1b200b90e970521a95c18"}},{"ruleId":"D1","level":"warning","message":{"text":"CopilotBudgetWebFetcher.normalizedBillingIdentifier (cyclomatic 26): CopilotBudgetWebFetcher.normalizedBillingIdentifier has cyclomatic complexity 26 (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/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b361851e672c81ad605a130db337f613bb593421a7908e42dd2aac6d5133d2"}},{"ruleId":"D1","level":"warning","message":{"text":"GrokLocalSessionScanner.summarize (cyclomatic 26): GrokLocalSessionScanner.summarize has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokLocalSessionScanner.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4ab678b71d6542041b2bd1830b5b3d6f2435631a714b670ab72b0601725c18"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeGoLocalUsageFetchStrategy.snapshotWithoutCLILogin (cyclomatic 26): OpenCodeGoLocalUsageFetchStrategy.snapshotWithoutCLILogin has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbd460bc55d5f8a7b863a6e9231fa56c9fe0960785adfd99c7c31affd983568"}},{"ruleId":"D1","level":"warning","message":{"text":"Repository.loadRecord (cyclomatic 26): Repository.loadRecord has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3384f09f7b4551c4ed715428231c6e4678f956d311bd10969a85315612c4c3c3"}},{"ruleId":"D1","level":"warning","message":{"text":"BurnTheme.init (cyclomatic 26): BurnTheme.init has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/BurnDownWidgetViews.swift"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"67127dfa4fafa0ab8cac2433a3d945346ea70b3fd879abc1a4b2cdd8cf428296"}},{"ruleId":"D1","level":"warning","message":{"text":"chutes.chutesQuota (cyclomatic 26): chutes.chutesQuota has cyclomatic complexity 26 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ce0bdef621255f4eaa6c0d3ef862782a49787a35a97dae1379d1cd0c7cbba9"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 26): fetchUsage 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/CodexBarCore/Resources/Plugins/fal.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"18276bdca94bdcacec9bff36feeadfedb56d07a255c55f0ed93b0675ca3033a5"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 26): fetchUsage has cyclomatic complexity 26 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 7 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tavily.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"472909c2ce52fd15a8815dcee12889e8f8fa682f7566d2352060abd1e896f63b"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuBarLayoutRenderer.removeDuplicateBalanceResets (cyclomatic 25): MenuBarLayoutRenderer.removeDuplicateBalanceResets has cyclomatic complexity 25 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b150b03ec1cd6452fa4ba46d4911acf6dd523dd677a1f1801c1c7cc3d22449"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.startManualRefresh (cyclomatic 25): StatusItemController.startManualRefresh has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df60805b52068ebb7d3f216c512f09241930badae28beeb738178efa50448fc"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.switcherWeeklyMetricPercent (cyclomatic 25): StatusItemController.switcherWeeklyMetricPercent has cyclomatic complexity 25 (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/CodexBar/StatusItem/StatusItemController\u002BSwitcherMetrics.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d970da49701718a41cffbb4ee933a3f55adfaf41b362fca9138518a1bd92b42c"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.hydrateCachedTokenSnapshots (cyclomatic 25): UsageStore.hydrateCachedTokenSnapshots has cyclomatic complexity 25 (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/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5dbdeb9966cbf886570451b0dc5669ce054625b4e2e2e99ff6e8ebf99535e6"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.debugLog (cyclomatic 25): UsageStore.debugLog has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d96c6c3bfe4e7aed522a3bb292c7b200e99322d737242a9fa1f8fdc38d34cd"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.refreshCreditsIfNeeded (cyclomatic 25): UsageStore.refreshCreditsIfNeeded has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexRefresh.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24eaef9c996ae13ac4967f1647e661b56929b27944dda1375c16dbff95ccb46"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexBarCLI.main (cyclomatic 25): CodexBarCLI.main has cyclomatic complexity 25 (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/CodexBarCLI/CLIEntry.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51a7fb7bdb9e4f4115266d46000392673f06bf5ec2b5b3fe629171f126efdb5"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityLocalReader.readDatabase (cyclomatic 25): AntigravityLocalReader.readDatabase has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ed8adf0f84fc2e8af397f8b526dc310a0ec7cd0ac97f01437b1323df5cde46"}},{"ruleId":"D1","level":"warning","message":{"text":"BurnDownLayout.body (cyclomatic 25): BurnDownLayout.body has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/BurnDownWidgetViews.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa1507875dad18584e77ea6e1e48dc4bb84d7270ddbc1837300394f6d847536"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage::summary (cyclomatic 25): fetchUsage::summary has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/fireworks.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a235e871323de6276a56c1a46b6cb7da52da8525b536fee67b237b64843f4ac6"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuBarLayoutBalanceResolver.balance (cyclomatic 24): MenuBarLayoutBalanceResolver.balance has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayout.swift"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c610447e70f797b206d1712def836927c9d0b0fc40291f18dc9a64b1d64ce5e"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsStore.recoverLegacyCredentials (cyclomatic 24): SettingsStore.recoverLegacyCredentials has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStore\u002BConfig.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a381e6caee938f74d34471483bee08837652807e7a934569c74b3bf222fd7af"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.recordPlanUtilizationHistorySample (cyclomatic 24): UsageStore.recordPlanUtilizationHistorySample has cyclomatic complexity 24 (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/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdae2bb2411ed3c6b66b02d63143bccffa47ef677f19374f8c0ec2b9a7494ca"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.planUtilizationSeriesSamples (cyclomatic 24): UsageStore.planUtilizationSeriesSamples has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, 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/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a0d40643b23e1b5a6be79016f672a98d3af9ba344e8152676569aedd2e4320"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.resolvedClaudeOAuthHistoryOwner (cyclomatic 24): UsageStore.resolvedClaudeOAuthHistoryOwner has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"be24f8f2522221bf3d84249ac29c78017270d85aa35d077f19e944454142aa7a"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.refreshSpendDashboardTokenUsageNow (cyclomatic 24): UsageStore.refreshSpendDashboardTokenUsageNow has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BSpendDashboardTokenCost.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f9a2994bd0494bd30d74572ebd00b9786ab54d512e19894ffdec89ecb64669"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexBarCLI.runCodexIdentifiedUsage (cyclomatic 24): CodexBarCLI.runCodexIdentifiedUsage has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICodexIdentifiedUsage.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"61439934627f337b7f4ccd5800917cccdcfeac8609a5831450f911935f64f9ec"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexThreadMetadataReader.decodeMultilineBasicString (cyclomatic 24): CodexThreadMetadataReader.decodeMultilineBasicString has cyclomatic complexity 24 (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/CodexBarCore/CodexThreadMetadataReader.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"c213fd5faed858ba59e8353394f736719d3b2054a87d6b67992e5cb1f26800ea"}},{"ruleId":"D1","level":"warning","message":{"text":"CostUsageFetcher.loadLocalTokenScanResult (cyclomatic 24): CostUsageFetcher.loadLocalTokenScanResult has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec6ed7b01e12f4da030355c119ccf5d6a7c226e01d6f538fa04b1e930cbe133"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.tokenUsageSection (cyclomatic 24): Model.tokenUsageSection has cyclomatic complexity 24 (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/CodexBar/Menu/MenuCardView\u002BCosts.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d636395db2f5b32caeea80fb77cc86f6049a310c84e294c7f8e58c6faed1383f"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.providerCostSection (cyclomatic 24): Model.providerCostSection has cyclomatic complexity 24 (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/CodexBar/Menu/MenuCardView\u002BCosts.swift"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"546be8541d115d5b4801e79c399190b3b841395a53c0f5dab877adae640b0892"}},{"ruleId":"D1","level":"warning","message":{"text":"QuickJSProviderPluginEngine.handleHostCall (cyclomatic 24): QuickJSProviderPluginEngine.handleHostCall has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0daf6f1b417afef4c8cf2aa2886e3723f236ae725442faed8e51c6bd2b8a1b0"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderDiagnosticFetchAttempt.errorCategoryLabel (cyclomatic 24): ProviderDiagnosticFetchAttempt.errorCategoryLabel has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderDiagnosticExport.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"5723adeb51d25a8c1b34ff7f95b8742dbe1cbfa54d57957cd27833892e7b8c95"}},{"ruleId":"D1","level":"warning","message":{"text":"AmpUsageSnapshot.toUsageSnapshot (cyclomatic 24): AmpUsageSnapshot.toUsageSnapshot has cyclomatic complexity 24 (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/CodexBarCore/Providers/Amp/AmpUsageSnapshot.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b495dc2792575c59b01ed40a374a50d8dc94c86c0bbbc27c22bf97bea5ef93"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityLocalReader.aggregate (cyclomatic 24): AntigravityLocalReader.aggregate has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalReader.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"b486184aa3e67937cc13492ea667ab5e64d42a540aeafb68fea1a100d3dfd2d6"}},{"ruleId":"D1","level":"warning","message":{"text":"ManagedCodexAccountCredentialResolver.resolve (cyclomatic 24): ManagedCodexAccountCredentialResolver.resolve has cyclomatic complexity 24 (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/CodexBarCore/Providers/Codex/ManagedCodexAccountCredentialResolver.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfbf63eff632266e61315d36a30cf4bde5e994c71afe34dbd760d73469fc75a"}},{"ruleId":"D1","level":"warning","message":{"text":"KimiDesktopSessionDiscovery.accessToken (cyclomatic 24): KimiDesktopSessionDiscovery.accessToken has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kimi/KimiDesktopSessionDiscovery.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acd73bb91f09044090548f0e94bcd0a33c4c49b0c6253c666fdb8db7b9c9c7f"}},{"ruleId":"D1","level":"warning","message":{"text":"MiniMaxLocalStorageImporter.readLocalStorage (cyclomatic 24): MiniMaxLocalStorageImporter.readLocalStorage has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"535a120b948d0ff56d04303a8a56aa593f632cec22b9c4de2f884c6ad4f4ff80"}},{"ruleId":"D1","level":"warning","message":{"text":"MistralUsageSnapshot.toCostUsageTokenSnapshot (cyclomatic 24): MistralUsageSnapshot.toCostUsageTokenSnapshot has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Mistral/MistralModels.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"18095cde230549e786147df35faa6a64c3f90ed070f799d68548758b00473f69"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeLocalHistoryAdapter.runPass (cyclomatic 24): OpenCodeLocalHistoryAdapter.runPass has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeLocalHistoryAdapter.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46e2c6569d8a1ee3737e84d6e75e1e7fba1e53521f32dc8597549a292b8d888"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionEquivalentBurnEstimator.normalizedBurn (cyclomatic 23): SessionEquivalentBurnEstimator.normalizedBurn has cyclomatic complexity 23 (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/CodexBar/SessionEquivalentForecast.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc91fea9e454d27693ffcfcd8fbb362ef3bb1cbb8089fa68492cd465da58c29"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.scheduleMenuBarCountdownRefreshIfNeeded (cyclomatic 23): StatusItemController.scheduleMenuBarCountdownRefreshIfNeeded has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BCountdownRefresh.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85321857944572cdba638ae9ece039fadc0fb748b096170778325d0971c9c79"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.runRefresh (cyclomatic 23): UsageStore.runRefresh has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae7a091da18e1c0250e132f021f5878d77840f606f42fd5d9035550a5b9b489"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.refreshProviderPass (cyclomatic 23): UsageStore.refreshProviderPass has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"de876dee6af4f3e2559068223adb0a356a14d0d7743a9682e1da29fd289277a3"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.codexOutcomeAdmittedForPublication (cyclomatic 23): UsageStore.codexOutcomeAdmittedForPublication has cyclomatic complexity 23 (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/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetConfirmation.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46532063a71420a05c25b01c13bfe57957c225dec1a599a59e8c2fb885de4cb"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.runSpendDashboardCodexCostCatchUp (cyclomatic 23): UsageStore.runSpendDashboardCodexCostCatchUp has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BSpendDashboardCodexCostCatchUp.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7a651446c6678a20b081f23de1dffabe85af9d4f5cf38cc45f895c85967227"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexWeeklyResetConfirmation.initialDecision (cyclomatic 23): CodexWeeklyResetConfirmation.initialDecision has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbee47f1046547e3eb84a802ae053373018fed58b5172727174341856e3dfdb"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexBarCLI.fetchUsageOutput (cyclomatic 23): CodexBarCLI.fetchUsageOutput has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIUsageCommand.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"383f453a21cd96aeddaf423df86a7dbf6f5e9599457cc76f5c80df1f853961e4"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotaSnapshots.init (cyclomatic 23): QuotaSnapshots.init has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CopilotUsageModels.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f613a59a01912b8974bb567b0b6ef4a268975f3861cb7b4783db655ca13e0ecc"}},{"ruleId":"D1","level":"warning","message":{"text":"KeychainCacheStore.storeResult (cyclomatic 23): KeychainCacheStore.storeResult has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/KeychainCacheStore.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"394aabe8050288f8e1d5151ef127a3cb00b5323a8fbd468e24dccd520c35fbcd"}},{"ruleId":"D1","level":"warning","message":{"text":"PiSessionCostScanner.appendingPreviousSessionRoots (cyclomatic 23): PiSessionCostScanner.appendingPreviousSessionRoots has cyclomatic complexity 23 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a40846ca0dc4460febd3566585ddc425212bb91b84c0c2318865eb10bba144"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionToolActivityParser.operation (cyclomatic 23): SessionToolActivityParser.operation has cyclomatic complexity 23 (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/CodexBarCore/SessionToolActivityParser.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"90caa0819a4114e9ccfa8c3f199578422120451842a68a8ce6df4052b36bf65b"}},{"ruleId":"D1","level":"warning","message":{"text":"WidgetExtensionRecovery.launch (cyclomatic 23): WidgetExtensionRecovery.launch has cyclomatic complexity 23 (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/CodexBarCore/WidgetExtensionRecovery.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dae0880fba8bfffd8506fc39f35f754d71c096f02811713c14df2b9931d24da"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityLocalReader.readStepTimestamps (cyclomatic 23): AntigravityLocalReader.readStepTimestamps has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb84184ef5a3fd764949aecfa56f05a0fa625d27451343ad6405f20b33635799"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeStatusProbe.exactLocalOccurrences (cyclomatic 23): ClaudeStatusProbe.exactLocalOccurrences has cyclomatic complexity 23 (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/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c79b590c57dd520ae047dffb3f90ab25d158e6c37daeffaa723cd4a211ce3b"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepSeekPlatformTokenImporter.resolve (cyclomatic 23): DeepSeekPlatformTokenImporter.resolve has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekPlatformTokenImporter.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8edf7d51f0825f91e8a727f6078b60ebfdcde72ad49fd499443aa98ff92b458"}},{"ruleId":"D1","level":"warning","message":{"text":"KiroStatusProbe.parse (cyclomatic 23): KiroStatusProbe.parse has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"93947f427fb5fffe25ca2537fbc00b8712aff770a2f1d00ee550e05154dd0437"}},{"ruleId":"D1","level":"warning","message":{"text":"MiniMaxUsageParser.parseCodingPlanRemains (cyclomatic 23): MiniMaxUsageParser.parseCodingPlanRemains has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"364b201e2916c83a5fa7f7529afe71fe0eb6d67de9ff403003c453d6f9b40051"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeOAuthCredentialsStore.loadCodexBarOAuthKeychainCache (cyclomatic 23): ClaudeOAuthCredentialsStore.loadCodexBarOAuthKeychainCache has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"4080769cad760cdd544cda92f668e6f1efbf209754342f113d03aef9abc7cbfb"}},{"ruleId":"D1","level":"warning","message":{"text":"Repository.hasCachedCredentials (cyclomatic 23): Repository.hasCachedCredentials has cyclomatic complexity 23 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"9490bf20a2a890f9ab0eaa64b31910be5b0bab8a7ba6d1a139e0c7dedc37cf38"}},{"ruleId":"D1","level":"warning","message":{"text":"Recovery.syncFromClaudeKeychainWithoutPrompt (cyclomatic 23): Recovery.syncFromClaudeKeychainWithoutPrompt has cyclomatic complexity 23 (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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aff3b297d3d8245870075f858e5b65b99bdca15ac2890a31316130c1a11ffc5"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 23): fetchUsage has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (request, amount, invalid, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xapi.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f7a898fed928de15b564ace3438d2623276800a1d42419d0fcff222d4debef"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotaBurndownModel.init (cyclomatic 22): QuotaBurndownModel.init has cyclomatic complexity 22 (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/CodexBar/QuotaBurndownModel.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"352779075ae9aa5afb59ac56263b88f94903dac37a8fb0241635b9cb9ae25c4b"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendDashboardModel.inputSummary (cyclomatic 22): SpendDashboardModel.inputSummary has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7681d55eaa33c9735d905f318f2d6d2f94a64c5ec1883ec6dac84399ee3705"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.handleQuotaWarningTransition (cyclomatic 22): UsageStore.handleQuotaWarningTransition 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/CodexBar/UsageStore/UsageStore\u002BQuotaWarnings.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a09729423c2f1c8c91cc871d6f578639a501816ff7f8e1bde9c08a5241ac78b"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.applySelectedOutcome (cyclomatic 22): UsageStore.applySelectedOutcome 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/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"23379772eb8da74345767fea30a4ce0323f818c59b4c9b435c3d8c9e30d981d5"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.widgetAccounts (cyclomatic 22): UsageStore.widgetAccounts 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/CodexBar/UsageStore/UsageStore\u002BWidgetAccounts.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"286cbfcde7e271690f9e22691c9665d37bb2429ee0903c2efc4426f535b042d3"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.switchClaudeSwapAccount (cyclomatic 22): UsageStore.switchClaudeSwapAccount 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/CodexBar/Providers/Claude/UsageStore\u002BClaudeSwapRefresh.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d0a478c1b6199276ab13ebd81a29dca6fee97865b095c108ae61f0d780cc9c"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.performOpenAIDashboardRefreshIfNeeded (cyclomatic 22): UsageStore.performOpenAIDashboardRefreshIfNeeded 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/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"780b5ee71b2c5b1013d595024511305e2d9a1a9f44ff0a2d4791feffd7b3b009"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexBarCLI.handleServeRequest (cyclomatic 22): CodexBarCLI.handleServeRequest has cyclomatic complexity 22 (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/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa2476e8ead1bf5672d5e14bc5f45b285865363bfe87b43470383245ba117fb"}},{"ruleId":"D1","level":"warning","message":{"text":"CostUsageTokenSnapshot.quotaHourlyResidualSlices (cyclomatic 22): CostUsageTokenSnapshot.quotaHourlyResidualSlices has cyclomatic complexity 22 (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/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"8822957f08e747054217cd799b1769ba6b1bba818fdd8de09dc758353cea2842"}},{"ruleId":"D1","level":"warning","message":{"text":"PiSessionCostScanner.loadCachedDailyReportResult (cyclomatic 22): PiSessionCostScanner.loadCachedDailyReportResult has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"916c8d53518b1ff2e510c5172cc8829d4fe85c67e41ec20f1aee0e6ea04318b2"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityCLISession.ensureStartedLocked (cyclomatic 22): AntigravityCLISession.ensureStartedLocked 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/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43365a250ceb4ed599f225d092f8592752a65160e12bb51c92886f3db19696e"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorLocalCSVReader.parseFile (cyclomatic 22): CursorLocalCSVReader.parseFile has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorLocalCSVReader.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8350c8369873fb42491d076abfbeb754bc05641dd2a118271ce566fe56422e27"}},{"ruleId":"D1","level":"warning","message":{"text":"KiroStatusProbe.runCommand (cyclomatic 22): KiroStatusProbe.runCommand 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/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce48dfdf253515e545342d11ec986725872c20b36324be460cfee18090e99d5"}},{"ruleId":"D1","level":"warning","message":{"text":"Recovery.syncWithClaudeKeychainIfChanged (cyclomatic 22): Recovery.syncWithClaudeKeychainIfChanged 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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"048bc6606653c34160efec3fa2475315f85c95c0ba3f3d273a7d8c5e6af8cb8b"}},{"ruleId":"D1","level":"warning","message":{"text":"Recovery.repairFromClaudeKeychainWithoutPromptIfAllowed (cyclomatic 22): Recovery.repairFromClaudeKeychainWithoutPromptIfAllowed 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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ec7688dba1bf8ea84c4f92c5f83dc2b10b2257427878ea0862ec9455825506"}},{"ruleId":"D1","level":"warning","message":{"text":"OneConsoleCookieRouting.redirectedRequest (cyclomatic 22): OneConsoleCookieRouting.redirectedRequest has cyclomatic complexity 22 (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/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleCookieRouting.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0fabd72ee8e6bebc824e09c4411c2d47c0c9ef4106fe23a883e9d758139c56"}},{"ruleId":"D1","level":"warning","message":{"text":"CombinedBurnRow.body (cyclomatic 22): CombinedBurnRow.body has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/CombinedBurnDownWidgetViews.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c69b3a32d6fb35a2c5bdf8921ab6f2bda947234e382ac4bf66c242257f5b0c"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage::parse (cyclomatic 22): fetchUsage::parse has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qoder.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe280ccf909fdc758a0769400e82857b861b831f01a27abeef3c73613ad3ae3a"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage::parseLimit (cyclomatic 22): fetchUsage::parseLimit 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/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"933989d7c7e16dd3d363b2933248910bf4483f30b02005fa60cce276c3541630"}},{"ruleId":"D1","level":"warning","message":{"text":"ReplayEngine.runDetailed (cyclomatic 21): ReplayEngine.runDetailed 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/AdaptiveReplayKit/ReplayEngine.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a959312f012a14315942affdd1dfc9f9d1454968090c487ad53bafd54ba3bb"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionEquivalentForecast.make (cyclomatic 21): SessionEquivalentForecast.make 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/CodexBar/SessionEquivalentForecast.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e259ac5c284a8422714266986b9ad2a47972bcd18e710ce53da16f836b8793c3"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendDashboardPublication.coverageSources (cyclomatic 21): SpendDashboardPublication.coverageSources 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/CodexBar/SpendDashboard/SpendDashboardPublication.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa70972f6093b9506e1cca6856ea35a5d4f74c495d33f97c63f7b777ec0a0ced"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.performStoreRefresh (cyclomatic 21): StatusItemController.performStoreRefresh 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/CodexBar/StatusItem/StatusItemController\u002BActions.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2a59df71b4fdd8da6f5e943bd01d9a8439a596400579fafb107c3724aeb5a6"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudSyncEngine.processEvent (cyclomatic 21): CloudSyncEngine.processEvent 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/CodexBar/Sync/CloudSyncEngine.swift"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c4a3a0ae322b1c0ca788ba952f4ef39e869d42dd627710853b7077e077d50b"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexBarCLI.renderCostText (cyclomatic 21): CodexBarCLI.renderCostText 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/CodexBarCLI/CLICostCommand.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b03b107c304bfbe054b468f01f497abe5e8799a9ac744283eca3c9c1ef3978"}},{"ruleId":"D1","level":"warning","message":{"text":"CLIServeOperationCoordinator.sourceProduced (cyclomatic 21): CLIServeOperationCoordinator.sourceProduced 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/CodexBarCLI/CLIServeOperationCoordinator.swift"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e747739c10dbf9968571ea842be5c4df73976398e26aa9f4f6d440f72fb8e1"}},{"ruleId":"D1","level":"warning","message":{"text":"CostUsageFetcher.codexBreakdownsWithMetadata (cyclomatic 21): CostUsageFetcher.codexBreakdownsWithMetadata has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"1971fc9869422b4220b30c9feec3388f117b38ddfaa22569acffcde5b6331dd3"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.hasCompatibleTrackedLayout (cyclomatic 21): Model.hasCompatibleTrackedLayout 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/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b230065ce525049f68b8aeee4008aea12dbca7efd437ffa2372275d2a3056535"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderDiagnosticError.errorCategory (cyclomatic 21): ProviderDiagnosticError.errorCategory has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderDiagnosticExport.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"38426ba48cdb43d375af9fdc84aef516a62e21e040cfad4d976a297670ef79a2"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.object (cyclomatic 21): Lexer.object 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/CodexBarCore/Providers/Antigravity/AntigravityJSONLObject.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"925f4d80877fe64c2200b7d1983bebf620c5dc27cf3967ca3582d6f47d93b95d"}},{"ruleId":"D1","level":"warning","message":{"text":"AuggieCLIProbe.parse (cyclomatic 21): AuggieCLIProbe.parse 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/CodexBarCore/Providers/Augment/AuggieCLIProbe.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf5ae24d4c91014b1723a774b56919bd11ce52e6bb86979bcb06152a41a6ef8"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeCLIScreen.applyCSI (cyclomatic 21): ClaudeCLIScreen.applyCSI 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/CodexBarCore/Providers/Claude/ClaudeCLIScreen.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"16de842e25e1ad53106e3d8a91a47acbe9596841e61af7a2b9b06a763ce82abd"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorStatusSnapshot.toUsageSnapshot (cyclomatic 21): CursorStatusSnapshot.toUsageSnapshot 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/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc7890bd325a4dddacd607c4d25bc54a86cb0e2a46115e8e6c02448f51360b8"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorStatusProbe.fetchWithCookieHeader (cyclomatic 21): CursorStatusProbe.fetchWithCookieHeader has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5154b662566eea5ea9a616fc5b4491b7fa7d602ffe4a0a553f652f6da81333bc"}},{"ruleId":"D1","level":"warning","message":{"text":"DoubaoUsageFetcher.decodeArkcliUsage (cyclomatic 21): DoubaoUsageFetcher.decodeArkcliUsage 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/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c82458333f67c73921a53ee48918f10e4a0c27656cf89dafc95b55fd9f65a92"}},{"ruleId":"D1","level":"warning","message":{"text":"MuseLocalUsageReader.parseSessionLog (cyclomatic 21): MuseLocalUsageReader.parseSessionLog has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Muse/MuseLocalUsageReader.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"0475979c849218cee43e701bc0068d220ffc78ce1a27bfd70a5413baabece902"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeOAuthRefreshFailureGate.reloadPersistedState (cyclomatic 21): ClaudeOAuthRefreshFailureGate.reloadPersistedState 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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthRefreshFailureGate.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"89284f221b9a36d6baa40743c5ba219112f74c31108505df047af446453bf244"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage::accounts (cyclomatic 21): fetchUsage::accounts 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/CodexBarCore/Resources/Plugins/fireworks.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b86cded86d04ab0f86c136f789f249b7cee13574b1f23f27f6bd3c6ac09637"}},{"ruleId":"D1","level":"warning","message":{"text":"IconRenderer.makeIcon::drawBar (cyclomatic 20): IconRenderer.makeIcon::drawBar has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (IconRenderer.makeIcon) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/IconRenderer.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffd1b70ac73e45810e766b0ab482c871aa8de6eb07a7955ffb5fcfcdb14b5e3"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendDashboardController.startLoad (cyclomatic 20): SpendDashboardController.startLoad has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3c8173e6f99c66ae153212028dde5f2d73147c44bcd33e4686410c0127201d"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.hydrateHostedSubviewMenuIfNeeded (cyclomatic 20): StatusItemController.hydrateHostedSubviewMenuIfNeeded has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"07438c4554ee21812a60bb9fe5980c3c38e3c32135f33ec1addf9a6beadb9e37"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.prepareLimitResetNotification (cyclomatic 20): UsageStore.prepareLimitResetNotification has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/LimitResetNotifications.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a737660f3207798d718bcf852a73b456dc5181b14967950d89b81f0e27971055"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.shouldApplyCodexUsageResult (cyclomatic 20): UsageStore.shouldApplyCodexUsageResult has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5f45aa74d1010370b37a6f20b72ad5a7d79cc513409486f58aba99a5cdbdb7"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.applyOpenAIDashboardAuthorityDecision (cyclomatic 20): UsageStore.applyOpenAIDashboardAuthorityDecision has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebd8a00423739161ffd6599bc87b6d82fe30a867ad310b0274851f44d742203"}},{"ruleId":"D1","level":"warning","message":{"text":"CLIClaudeSwapText.sanitize (cyclomatic 20): CLIClaudeSwapText.sanitize has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIClaudeSwapCards.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"304a08c9880097e1d121242cdeea11d39e016fc0a94f81553d8abec40745b22b"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexModelsAnalyticsBuilder.parityMismatches (cyclomatic 20): CodexModelsAnalyticsBuilder.parityMismatches has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexModelsAnalyticsModels.swift"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be4e5dd6fe69ec528262fc8190bb74d483f23665294139aee5af8b418abc2ed"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexThreadMetadataReader.assignedProjectSessionIDs (cyclomatic 20): CodexThreadMetadataReader.assignedProjectSessionIDs has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexThreadMetadataReader\u002BProjects.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afda2d7303a8433f22ac7c8faa666888a804c6408f3474fc27191dbff432945"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexWorkspaceUsageSidecar.loadLatestSnapshot (cyclomatic 20): CodexWorkspaceUsageSidecar.loadLatestSnapshot has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3deeded0d328acdd735bf1cefb5cf9a3f3aff9139ad89fcc2cf2fd055ccc9dec"}},{"ruleId":"D1","level":"warning","message":{"text":"PiSessionCostScanner.buildReport (cyclomatic 20): PiSessionCostScanner.buildReport has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner\u002BAggregation.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cba9269284b7580b2c9d4dd7db27161c9da538dfb0528d82aa9b4242158271"}},{"ruleId":"D1","level":"warning","message":{"text":"TailscaleStatusParser.parseHosts (cyclomatic 20): TailscaleStatusParser.parseHosts has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/RemoteSessionFetcher.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6421c3d230c12630fe86393e815d3522732da7fd4302f45fc6da927405a65230"}},{"ruleId":"D1","level":"warning","message":{"text":"UsagePace.weekly (cyclomatic 20): UsagePace.weekly has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/UsagePace.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7635bc3db5303a00df6d4fe764e4cf31223a13324c9a7ee59a0a442b017d93ba"}},{"ruleId":"D1","level":"warning","message":{"text":"PreferencesDocument.validate (cyclomatic 20): PreferencesDocument.validate has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Config/PreferencesDocument.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f158e3c8569839162dff30064d7c3c2ca5e8ab2888446a820c7bf91438eb12"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIDashboardBrowserCookieImporter.importBestCookies (cyclomatic 20): OpenAIDashboardBrowserCookieImporter.importBestCookies has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"348681ffdc2690c0679b1aa1d3bda8acd59f120297f3cfa61f87c4f98257d4d2"}},{"ruleId":"D1","level":"warning","message":{"text":"TTYCommandRunner.run::processNonCodexChunk (cyclomatic 20): TTYCommandRunner.run::processNonCodexChunk has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (TTYCommandRunner.run) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"963315a78f7cb3e44ba7f6f47131ac7b99224add5dc7db2bb065fa8bd2fb4161"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityRemoteUsageFetcher.fetch (cyclomatic 20): AntigravityRemoteUsageFetcher.fetch has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d8b2fbc47db897009a4b0925f41fc1eaa26b3f1efa28f3bb1bc9e0d3cb0db6"}},{"ruleId":"D1","level":"warning","message":{"text":"FactoryStatusProbe.fetchWithCookies (cyclomatic 20): FactoryStatusProbe.fetchWithCookies has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bdd70c8ef5262ab08786bb67b2bcf717dd66f3600e2746b6d42f8d370925d5"}},{"ruleId":"D1","level":"warning","message":{"text":"MiniMaxLocalStorageImporter.importAccessTokens (cyclomatic 20): MiniMaxLocalStorageImporter.importAccessTokens has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5954079bb7f4c583a500c93438fc6b1dfb53a9841dcf04b2306a6e172c054d96"}},{"ruleId":"D1","level":"warning","message":{"text":"QoderCookieRouting.httpRequestRoute (cyclomatic 20): QoderCookieRouting.httpRequestRoute has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Qoder/QoderCookieRouting.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc6ac765b888f0acef1cfe9f58b7bf26411be2000dc930ad3f11d7d0172959a"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeSubscriptionParser.parseUsageNested (cyclomatic 20): OpenCodeSubscriptionParser.parseUsageNested has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Shared/OpenCodeSubscriptionParser.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a90fa0079ecaa8a38826d212b051267eef1ce510d338981ebe9c43d8ce28e35"}},{"ruleId":"D1","level":"warning","message":{"text":"Repository.loadFromClaudeKeychainWithPromptIfAllowed (cyclomatic 20): Repository.loadFromClaudeKeychainWithPromptIfAllowed has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aee376b4e7fcfd29931704262a97b0d3cce9209658512f53fd4788486186e29"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeSubscriptionMetadataFetcher.fetchVerified (cyclomatic 20): ClaudeSubscriptionMetadataFetcher.fetchVerified has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeSubscriptionMetadata.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbab2ba9c1a462b6e6e3e290bfa30320e3b70718126febe3e9553ce8ea6bfaf"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionUsagePresentation.sessions (cyclomatic 19): SessionUsagePresentation.sessions has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionUsagePresentation.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d581f6f87f166a3613fd89806654ca8ee9533b71188028bb98ab7d55f88c756"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareStatsBuilder.make (cyclomatic 19): ShareStatsBuilder.make has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/ShareStatsPayload.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd55c01a7e6d2c2e3cf694cf4285bafef4b61711136a41cacf14b32ff17e5a3"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendProviderBreakdownRows.providerGroup (cyclomatic 19): SpendProviderBreakdownRows.providerGroup has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardProviderBreakdown.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40be240c8b0fef94aad9fbbb6e13f6d20703033c5d8f30e2fc28bb7afbcb23d"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderSwitcherView.init (cyclomatic 19): ProviderSwitcherView.init has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 belong 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/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"12091e46b6ddf27828372a525145a120d7349777c2e39638aeba2764d8efdf00"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.storedMenuBarLayoutPaceSignature (cyclomatic 19): StatusItemController.storedMenuBarLayoutPaceSignature has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BIconObservation.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f4f101853f1cd634abb9b1a09dbb6fd01b91778fac8df919950a70eb8035ea"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.menuWillOpen (cyclomatic 19): StatusItemController.menuWillOpen has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c2f893eb81fa97de1d6d0c55f21c8b4d7b3ab5d393db786991cd478f7419a2"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.scheduleOpenMenuRefresh (cyclomatic 19): StatusItemController.scheduleOpenMenuRefresh has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df697fd9cc2d24e459e68cc143baff1b18612de5b1adf9849b2c7f8692e6b2b"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.handleCredentialOutcome (cyclomatic 19): UsageStore.handleCredentialOutcome has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BCredentialNotifications.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d608f6bee7c6034a153da5dab5e106ce4c3a06f1d43739fbaa8314d25def0e71"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.scheduleCodexWeeklyResetFollowUp (cyclomatic 19): UsageStore.scheduleCodexWeeklyResetFollowUp has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetCandidatePersistence.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d793f9284d6a941d4c35cf09185eaf171776e839877e9010565d29e308c6d096"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexResetCreditExpiryNotifier.postExpiringCreditsIfNeeded (cyclomatic 19): CodexResetCreditExpiryNotifier.postExpiringCreditsIfNeeded has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexResetCreditExpiryNotifier.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5832197c0cdac5c297a3261391b5b3a8ad8363fc9135026346e61304c94f1369"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexWeeklyResetConfirmation.resetCreditEvidence (cyclomatic 19): CodexWeeklyResetConfirmation.resetCreditEvidence has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"2783295931ff6e05cada05991226eb9df71425a45dfe7e23bd427b359faac07e"}},{"ruleId":"D1","level":"warning","message":{"text":"KiloProviderImplementation.settingsOrganizations (cyclomatic 19): KiloProviderImplementation.settingsOrganizations has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Kilo/KiloProviderImplementation.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca8250d6cdce3e6bae56cc824fc7a2ae4841488f246d3cd40936edc06b2bc49"}},{"ruleId":"D1","level":"warning","message":{"text":"CLICardsRenderer.renderCard (cyclomatic 19): CLICardsRenderer.renderCard has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICardsRenderer.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9e614d20b0e90f0b304c416ed403070096a1423a2e42bce466be401b12805c"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexThreadCatalogReader.loadResult (cyclomatic 19): CodexThreadCatalogReader.loadResult has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexThreadCatalogReader.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79e2625745e91921c66fb501b9b7f523602f09991e8b4e9df1f484ede6925d0"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexThreadMetadataReader.multilineQuote (cyclomatic 19): CodexThreadMetadataReader.multilineQuote has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexThreadMetadataReader.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c8863fedbda4ed387a3abde3ac9dc2777626206d998efcd99c10dd20febd57"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexThreadMetadataReader.tomlString (cyclomatic 19): CodexThreadMetadataReader.tomlString has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexThreadMetadataReader.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8900d2167b7d75fb25e73879afb6b02ff376627cf1897df857a135c7d5549a4e"}},{"ruleId":"D1","level":"warning","message":{"text":"CookieHeaderCache.currentObservationMatch (cyclomatic 19): CookieHeaderCache.currentObservationMatch has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d87e95d11838b276cfc3c5d7612e7f62cf635a4305f3380b9220e1df7bcea0"}},{"ruleId":"D1","level":"warning","message":{"text":"KeychainAccessPreflight.evaluateDecryptACL (cyclomatic 19): KeychainAccessPreflight.evaluateDecryptACL has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/KeychainAccessPreflight.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea5d76963fa7c0ff474836946ebe782036b0c61ac6581edbc8b8d48440d5422"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellCommandLocator.runShellCommand (cyclomatic 19): ShellCommandLocator.runShellCommand has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PathEnvironment.swift"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"040c8df5193db4117bf2a71049261e94fa5a20afdeaa6019d466a9f576d52408"}},{"ruleId":"D1","level":"warning","message":{"text":"PiFamilySessionScanner.ompSessionRootResolution (cyclomatic 19): PiFamilySessionScanner.ompSessionRootResolution has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"90eaf5a6696a472db18a69694a16e2e65c6f71d3ebb525eb1b3999cf59d6d5f7"}},{"ruleId":"D1","level":"warning","message":{"text":"PiFamilySessionScanner.records (cyclomatic 19): PiFamilySessionScanner.records has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"138f8ae9de73520a52aa10421389fc8a0c11d9ad108baf2177058173bf5efef2"}},{"ruleId":"D1","level":"warning","message":{"text":"PiSessionCostScanner.scanPiSessionFile (cyclomatic 19): PiSessionCostScanner.scanPiSessionFile has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe2279d1864364217497769dced6b10c2d18e8886534ac536db444a9cd797e4"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIDashboardParser.parseSignedInEmailFromClientBootstrap (cyclomatic 19): OpenAIDashboardParser.parseSignedInEmailFromClientBootstrap has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ceaa6a115c6cc50da0ececf9fd4115d8355e234314a597302b9ab61ccfaba2"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAISubscription.fetch (cyclomatic 19): OpenAISubscription.fetch has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAISubscriptionMetadata.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d5710f7bcc88ac8bac58406f83150da0e93051eb9df284230ca57d142c10b5"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderIntentPayload.applying (cyclomatic 19): ProviderIntentPayload.applying has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Sync/SyncModels.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3321dca2219e2a5e641a6d685741bfe40b916f091cbac6b266b5159621f0b5"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityLocalReader.consumeJSONLLine (cyclomatic 19): AntigravityLocalReader.consumeJSONLLine has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalJSONL.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a4debfefdd094043636f35f93823ead9012db27fdebe6a71b5a7e4c170e0ca"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityCLIHTTPSFetchStrategy.tryWarmAgyFetch (cyclomatic 19): AntigravityCLIHTTPSFetchStrategy.tryWarmAgyFetch has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25b8bb435b7a94c92073151baa361c8f56d337700cf3c04c853e8a1c4dc93cd"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeStatusProbe.extractUsageErrorJSON (cyclomatic 19): ClaudeStatusProbe.extractUsageErrorJSON has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b75a889d68ec7a80186c60a023adbd9b6d024600686ebb1c2f5e649018c097"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexDisplacedLivePreservationPlanner.makePlan (cyclomatic 19): CodexDisplacedLivePreservationPlanner.makePlan has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexAccountPromotionPlanning.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4905d5fd47c1591c8d8d8c923e25c64673e6b0947c6359457c2730b0a336930f"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexDashboardAuthority.evaluate (cyclomatic 19): CodexDashboardAuthority.evaluate has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexDashboardAuthority.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b670c82cacfc34b58bf26213964759dcabc35e59ba774a284aaab3568d043e2"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexVisibleAccountProjection.make (cyclomatic 19): CodexVisibleAccountProjection.make has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e92bf228cad88dcc8c02c7d93cc2b5b39467c4d1c78377ed9990441e242de7"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiStatusProbe.fetchViaAPI (cyclomatic 19): GeminiStatusProbe.fetchViaAPI has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01f5f103b13158c6b5ce3269d5caf371300fb323b56b59cc86b67d5740edfe8"}},{"ruleId":"D1","level":"warning","message":{"text":"MistralSubscriptionBudgetParser.collectModels (cyclomatic 19): MistralSubscriptionBudgetParser.collectModels has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Mistral/MistralSubscriptionBudgetParser.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0da4cf5df363a23b1833eab778d53754e5d6ba725c41763217b8a414ab7c015"}},{"ruleId":"D1","level":"warning","message":{"text":"QoderCookieRouting.curlHeaderHostSites (cyclomatic 19): QoderCookieRouting.curlHeaderHostSites has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Qoder/QoderCookieRouting.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d941ad243c4ff18f49c874f4aeedc28c92318e23650d770be9f14325d1697349"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 19): fetchUsage has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/exa.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0796fd9b190f2f9b28354d5c7966e7620b130a79685c00e941eeba964b8bc58"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage::pages (cyclomatic 19): fetchUsage::pages has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"042706e07a28872c800cc3f8cc3b77a4a789445092f684b29c7692e2a6f4be41"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderDetailView.body (cyclomatic 18): ProviderDetailView.body has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProviderDetailView.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cfac5366d7902d1f036132bf36e4db94978a801b5ac4719862998a7e7af134"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendDashboardSource.load (cyclomatic 18): SpendDashboardSource.load has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"396d8923fd605eaa4904ec574e5e3a28a39db53ad011b4735adeb2cf37222e12"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendTrendChart.chart (cyclomatic 18): SpendTrendChart.chart has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardTrendPanel.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea333a925468306badbc43fe110716f64d2109c3cac8784daa167e4064f8c2a7"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.addOverviewRows (cyclomatic 18): StatusItemController.addOverviewRows has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02c01071a25c7f2aaa367dbd7c6a6adadd8021eff15a460e43a70cb8c9b93d1"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.addMenuCardSections (cyclomatic 18): StatusItemController.addMenuCardSections has cyclomatic complexity 18 (threshold 15). 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: 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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3e16cb93adbacab53f5460ecd304abc561f6b8500c548001f80c939ba1592b"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.scheduleDeferredMenuInteractionRefreshIfNeeded (cyclomatic 18): StatusItemController.scheduleDeferredMenuInteractionRefreshIfNeeded has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuInteractionRefresh.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cb7ae428d50bd00fc6f5960d539594253d7efcf92201c130200df1533db81b"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.scheduleManualRefreshViewportRestore (cyclomatic 18): StatusItemController.scheduleManualRefreshViewportRestore has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuViewportRestore.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f86a65e8d77c671ffa610ba7543504203bac73751cae5a40367b1a5e707c64"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.presentationSnapshot (cyclomatic 18): UsageStore.presentationSnapshot has cyclomatic complexity 18 (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/CodexBar/UsageStore/UsageStore\u002BAccessors.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"420e76caefac63320cdd8e32bbdd2b5adbc6ecee2ca7409c3735ac3f67d77cec"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.preservedClaudeWidgetUsage (cyclomatic 18): UsageStore.preservedClaudeWidgetUsage has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BWidgetSnapshot.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85ef87e939befa189681def5a74b6fd624efb4b133e7fdbecebd756f8d422df"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.resolvedCodexRefreshOutcome (cyclomatic 18): UsageStore.resolvedCodexRefreshOutcome has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexPATRefresh.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef6dedeebb6ab97d0291858479bd2f041e3db31bb62c8e57e0facada0995f29"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.openAIDashboardFriendlyError (cyclomatic 18): UsageStore.openAIDashboardFriendlyError has cyclomatic complexity 18 (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/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3362e6839e434fba3d82fdae1697c5f62071074b7033c629c15da92fd8613f"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexConsumerProjection.make (cyclomatic 18): CodexConsumerProjection.make has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexConsumerProjection.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"37486efce45656630a766e230f1801faef60b2b903c39e5c76f58a23e29e19af"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexBarCLI.runCacheClear (cyclomatic 18): CodexBarCLI.runCacheClear has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICacheCommand.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d259729124337338ae9c84714c40dbe04137e12fe74a0e5b6a38efa579f3f86"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexBarCLI.runCodexHostCosts (cyclomatic 18): CodexBarCLI.runCodexHostCosts has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICodexHostCosts.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"adaa99ebe3e15a04907114ed42a468fc6be1e358e1fe79a3edef58fa67b3237b"}},{"ruleId":"D1","level":"warning","message":{"text":"main.swift.top-level code (cyclomatic 18): main.swift.top-level code has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarClaudeWatchdog/main.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d64209aa587192ea08c9bf5d3f380ab310022ec09d4e7a94818f6e747764621"}},{"ruleId":"D1","level":"warning","message":{"text":"CostUsageFetcher.tokenSnapshot (cyclomatic 18): CostUsageFetcher.tokenSnapshot has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07be5c91acb0fd3a315824653fa0efd8f167ba459fdb2e88fc24410266b142a"}},{"ruleId":"D1","level":"warning","message":{"text":"CostUsageTokenSnapshot.quotaWindowCoverage (cyclomatic 18): CostUsageTokenSnapshot.quotaWindowCoverage has cyclomatic complexity 18 (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/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4bb8dd896c7966c02d983223c99f2e2c2bf325b68a3ded185e2a089482fbcc"}},{"ruleId":"D1","level":"warning","message":{"text":"KeychainCacheStore.load (cyclomatic 18): KeychainCacheStore.load has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/KeychainCacheStore.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b03aec1b26883cf0982417f46b16ac2db3dd833b7d9ff955a7f937b92ca9c1"}},{"ruleId":"D1","level":"warning","message":{"text":"PiFamilySessionScanner.scan (cyclomatic 18): PiFamilySessionScanner.scan has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"91094594d26df776353f1cee7e71f62fedc5c40f4c124c92188f1b53ad2117cd"}},{"ruleId":"D1","level":"warning","message":{"text":"PiFamilySessionScanner.piSessionRootResolution (cyclomatic 18): PiFamilySessionScanner.piSessionRootResolution has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"26165809d52d48d924ee684d6903123c441d56a95fd21e9cd4dc34132fb6bfe6"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.applyingUsageItemVisibility (cyclomatic 18): Model.applyingUsageItemVisibility has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/ProviderUsageItemVisibility.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbadaf82340a90a01f9bd7f94895b01de2df6bbacc2d050f8c02dfccda631fc7"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.monthlyTargetMetrics (cyclomatic 18): Model.monthlyTargetMetrics has cyclomatic complexity 18 (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/CodexBar/Menu/MenuCardView\u002BMonthlyTarget.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"23206416091ac704d1fb85ee3abb11ed0a04f390a6670a8e54425330ac223158"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.visibleProviderDetails (cyclomatic 18): Model.visibleProviderDetails has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView\u002BProviderDetailVisibility.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2980a4e78760fe91dabdee568a83f1ceb6f3007f9a264551ccd0d99022ddab62"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionToolActivityParser.outcome (cyclomatic 18): SessionToolActivityParser.outcome has cyclomatic complexity 18 (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/CodexBarCore/SessionToolActivityParser.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44abebdf43f79fb9e7c1377953ca66f99f0c15b3edd34b3fd232721f7e69af5"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderPluginSnapshotMapper.aggregateCostUsageEntries (cyclomatic 18): ProviderPluginSnapshotMapper.aggregateCostUsageEntries has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e1e46bd3028ff1190170a81aa75db21ea7e44cbf9d8f914d531e60be184c7e"}},{"ruleId":"D1","level":"warning","message":{"text":"QuickJSProviderPluginEngine.hostCookieHeader (cyclomatic 18): QuickJSProviderPluginEngine.hostCookieHeader has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaeecbef7fa063f22629d2beef3b1bed03e9f69fbbfea96bb6ef369eedea1431"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityLocalReader.readRows (cyclomatic 18): AntigravityLocalReader.readRows has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a46ecd5c80416cfbc36acd033b99bd0bd5089433bba849b2d3fb74753fde1c"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityStatusSnapshot.normalizeModel (cyclomatic 18): AntigravityStatusSnapshot.normalizeModel has cyclomatic complexity 18 (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/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e38678c6c863dbd673767ba32234f9ee54ac4b1e7b33f18c581c800813a4dd3"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeProviderDescriptor.resolveStrategies (cyclomatic 18): ClaudeProviderDescriptor.resolveStrategies has cyclomatic complexity 18 (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/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d70617ded09598bae57acbd336808bb48e36602e901f344dbb9ca342edd0bd"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeOAuthFetchStrategy.isPlausiblyAvailable (cyclomatic 18): ClaudeOAuthFetchStrategy.isPlausiblyAvailable has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3ac9316df94a12477e0c7ba0ad78f67e7102bd053bf788d00cb9633693bb6d"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeCLIFetchStrategy.fetch (cyclomatic 18): ClaudeCLIFetchStrategy.fetch has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec7932479bc795342add857d0a0e09151d16339d90314bb3342022a7c5d5d1e"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepSeekUsageCostParser.parseByAPIKey (cyclomatic 18): DeepSeekUsageCostParser.parseByAPIKey has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"1979c71a3ba5445eaae8e01f897e40cdc433243c7129a926ec8911b164a936b8"}},{"ruleId":"D1","level":"warning","message":{"text":"DoubaoUsageFetcher.apiErrorSummary (cyclomatic 18): DoubaoUsageFetcher.apiErrorSummary has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af6edd892f82bcb08f745208a547f386aa84187f1255f907f652634dd1b1bc0"}},{"ruleId":"D1","level":"warning","message":{"text":"KiroStatusProbe.runViaPipe (cyclomatic 18): KiroStatusProbe.runViaPipe has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c50017732febba93d3c743397a38d9fa6d10d3c7ec018128e63d6b6b00dcf1"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeOAuthPendingCacheClearUserDefaultsStore.withCacheTransaction (cyclomatic 18): ClaudeOAuthPendingCacheClearUserDefaultsStore.withCacheTransaction has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthPendingCacheClearStore.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd8bcdb31500fdb2f04657774ff26b5cfccefed7c40156120e741236b1b1ab1"}},{"ruleId":"D1","level":"warning","message":{"text":"Usage.laneSegments (cyclomatic 18): Usage.laneSegments has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Linux/Shared/Usage.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ddca4c725830869ccdec87d0388ed9cb33f49797dd8eb45d2bf7530ab1a448"}},{"ruleId":"D1","level":"warning","message":{"text":"CLIArguments.parse (cyclomatic 17): CLIArguments.parse has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/AdaptiveReplayCLI/CLIArguments.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea928e9f86cd589ed256cac6051c3fc88ca61e04fa4b7784e156baafa77981d7"}},{"ruleId":"D1","level":"warning","message":{"text":"HomebrewUpdateNotifier.postIfNeeded (cyclomatic 17): HomebrewUpdateNotifier.postIfNeeded has cyclomatic complexity 17 (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/CodexBar/HomebrewUpdateNotifier.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d64de78b0c9bfe39f227c37d94891f7e78461342c6103850517df8f22e4a39"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuDescriptor.hasAccount (cyclomatic 17): MenuDescriptor.hasAccount has cyclomatic complexity 17 (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. This is NOT this file\u0027s highest cyclomatic complexity: MenuAction.systemImageName (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuDescriptor.swift"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"19672a6c72a2e97a4be7092f00d0a424e5bc03f1f7508d85063320a790a1d647"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendDashboardController.publishCurrentState (cyclomatic 17): SpendDashboardController.publishCurrentState has cyclomatic complexity 17 (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/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1228dd3f588cf19ef362ada79d840ea8476ddc8f9aa4cdef5ae140e9ea77e9"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendTrendChartModel.emptyStateTitle (cyclomatic 17): SpendTrendChartModel.emptyStateTitle has cyclomatic complexity 17 (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/CodexBar/SpendDashboard/SpendTrendChartModel.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5eb02152387dcfb39a2490b5c0c505b27dacc5427c6611ff5864a5ea317bbc"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.kiroDisplayText (cyclomatic 17): StatusItemController.kiroDisplayText has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5986239550336bc91200d1fb6da4711895d944e3ae8f1ffc293b96d510dcfb"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.handleOverviewScrollWheel (cyclomatic 17): StatusItemController.handleOverviewScrollWheel has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BOverviewScroll.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feca08c2b5ead537f38a3977104aec45cd89d561a2fea3b83ce65ba5fb853b8"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.postLimitResetCelebrationIfNeeded (cyclomatic 17): UsageStore.postLimitResetCelebrationIfNeeded has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa4c1e63c8f5ae5eaf798a87e96673d933e3bee8a7ca01198e907731273ea3b"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.scheduleStorageFootprintRefresh (cyclomatic 17): UsageStore.scheduleStorageFootprintRefresh has cyclomatic complexity 17 (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/CodexBar/UsageStore/UsageStore\u002BProviderStorage.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f5abe54b59809613955035043b2fd38a704f573cbcddcaec2cb209ec2558fc"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.widgetUsageRows (cyclomatic 17): UsageStore.widgetUsageRows has cyclomatic complexity 17 (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/CodexBar/UsageStore/UsageStore\u002BWidgetSnapshot.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec75f1f76d02f89c20b655b95af3db167d6542e940d3c418c4bfd7784066502"}},{"ruleId":"D1","level":"warning","message":{"text":"CLILocalHTTPServer.run (cyclomatic 17): CLILocalHTTPServer.run has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLILocalHTTPServer.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4b5803e2241456f3e30245ce5088b194e79b28628839296239020482b46a1a"}},{"ruleId":"D1","level":"warning","message":{"text":"CLIServeResponseCache.mergeLastGoodUsageItems (cyclomatic 17): CLIServeResponseCache.mergeLastGoodUsageItems has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8ddf32292c987f24f8f2fa33f246997d256b5d71bd0fc1b55c814ae1960e07"}},{"ruleId":"D1","level":"warning","message":{"text":"CLIServeResponseCache.mergeLastGoodCostItems (cyclomatic 17): CLIServeResponseCache.mergeLastGoodCostItems has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"4beae6611bf410bdd79410b741b1a4763e457d53040ad099594a690352cc8626"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenAccountCLIContext.resolvedAccounts (cyclomatic 17): TokenAccountCLIContext.resolvedAccounts has cyclomatic complexity 17 (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/CodexBarCLI/TokenAccountCLI.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4712042fcb3832a651cb00b3f323cacd6b2793799d18d89e0a69523cf33963fe"}},{"ruleId":"D1","level":"warning","message":{"text":"Entry.coverageCounts (cyclomatic 17): Entry.coverageCounts has cyclomatic complexity 17 (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/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68e9b7aa0771f9ab36ed7cbeb6d71333ff0a3feac08b2abcef57790c0bc6707"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalAgentSessionScanner.scanWithActivity (cyclomatic 17): LocalAgentSessionScanner.scanWithActivity has cyclomatic complexity 17 (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/CodexBarCore/LocalAgentSessionScanner.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2299eb0ad39c721117def799a45866f6544dfb7846331be1cfdfc27ed7ebb82e"}},{"ruleId":"D1","level":"warning","message":{"text":"PiFamilySessionScanner.profileSessionRoots (cyclomatic 17): PiFamilySessionScanner.profileSessionRoots has cyclomatic complexity 17 (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/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66b5c54ebe66357302a829258060542f1d6d1233bee0e8bc8a2d667638d6be8"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderEndpointOverrideValidator.isPrivateNetworkHost (cyclomatic 17): ProviderEndpointOverrideValidator.isPrivateNetworkHost has cyclomatic complexity 17 (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/CodexBarCore/ProviderEndpointOverrideValidator.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4032c043320c47b4751e0cf3bd3d6eb714dc4a9ae9b3147a9d382eab110b193"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.usageItemDescriptors (cyclomatic 17): Model.usageItemDescriptors has cyclomatic complexity 17 (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/CodexBar/ProviderUsageItemVisibility.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6481624f22cb4095928ec74932cdac1c16bfc75dbc6c0a188471e859172505"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionToolActivityStore.details (cyclomatic 17): SessionToolActivityStore.details has cyclomatic complexity 17 (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/CodexBarCore/SessionToolActivityStore.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5afae4bc9a4ba6522b359d83306cd15e7392dbb599ad233215b60bda0a6bbbe"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionToolJSONProjection.punctuation (cyclomatic 17): SessionToolJSONProjection.punctuation has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/SessionToolJSONProjection.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5e9126dcf6c69c29a361138467396b2dfb4a50063c06f9ede665a79dd94ad7"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageSnapshot.backfillingResetTimes (cyclomatic 17): UsageSnapshot.backfillingResetTimes has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (eligibleCachedReset). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/UsageFetcher.swift"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"30aa9603ec0c6c5b860b6f03ac07395e11c437ccdb2e365aa54eaa74f5d68be5"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderPluginIconSVG.hasBoundedCanvas (cyclomatic 17): ProviderPluginIconSVG.hasBoundedCanvas has cyclomatic complexity 17 (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/CodexBarCore/Plugins/ProviderPluginIconSVG.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"963bc899e55aaaffac5403f45fee619a8e25915dd9a41e0c0627ef751e66d63c"}},{"ruleId":"D1","level":"warning","message":{"text":"SpawnedProcessGroup.launchPTY (cyclomatic 17): SpawnedProcessGroup.launchPTY has cyclomatic complexity 17 (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/CodexBarCore/Host/Process/SpawnedProcessGroup.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbec012b4cbb91e344556e725e441b4963469de03e47420408f1feebf58d5dd"}},{"ruleId":"D1","level":"warning","message":{"text":"SubprocessRunner.run (cyclomatic 17): SubprocessRunner.run has cyclomatic complexity 17 (threshold 15). 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, 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/CodexBarCore/Host/Process/SubprocessRunner.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"08729b3e28db4b2f48c09aa2f660e3a200a763db7b6f9f33762e7cdb75659db8"}},{"ruleId":"D1","level":"warning","message":{"text":"AlibabaTokenPlanUsageFetcher.throwIfErrorPayload (cyclomatic 17): AlibabaTokenPlanUsageFetcher.throwIfErrorPayload has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebacb023b26973b31bf00eb2e38763a991b1297e35dfb5074bbee2dfd005c76"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityLocalReader.readJSONLFile (cyclomatic 17): AntigravityLocalReader.readJSONLFile has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalJSONL.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d2ea68a16ed53fe4492164efb1325e6a634f2e618672af9c3c21b715baf1c0"}},{"ruleId":"D1","level":"warning","message":{"text":"BedrockUsageFetcher.parseDailyResponse (cyclomatic 17): BedrockUsageFetcher.parseDailyResponse has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3fb634e0b2e727ff8379976f7e61eb0f27d345586909b961180eccd99dabfd"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeUsageFetcher.applyWebExtrasIfNeeded (cyclomatic 17): ClaudeUsageFetcher.applyWebExtrasIfNeeded has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0665f4aaec1ea77c2aa1602bd526cd75f75b463b95527f611add45fd00abe7f3"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepSeekUsageCostParser.decodeByAPIKeyPayloads (cyclomatic 17): DeepSeekUsageCostParser.decodeByAPIKeyPayloads has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af2b1db3952c26bc38fece361a199b5f2d810d2853254946decb574d19816f7"}},{"ruleId":"D1","level":"warning","message":{"text":"FactoryStatusProbe.fetch (cyclomatic 17): FactoryStatusProbe.fetch has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"9282e6f8017cd16e177094fe75714de3a41885cf75df5dc24b18dbe1dae6857b"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeGoLocalUsageReader.activeCredential (cyclomatic 17): OpenCodeGoLocalUsageReader.activeCredential has cyclomatic complexity 17 (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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoLocalUsageReader.swift"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a9fa95db67bc38de1516673e4dd75e6c46fea54b069ee5b308a1dedde504d0"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeGoUsageFetcher.parseWindow (cyclomatic 17): OpenCodeGoUsageFetcher.parseWindow has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f63c63dfc4e4756da04f7eb9399f054204ef7ad08c103d8998cb2fe59e4733"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeSubscriptionMetadata.parse (cyclomatic 17): ClaudeSubscriptionMetadata.parse has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeSubscriptionMetadata.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db851aa43acd6b1f76e8279df132062a9267589027bd79037f814d2aa551e94"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareStatsSanitizer.safeLabel (cyclomatic 16): ShareStatsSanitizer.safeLabel has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/ShareStatsPayload.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f52195d74d05018573a3400ffcf35f29554eb7d6afc831ef3127a64f1696d9"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageMenuCardUsageContentView.body (cyclomatic 16): UsageMenuCardUsageContentView.body has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a6cf15752decc6499dd58d77c26f3246546f74c98b22e86b39e3843da10940"}},{"ruleId":"D1","level":"warning","message":{"text":"PlanUtilizationHistoryChartMenuView.seriesPoints (cyclomatic 16): PlanUtilizationHistoryChartMenuView.seriesPoints 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/CodexBar/Menu/PlanUtilizationHistoryChartMenuView.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"551f6fda9c607836cb99900cd29b7bcc10b67a99adef1465e305f2997311766d"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsStore.legacyCredentialSourceIsActive (cyclomatic 16): SettingsStore.legacyCredentialSourceIsActive has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStore\u002BConfig.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70077f7dd8f494217266ff7fb7432dc02260f0d6ee86361d7dc490bd1eb7485"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusItemController.addMenuCards (cyclomatic 16): StatusItemController.addMenuCards 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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf6aa9a43171e5c106b92da6b502036a44c4569f2b01e97a102094d9195c916"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.loadTokenUsageSnapshot (cyclomatic 16): UsageStore.loadTokenUsageSnapshot has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d467c1bbd67cc27a94b462563e4a781d1f7af5a6511fe2541dc92b2011920e37"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageStore.debugClaudeLog (cyclomatic 16): UsageStore.debugClaudeLog 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/CodexBar/Providers/Claude/UsageStore\u002BClaudeDebug.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d36777c909f7f0d642d66ef86f98157d37bd90c74ac7dd7fed4eb256c9f6fb6"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorLoginRunner.runUserInitiated (cyclomatic 16): CursorLoginRunner.runUserInitiated 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/CodexBar/Providers/Cursor/CursorLoginRunner.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a76b7e8d12b314da57db8f4fd192990f5dcfec4b7ea59d55d1e00b09762b9d3"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAILiveUsageModel.refresh (cyclomatic 16): OpenAILiveUsageModel.refresh 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/CodexBar/Providers/OpenAI/OpenAILiveUsageModel.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df54c76ba5ce86b9bc3c06e58c13cc3702bd335be682784f3c08b134cc9fa93"}},{"ruleId":"D1","level":"warning","message":{"text":"SpendDashboardProviderBreakdown.swift.spendDashboardProviderBreakdowns (cyclomatic 16): SpendDashboardProviderBreakdown.swift.spendDashboardProviderBreakdowns 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/CodexBar/SpendDashboard/SpendDashboardProviderBreakdown.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9138548b7e498718789c653b6d5295e1dff42d9ac827e9df48d7cf8f724c7db3"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexBarCLI.dailyCostLines (cyclomatic 16): CodexBarCLI.dailyCostLines 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/CodexBarCLI/CLICostCommand.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"67826fa351ce8c73b6fa2310576a5ed659854a1dc71d0324d1d4d5fe20135458"}},{"ruleId":"D1","level":"warning","message":{"text":"ToonSerializer.looksNumeric (cyclomatic 16): ToonSerializer.looksNumeric has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/ToonFormatter.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d9e9f34f04b2ec30647fc336242730c92c9a8126bf1d941bf1da9cded69d77"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSessionNameFormatter.agentPath (cyclomatic 16): AgentSessionNameFormatter.agentPath 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/CodexBarCore/AgentSession.swift"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b9c6b4c4b44c46f3ee796d504d5ecb8e1d2223c770ddcbc763f20caccae9b0"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexThreadMetadataReader.projectMetadata (cyclomatic 16): CodexThreadMetadataReader.projectMetadata 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/CodexBarCore/CodexThreadMetadataReader\u002BProjects.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b530efd746fbdcce2e178b3a878c8d931f9f6a8f4793ec744a1c450a4c1e86c"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalAgentSessionScanner.sessions (cyclomatic 16): LocalAgentSessionScanner.sessions 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/CodexBarCore/LocalAgentSessionScanner.swift"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70ebb63ecf90bcb6074982974ec466c572889cf5deb2d6ddffacd60fd202244"}},{"ruleId":"D1","level":"warning","message":{"text":"PiFamilySessionFileParser.parse (cyclomatic 16): PiFamilySessionFileParser.parse 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/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b302bfc32e62ac0ad6f9ec2b06883c829d8d249d9c7c771d8045c2c1654bf45"}},{"ruleId":"D1","level":"warning","message":{"text":"PiSessionCostScanner.extractUsage (cyclomatic 16): PiSessionCostScanner.extractUsage 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, 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/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"33af9fa883e653d660ab39421e1b7e2dad5c4d2a23ae89cc8cba2ab236d73a3b"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionToolActivityStore.scan (cyclomatic 16): SessionToolActivityStore.scan 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/CodexBarCore/SessionToolActivityStore.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f9a7e089f072def63268841f8eb12a62ff38f6c4653a6cf499c543bfab1d1b"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageLimitsAvailability.resolve (cyclomatic 16): UsageLimitsAvailability.resolve 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/CodexBarCore/UsageFetcher.swift"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"495a9f39b35e653d2f4727e598d8e4435910688ee235b22dff4129c69d519ae1"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIDashboardWebViewCache.acquire (cyclomatic 16): OpenAIDashboardWebViewCache.acquire 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/CodexBarCore/OpenAIWeb/OpenAIDashboardWebViewCache.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb22394c6f745e4a17df2b8c3184530096a8b0c08a2c08f5002cf0c7878d09b3"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderPluginHTTPResponse.fetch (cyclomatic 16): ProviderPluginHTTPResponse.fetch 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/CodexBarCore/Plugins/ProviderPluginHTTPResponse.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4b4d167f3ae6e4dffc545954652b5aa0fb249176013abf3b29724ac565e426"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderPluginSnapshotMapper.map (cyclomatic 16): ProviderPluginSnapshotMapper.map has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"16225a53d45f92924ba8f8ca6508531965f9cd693ec91e3898abe816a6f8cd32"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderPluginSnapshotMapper.costUsage (cyclomatic 16): ProviderPluginSnapshotMapper.costUsage 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/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ae1ff4647e6b0545f6ec04832988f7a4d57c055f568141659a7ef0bd6fa85f"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityCLISession.finishProbe (cyclomatic 16): AntigravityCLISession.finishProbe 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/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74a28afafabeeae1dd022e976666aeb6986b8e11bfe5aec2b953f2ba5130c09"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityLocalReader.inspectSQLiteTableSupport (cyclomatic 16): AntigravityLocalReader.inspectSQLiteTableSupport 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/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLiteSchema.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"da323f3fe34b083383fa819d5d4a17a110517ee5f18d94a02c632bd3016e8ad3"}},{"ruleId":"D1","level":"warning","message":{"text":"AugmentSessionKeepalive.pingSessionEndpoint (cyclomatic 16): AugmentSessionKeepalive.pingSessionEndpoint 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/CodexBarCore/Providers/Augment/AugmentSessionKeepalive.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5af90970719a6680441686a1b38b1a8097ace7d4de8978770ed7b0658deac4e"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeCLIScreen.write (cyclomatic 16): ClaudeCLIScreen.write 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/CodexBarCore/Providers/Claude/ClaudeCLIScreen.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9962c203245ea08dbe4988a2cea5b0960902a329413730834ebf13a433d237f"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeCLISession.workspaceTrustKeys (cyclomatic 16): ClaudeCLISession.workspaceTrustKeys 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/CodexBarCore/Providers/Claude/ClaudeCLISession.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b583f9784c8f375e496a8bdc48651dd63c8cf4b1d1bdd80a677795d6108b9ab"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeCLISession.ownsProcess (cyclomatic 16): ClaudeCLISession.ownsProcess has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05fbebc512b20a19278a61cdd7f1bddc2e8767cd9bfb2522b78c9c76f97b03c"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeStatusProbe.extractUsageError (cyclomatic 16): ClaudeStatusProbe.extractUsageError 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/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"f099a0857004e665f75d18304b24c8d7ec15704d51c2e4349b27faa42c92723b"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexRequestLedger.pricingEvidence (cyclomatic 16): CodexRequestLedger.pricingEvidence has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexRequestLedger.swift"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"399dc7279168e65b8ac7c86f03a0f6228275040b14ba061d27f2cc186c6103d4"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorStatusProbe.fetchTeamSpend (cyclomatic 16): CursorStatusProbe.fetchTeamSpend 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/CodexBarCore/Providers/Cursor/CursorTeamSpend.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"032df3d5e79a6a9b0609bee384dacfa3de447e728784785fea48b5bd8c2f374d"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepSeekUsageCostParser.parse (cyclomatic 16): DeepSeekUsageCostParser.parse 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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61dd78dd90f1cfa947bbd921d89f3db6e5a355e83c642641241498324381c4e"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepSeekUsageCostParser.aggregateMonth (cyclomatic 16): DeepSeekUsageCostParser.aggregateMonth has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (DeepSeekUsageCostParser.buildDailyUsages) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"c806a2bd9fcbba389753c72f90ad5c82dd3764f02a0840b74ad46c61d6585696"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepSeekUsageCostParser.buildDailyUsages (cyclomatic 16): DeepSeekUsageCostParser.buildDailyUsages has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (DeepSeekUsageCostParser.aggregateMonth) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93e78179ff0dca2ff95d214e2b4c5f80d480bd236e17b91cf19827121040084"}},{"ruleId":"D1","level":"warning","message":{"text":"DevinUsageParser.percent (cyclomatic 16): DevinUsageParser.percent 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/CodexBarCore/Providers/Devin/DevinUsageSnapshot.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf546c796956acdfc1d1db5483e91c769cf754d6f6fca22c95cfe6fc085515d"}},{"ruleId":"D1","level":"warning","message":{"text":"KiroUsageLimitsAPI.parse (cyclomatic 16): KiroUsageLimitsAPI.parse 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/CodexBarCore/Providers/Kiro/KiroUsageLimitsAPI.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a87e30c24832c06b14634701e2159fb3d459cdfdbe6df6848f049c3deb077bd"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAILiveUsageBuilder.build (cyclomatic 16): OpenAILiveUsageBuilder.build 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/CodexBarCore/Providers/OpenAI/OpenAILiveUsageBuilder.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d3e82130e6645754e2310ad00460b09011ef49abd12b9fe33a4c1fc086a38c"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIOrgRateLimitsFetcher.pages (cyclomatic 16): OpenAIOrgRateLimitsFetcher.pages 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/CodexBarCore/Providers/OpenAI/OpenAIOrgRateLimitsFetcher.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6326d41adc0bcfeba90744353f976b1b6a95573fd2c69a9afcac995c940a9d"}},{"ruleId":"D1","level":"warning","message":{"text":"CacheBox.read (cyclomatic 16): CacheBox.read 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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoLocalUsageReader.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"422ae3c413d58e0e4eb1f9cfad237881cea50d577faa67ee572717c1c4d111f8"}},{"ruleId":"D1","level":"warning","message":{"text":"Aggregate.init (cyclomatic 16): Aggregate.init 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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoLocalUsageReader.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8002ae5017e54cc2c819e9039b89867cd3d00bf705a3eb7be8e6574eb242a2"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeGoZenBalanceParser.parseConsoleBillingStatus (cyclomatic 16): OpenCodeGoZenBalanceParser.parseConsoleBillingStatus has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoZenBalanceParser.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"710542e66dfd92e104aee1aa9533850fa4b443d755cd066e8bf932d49f55bd8c"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeOAuthCredentialsStore.claudeKeychainCandidatesProbeWithoutPrompt (cyclomatic 16): ClaudeOAuthCredentialsStore.claudeKeychainCandidatesProbeWithoutPrompt 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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":2309}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a943b490796cb1d8855e54c72223bd8a11c612b6f6df04dd5d1b955170cea8e"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeOAuthCredentialsStore.readRawClaudeKeychainPayloadViaSecurityCLIIfEnabled (cyclomatic 16): ClaudeOAuthCredentialsStore.readRawClaudeKeychainPayloadViaSecurityCLIIfEnabled 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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BSecurityCLIReader.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"08590a6549d9041b03f589f81006267efee22650579866b4797a49bc60380014"}},{"ruleId":"D1","level":"warning","message":{"text":"WidgetUsageRow.rows (cyclomatic 16): WidgetUsageRow.rows 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/CodexBarWidget/CodexBarWidgetViews.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"09703eb44fbaecb2e0f175a17e045f4b64dd58753fc1126baac6cab21b9a0671"}},{"ruleId":"D1","level":"warning","message":{"text":"Notifications.transition (cyclomatic 16): Notifications.transition has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 10, 8, 5). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Linux/Shared/Notifications.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e298963e2cf529a977f5cd61182c83eb9de2cd692ab51f63f4e4e31fa0f84d7"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 16): fetchUsage 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/CodexBarCore/Resources/Plugins/atlascloud.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"65842c055957c4a7e7475943c89622e7403f6a2f9373c38a0af8a89541bd88eb"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage::cookies (cyclomatic 16): fetchUsage::cookies 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/CodexBarCore/Resources/Plugins/perplexity.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4fc84261222e9310af261eab388efff6235a88186adb1b1b63851234385759"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 16): fetchUsage 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/CodexBarCore/Resources/Plugins/qoder.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2acc18f9a4b2345a2a9299f08864a4f2c334b0f9b4cb78e9fd0c9e0ac006060"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsage (cyclomatic 16): fetchUsage 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/CodexBarCore/Resources/Plugins/tinyapi.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2fb08e2aaeaeac874b36d7700d7af8597ea56f867c25a8c131c3549b227fab"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 222): fetchUsage has cognitive complexity 222 (threshold 15). Drivers by points: if/else 59 (124 pts), boolean chains 41, ternaries 14 (30 pts), loops 4 (12 pts), error handling 6 (10 pts), other 5 (nesting depth added 93). Of this number, 202 points are the body\u0027s own statements and 20 belong to 9 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openrouter.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c36958eb66ffd69f414a38cdfe1d7507f8b7a059fb9146672bf6a3494c550c"}},{"ruleId":"D2","level":"warning","message":{"text":"TTYCommandRunner.run (cognitive 141): TTYCommandRunner.run has cognitive complexity 141 (threshold 15). Drivers by points: if/else 81 (155 pts), boolean chains 38, loops 8 (15 pts), ternaries 4 (7 pts), match/switch 1 (3 pts), error handling 2 (nesting depth added 86). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (TTYCommandRunner.run::processNonCodexChunk) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc15ad88c355ca9635697f6ec067f088b6f6e4abb0d6488970534750f157141"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderPluginManifest.init (cognitive 125): ProviderPluginManifest.init has cognitive complexity 125 (threshold 15). Drivers by points: if/else 51 (83 pts), boolean chains 33, loops 5 (7 pts), match/switch 1 (2 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginManifest.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1484b2da43f69c988fff05d8c40b4d350533389e875732e3af2bf55953d9a5a3"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityOAuthConfig.binaryClient (cognitive 108): AntigravityOAuthConfig.binaryClient has cognitive complexity 108 (threshold 15). Drivers by points: if/else 18 (59 pts), boolean chains 32, ternaries 3 (11 pts), loops 3 (6 pts) (nesting depth added 52). Of this number, 92 points are the body\u0027s own statements and 16 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6061f1792557d09063ee11109f9ddd4f6077c45893969db340f58c22b0a558"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 96): fetchUsage has cognitive complexity 96 (threshold 15). Drivers by points: if/else 55 (78 pts), boolean chains 60, ternaries 34 (49 pts), loops 3 (5 pts), error handling 2 (4 pts) (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into 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/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f979f6ece5b4bcd5d568825f1c9a055afd6dd7185843ba095f0b213289e2897a"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 95): fetchUsage has cognitive complexity 95 (threshold 15). Drivers by points: ternaries 18 (31 pts), if/else 20 (30 pts), boolean chains 24, other 5, loops 3 (4 pts), error handling 1 (nesting depth added 24). Of this number, 74 points are the body\u0027s own statements and 21 belong to 17 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/poe.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8041efe94d7c2cae8d02ad93414be2cec34fc15003b115790a8ab9b19b2e14"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeCLISession.captureExclusive (cognitive 87): ClaudeCLISession.captureExclusive has cognitive complexity 87 (threshold 15). Drivers by points: if/else 19 (49 pts), boolean chains 23, ternaries 2 (8 pts), loops 3 (7 pts) (nesting depth added 40). Of this number, 86 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1bafddb7fcc83ca92d7de177ae98bb0de205789529eecea9dd0b0de1ee7f03"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 87): fetchUsage has cognitive complexity 87 (threshold 15). Drivers by points: if/else 42 (80 pts), boolean chains 61, ternaries 25 (41 pts), loops 10 (16 pts), error handling 4 (5 pts) (nesting depth added 61). To reduce it, split the body into named stages: move each independent step or branch into 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/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a96ff15a97ff390303822635bb3d81cec0b9e40d489ee6c8fb4576802b793a2"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 82): fetchUsage has cognitive complexity 82 (threshold 15). Drivers by points: boolean chains 41, if/else 30 (34 pts), error handling 3, ternaries 3, loops 1 (nesting depth added 4). Of this number, 55 points are the body\u0027s own statements and 27 belong to 9 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sub2api.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c537861839955b1c0cc95eb74acd42459c743c8ea1d9b0791bef5defb5bdc49b"}},{"ruleId":"D2","level":"warning","message":{"text":"CostUsageFetcher.loadTokenResult (cognitive 81): CostUsageFetcher.loadTokenResult has cognitive complexity 81 (threshold 15). Drivers by points: if/else 33 (52 pts), boolean chains 21, error handling 2 (3 pts), loops 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a58219b627d4e6f0e53f4811d21f6fcb6689c19c28efe9891f3bff259d39e27"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.limitResetDetectorTransition (cognitive 78): UsageStore.limitResetDetectorTransition has cognitive complexity 78 (threshold 15). Drivers by points: boolean chains 44, if/else 25 (26 pts), ternaries 6 (8 pts) (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/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fde8dbb10be179e4efc3134cfbc9c8d29a28c19928194c24ad89500966b02d4"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarLayoutRenderer.renderUncached (cognitive 72): MenuBarLayoutRenderer.renderUncached has cognitive complexity 72 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 23, ternaries 9 (17 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdbf763aa528981ab9ea40ab66b6623f00f2a0f75d2c7ba09777384dec1ad2c"}},{"ruleId":"D2","level":"warning","message":{"text":"applyProviderPluginPrelude (cognitive 72): applyProviderPluginPrelude has cognitive complexity 72 (threshold 15). Drivers by points: if/else 24 (36 pts), boolean chains 17, ternaries 11, loops 6, error handling 2 (nesting depth added 12). None of this is in the body itself: all 72 points belong to 52 function items inside it that branch (postOptions, a function literal at line 105, formatNumber, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/provider-plugin-prelude.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"48080a6b1dcd2a0371aa28066108e256ec38981a9ac2d0084cd5880d4d2f871c"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.runCodexCostCatchUp (cognitive 71): UsageStore.runCodexCostCatchUp has cognitive complexity 71 (threshold 15). Drivers by points: if/else 11 (41 pts), error handling 4 (10 pts), boolean chains 7, ternaries 2 (6 pts), match/switch 1 (4 pts), loops 2 (3 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into 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/CodexBar/Providers/Codex/UsageStore\u002BCodexCostCatchUp.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e129600a6ea94ee1b48258a1333f6c3ff76ab2745e9abdccda061004f3e2f14"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderPluginCookiePolicy.init (cognitive 71): ProviderPluginCookiePolicy.init has cognitive complexity 71 (threshold 15). Drivers by points: boolean chains 45, if/else 19 (25 pts), ternaries 1 (nesting depth added 6). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginCookiePolicy.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fcca230f0228460d3f7c18b4e54e01e4549a5103da3442d55120e921382ed1"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardSource.load (cognitive 67): SpendDashboardSource.load has cognitive complexity 67 (threshold 15). Drivers by points: if/else 10 (36 pts), error handling 4 (16 pts), loops 4 (14 pts), ternaries 1 (nesting depth added 48). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa0112a4c56b7c23f63fa2b8f0de0e8e4f7ef1c831f534968a75787367526ce"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.applyIcon (cognitive 66): StatusItemController.applyIcon has cognitive complexity 66 (threshold 15). Drivers by points: ternaries 23 (35 pts), if/else 14 (19 pts), boolean chains 12 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03924f7763bb9428e84b88aff43d8a183f79a6650403edcd6eb8150d514b438"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 65): fetchUsage has cognitive complexity 65 (threshold 15). Drivers by points: if/else 25 (31 pts), boolean chains 26, loops 3 (4 pts), error handling 2, ternaries 2 (nesting depth added 7). Of this number, 29 points are the body\u0027s own statements and 36 belong to 8 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepgram.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a25254959d47c1a1661acf3bb1ea8152788fed55db28f66b9b103e681706c61"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexCLISession.captureStatus (cognitive 64): CodexCLISession.captureStatus has cognitive complexity 64 (threshold 15). Drivers by points: if/else 21 (45 pts), boolean chains 16, loops 2 (3 pts) (nesting depth added 25). Of this number, 63 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexCLISession.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f631a953009a7a3f4e782797f0d84c5adf48862b8071ba2b10bf14f2ed881d0"}},{"ruleId":"D2","level":"warning","message":{"text":"CostHistoryChartMenuView.body (cognitive 62): CostHistoryChartMenuView.body has cognitive complexity 62 (threshold 15). Drivers by points: if/else 21 (43 pts), ternaries 9 (17 pts), boolean chains 2 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd82f84980f8b03beabbdccedb5dbc0a97a1f800915dab94cdf8df22c9b9dec"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.topCostModelLines (cognitive 62): CodexBarCLI.topCostModelLines has cognitive complexity 62 (threshold 15). Drivers by points: if/else 14 (30 pts), ternaries 11 (19 pts), boolean chains 9, loops 3 (4 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICostCommand.swift"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c960816bb3879780f36a2c7a6a14283e1f116cda50ff629177c85adf43ee8da"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 62): fetchUsage has cognitive complexity 62 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 22, loops 6 (8 pts), ternaries 4, error handling 1 (2 pts), other 2 (nesting depth added 12). Of this number, 50 points are the body\u0027s own statements and 12 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/t3chat.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9edb930205231dfd0d2da66dfeb74bfc9506526baf2de9ff8f3b93ffd57699a"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 62): fetchUsage has cognitive complexity 62 (threshold 15). Drivers by points: if/else 24 (31 pts), ternaries 14 (21 pts), boolean chains 9, error handling 1 (nesting depth added 14). Of this number, 53 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zed.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd1f9d5d17519235b3055a3e18e776ba8cb6ced5b23a84ce27d57b9cd806df3"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.addActionableSections (cognitive 60): StatusItemController.addActionableSections has cognitive complexity 60 (threshold 15). Drivers by points: if/else 12 (41 pts), loops 3 (7 pts), ternaries 1 (5 pts), boolean chains 4, match/switch 1 (3 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34f5b34a609af909c00ee5dbc43535fa6085749708a8315044ad4fb98e28b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"PiSessionCostScanner.loadDailyReportResultCancellable (cognitive 59): PiSessionCostScanner.loadDailyReportResultCancellable has cognitive complexity 59 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 18, loops 4 (10 pts), ternaries 3 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d774be44ca62cc7b9ccac01fb878cb9a8c81712981adddea1cb731dcc7b233fa"}},{"ruleId":"D2","level":"warning","message":{"text":"GrokLocalSessionScanner.summarize (cognitive 58): GrokLocalSessionScanner.summarize has cognitive complexity 58 (threshold 15). Drivers by points: if/else 12 (31 pts), loops 7 (21 pts), boolean chains 6 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into 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/CodexBarCore/Providers/Grok/GrokLocalSessionScanner.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad160abcf4525a14be5038970588bf1cba334f04555d074730bedd38afb610e"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexRequestLedger.load (cognitive 57): CodexRequestLedger.load has cognitive complexity 57 (threshold 15). Drivers by points: if/else 19 (34 pts), boolean chains 19, loops 3 (4 pts) (nesting depth added 16). Of this number, 54 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexRequestLedger.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc2c85c1c44747fc7c8556911cc07d321829907da5ee68f5c4f1d6c2577acdb"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 57): fetchUsage has cognitive complexity 57 (threshold 15). Drivers by points: if/else 23 (34 pts), boolean chains 10, ternaries 6 (8 pts), loops 2 (3 pts), error handling 1, other 1 (nesting depth added 14). Of this number, 47 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/vercel-budget.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2db5c0d1837878944a51cac1404f088d5ee8721216eb55d9478eaf6435fa5c1"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderSettingsTokenAccountsRowView.body (cognitive 55): ProviderSettingsTokenAccountsRowView.body has cognitive complexity 55 (threshold 15). Drivers by points: if/else 17 (29 pts), ternaries 10 (22 pts), boolean chains 4 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProviderSettingsRows.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"35512d46c75b1736c75b118d5c6e529c6530b82e3a595e4899da2b3a4080f703"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardModel.modelSummary (cognitive 55): SpendDashboardModel.modelSummary has cognitive complexity 55 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 18, loops 3 (6 pts), ternaries 2, match/switch 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7458415d98899c53ab19db020d6f42984eed052e3e2ddeccde48b81e524276ff"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDashboardFetcher.collectPageSnapshot (cognitive 55): OpenAIDashboardFetcher.collectPageSnapshot has cognitive complexity 55 (threshold 15). Drivers by points: if/else 18 (40 pts), boolean chains 14, loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher\u002BPageScrape.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"15334c7bc6d2512ccb132360c1848427cb89f95e2d95cf43a353e60742b1bf0d"}},{"ruleId":"D2","level":"warning","message":{"text":"CostUsageFetcher.loadCachedCodexTokenSnapshotResult (cognitive 54): CostUsageFetcher.loadCachedCodexTokenSnapshotResult has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (31 pts), boolean chains 21, ternaries 2 (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/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f9a70749654db211b5fb5a4175670f56045984c06cac644489980dcdf30d07"}},{"ruleId":"D2","level":"warning","message":{"text":"install.main (cognitive 53): install.main has cognitive complexity 53 (threshold 15). Drivers by points: if/else 17 (26 pts), loops 6 (14 pts), boolean chains 9, ternaries 4 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Linux/install.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3119209683804f70c9ce76ec2c2ff290c1240d74287b64ee7190f8a59130679b"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 53): fetchUsage has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 11, ternaries 5 (7 pts), error handling 2 (4 pts), loops 1, other 1 (nesting depth added 18). Of this number, 22 points are the body\u0027s own statements and 31 belong to 8 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/opendesign.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea216370057c048106a9fd18eef4c442087eec07ab269d31acdb6d3ae48ac191"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.menuCardInput (cognitive 52): UsageStore.menuCardInput has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 23 (26 pts), boolean chains 23, if/else 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BMenuCardModel.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f191c365981814a4340671acfdb8259338f84d4d3afd20bb6da892b74250b842"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.handleProviderFetchFailure (cognitive 52): UsageStore.handleProviderFetchFailure has cognitive complexity 52 (threshold 15). Drivers by points: boolean chains 26, if/else 21 (26 pts) (nesting depth added 5). 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/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd75a1fc020bc89ef375e48109bdef1303b8f25ea837d0d29f3ef8546e14d11"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekUsageCostParser.aggregateMonth (cognitive 51): DeepSeekUsageCostParser.aggregateMonth has cognitive complexity 51 (threshold 15). Drivers by points: if/else 10 (34 pts), loops 5 (15 pts), boolean chains 2 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (DeepSeekUsageCostParser.buildDailyUsages) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"a503103d3f6638b60e5f1e47a3657a14275277f28816d0d5f13b2ec81322d8f1"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekUsageCostParser.buildDailyUsages (cognitive 51): DeepSeekUsageCostParser.buildDailyUsages has cognitive complexity 51 (threshold 15). Drivers by points: if/else 10 (34 pts), loops 5 (15 pts), boolean chains 2 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (DeepSeekUsageCostParser.aggregateMonth) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"35311e755838f2d45dcf6d7a376ef46e4241e887701c691e07e8ee794cab3516"}},{"ruleId":"D2","level":"warning","message":{"text":"QoderCookieRouting.preprocessedCurlShellText (cognitive 51): QoderCookieRouting.preprocessedCurlShellText has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (39 pts), boolean chains 8, match/switch 1 (2 pts), loops 1, ternaries 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Qoder/QoderCookieRouting.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7880f96d5d669ce32f0da2d591e288a2fc5783746814718002bc2ae4fa0f79"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 51): fetchUsage has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 14, ternaries 5 (8 pts), loops 2 (5 pts), error handling 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xai.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad083d939e302eb8432bf4c3c04f8cfa0675333b0010242e9022c431d11a7ccb"}},{"ruleId":"D2","level":"warning","message":{"text":"BurnTheme.init (cognitive 50): BurnTheme.init has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 24 (48 pts), if/else 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/BurnDownWidgetViews.swift"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cc0d5e0f545b9dd027574a689fd052051aa5eff62fdcba0a502261c969448e"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuDescriptor.usageSection (cognitive 49): MenuDescriptor.usageSection has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 11, ternaries 2 (7 pts), match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuDescriptor.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3299f065fe147580a9994ba752215e3fbdd1c09879792ed1c9e3a7ad3ffd25"}},{"ruleId":"D2","level":"warning","message":{"text":"PiSessionCostScanner.parsePiSessionFile (cognitive 49): PiSessionCostScanner.parsePiSessionFile has cognitive complexity 49 (threshold 15). Drivers by points: if/else 24 (44 pts), boolean chains 3, error handling 2 (nesting depth added 20). Of this number, 43 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbce7843adc99472566b68d588ebe1a65f3941f9c607c5290c88cdb8268b64a2"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderPluginCookieBroker.advance (cognitive 49): ProviderPluginCookieBroker.advance has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 7, ternaries 2 (6 pts), loops 2 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginCookieBroker.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1d9e4c4c48e156897c92a3e6dd649d177006123316221006091282dc498874"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.importOpenAIDashboardCookiesIfNeeded (cognitive 48): UsageStore.importOpenAIDashboardCookiesIfNeeded has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (28 pts), ternaries 4 (10 pts), boolean chains 4, match/switch 2 (4 pts), error handling 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54db722372e4c272af105c4abbf7e50f98eea209ec2e4bcffdcc3725c068812"}},{"ruleId":"D2","level":"warning","message":{"text":"Usage.rows (cognitive 47): Usage.rows has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 27, ternaries 16 (17 pts), if/else 3 (nesting depth added 1). Most of this is not in the body itself: 4 of the 47 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 44, 57, 65, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Linux/Shared/Usage.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b30c997c48ffe3ad63d58fdea3d9be7379ba18016b57cf50ed8718c51ad9808"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.resolvePlanUtilizationAccountKey (cognitive 45): UsageStore.resolvePlanUtilizationAccountKey has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (35 pts), boolean chains 10 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa451d5b3eeea0659acedde0ee36cba70dd6796cf55dc28ba1ebf90378dc241"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekUsageCostParser.parseByAPIKey (cognitive 45): DeepSeekUsageCostParser.parseByAPIKey has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 8 (17 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd7236ff8bff8bceae58c04ccc55b36bf5ab070508ee7d486368847c53d4a50"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniMaxLocalStorageImporter.importAccessTokens (cognitive 45): MiniMaxLocalStorageImporter.importAccessTokens has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 6 (14 pts), ternaries 3 (12 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8615a18308053b56b191d14f4eb5f99ec92e12aecfeb791a5b670e5d4f44b7"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 45): fetchUsage has cognitive complexity 45 (threshold 15). Drivers by points: if/else 23 (40 pts), boolean chains 18, other 14, ternaries 10 (11 pts), loops 6 (7 pts), error handling 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/perplexity.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"630e53e24e1e5e0ec137ea988fe093e038a1124be0a638b33740140e77f48972"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardModel.projectRows (cognitive 43): SpendDashboardModel.projectRows has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 9, loops 3 (6 pts), ternaries 2, match/switch 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9c9224abb5f041196077b68e6fbd108507054ebfcbd5fde573e2ef6798577a"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.runSpendDashboardCodexCostCatchUp (cognitive 43): UsageStore.runSpendDashboardCodexCostCatchUp has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 6, error handling 2 (4 pts), ternaries 2 (4 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 20). Of this number, 41 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BSpendDashboardCodexCostCatchUp.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8a2c7d45f0f535aca9e4b322b8673be365ab5db5d824ee8cc38754b05e77c2"}},{"ruleId":"D2","level":"warning","message":{"text":"PiFamilySessionScanner.costSessionRoots (cognitive 43): PiFamilySessionScanner.costSessionRoots has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 9, loops 4 (7 pts), match/switch 2 (6 pts), ternaries 1 (nesting depth added 17). Of this number, 39 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc55a254dcc8f0ca6d60ee3cc8e07322073fa9225fa41ef52b1e3abbb7e0f2ab"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 43): fetchUsage has cognitive complexity 43 (threshold 15). Drivers by points: if/else 21 (27 pts), boolean chains 12, ternaries 2 (3 pts), error handling 1 (nesting depth added 7). Of this number, 32 points are the body\u0027s own statements and 11 belong to 8 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clawrouter.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"895fd1b6f38f8b413500143bb1d39b55276c90628da9494b52ce53e37e92fd1a"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.populateMenu (cognitive 42): StatusItemController.populateMenu has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 32, if/else 6, ternaries 3, match/switch 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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a628356a96e8aca3763b9ac9915522aba8d6371529cd49fea121d41225acc3a"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.performOpenAIDashboardRefreshIfNeeded (cognitive 42): UsageStore.performOpenAIDashboardRefreshIfNeeded has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (37 pts), error handling 3, boolean chains 2 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cb6dacb4e9ad45bc92e0c00b05f0341ebc3d0325c79d0b8a50aeb456537d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuDescriptor.accountEntries (cognitive 41): MenuDescriptor.accountEntries has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 13, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuDescriptor.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8fdbb95374c4439a8253ac29aa1bf0b351136b9cf8fdad88f070a490387952"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.refreshCodexVisibleAccountsForMenu (cognitive 41): UsageStore.refreshCodexVisibleAccountsForMenu has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 7, ternaries 3 (6 pts), loops 2, match/switch 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/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d0a947f13696bbaa1296583be0e1e966daec9d59ed1c539f457affe679f6be"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeGoLocalUsageFetchStrategy.snapshotWithoutCLILogin (cognitive 41): OpenCodeGoLocalUsageFetchStrategy.snapshotWithoutCLILogin has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (19 pts), error handling 9 (14 pts), boolean chains 5, 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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac38182f83da70aaecc992849293bb87bf4afaab1ecdd088783c2d363e7c194"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarLayoutPersistence.preferredLibrary (cognitive 40): MenuBarLayoutPersistence.preferredLibrary has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 10 (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/CodexBar/Menu/MenuBarLayout.swift"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"d402ba6567ae691195957681fb17cee5d34a4f7e9b74b811806e35ec4f27ee10"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageMenuCardView.body (cognitive 40): UsageMenuCardView.body has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 10, ternaries 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/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e31063747dcf46718184790b1fd0b3b33e290c478580df38dd4567efb2125e"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaSnapshots.init (cognitive 40): QuotaSnapshots.init has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 9, error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CopilotUsageModels.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"901cbe40f628129b4fecac3b2b85abc7d864ed182e39f66fb8840285fd61b72c"}},{"ruleId":"D2","level":"warning","message":{"text":"AlibabaCodingPlanUsageFetcher.parseUsageSnapshot (cognitive 40): AlibabaCodingPlanUsageFetcher.parseUsageSnapshot has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 13 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd01543e5dcf39cda67a7ae21720c6d14dffafcc5db37149eff0c8072674954"}},{"ruleId":"D2","level":"warning","message":{"text":"AlibabaTokenPlanCLIUsageParser.teamUsage (cognitive 40): AlibabaTokenPlanCLIUsageParser.teamUsage has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 26, if/else 7 (12 pts), loops 1, ternaries 1 (nesting depth added 5). 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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanCLIUsageFetcher.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba0ff6acb0d121c898da123adac1a47bfecde5ac5dfac4f20dd2c6c05805fd9"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityLocalReader.aggregate (cognitive 40): AntigravityLocalReader.aggregate has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 7, ternaries 3, loops 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalReader.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb3241eb4377a70bfa83aa90a6e67fc61e411366fe5d8b308afebde682ac337"}},{"ruleId":"D2","level":"warning","message":{"text":"KiroStatusProbe.runCommand (cognitive 40): KiroStatusProbe.runCommand has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (36 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9415bc5e483f78709f5889e8b943e011e720a2f46ad9d41e13ee42c9ba1bcae6"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 40): fetchUsage has cognitive complexity 40 (threshold 15). Drivers by points: if/else 50 (66 pts), boolean chains 36, ternaries 20 (28 pts), loops 5 (6 pts), error handling 1 (2 pts), other 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/synthetic.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b715af14497ffb5707da4a2f364a83085960aa635f392e5bd4bcce1f63b373"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionEquivalentBurnEstimator.estimate (cognitive 39): SessionEquivalentBurnEstimator.estimate has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 17, loops 2, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionEquivalentForecast.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"59699101276ad51a6541c8f4051b436f9719d120fbf99ebcf33126f944825c6f"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarLayoutRenderer.removeDuplicateBalanceResets (cognitive 39): MenuBarLayoutRenderer.removeDuplicateBalanceResets has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 13, loops 5 (13 pts), if/else 6 (9 pts), ternaries 1 (4 pts) (nesting depth added 14). Of this number, 38 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"9887d72ea95ede028805212e77ac92e8559b50c9b96d1b4b30dd3df156a24e3f"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardSource.makeRequest (cognitive 39): SpendDashboardSource.makeRequest has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 9, loops 2 (3 pts), ternaries 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/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee745efbbb7026a6c3e8a7a807e8e8fa8b0ae0a1385978f1b446a0e189a9cc48"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.refreshCreditsIfNeeded (cognitive 39): UsageStore.refreshCreditsIfNeeded has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 9, ternaries 1 (2 pts), error handling 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/CodexBar/Providers/Codex/UsageStore\u002BCodexRefresh.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba52e1837f62a5c10b7fecbc48ca8ce47b074a5c0ba66a1d7243b83a8365acbe"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityCLISession.ensureStartedLocked (cognitive 39): AntigravityCLISession.ensureStartedLocked has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 6, error handling 2 (4 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bf34339e6013e7b3d335c61fadc684d0228a8505432589c709b976987c5bb9"}},{"ruleId":"D2","level":"warning","message":{"text":"AuggieCLIProbe.parse (cognitive 39): AuggieCLIProbe.parse has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 5, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Augment/AuggieCLIProbe.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bd1c8af760fa9099a254094b6bb7f9a712cd97f847bc90ca4733ade9539c4b"}},{"ruleId":"D2","level":"warning","message":{"text":"KiloUsageFetcher.creditFields (cognitive 39): KiloUsageFetcher.creditFields has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 11, ternaries 2 (6 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5649661a1afc06d2acc4ec69a8f55d8e04448ca8ee8037f9f37d43ce9f2a83e"}},{"ruleId":"D2","level":"warning","message":{"text":"IconRenderer.makeIcon (cognitive 38): IconRenderer.makeIcon has cognitive complexity 38 (threshold 15). Drivers by points: if/else 40 (63 pts), ternaries 11 (22 pts), boolean chains 13, loops 5 (12 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (IconRenderer.makeIcon::drawBar) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/IconRenderer.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e68a79debcd4f56e50d3d1ee2ff3dc5fcd3e4749f9432adbccade0a9d3126e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDashboardBrowserCookieImporter.importBestCookies (cognitive 38): OpenAIDashboardBrowserCookieImporter.importBestCookies has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (18 pts), error handling 3 (11 pts), match/switch 1 (4 pts), boolean chains 2, loops 2, ternaries 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe8f7f3442b2b5f4b90e908241332260c9df3e57760333c091c36d35520824d"}},{"ruleId":"D2","level":"warning","message":{"text":"AmpUsageParser.parse (cognitive 38): AmpUsageParser.parse has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 19, if/else 10 (12 pts), ternaries 5 (7 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpUsageParser.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc93cd3f89e7bca594bd0a5a1c37659e1e720401a47c49124d4218159f86979"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.number (cognitive 38): Lexer.number has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (22 pts), loops 4 (7 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 10). Of this number, 34 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityJSONLObject.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad77e54faa036efacd049052169d68635910b801c50da1299206ec4bdb57a7d6"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniMaxLocalStorageImporter.readLocalStorage (cognitive 38): MiniMaxLocalStorageImporter.readLocalStorage has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 6 (11 pts), boolean chains 9 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef0311cf5571cf1982555d651ae8c927bf33a26be78c2074d1c5c1d855076a9"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 38): fetchUsage has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 20 (24 pts), boolean chains 16, if/else 11 (16 pts), other 6, loops 3 (4 pts), error handling 2 (nesting depth added 10). 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/CodexBarCore/Resources/Plugins/neuralwatt.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9c583418c0ddfdfc57511201c56ee43bb755b934e90ab20d3558578815dc06"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 38): fetchUsage has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 7 (12 pts), boolean chains 8, other 2, error handling 1, loops 1 (nesting depth added 10). Of this number, 26 points are the body\u0027s own statements and 12 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/traecn.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c51d3a404240032dae9722e8d8d63a97b5976eee948ee672db294b389c88933"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.handleSessionQuotaTransition (cognitive 37): UsageStore.handleSessionQuotaTransition has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 9, ternaries 1 (3 pts), match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BSessionQuotaTransition.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"af60764c35f0873cbb18ec0236a43290ec0a9abf3c69fe6336e5f7b87ec50f04"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.extraRateWindowMetrics (cognitive 37): Model.extraRateWindowMetrics has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18, boolean chains 12, ternaries 7. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"51344ed2eebf1706ddd1d66a4691b149d3cfa5a14c9b3c6aa91f224c695926e4"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderPluginHTTPResponse.request (cognitive 37): ProviderPluginHTTPResponse.request has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 7, ternaries 2 (4 pts), loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginHTTPResponse.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"951f0eb30d410983929da49fc38fb932c70a22e3631ec091fe6013a12d0ba13c"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.object (cognitive 37): Lexer.object has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 3 (5 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityJSONLObject.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb496f778bfd5937ea3eef408128ddd4808303208620eccdde5693b17c79df81"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 37): fetchUsage has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 12, ternaries 6 (10 pts) (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 15 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sakana.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc42f906710a7d062ebf621e398bdf1a6ed8fdac0e908b88dfb76c4a97cc6413"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage::parseQuota (cognitive 37): fetchUsage::parseQuota has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 9, ternaries 3 (5 pts), other 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/CodexBarCore/Resources/Plugins/synthetic.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fcf8734107f1ce3c623463d8b8e94a7d378b96e4f8f6972f630ab375e74e93"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 37): fetchUsage has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 11, ternaries 4, error handling 2 (3 pts), loops 1 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 21 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zenmux.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d8d45929c36a60c64d0bbe7ad0c02660e6d6ec35500df68cbb6f7caaf38818"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.menuIdentitySignature (cognitive 36): StatusItemController.menuIdentitySignature has cognitive complexity 36 (threshold 15). Drivers by points: loops 6 (15 pts), ternaries 3 (12 pts), if/else 4 (8 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuTracking.swift"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5ed06caa9c0a322fc0db29efcaf93ed3c6a4f45f8e01b2b353bedbcf2910e1"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.applyProviderRefreshSuccess (cognitive 36): UsageStore.applyProviderRefreshSuccess has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20, boolean chains 13, ternaries 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f038175485d99edd2cd5dedfa6149040e102ed589ac036116f689d24127012"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionToolActivityStore.scan (cognitive 36): SessionToolActivityStore.scan has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (28 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/SessionToolActivityStore.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1323dddc7d25932dfba58b174b8b02e38df39c44dd148031ba7de50906ce7f57"}},{"ruleId":"D2","level":"warning","message":{"text":"FactoryStatusProbe.fetchWithCookies (cognitive 36): FactoryStatusProbe.fetchWithCookies has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 5 (11 pts), boolean chains 5, match/switch 1 (4 pts), loops 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"a900b1ea836d1da25a36ff6a9f9a4b83a04fd8d66155fd9cdb32e5b54d3603ab"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage::accounts (cognitive 36): fetchUsage::accounts has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 8, loops 3 (6 pts), ternaries 1 (2 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/CodexBarCore/Resources/Plugins/fireworks.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"495f2a47e9b40119f400f35e06259a1dfcf46319272324c06349fa7f8ef07cc7"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 36): fetchUsage has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 11, other 4, ternaries 3 (4 pts), error handling 1 (nesting depth added 3). Of this number, 32 points are the body\u0027s own statements and 4 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/flora.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1fc30f8a99ef28c4be42626ece289e8b8b284188b6e96dd3d41cd26ba81bed"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 36): fetchUsage has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 3 (5 pts), boolean chains 4, error handling 2 (4 pts), loops 1 (nesting depth added 15). Of this number, 16 points are the body\u0027s own statements and 20 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xapi.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45c89f0557fcc4ab89f72d474708ab360823d297e4b764866b18d88cde517fe"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionUsagePresentation.sessions (cognitive 35): SessionUsagePresentation.sessions has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 5 (13 pts), boolean chains 1, match/switch 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionUsagePresentation.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b566e6e048cbb37002b4ebcee112a38bf2b707756f0b565e67a86ebd4fbf854d"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarLayoutRenderer.renderItem (cognitive 35): MenuBarLayoutRenderer.renderItem has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 9 (20 pts), if/else 5 (8 pts), boolean chains 6, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"09235f150d413b0884060225e0a0f580d6130f287a6d59779a5148c139e3c68e"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardController.handleBuiltRequest (cognitive 35): SpendDashboardController.handleBuiltRequest has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 9, ternaries 1 (3 pts), match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe4cbe07f521778dc2548eb89cd70d851cb78c67edffbac0ab6453c91a92709"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.addOverviewRows (cognitive 35): StatusItemController.addOverviewRows has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (23 pts), ternaries 3 (8 pts), boolean chains 3, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"2731e4c224ac2c90a8369a43721558a2d1f3e80fd58dd06cc66a39dd8a1f7f5b"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.reconcileClaudeRefreshAfterFetch (cognitive 35): UsageStore.reconcileClaudeRefreshAfterFetch has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 19, if/else 13 (15 pts), ternaries 1 (nesting depth added 2). 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/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"318a1b42d2f9ae0771ff79151d635cdec9bddea76871a95bdeb7c84bf6618821"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.refreshTokenUsage (cognitive 35): UsageStore.refreshTokenUsage has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 8, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c390fef705aa30f974f5caba08adcd71c474e532069d6a545c8851c13b4c9f"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureReader.validate (cognitive 35): SignatureReader.validate has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 13, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLaunchPreflight\u002BSignatureIdentity.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a896416332c6dcb3412f245c770be9c604e9c14c47149d0f787687f1e65a77a3"}},{"ruleId":"D2","level":"warning","message":{"text":"PiFamilySessionScanner.scan (cognitive 35): PiFamilySessionScanner.scan has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 5, loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4ec3a3fe28bfbf81606ef9f8a3a48e07cd3ddc9409bd1f6a4fbfafbba97a32"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityLocalReader.discover (cognitive 35): AntigravityLocalReader.discover has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (26 pts), error handling 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalScan.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"80df19f17a960350e0cbf4e6c6318aa99bf415ddb9779e4b8ce86308c66de08a"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekUsageCostParser.aggregateDay (cognitive 35): DeepSeekUsageCostParser.aggregateDay has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 4 (10 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"657fe2bcaf59c0fbda61dd80ffffc591ca14b4961adc71ed7c47745f628fc8dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeOAuthPendingCacheClearUserDefaultsStore.withCacheTransaction (cognitive 35): ClaudeOAuthPendingCacheClearUserDefaultsStore.withCacheTransaction has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 5, ternaries 1 (3 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthPendingCacheClearStore.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ae422d22eddfe43c7954093f543d242ca2a5c3e74675b8bfd1e83a9361ad7e"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage::pages (cognitive 35): fetchUsage::pages has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (18 pts), ternaries 2 (8 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3efe5d3fa70724f50be729e52c957d69bc8974848ab2b82b5f6846fbaf45c54"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 35): fetchUsage has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 15, if/else 13, ternaries 5 (7 pts) (nesting depth added 2). Of this number, 30 points are the body\u0027s own statements and 5 belong 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/CodexBarCore/Resources/Plugins/venice.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2d69292661bc8baee631499a4dc97418230f631c6ea227961613d3d87a299b"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoricalUsageHistoryStore.backfillCodexWeeklyFromUsageBreakdown (cognitive 34): HistoricalUsageHistoryStore.backfillCodexWeeklyFromUsageBreakdown has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 8, 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/CodexBar/HistoricalUsagePace.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e7eccecc4bcae518925e30edc4f61e35cabfba7696e8c68ee4774b5fa97789"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.resolvedClaudeOAuthHistoryOwner (cognitive 34): UsageStore.resolvedClaudeOAuthHistoryOwner has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 7, ternaries 3 (6 pts), loops 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f4507c90688a10c57c744115a1b3bd69f183238a35b1696429d1ef30fa2585"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.runStandardCost (cognitive 34): CodexBarCLI.runStandardCost has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 4, match/switch 2 (4 pts), error handling 2 (3 pts), loops 1, ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICostCommand.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d516fbd15fdc29ddc79cc2cbe0f2f80a37e6b2de786d82f3f035cc796ad07ee8"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureReader.slice (cognitive 34): SignatureReader.slice has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 16, if/else 8 (14 pts), ternaries 2 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLaunchPreflight\u002BSignatureIdentity.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6427f9bd2d68dd866ec47722c69e3e77ad6c1f82a60891a50089829470fa5af"}},{"ruleId":"D2","level":"warning","message":{"text":"CostUsageFetcher.codexBreakdownsWithMetadata (cognitive 34): CostUsageFetcher.codexBreakdownsWithMetadata has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 5 (7 pts), boolean chains 6 (nesting depth added 14). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"19df99ec0ba86ad1b56bc2747d4989adef8228a06f4c908c21c9fc736f978079"}},{"ruleId":"D2","level":"warning","message":{"text":"MuseLocalUsageReader.parseLine (cognitive 34): MuseLocalUsageReader.parseLine has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 21, if/else 11, ternaries 1 (2 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/CodexBarCore/Providers/Muse/MuseLocalUsageReader.swift"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"148d868e725d26c8d3585a6491cece5ade69ace6b50b8b1d8521cbaf9e89c0cb"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 34): fetchUsage has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 10 (11 pts), boolean chains 9, error handling 1, loops 1, other 1 (nesting depth added 3). Of this number, 22 points are the body\u0027s own statements and 12 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/manus.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb26e96e20b582d774731b3ba7e5f5da7b0f369d16f8d430680e81348700fff"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexHistoricalPaceEvaluator.evaluate (cognitive 33): CodexHistoricalPaceEvaluator.evaluate has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (20 pts), loops 4 (6 pts), boolean chains 5, ternaries 2 (nesting depth added 7). 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/CodexBar/HistoricalUsagePace.swift"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a77a3d2d264953dd240d232b904f2a0d2cda4ea2181c83cd929cb250c34dc40"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardModel.buildCurrencyGroup (cognitive 33): SpendDashboardModel.buildCurrencyGroup has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (11 pts), loops 3 (4 pts), match/switch 2 (4 pts), ternaries 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae38fa25e78d8275e64857bea51f75e516270c7385e9d64b26c409849f29a8e"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.shouldExcludeFromHighestUsage (cognitive 33): UsageStore.shouldExcludeFromHighestUsage has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 11, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BHighestUsage.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cce611589de19a59cc110a220b0644304647c7bf5031fb14c2d10a343803e1"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.handleQuotaWarningTransitions (cognitive 33): UsageStore.handleQuotaWarningTransitions has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 6 (9 pts), boolean chains 8, loops 2 (4 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BQuotaWarnings.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"845efcfe28816adadb6da36bd82eb938c6319bb8dd392a1760df7dadce281c66"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.collectCodexIdentifiedUsage (cognitive 33): CodexBarCLI.collectCodexIdentifiedUsage has cognitive complexity 33 (threshold 15). Drivers by points: if/else 4 (14 pts), ternaries 5 (13 pts), error handling 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICodexIdentifiedUsage.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"111d6c0fc50d47a339832f98571154c452272cfb0e2706153c93c4f9c22a168d"}},{"ruleId":"D2","level":"warning","message":{"text":"PiSessionCostScanner.buildReport (cognitive 33): PiSessionCostScanner.buildReport has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 11 (18 pts), if/else 5 (11 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner\u002BAggregation.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9265157f936f4a6760d574dbdc3a9a01f8bfcaa8a9d5c2b93ac3a2f0ecce60b4"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityLocalReader.readDatabase (cognitive 33): AntigravityLocalReader.readDatabase has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 4, loops 1 (3 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d00ce365aa100146ec797008c3280ad79c61fe2ec33aa54b6d87fdae30ceea"}},{"ruleId":"D2","level":"warning","message":{"text":"AugmentSessionKeepalive.pingSessionEndpoint (cognitive 33): AugmentSessionKeepalive.pingSessionEndpoint has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Augment/AugmentSessionKeepalive.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"75941349ea81a69785875a63197f0a8353422c461a87b6de4b185fca7029d2f9"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionQuotaTransitionReducer.evaluate (cognitive 32): SessionQuotaTransitionReducer.evaluate has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 13, match/switch 1 (2 pts), 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/CodexBar/SessionQuotaNotifications.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"221455a338880c64b2077b62ca45e8a5e4cdbcd6bb8cae159d5462a14aa89af8"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.makeWidgetEntry (cognitive 32): UsageStore.makeWidgetEntry has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12, boolean chains 10, ternaries 7 (9 pts), match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BWidgetSnapshot.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8e71cf916620fe3080f09d8fe19db68e0292b09d7ebafea42f1cd2c54f3e3a"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexWeeklyResetConfirmation.confirmationDecision (cognitive 32): CodexWeeklyResetConfirmation.confirmationDecision has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 18, if/else 9 (11 pts), ternaries 1 (3 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"db489a596640650863c20ad2f658fbaafb0cbfe2b6f098a06ccaa281a9651fd4"}},{"ruleId":"D2","level":"warning","message":{"text":"CopilotLoginFlow.run (cognitive 32): CopilotLoginFlow.run has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (18 pts), ternaries 2 (7 pts), error handling 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Copilot/CopilotLoginFlow.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb94b1a36363123e6cb4b35f9306db7d05433609be1f520849e516e15c81ef3c"}},{"ruleId":"D2","level":"warning","message":{"text":"AmpUsageSnapshot.toUsageSnapshot (cognitive 32): AmpUsageSnapshot.toUsageSnapshot has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 6, ternaries 4 (6 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpUsageSnapshot.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"437e34ca2cedea6773556e37a01b815f7f8c8d241a7722b440b91192d4c06271"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorStatusProbe.resolveSession (cognitive 32): CursorStatusProbe.resolveSession has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 5 (9 pts), boolean chains 6, ternaries 2 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BSessionResolution.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"052cd78aa9ab36da76a0e656a43e4add791f2838e709e7fdd37444ca4ffe7a7b"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.planUtilizationSeriesSamples (cognitive 31): UsageStore.planUtilizationSeriesSamples has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 7, loops 1 (2 pts), match/switch 2 (nesting depth added 9). Of this number, 24 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"0206c384ce0f199b3d999060862e1f9a22a69a09a9aa6ac0b8195247ea3ed8c6"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.refreshSpendDashboardTokenUsageNow (cognitive 31): UsageStore.refreshSpendDashboardTokenUsageNow has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 6, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BSpendDashboardTokenCost.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef0fe12fc85b3dcf55221a3199839668f792632fef7a02e71b752cce5a959ca"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexWeeklyResetConfirmation.evaluateDelayedCandidateCreation (cognitive 31): CodexWeeklyResetConfirmation.evaluateDelayedCandidateCreation has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18, boolean chains 13. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"408141016e26ecb0bd886b20c9ca92c5e0ad19c1d2bd88ba74e3d779c42341ff"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexWeeklyResetConfirmation.evaluateDelayedCandidate (cognitive 31): CodexWeeklyResetConfirmation.evaluateDelayedCandidate has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19, boolean chains 11, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"022012db6c6bb49a912f8ce189cc779c2768a2c25455d54a3fb411e2df79b399"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.fetchUsageOutput (cognitive 31): CodexBarCLI.fetchUsageOutput has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 7, ternaries 2 (3 pts), match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIUsageCommand.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2ccc569a7833d156d7e6494a06f6902bae5c57efa15850e0c5e6c6c7ddd51f"}},{"ruleId":"D2","level":"warning","message":{"text":"PiFamilySessionScanner.retainedSettingsRootResolution (cognitive 31): PiFamilySessionScanner.retainedSettingsRootResolution has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, ternaries 2 (4 pts), match/switch 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaaccccf4f5b207f4f73e58d3c61cc1bf343cf6b9b5c6e2b3124e40bb186cb47"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.metrics (cognitive 31): Model.metrics has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 13, if/else 10 (11 pts), ternaries 4 (7 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0eb2d038faa4ea597d2a875dc30d8347496890cf5439e5db8fdf48fb6a6de33"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.secondaryMetric (cognitive 31): Model.secondaryMetric has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 15, if/else 13 (14 pts), ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"2556a7a3f3c3fe980f035a3ccc920cb63a851f943cfaec2966e7f5e3c44fe889"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarConfigValidator.validateProvider (cognitive 31): CodexBarConfigValidator.validateProvider has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 20, if/else 11. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Config/CodexBarConfigValidation.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"55719c62c87db313a115759be8ed3059cce2ba1a6dc9366aec70f53ee4edab28"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaScriptCoreProviderPluginEngine.makeContext (cognitive 31): JavaScriptCoreProviderPluginEngine.makeContext has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 8, error handling 6, ternaries 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"813dc2b4d30b0d18896652e1620ca1ff7675c1cd9524e591263d62069f5da10b"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityLocalReader.readStepTimestamps (cognitive 31): AntigravityLocalReader.readStepTimestamps has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 7, 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/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4c7e9a624061f6a331cb0f8dcabdbef46fb7aefee0847b6e3e72a537571c8c"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityLocalReader.appendRecoveredEvents (cognitive 31): AntigravityLocalReader.appendRecoveredEvents has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (27 pts), boolean chains 2, loops 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a9e9f972f34d78b5bc6f2100ee2668c0b3cbc711e9844efe2de48d390aacd7"}},{"ruleId":"D2","level":"warning","message":{"text":"Repository.loadRecord (cognitive 31): Repository.loadRecord has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 5, error handling 3 (4 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"399b598e921178d2a173aea815ad537714ddaf6f3cf4fc9b68a5179627a6542a"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeSubscriptionMetadataFetcher.fetchVerified (cognitive 31): ClaudeSubscriptionMetadataFetcher.fetchVerified has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 8, ternaries 1 (2 pts), error handling 1 (nesting depth added 11). Of this number, 18 points are the body\u0027s own statements and 13 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeSubscriptionMetadata.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6698c409c78532d299d0811551bf6bcff609892ef8b7a546cc6afd1d9558e8f6"}},{"ruleId":"D2","level":"warning","message":{"text":"BurnChartCanvas.body (cognitive 31): BurnChartCanvas.body has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (24 pts), ternaries 3 (5 pts), loops 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/BurnDownWidgetViews.swift"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d0529581e92965b9d19044cced051c0a4e239138e2eb9da4a7032609631d21"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendProviderBreakdownRows.providerGroup (cognitive 30): SpendProviderBreakdownRows.providerGroup has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 5 (10 pts), boolean chains 4 (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/CodexBar/SpendDashboard/SpendDashboardProviderBreakdown.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca818e4aea89fbb33ea6f2a48d52f85a6d1b1e6d367a317a64b47d5a58b10b54"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.tickBlink (cognitive 30): StatusItemController.tickBlink has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 1 (4 pts), boolean chains 3, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18402b5e69d9f32d93815da69752cdcada579d510db7940617cef81f77a9a89"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.applySelectedOutcome (cognitive 30): UsageStore.applySelectedOutcome has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 8, ternaries 3 (6 pts), match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b51ab42e09aa2b1bee097a926c25a333f1996a4b39f9317fb33c2a30db70c5c"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexThreadMetadataReader.tomlString (cognitive 30): CodexThreadMetadataReader.tomlString has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 3 (8 pts), boolean chains 5, 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/CodexBarCore/CodexThreadMetadataReader.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1003ba5d61fc083722a7714ffcd5b9b6093b0b84fd5904e04fa1600628e9cd48"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityCLIHTTPSFetchStrategy.waitForSnapshot (cognitive 30): AntigravityCLIHTTPSFetchStrategy.waitForSnapshot has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (22 pts), error handling 3 (7 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e7a939b12fbf8f333bbd4fab31da8b61ce71de6f78ea789c949c7341a25c1c"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorLocalCSVReader.parseFile (cognitive 30): CursorLocalCSVReader.parseFile has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 7, ternaries 3 (6 pts), loops 2 (nesting depth added 8). Of this number, 23 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorLocalCSVReader.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dfb6f5d392d12233beae1d9973be76a0088bedc03de9f8a5cc8b4ab28197a1"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekPlatformTokenImporter.resolve (cognitive 30): DeepSeekPlatformTokenImporter.resolve has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (18 pts), ternaries 3 (6 pts), boolean chains 4, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekPlatformTokenImporter.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ce6b32204a28964a115341ae317fbe5ab02f46f0f7fb719d7d4a5b1ec99762"}},{"ruleId":"D2","level":"warning","message":{"text":"GrokWebBillingFetcher.parseGRPCWebResponse (cognitive 30): GrokWebBillingFetcher.parseGRPCWebResponse has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 21, if/else 6, ternaries 2, loops 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/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f43b30190971005f9a2e8aae8120fdaf71d1531ec79bb3e058c021897eed455"}},{"ruleId":"D2","level":"warning","message":{"text":"MistralSubscriptionBudgetParser.collectModels (cognitive 30): MistralSubscriptionBudgetParser.collectModels has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 9, ternaries 2 (5 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/CodexBarCore/Providers/Mistral/MistralSubscriptionBudgetParser.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b582b2c16626e4dc232e2022c6f651e5ee5d24bfba793f7553224c0e1b30f7"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage::summary (cognitive 30): fetchUsage::summary has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 11, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/fireworks.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ba5fd60fc6489b8c06607f817141e694f3c2e0f28d3c394bbf6350fec66194"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplayEngine.runDetailed (cognitive 29): ReplayEngine.runDetailed has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 8, ternaries 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/AdaptiveReplayKit/ReplayEngine.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec06daf7edc7c7167523c8bf27006ec8bd45ce965003ce7357313e9853a134b"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsStore.recoverLegacyCredentials (cognitive 29): SettingsStore.recoverLegacyCredentials has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 16, if/else 5 (10 pts), error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStore\u002BConfig.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"046c5c5ae6899d1e2130d39430d7a4c550f4e108745a0612bd2f4cf268d82b96"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.scheduleMenuBarCountdownRefreshIfNeeded (cognitive 29): StatusItemController.scheduleMenuBarCountdownRefreshIfNeeded has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 8, match/switch 1 (2 pts), error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BCountdownRefresh.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae62c1a68dc97d6435d1474bff036a6d7b27e902c74a1df4afdf2a1a5a3babe"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.menuWillOpen (cognitive 29): StatusItemController.menuWillOpen has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 4 (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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"70aff42f0f0ca0bd7be0bdf65732f3c89670a2751c6d737517c842b6a02703dc"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexThreadMetadataReader.decodeMultilineBasicString (cognitive 29): CodexThreadMetadataReader.decodeMultilineBasicString has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (7 pts), boolean chains 6, ternaries 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexThreadMetadataReader.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f7765567d4f5f27d7d67a9b0690b284dca47a34c207ad9c677e2813c6c7b91"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexThreadMetadataReader.assignedProjectSessionIDs (cognitive 29): CodexThreadMetadataReader.assignedProjectSessionIDs has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 3, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexThreadMetadataReader\u002BProjects.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf007ff29220d2e37a2e445c4ec646edc1f6eeae5ed559b88faea14f109e5a5"}},{"ruleId":"D2","level":"warning","message":{"text":"CostUsageFetcher.loadLocalTokenScanResult (cognitive 29): CostUsageFetcher.loadLocalTokenScanResult has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 14, if/else 9 (14 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefba681836787f628b07fc5038aa1b032edb8cc54cb6d5e2ddf57e9b3f17454"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.costHistoryInlineDashboard (cognitive 29): Model.costHistoryInlineDashboard has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 17, if/else 7 (8 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/InlineUsageDashboardContent.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5017f6e193d51325c6d172f576c59547b60ed05b0c112d62e2b33cda9ba1f46c"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDashboardWebViewCache.acquire (cognitive 29): OpenAIDashboardWebViewCache.acquire has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 5, error handling 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardWebViewCache.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9adae093946dc64b4b6141d5d028cf3207a38ad99c43d6fe0785a1a6b09dec1"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAISubscription.fetch (cognitive 29): OpenAISubscription.fetch has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 2 (6 pts), boolean chains 5, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAISubscriptionMetadata.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e435a4a6dcb842998867467a2d991025a44ddb355464ccb629dc1814ed9c8322"}},{"ruleId":"D2","level":"warning","message":{"text":"TTYCommandRunner.run::processNonCodexChunk (cognitive 29): TTYCommandRunner.run::processNonCodexChunk has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (TTYCommandRunner.run) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c4bcf6abfd0d5f12a5a6c889ef172b209b9040814d1dfd34dd8a7105041106"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityLocalReader.readRows (cognitive 29): AntigravityLocalReader.readRows has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 4, 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/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d164e146168de4eaa1e2168f3e59b5d778ef5142b1f5e34beaaa7d17afe47e"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityCLIHTTPSFetchStrategy.tryWarmAgyFetch (cognitive 29): AntigravityCLIHTTPSFetchStrategy.tryWarmAgyFetch has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 6 (10 pts), boolean chains 3, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca036c11fee31b52ecdfec9e9377b9544aa3b18a1c2430d62a505e12ce5f425b"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexRequestLedger.validate (cognitive 29): CodexRequestLedger.validate has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 23, if/else 3 (5 pts), loops 1 (nesting depth added 2). 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/CodexBarCore/Providers/Codex/CodexRequestLedger.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"896193fed2f285e579c30be35ce9b9f33a10420bad2ca70b0c6a939551b72237"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorStatusProbe.parseUsageSummary (cognitive 29): CursorStatusProbe.parseUsageSummary has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15, boolean chains 8, ternaries 6. Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BUsageSummary.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9061cca66fbae684369e2cb4161ce2a6cd2406fff7324976e84d39edba1ace"}},{"ruleId":"D2","level":"warning","message":{"text":"KiroUsageSnapshot.toUsageSnapshot (cognitive 29): KiroUsageSnapshot.toUsageSnapshot has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 11, ternaries 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0301bc9139d94239423aa6c6a3c31982c5e778e547eabfc49118978f0d49173"}},{"ruleId":"D2","level":"warning","message":{"text":"Recovery.repairFromClaudeKeychainWithoutPromptIfAllowed (cognitive 29): Recovery.repairFromClaudeKeychainWithoutPromptIfAllowed has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 8, ternaries 3 (6 pts), error handling 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7e4727b27c6242708cf0dc2e99d4d19ecd968b966bcd269dc802d8804db28f"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 29): fetchUsage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 7, boolean chains 6, error handling 2, loops 1 (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 13 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepinfra.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"501e0f135d37ff588b3b496b0628be2809724ef8dcbb5ca4dcdf9c7160df062f"}},{"ruleId":"D2","level":"warning","message":{"text":"IconRenderer.makeIcon::drawBar (cognitive 28): IconRenderer.makeIcon::drawBar has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (24 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (IconRenderer.makeIcon) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/IconRenderer.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7498536b91232b2a9c0e049414e095fbf914b5733962ac30ef26d237a6240d6"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.performStoreRefresh (cognitive 28): StatusItemController.performStoreRefresh has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 8 (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/CodexBar/StatusItem/StatusItemController\u002BActions.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7420512eb1a49e3d64dcf1852ca8b9d56c15455ead5a6c899d4d242da4091a27"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.startManualRefresh (cognitive 28): StatusItemController.startManualRefresh has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 10, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f121ff04653275dc592346730e085e06148c92ca39b45e21dabc8258c703acec"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.applyOpenAIDashboardAuthorityDecision (cognitive 28): UsageStore.applyOpenAIDashboardAuthorityDecision has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 7, ternaries 2 (5 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef9793a1813e1052e98832feaaa9f5726aa4eef422a4c9ec96307b158d0bb6f"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexResetCreditExpiryNotifier.postExpiringCreditsIfNeeded (cognitive 28): CodexResetCreditExpiryNotifier.postExpiringCreditsIfNeeded has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 2 (5 pts), boolean chains 3, ternaries 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexResetCreditExpiryNotifier.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7d714a77d4d90751973a1ae5cdb143534e4f55a3d8da83a49a488a9a4c78af"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexWeeklyResetConfirmation.initialDecision (cognitive 28): CodexWeeklyResetConfirmation.initialDecision has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 6, 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/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"205b17807230207cb8ab83883cc94287c19bd1a87614e0fa4bbe4ff4f8d7188d"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.runCacheClear (cognitive 28): CodexBarCLI.runCacheClear has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (2 pts), match/switch 1, ternaries 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/CodexBarCLI/CLICacheCommand.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce3f5717497aad50433e1a605d113c4a4a354e476a9193583cedf31e8bd8d70"}},{"ruleId":"D2","level":"warning","message":{"text":"CookieHeaderCache.currentObservationMatch (cognitive 28): CookieHeaderCache.currentObservationMatch has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 3 (7 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"97757673b96787cc5493adff3cbc150ca00e8452a6a54bc65b5791287416b6c4"}},{"ruleId":"D2","level":"warning","message":{"text":"PiSessionCostScanner.appendingPreviousSessionRoots (cognitive 28): PiSessionCostScanner.appendingPreviousSessionRoots has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 10, match/switch 1 (3 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a019a00b8e4d50346077a3989abc47dcdd5a74ac80e0282b097104e41693c22"}},{"ruleId":"D2","level":"warning","message":{"text":"PreferencesDocument.validate (cognitive 28): PreferencesDocument.validate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 6, match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Config/PreferencesDocument.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"235f1b1f1000e30d0e3351d2fed920bdb3082a3a050eb16a5471f43ada2f44c1"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderIntentPayload.applying (cognitive 28): ProviderIntentPayload.applying has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (19 pts), ternaries 4 (8 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/CodexBarCore/Sync/SyncModels.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e03d0483a197731729f07d8f133261906ab3e6399074f7d90d3e4ef3b6d002"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityLocalReader.readJSONLFile (cognitive 28): AntigravityLocalReader.readJSONLFile has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (19 pts), error handling 3 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalJSONL.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"133b98ea93e109bbfe48f83a13d89043aca6c34e4a09a1c38e637487fc9454ad"}},{"ruleId":"D2","level":"warning","message":{"text":"DoubaoUsageFetcher.decodeArkcliUsage (cognitive 28): DoubaoUsageFetcher.decodeArkcliUsage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (5 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d7f3b53264e46661a341e31e7cd8b98b9bbb765e18edb7c74bd1c10126b026"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniMaxUsageParser.parseCodingPlanRemains (cognitive 28): MiniMaxUsageParser.parseCodingPlanRemains has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 10, ternaries 4 (5 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30e6ce890893a074a6b6fb41e97bb71d53528d2cc73482f0caf5c105489e909"}},{"ruleId":"D2","level":"warning","message":{"text":"Repository.loadFromClaudeKeychainWithPromptIfAllowed (cognitive 28): Repository.loadFromClaudeKeychainWithPromptIfAllowed has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 6, error handling 3 (4 pts), match/switch 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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf99318d7034cf63974001ca8f2c53b6f813c09f3a0f687f8cc78947f44a8f0"}},{"ruleId":"D2","level":"warning","message":{"text":"chutes.chutesMinutes (cognitive 28): chutes.chutesMinutes has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 5 (19 pts), if/else 4 (6 pts), boolean chains 2, loops 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfc1313a991c2cb42a1f76db297a5a2d24b8955aeec9bc217673fab6e55f72f"}},{"ruleId":"D2","level":"warning","message":{"text":"chutes.chutesMinutes (cognitive 28): chutes.chutesMinutes has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 5 (19 pts), if/else 4 (6 pts), boolean chains 2, loops 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e4367dc6354f70198bb07ea205f55eaec04f17d1188bc62261d3d30c9654cc"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 28): fetchUsage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9, ternaries 6 (9 pts), boolean chains 8, error handling 1, other 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/fal.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6655670b9a5f8f8b56296d04a22b0c895cda600614e76ebed62d386306de3d4e"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarLayoutBalanceResolver.balance (cognitive 27): MenuBarLayoutBalanceResolver.balance has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 7, ternaries 2 (4 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayout.swift"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1747faaa3d86f9d42df73c6d1c09756228d5a05089bbc39abb79209f44ccf41"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.switcherWeeklyMetricPercent (cognitive 27): StatusItemController.switcherWeeklyMetricPercent has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 14, if/else 9, ternaries 3 (4 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/CodexBar/StatusItem/StatusItemController\u002BSwitcherMetrics.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"337d191c8c4ec9b0eae12521b87f6e8b856ce2683bbad3a41a79a8586cdb8fc0"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudSyncEngine.processEvent (cognitive 27): CloudSyncEngine.processEvent has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Sync/CloudSyncEngine.swift"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f40de2261f1f8ff70f26f0f2b8dacfad24602c9e20130070480c9de65aee870"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.emitUserPluginHooks (cognitive 27): UsageStore.emitUserPluginHooks has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 5 (9 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BUserPlugins.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"567f7dec0b96522381753adb7aa2f78e8309cb85f386d1f82fe3054e16f00c3d"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.widgetAccounts (cognitive 27): UsageStore.widgetAccounts has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 8, ternaries 3 (5 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BWidgetAccounts.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c229cf564d86935b3ea1e4008820508cc3752ffdf88dfeb8b271adf5b881ec"}},{"ruleId":"D2","level":"warning","message":{"text":"CLIClaudeSwapText.sanitize (cognitive 27): CLIClaudeSwapText.sanitize has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 2 (5 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIClaudeSwapCards.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e04a6b629672e0a37c22fdbf976651f8eb778db3ac2063e90b6e2c8b77522c2"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.runCodexIdentifiedUsage (cognitive 27): CodexBarCLI.runCodexIdentifiedUsage has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 15, if/else 5 (6 pts), error handling 2 (3 pts), ternaries 1 (2 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/CodexBarCLI/CLICodexIdentifiedUsage.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b88c3f91a41abeb03fd110176508c9c5f5e27e6825aad00f68397492fc419e"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.providerCostSection (cognitive 27): Model.providerCostSection has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 3, ternaries 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e69542440c510aa922a5660057695a0376e4243dc7b579a18a31a5cc9ba440"}},{"ruleId":"D2","level":"warning","message":{"text":"AugmentSessionKeepalive.performRefreshPass (cognitive 27): AugmentSessionKeepalive.performRefreshPass has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (23 pts), error handling 2, boolean chains 1, ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Augment/AugmentSessionKeepalive.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"75734c65fcea6d5acb4ffd7f1616275c17b44bbf40db3e01d69b27aff43bf0ac"}},{"ruleId":"D2","level":"warning","message":{"text":"BedrockUsageFetcher.parseDailyResponse (cognitive 27): BedrockUsageFetcher.parseDailyResponse has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 8, loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ff1294cbb8730fa9c7c1d668cb72badba68cf7383b1d1aefc2700456a90f42"}},{"ruleId":"D2","level":"warning","message":{"text":"FactoryStatusProbe.fetch (cognitive 27): FactoryStatusProbe.fetch has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 2 (6 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"b473f22ee43028931e464139ba7d89286d615fafce9e28f0788a03f4ab1fde73"}},{"ruleId":"D2","level":"warning","message":{"text":"QoderCookieRouting.httpRequestRoute (cognitive 27): QoderCookieRouting.httpRequestRoute has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 5, 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/CodexBarCore/Providers/Qoder/QoderCookieRouting.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d06e6613f6a769122581a0473f5461a1f1f2eefd7491f292cd99a347238909"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaBurndownModel.init (cognitive 26): QuotaBurndownModel.init has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 13, if/else 7 (12 pts), loops 1 (nesting depth added 5). 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/CodexBar/QuotaBurndownModel.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f6e72c1bbc371b5d117ae1c343e5dd15fe1218028f6eb5c8bdd0534c6fd1e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ManualRefreshViewportMovementTracker.settlePendingGeometryChanges (cognitive 26): ManualRefreshViewportMovementTracker.settlePendingGeometryChanges has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3, match/switch 1 (3 pts), loops 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuViewportRestore.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7668dd9ccdcf9a023c095b4ed7d2ec5482ba4af849d0082523f676005a918a"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.menuBarDisplayText (cognitive 26): StatusItemController.menuBarDisplayText has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 13, if/else 8, ternaries 2 (3 pts), match/switch 2 (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/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86531d632002e07d288d7536fa52b599ece8bda904af5b87a323c423da8b522"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.runRefresh (cognitive 26): UsageStore.runRefresh has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 5, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d39d4ce6d6d672120afd6e140762724123156a9d7b79af20282501205452f20"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.prepareLimitResetNotification (cognitive 26): UsageStore.prepareLimitResetNotification has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 9 (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/CodexBar/LimitResetNotifications.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5085c9b5dfc0cd91e8181b68e9f57c750db4329af2d41692fe32db3c461e1b8"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.recordPlanUtilizationHistorySample (cognitive 26): UsageStore.recordPlanUtilizationHistorySample has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 7, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ea84ef1b0ee1ee83101281ab6c2f4c96c62db492512c6ad45da74e20836c9e"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.refreshProviderPass (cognitive 26): UsageStore.refreshProviderPass has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 5, ternaries 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c986a0dd9d41373132464211cd1f7568131c324eb2f73b71c39bb30a031a6f"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.switchClaudeSwapAccount (cognitive 26): UsageStore.switchClaudeSwapAccount has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (9 pts), ternaries 3 (4 pts), loops 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Claude/UsageStore\u002BClaudeSwapRefresh.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a29eecc178f4bd0c43223dce734635de85eb0ac8c1fb89f83af789934e663a"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.shouldApplyCodexUsageResult (cognitive 26): UsageStore.shouldApplyCodexUsageResult has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 4, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"706f1165feac769acc3c5d9721b829fc3b34d6e48841d099570176ed8e24c805"}},{"ruleId":"D2","level":"warning","message":{"text":"CLIServeOperationCoordinator.sourceProduced (cognitive 26): CLIServeOperationCoordinator.sourceProduced has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 9, loops 2 (5 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/CodexBarCLI/CLIServeOperationCoordinator.swift"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd51f2324fc17b19b9917eb2b3cdf0295cec3f5553d14d9c0e747a154753fbf"}},{"ruleId":"D2","level":"warning","message":{"text":"PiFamilySessionScanner.records (cognitive 26): PiFamilySessionScanner.records has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 5, loops 2 (3 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"908b508f6420189cb32f8ee434ab735996b66fda370c9231b451f88a7798fc29"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.tokenUsageSection (cognitive 26): Model.tokenUsageSection has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 8, boolean chains 3, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"4529dd7a481755d9cac274ef03b34502192d5ef14cb3b858372091a71f462ea4"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDashboardBrowserCookieImporter.evaluateCandidate (cognitive 26): OpenAIDashboardBrowserCookieImporter.evaluateCandidate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 2, error handling 2 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ec227df2c8786b1edf5ab19b2209cae2493c1cd3c854457bd60d66c964ca47"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDashboardParser.parseSignedInEmailFromClientBootstrap (cognitive 26): OpenAIDashboardParser.parseSignedInEmailFromClientBootstrap has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 8, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2a4de21cc1898ab142565407266e82ffb9e7c26d7a26ca849affcf97312612"}},{"ruleId":"D2","level":"warning","message":{"text":"QuickJSProviderPluginEngine.hostCookieHeader (cognitive 26): QuickJSProviderPluginEngine.hostCookieHeader has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 7, loops 2 (5 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"804adf030fdfdcc20faaf18a8afb24fa5da73928c89a5e5c2399785344f44698"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityLocalReader.consumeJSONLLine (cognitive 26): AntigravityLocalReader.consumeJSONLLine has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 7, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalJSONL.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a821f44c55dc8b82404bc05696bfbcaa1e1af6cc58c3da3d5abd4d198c9324"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityRemoteUsageFetcher.fetch (cognitive 26): AntigravityRemoteUsageFetcher.fetch has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 7, error handling 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/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4639c4b4f653195db6d29b80b5ad92a035633c0542c2320d11016ec34086dbdd"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedCodexAccountCredentialResolver.resolve (cognitive 26): ManagedCodexAccountCredentialResolver.resolve has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 7, error handling 4, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/ManagedCodexAccountCredentialResolver.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"affe0f5334248fb5e70239eb6d030e5cda030289905266b521b94381d5934022"}},{"ruleId":"D2","level":"warning","message":{"text":"CopilotDeviceFlow.pollForToken (cognitive 26): CopilotDeviceFlow.pollForToken has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (23 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/CodexBarCore/Providers/Copilot/CopilotDeviceFlow.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d9215996538a95488e4215d80bd79ebd7b1ee17ce867cdfafa42392547ea85"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekUsageCostParser.buildBreakdowns (cognitive 26): DeepSeekUsageCostParser.buildBreakdowns has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 5 (7 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"c544a6f3a82dbd62e60ef622c78bb4f639323a121259f03503d4316aa277bdbc"}},{"ruleId":"D2","level":"warning","message":{"text":"MuseLocalUsageReader.parseSessionLog (cognitive 26): MuseLocalUsageReader.parseSessionLog has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (18 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts), match/switch 1 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Muse/MuseLocalUsageReader.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"434ce36647b3beaeb9165d7daac34187d75b2c56900bb94ddd783563d02a6491"}},{"ruleId":"D2","level":"warning","message":{"text":"OllamaUsageParser.looksSignedOut (cognitive 26): OllamaUsageParser.looksSignedOut has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 23, if/else 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/CodexBarCore/Providers/Ollama/OllamaUsageParser.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b194be92cf455abfc964fdd604d24e274c24245459acca36c32b93a9f11b6555"}},{"ruleId":"D2","level":"warning","message":{"text":"QoderCookieRouting.curlHeaderHostSites (cognitive 26): QoderCookieRouting.curlHeaderHostSites has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Qoder/QoderCookieRouting.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"605073ac8fccd98e776d787566c8535fe95b0b5b8d5bb3e5071480ffb4ab140a"}},{"ruleId":"D2","level":"warning","message":{"text":"Recovery.syncWithClaudeKeychainIfChanged (cognitive 26): Recovery.syncWithClaudeKeychainIfChanged has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 7, error handling 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f53cc232aeb3e20db0c40610cb70d906d9a287752b966813419035678bab74"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeOAuthRefreshFailureGate.reloadPersistedState (cognitive 26): ClaudeOAuthRefreshFailureGate.reloadPersistedState has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 8, ternaries 3 (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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthRefreshFailureGate.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bbd6719a64d788e0512b966b4388be46d1b1914fe0f4b52b25d0e7cfe8ac50"}},{"ruleId":"D2","level":"warning","message":{"text":"AliyunOneConsoleCookieImporter.importSession (cognitive 26): AliyunOneConsoleCookieImporter.importSession has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (17 pts), error handling 2 (4 pts), loops 2 (4 pts), ternaries 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieImporter.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f444c957e1c2c35b2bee265dbedfc676b11c1f5563b711b82d22069b5bcc394"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage::cookies (cognitive 26): fetchUsage::cookies has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/perplexity.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd66c08d7d002fb1e3337503816d444e8144001650f51e9a96f3231653593290"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.attachMenus (cognitive 25): StatusItemController.attachMenus has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bb60fa7aff30cc895b280d839e27d50fd21352dfef77673c4c5089f1d2587f"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.codexWeeklyResetDecision (cognitive 25): UsageStore.codexWeeklyResetDecision has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 25. 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/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.swift"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"de53b8c5e5d935e8630504011885eb6804a9a009e2cf8a707071072ee4ac0b99"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.handleQuotaWarningTransition (cognitive 25): UsageStore.handleQuotaWarningTransition has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 10 (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/CodexBar/UsageStore/UsageStore\u002BQuotaWarnings.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"40936147c90ebc11c216131ad52b059f9cd280ac051bc9f62ca7d7f22572239c"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.hydrateCachedTokenSnapshots (cognitive 25): UsageStore.hydrateCachedTokenSnapshots has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 14, if/else 11. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"602ab5b3fdbf9f14e47f12ae3dea4e8d4a8d5b44a3fa2669dc425469990364fb"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorLoginRunner.runUserInitiated (cognitive 25): CursorLoginRunner.runUserInitiated has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (21 pts), error handling 1 (2 pts), loops 1, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Cursor/CursorLoginRunner.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"481dcca5f2965c7743c567bbe6d0257fe6b6c7ba43ccfad6a75814340e78dfe9"}},{"ruleId":"D2","level":"warning","message":{"text":"CLICardsRenderer.renderCard (cognitive 25): CLICardsRenderer.renderCard has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 5 (7 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICardsRenderer.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aff4b99b1b9a65a41caff0adf0d4cfc26aaf956ebedb876a952e1dcd82a33e7"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.runCodexAccounts (cognitive 25): CodexBarCLI.runCodexAccounts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (8 pts), loops 1 (4 pts), boolean chains 1, error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICodexAccountsCommand.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65294720b3df916e3a755ef491b47795a4634da785c4350cbd924e5171fc961"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.runHooksTest (cognitive 25): CodexBarCLI.runHooksTest has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 4 (10 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIHooksCommand.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df8efe4acf230f06b1d121b45f573310bbcee9ba761ee8b5f54c74ea4bdab60"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.fetchPlugin (cognitive 25): CodexBarCLI.fetchPlugin has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 1 (3 pts), boolean chains 2, error handling 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/CodexBarCLI/CLIPluginsCommand.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"735f474f02ab51908131208f5b4b893368c8cf3dc807cd36811e2d54202923f4"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.handleServeRequest (cognitive 25): CodexBarCLI.handleServeRequest has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 4 (10 pts), error handling 4 (6 pts), boolean chains 4, if/else 2 (4 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87e7a9c7d6d14eceff2e39c5842af57fa0bfb1f6c8725f8b2b592e46f171018"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexThreadMetadataReader.multilineQuote (cognitive 25): CodexThreadMetadataReader.multilineQuote has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (7 pts), match/switch 3 (4 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/CodexBarCore/CodexThreadMetadataReader.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cfbd18551cc1b7ffe326d108f339c4bc31cc6af9e0061ff40e5e1b1eabbdf3"}},{"ruleId":"D2","level":"warning","message":{"text":"KeychainCacheStore.storeResult (cognitive 25): KeychainCacheStore.storeResult has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 4, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/KeychainCacheStore.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e1e6a00306b1638122c52d569de926f5361ed4fb718f19ccf05300d727362a"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.value (cognitive 25): Scanner.value has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Config/OpaqueConfigJSON.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebacc9c00d80382508ec861088be6b2c83cd5b42a4de8cb878669584a110d19e"}},{"ruleId":"D2","level":"warning","message":{"text":"AugmentSessionKeepalive.shouldRefreshSession (cognitive 25): AugmentSessionKeepalive.shouldRefreshSession has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 1 (4 pts), loops 1 (2 pts), error handling 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/CodexBarCore/Providers/Augment/AugmentSessionKeepalive.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b99b1aa71e2b0c4db0d5aada0cd850cc77c6abc3f74c6f6c43ef3d8babc6d6"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexDashboardAuthority.evaluate (cognitive 25): CodexDashboardAuthority.evaluate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 3, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexDashboardAuthority.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff014adf06821ecb28553ae5e862552d3e20039e00f39bbd274eb9997014b46"}},{"ruleId":"D2","level":"warning","message":{"text":"CopilotBudgetWebFetcher.normalizedBillingIdentifier (cognitive 25): CopilotBudgetWebFetcher.normalizedBillingIdentifier has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 15, if/else 10. 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/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8840871353db1e2b313a4f103d142ac5259bec8f99a25cf01241f74b1185bee"}},{"ruleId":"D2","level":"warning","message":{"text":"JetBrainsQuotaLogReader.latestEntry (cognitive 25): JetBrainsQuotaLogReader.latestEntry has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3, ternaries 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/CodexBarCore/Providers/JetBrains/JetBrainsQuotaLogReader.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"566c99a4061366a2b15adec70ab3ce7a143a3a8dcf5fb26fb4c766949bfcba52"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAILiveUsageFetcher.fetch (cognitive 25): OpenAILiveUsageFetcher.fetch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (8 pts), boolean chains 2, error handling 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenAI/OpenAILiveUsageFetcher.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea8b347b7432310cb65f0e8a5cd9568b313e43f9c99b46d36df92c9dba08814"}},{"ruleId":"D2","level":"warning","message":{"text":"BurnDownLayout.body (cognitive 25): BurnDownLayout.body has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 17, boolean chains 5, if/else 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/BurnDownWidgetViews.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ededd913b3abb6bf91f4f3b95983b4c47d3ad2037e9cca1e2e9a079fcf6013"}},{"ruleId":"D2","level":"warning","message":{"text":"chutes.chutesQuota (cognitive 25): chutes.chutesQuota has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 8, if/else 4 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9284e60c21fc48a722a6857ff0bb0aed8eba2e529b89aca26a04a4eb79369ace"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSessionsStore.reconcilePeriodicTasks (cognitive 24): AgentSessionsStore.reconcilePeriodicTasks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (6 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/AgentSessionsStore.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc939ae0afa970b6d34ea2a0de06e24abc4b9339ed8c444f82eb6c2f9e1a2aa"}},{"ruleId":"D2","level":"warning","message":{"text":"PlanUtilizationHistoryChartMenuView.seriesPoints (cognitive 24): PlanUtilizationHistoryChartMenuView.seriesPoints has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/PlanUtilizationHistoryChartMenuView.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8af34ce2e39b425d3074859ddd3460c190b46d8e0498e115f9ee243a3ffe08"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderDetailView.body (cognitive 24): ProviderDetailView.body has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (15 pts), ternaries 2 (6 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProviderDetailView.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9d807bf37ea298e4dd3ae44c475f527fea8f73abf351f14539ad8771aeb3f4"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardModel.inputSummary (cognitive 24): SpendDashboardModel.inputSummary has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, ternaries 7, if/else 3 (6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6de7e87ad0c3a74b19208460e3e7190717ccac233a786038cfcd29cb3116409"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.scheduleOpenMenuRefresh (cognitive 24): StatusItemController.scheduleOpenMenuRefresh has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (18 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e382f2a8d7784b1a8952b8dbdf4d736aa50d937c69ae2f97de84484d22f2f438"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.providerWithHighestUsage (cognitive 24): UsageStore.providerWithHighestUsage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BHighestUsage.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26228b06608075eb41eea387eee7ddec3ac9980fc3f9ba10d8a1bb04dc971c1"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.dailyCostLines (cognitive 24): CodexBarCLI.dailyCostLines has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 4 (8 pts), boolean chains 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICostCommand.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8cb7431b2bec548d9425228f3db95b3717f488ea62a5349ea3b425052bd201"}},{"ruleId":"D2","level":"warning","message":{"text":"CLIServeResponseCache.mergeLastGoodUsageItems (cognitive 24): CLIServeResponseCache.mergeLastGoodUsageItems has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, loops 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a25dc0ba1772ae82c54c2d678a8624e0380c595931e038110ce12cc82ce9ae"}},{"ruleId":"D2","level":"warning","message":{"text":"main.swift.top-level code (cognitive 24): main.swift.top-level code has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 4, ternaries 1 (3 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarClaudeWatchdog/main.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"727c9202a6fc877cd40e620f40ad81e15dc4b1c460e5560600b8b3e0b843182b"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureReader.digest (cognitive 24): SignatureReader.digest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (8 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLaunchPreflight\u002BSignatureIdentity.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"200000663339bfd66ca5faaf2d3711dd084021fe621db7b4864ce19fbb730030"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexThreadCatalogReader.loadResult (cognitive 24): CodexThreadCatalogReader.loadResult has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 7, if/else 5 (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/CodexBarCore/CodexThreadCatalogReader.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43b80d2cd20e966e36beb15469f30652dd5ebefa8718e5c49991f5192216873"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAgentSessionScanner.sessions (cognitive 24): LocalAgentSessionScanner.sessions has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 4 (7 pts), loops 3, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/LocalAgentSessionScanner.swift"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0245d2eb20b8e9220ba88f75919515141b60828719ba8284122acfb427e2de"}},{"ruleId":"D2","level":"warning","message":{"text":"PiSessionCostScanner.loadCachedDailyReportResult (cognitive 24): PiSessionCostScanner.loadCachedDailyReportResult has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9756f1a5939131df331dda0f52a7fedbe466054a479ad58a42587576b27c00b9"}},{"ruleId":"D2","level":"warning","message":{"text":"UsagePace.weekly (cognitive 24): UsagePace.weekly has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 6, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/UsagePace.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"64774caf84f89c631b3eb305a2a518194a1a659533e2021971cd1bd7938acc96"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderPluginSnapshotMapper.aggregateCostUsageEntries (cognitive 24): ProviderPluginSnapshotMapper.aggregateCostUsageEntries has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 4 (6 pts), boolean chains 5, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"db352032fed2685e666169956cc13f9c44a2137f002be717829480a8f803cf4a"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityLocalReader.resolveStepTimestamps (cognitive 24): AntigravityLocalReader.resolveStepTimestamps has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"461df8c40c68f194d4e14460839c9beba973a9d72ed386b71af32f660469bd85"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityLocalReader.inspectSQLiteTableSupport (cognitive 24): AntigravityLocalReader.inspectSQLiteTableSupport has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, ternaries 2 (5 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/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLiteSchema.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"af23d20475d54113bfba1193514171c711b8f6efb8b23e2d033df6b0e068e86c"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeCLIScreen.write (cognitive 24): ClaudeCLIScreen.write has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLIScreen.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c217eb2bf46553db1581a62bb3b4d560ba27569af5ce5e0c8bf4507fa7b0896"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeCLISession.workspaceTrustKeys (cognitive 24): ClaudeCLISession.workspaceTrustKeys has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (10 pts), boolean chains 2, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"970866a43a31e2202cf0c1224c8dccedf6e04d287f8058f96627e35cb563de20"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeStatusProbe.exactLocalOccurrences (cognitive 24): ClaudeStatusProbe.exactLocalOccurrences has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 16, if/else 5 (7 pts), loops 1 (nesting depth added 2). 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/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"01254b9c079262eadfc1d6822333df47c5f3f08b6981ef4c2113557e150d5e4c"}},{"ruleId":"D2","level":"warning","message":{"text":"IBMBobUsageFetcher.fetchUsage (cognitive 24): IBMBobUsageFetcher.fetchUsage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 pts), error handling 4, ternaries 1 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/IBMBob/IBMBobUsageFetcher.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96d80fa1662d41950ce2f8faef5282d2f055bd94b1d4bc15060bfa122a4db8a"}},{"ruleId":"D2","level":"warning","message":{"text":"KimiDesktopSessionDiscovery.accessToken (cognitive 24): KimiDesktopSessionDiscovery.accessToken has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 18, if/else 5 (6 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/CodexBarCore/Providers/Kimi/KimiDesktopSessionDiscovery.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2ee9d0fd50ba98712929459307a362dab21ff3dd1392755482c58cfe381816"}},{"ruleId":"D2","level":"warning","message":{"text":"KiroStatusProbe.runViaPipe (cognitive 24): KiroStatusProbe.runViaPipe has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3, error handling 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d709b0cb64156e31cf95ed2965e990e988608aa9ae24c0a96f35a3c1ff30619"}},{"ruleId":"D2","level":"warning","message":{"text":"KiroStatusProbe.parse (cognitive 24): KiroStatusProbe.parse has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, if/else 9 (11 pts), ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf85364097ebac446a58ac41d69e656d19a0b57cc3b8cec3f808454e7b1c72db"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeLocalHistoryAdapter.runPass (cognitive 24): OpenCodeLocalHistoryAdapter.runPass has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 16, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeLocalHistoryAdapter.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35484daf011f0e069518fcf93a9d4d9ab2c5e4682c4b2b3d29d0ee35486660a"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeOAuthCredentialsStore.loadCodexBarOAuthKeychainCache (cognitive 24): ClaudeOAuthCredentialsStore.loadCodexBarOAuthKeychainCache has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (19 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee05f737a684395cc0b025d99a4c48549490f4c1f9cf465ad0d098ca942b17a"}},{"ruleId":"D2","level":"warning","message":{"text":"Repository.invalidateCacheIfCredentialsFileChanged (cognitive 24): Repository.invalidateCacheIfCredentialsFileChanged has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (20 pts), match/switch 1 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e451625d1597b103200116005268812c86c010deeb8b8e4b8418c39c4525f0d"}},{"ruleId":"D2","level":"warning","message":{"text":"Recovery.syncFromClaudeKeychainWithoutPrompt (cognitive 24): Recovery.syncFromClaudeKeychainWithoutPrompt has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, if/else 10 (12 pts) (nesting depth added 2). 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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcda7ac438e8b62091fc368815b6d8051f34a96565c2538fec530928ddf08622"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 24): fetchUsage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (23 pts), ternaries 8 (10 pts), loops 5 (8 pts), other 7, boolean chains 6, error handling 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/museai.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdec4b4a082e53e8f00030882745f71b408dc932b5d6ffd4bff0712c28dbea5e"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 24): fetchUsage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 15, ternaries 8 (10 pts), loops 5 (7 pts), other 6, error handling 3 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qoder.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b37869cd7bbd65c21df7395f1ecc9efcd83a7164e5103fb338db589cf76f42"}},{"ruleId":"D2","level":"warning","message":{"text":"CLIArguments.parse (cognitive 23): CLIArguments.parse has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, match/switch 1 (2 pts), loops 1, ternaries 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/AdaptiveReplayCLI/CLIArguments.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5946a303ffdd295e43a8a335182c0597a2c5379012eb89a8c0347b90857fd639"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionEquivalentBurnEstimator.normalizedBurn (cognitive 23): SessionEquivalentBurnEstimator.normalizedBurn has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 13, if/else 8 (9 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionEquivalentForecast.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8dee34cc0ebdb34d125efb5d19dd61c53887ceceb794fd3243dca8a444f821"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardController.startLoad (cognitive 23): SpendDashboardController.startLoad has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, loops 1 (2 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2203ccc050890e5dd4af8688e1df24be3862d4b3db6b8dd3a325ef11b2b33f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderSwitcherView.init (cognitive 23): ProviderSwitcherView.init has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 6 (7 pts), boolean chains 3, loops 1 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 8 belong 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/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff118805d89ff50ca1035d5b0b3fd179147cf1d9db1242eedfd2bcb26a3f9dfe"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.hydrateHostedSubviewMenuIfNeeded (cognitive 23): StatusItemController.hydrateHostedSubviewMenuIfNeeded has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 7, match/switch 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/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd7b1a31c4df9c7f731e04eb0182ebe649d42e4f2f157240d3f4cd69f3bd2a8"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.planUtilizationIdentityAccountKey (cognitive 23): UsageStore.planUtilizationIdentityAccountKey has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 4 (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/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"110b7bc7f0cebf62ef8ce96cea2dc9d9ab1ec62d5afafafaa1a39ff752e09a18"}},{"ruleId":"D2","level":"warning","message":{"text":"CLILocalHTTPServer.run (cognitive 23): CLILocalHTTPServer.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 3, 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/CodexBarCLI/CLILocalHTTPServer.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"832d15e0492e4408c99111435c172c52dfe8d3607ea9ca5d274dcfee88a44162"}},{"ruleId":"D2","level":"warning","message":{"text":"CostUsageFetcher.unknownPricingRefreshRequest (cognitive 23): CostUsageFetcher.unknownPricingRefreshRequest has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97f8c854d1dcd9a4d9696dca0ea062ba24dbdc36fbe975386c3ab4bd3d20d32"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderDiagnosticFetchAttempt.errorCategoryLabel (cognitive 23): ProviderDiagnosticFetchAttempt.errorCategoryLabel has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 16, if/else 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderDiagnosticExport.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ebd374a747a414650c96ebc0ea06b11a895381ec5398cd98f03df7056285df"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorStatusSnapshot.toUsageSnapshot (cognitive 23): CursorStatusSnapshot.toUsageSnapshot has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 7, ternaries 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ef014380973886b1eab26c36a34614d1860fd54fde4425db5f73be051ed10b"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorStatusProbe.fetchWithCookieHeader (cognitive 23): CursorStatusProbe.fetchWithCookieHeader has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7, error handling 1 (2 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"118b12fb3b02062fb5d3863cc9ad4efa5de5c59eb7e607819c670d2f35b01653"}},{"ruleId":"D2","level":"warning","message":{"text":"MistralUsageSnapshot.toCostUsageTokenSnapshot (cognitive 23): MistralUsageSnapshot.toCostUsageTokenSnapshot has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 13, ternaries 10. 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/CodexBarCore/Providers/Mistral/MistralModels.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d392f10e3ebad35f9d021195ef4a736350dd349261423e587a26d155e8266d28"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAILiveUsageBuilder.build (cognitive 23): OpenAILiveUsageBuilder.build has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenAI/OpenAILiveUsageBuilder.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1faa3ebbb52cb58de3ddfd584f544533ad5eb098b054a82f9e344d3bd299c792"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIOrgRateLimitsFetcher.pages (cognitive 23): OpenAIOrgRateLimitsFetcher.pages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenAI/OpenAIOrgRateLimitsFetcher.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e554cd6855901bedb8fa733b7a543907468ff2d58176cace5de6b5e7699b1e3"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeGoUsageFetcher.parseWindow (cognitive 23): OpenCodeGoUsageFetcher.parseWindow has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, ternaries 3 (6 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5cf0e720cc7ee4cb27272d41464675bd61eab4227c9ab2029c6d81c2ee11bf"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeSubscriptionParser.parseUsageNested (cognitive 23): OpenCodeSubscriptionParser.parseUsageNested has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 9, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Shared/OpenCodeSubscriptionParser.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5cb3dc15051ba8210cd9118d92d16d249458896f56d348404d21056a2e3e64"}},{"ruleId":"D2","level":"warning","message":{"text":"OneConsoleCookieRouting.redirectedRequest (cognitive 23): OneConsoleCookieRouting.redirectedRequest has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 12, if/else 10 (11 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/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleCookieRouting.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"332c365ca1a47fe9fb1f7a0613802426861e1960ae9b52a32b70557ebd34eb6f"}},{"ruleId":"D2","level":"warning","message":{"text":"CombinedBurnRow.body (cognitive 23): CombinedBurnRow.body has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 15, if/else 7, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/CombinedBurnDownWidgetViews.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3de5e8918c9cdbbc703b95a9bdfefb4a82e20952592ccbf30cb29d0ce2a31d"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 23): fetchUsage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 7, error handling 1. Of this number, 16 points are the body\u0027s own statements and 7 belong to 6 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tavily.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0743591bbcce220f18a1f725957afbab4af6cf40568819e0002a9891d0d37694"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudSyncEngine.pushPendingSnapshots (cognitive 22): CloudSyncEngine.pushPendingSnapshots has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Sync/CloudSyncEngine.swift"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ce0e8185f1ccce9125aaf2dfc7978c9999ecfcc2bf1dc5ce540ad4d86adde7"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.presentationSnapshot (cognitive 22): UsageStore.presentationSnapshot has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (11 pts) (nesting depth added 5). 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/CodexBar/UsageStore/UsageStore\u002BAccessors.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b18c92aab1e0c7f854093da47a27bde3d005a3b34bb66537ee9274208e55f2"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.handleCredentialOutcome (cognitive 22): UsageStore.handleCredentialOutcome has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 10, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BCredentialNotifications.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a2c1d10853ba64285c4fab5c76918cbfa5e87aa21f9bfe11d1b712fa7d99cf"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.debugClaudeLog (cognitive 22): UsageStore.debugClaudeLog has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (18 pts), error handling 1 (2 pts), match/switch 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Claude/UsageStore\u002BClaudeDebug.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"986f1d4aed7bb8096687b5fbe02c478229ef28409f12c00719838d8cfe724ad0"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexWorkspaceUsageSidecar.loadLatestSnapshot (cognitive 22): CodexWorkspaceUsageSidecar.loadLatestSnapshot has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 8 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee796582b616af5991b3f7b4261ae6f2190988ad8e62b5f893f0643d9e293ed6"}},{"ruleId":"D2","level":"warning","message":{"text":"CostUsageTokenSnapshot.quotaWindowCoverage (cognitive 22): CostUsageTokenSnapshot.quotaWindowCoverage has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (9 pts), loops 1 (nesting depth added 5). 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/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"708ad748628e740c1b4343c257b8c0c0333f77f09e207878098035eda46761c3"}},{"ruleId":"D2","level":"warning","message":{"text":"KeychainAccessPreflight.evaluateDecryptACL (cognitive 22): KeychainAccessPreflight.evaluateDecryptACL has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, match/switch 1 (2 pts), loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/KeychainAccessPreflight.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d755c6d7458012d0067a4d13dcd6f640454f7dae71130ba2f13439fe3083039"}},{"ruleId":"D2","level":"warning","message":{"text":"WidgetExtensionRecovery.launch (cognitive 22): WidgetExtensionRecovery.launch has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 17, if/else 5. 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/CodexBarCore/WidgetExtensionRecovery.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4755984940391ceca5025ba7872cf6df7d766493c83dc58d0ecdeaf834b4d24"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderPluginPersistentCookies.next (cognitive 22): ProviderPluginPersistentCookies.next has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginPersistentCookies.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4918e5e23c8ed6c1db36680232db386fd868810c8f95bbb08ca7322d453d4df6"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderFetchPipeline.fetch (cognitive 22): ProviderFetchPipeline.fetch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderFetchPlan.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"248486fad0b23f90dde9d37a0e5be58c3f04d9318b85a583f4df9661e8a1708e"}},{"ruleId":"D2","level":"warning","message":{"text":"AlibabaTokenPlanUsageFetcher.throwIfErrorPayload (cognitive 22): AlibabaTokenPlanUsageFetcher.throwIfErrorPayload has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5 (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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b42e148d7e7f80acf770254e3cb9255a91ce386c899aae2e3d972d78700cde"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityCLISession.finishProbe (cognitive 22): AntigravityCLISession.finishProbe has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 8 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa611da013783dd41f3155218c9a6e877218c81624aaa716783b3fa7b7bc6015"}},{"ruleId":"D2","level":"warning","message":{"text":"AugmentSessionKeepalive.attemptSessionRecovery (cognitive 22): AugmentSessionKeepalive.attemptSessionRecovery has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Augment/AugmentSessionKeepalive.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"79543a539cabb3b7c347f11ce51243a6888aa4561441c50cd4419144419841f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeOAuthFetchStrategy.isPlausiblyAvailable (cognitive 22): ClaudeOAuthFetchStrategy.isPlausiblyAvailable has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b29dfb1d156e052fa1c6a4f1724c844d68377979150fc027e9a4e5410c975b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeStatusProbe.extractScopedWeeklyUsages (cognitive 22): ClaudeStatusProbe.extractScopedWeeklyUsages has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"9345a989002b9c85fa6cd2b78db483c3309ebdfbf8ddb021dc367aaac7f6179a"}},{"ruleId":"D2","level":"warning","message":{"text":"DevinUsageParser.percent (cognitive 22): DevinUsageParser.percent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (8 pts), boolean chains 4, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Devin/DevinUsageSnapshot.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d77769a0e845e619b19348932e3d8cdd365b3dc6e859de968813b33b72ff2a"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiStatusProbe.fetchViaAPI (cognitive 22): GeminiStatusProbe.fetchViaAPI has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4, ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7f9370c498c9c50564cd14ce2fa77378eeceda1cb6d503640f66c62e0e8570"}},{"ruleId":"D2","level":"warning","message":{"text":"GrokWebFetchStrategy.fetchLegacyWebBilling (cognitive 22): GrokWebFetchStrategy.fetchLegacyWebBilling has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 3 (6 pts), boolean chains 4 (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/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cb6d61ad0e1653d4484fed59951d41c317d392fcf1b5ca9b264e99f0fae694"}},{"ruleId":"D2","level":"warning","message":{"text":"KiloUsageFetcher.parseOrganizations (cognitive 22): KiloUsageFetcher.parseOrganizations has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 5 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e456d80c92659f296bf3b8b1ba97c2c4979e048d80fd6b3dbb84f99a03533d42"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeOAuthRefreshFailureGate.shouldAttempt (cognitive 22): ClaudeOAuthRefreshFailureGate.shouldAttempt has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthRefreshFailureGate.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e060d2faa559a660e317b913c308b58e6c8215fdb00232fd151a3fabdfff49"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage::parse (cognitive 22): fetchUsage::parse has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 6, if/else 5, ternaries 4 (5 pts), other 4, error handling 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qoder.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78620756407fa9db9b11f81c1a4e9c12ddbd8983439244c7a8ceda5905ecbd4"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage::parseLimit (cognitive 22): fetchUsage::parseLimit has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 8, ternaries 3 (5 pts) (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/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e185e0312f26cafd54e371e88c2b9f87c5226e29eed28d462eea07ad254e01be"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionEquivalentForecast.make (cognitive 21): SessionEquivalentForecast.make has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 13, if/else 7 (8 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/CodexBar/SessionEquivalentForecast.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6f586656bfda386dd784d6f2e495dc2444fed5a7a116477f0b5f47351d0885"}},{"ruleId":"D2","level":"warning","message":{"text":"PlanUtilizationHistoryChartMenuView.updateSelection (cognitive 21): PlanUtilizationHistoryChartMenuView.updateSelection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/PlanUtilizationHistoryChartMenuView.swift"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfec89cc0d74a0c7b60cd690666cbd8504211bfab14e310edb8461465b255b14"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardModel.hasConsistentCostHistory (cognitive 21): SpendDashboardModel.hasConsistentCostHistory has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 5, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0a3766cc9db4dc77bbe215eec529e759ba4d4ea4cd079151afa50a5d5188f2"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardModel.hourlyPoints (cognitive 21): SpendDashboardModel.hourlyPoints has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecb81ee7155e4e243a9c6467a0d2fd933c9a18763fcec58e6870dfa2e168092"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendTrendChart.chart (cognitive 21): SpendTrendChart.chart has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 5 (7 pts), boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardTrendPanel.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5170e2f8e5d5d7a8cf5e3ec6fc1c22d8b8b5d20012dc2ee5d71dd28af615cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendToolOperationRow.body (cognitive 21): SpendToolOperationRow.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 3 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendSessionToolActivityView.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed923ee33dfa74fe734fbcf406a75e123c8e175d380e73e9c0fad73feb98ed66"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.addMenuCardSections (cognitive 21): StatusItemController.addMenuCardSections has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, ternaries 3 (5 pts) (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, 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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"211251b1d83db8cd21eac4d21f5cc2bd4e9fdb2a63abe7a66cba6bc1f2ec169f"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.refreshTokenAccounts (cognitive 21): UsageStore.refreshTokenAccounts has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e73b26ef8c4089f72b669bc195a4184298ab31814057c18d5010c3c97aad72"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.debugLog (cognitive 21): UsageStore.debugLog has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 6 (7 pts), boolean chains 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/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ac7725bee59e2ca1f8f8943fd2e3e3ab6859829c2214d2bbe274895b65f821"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.runCodexHostCosts (cognitive 21): CodexBarCLI.runCodexHostCosts has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), error handling 2 (3 pts), ternaries 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICodexHostCosts.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5475208f61d13098071f9de569fd5e0df6bf3bd90f166f56ab972231572eb20"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.renderCostText (cognitive 21): CodexBarCLI.renderCostText has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 6, ternaries 5 (6 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICostCommand.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c57c25313270c90cbd7a248ba86e0e71358adcaaa93c72e3163fa821595d16"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.collectAccountUsage (cognitive 21): CodexBarCLI.collectAccountUsage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (4 pts), ternaries 1 (4 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/DashboardAccountCollector.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb08ee6f6ae1b4fe6dac68172468f1e997253d1a346bdce4887453378c97e72d"}},{"ruleId":"D2","level":"warning","message":{"text":"CostUsageFetcher.codexScanProgressKey (cognitive 21): CostUsageFetcher.codexScanProgressKey has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (11 pts), if/else 8 (10 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6eab606988ffa36c0ecc955816e47de519fbcab967a7a02583c9184c795cb8"}},{"ruleId":"D2","level":"warning","message":{"text":"CostUsageTokenSnapshot.quotaHourlyResidualSlices (cognitive 21): CostUsageTokenSnapshot.quotaHourlyResidualSlices has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 8, loops 1, ternaries 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/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f334c2546b8812b7d3fdb1437214aff2da10a962a0e247d5241742a4bd336062"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.visibleProviderDetails (cognitive 21): Model.visibleProviderDetails has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 5, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView\u002BProviderDetailVisibility.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9988c93bffc1d0a8dfa92d728443ed3d54b40694f7caa33219494f515931ba0"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionToolActivityParser.operation (cognitive 21): SessionToolActivityParser.operation has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 15, ternaries 3, if/else 2, match/switch 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/CodexBarCore/SessionToolActivityParser.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0a6d8bf3a1d8dba90359a72237f9848095495143a48e1dc00ade7307a1535b"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionWindowFocuser.application (cognitive 21): SessionWindowFocuser.application has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/SessionWindowFocuser.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"830376963c7006a155b167bdfc9cff511893c0752381c1b40581bb784b8e7ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageLimitsAvailability.resolve (cognitive 21): UsageLimitsAvailability.resolve has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (7 pts), boolean chains 6 (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/CodexBarCore/UsageFetcher.swift"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b83665e1d228e906a6436d0085dc7b76d41bd7d9d9fa1c985d85f6eabe1c1fc"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDashboardParser.parseResetDate (cognitive 21): OpenAIDashboardParser.parseResetDate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"509956eaebf3767c029298ea63f1758551186662e56cf1012bd23f37afca0e40"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessPipeCapture.handleLinuxReadableData (cognitive 21): ProcessPipeCapture.handleLinuxReadableData has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/Process/ProcessPipeCapture.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e97eb3ef63f682bd7663843c7b43248c8409b8989d4e638b1198ef83703d5e"}},{"ruleId":"D2","level":"warning","message":{"text":"OAuthExecutor.load (cognitive 21): OAuthExecutor.load has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 6, boolean chains 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"00785205fa52c75e31977a88d14868fbb1ef05d504cecb80c551773a51382a7c"}},{"ruleId":"D2","level":"warning","message":{"text":"MistralSubscriptionBudgetParser.jsonContainerEnd (cognitive 21): MistralSubscriptionBudgetParser.jsonContainerEnd has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Mistral/MistralSubscriptionBudgetParser.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"656c994120e18d8bcd4cb9ba2a1dc1236da3f573cb2ea3d233ca3dfbb7b8d44a"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheBox.read (cognitive 21): CacheBox.read has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 6, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoLocalUsageReader.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d78129dcec10a5cdfa0fa82a83b83cc6dfbcb66947bcd79987c4ed4a0cf807a"}},{"ruleId":"D2","level":"warning","message":{"text":"Aggregate.init (cognitive 21): Aggregate.init has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 4 (6 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoLocalUsageReader.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11b2055b369025d16f606595d7bdd4fb8f6c44d6fdcacbbc39fcb412dcc7f83"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeGoZenBalanceParser.findRawBillingBalance (cognitive 21): OpenCodeGoZenBalanceParser.findRawBillingBalance has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoZenBalanceParser.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3dd0ff60acf839877998ddf6d84d427b623cba58177f58fd1a111bfba70e09"}},{"ruleId":"D2","level":"warning","message":{"text":"QoderCookieRouting.shellTokens (cognitive 21): QoderCookieRouting.shellTokens has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Qoder/QoderCookieRouting.swift"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0181a21acef8e1be2a897c93b0df8969da41dac8a7257afc641f93136c75ec"}},{"ruleId":"D2","level":"warning","message":{"text":"VertexAITokenRefresher.refresh (cognitive 21): VertexAITokenRefresher.refresh has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (4 pts), boolean chains 2, error handling 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAITokenRefresher.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1bbb3414800109852c141b48f558dbd2a4049addf78875bad09e7db74c77ea"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageMenuCardUsageContentView.body (cognitive 20): UsageMenuCardUsageContentView.body has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bd1c4ba094c66028b5c22ca4ff50829055c8074d3e9a51535262194f83bf12"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuDescriptor.build (cognitive 20): MenuDescriptor.build has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuDescriptor.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c700c58add56fe2559dbbbe6e1b1b7f12a857355403f7b073e897237d2edfd44"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardController.publishCurrentState (cognitive 20): SpendDashboardController.publishCurrentState has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), match/switch 2 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0c7c90cb1e1119e65472637b2d5d5de826ad7439e3c29e7703614fc84e8a1a"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendModelRankingRows.body (cognitive 20): SpendModelRankingRows.body has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModelRanking.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0aad93ad1f27bf7e04a844f28912c0568476f5e186f466524b2c05c92101cc"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardPublication.coverageSources (cognitive 20): SpendDashboardPublication.coverageSources has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 14, if/else 5, ternaries 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/CodexBar/SpendDashboard/SpendDashboardPublication.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a3a9c08e8d1e85df2dd9aad56ca87c60cad435b1e7f5efc5cb1c2ee9dad2b5"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderSwitcherView.applyLayout (cognitive 20): ProviderSwitcherView.applyLayout has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 4 (9 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"000989918e997d3c82fad8d5e2993002bae0c12c31fe6a6bbe98461fdec9abde"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.scheduleCodexWeeklyResetFollowUp (cognitive 20): UsageStore.scheduleCodexWeeklyResetFollowUp has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (8 pts), loops 2, error handling 1 (nesting depth added 2). 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/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetCandidatePersistence.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50ff494135fc2d9ba7993feb855a821e37b861cdc400b09b5317b5dbf46f956"}},{"ruleId":"D2","level":"warning","message":{"text":"KiloProviderImplementation.settingsOrganizations (cognitive 20): KiloProviderImplementation.settingsOrganizations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, error handling 4, loops 1, match/switch 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Kilo/KiloProviderImplementation.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80fa5ef8a6f1c7390e189466b79d8a6abb25b87e83a438934d09ec293f50a5e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAILiveUsageModel.refresh (cognitive 20): OpenAILiveUsageModel.refresh has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/OpenAI/OpenAILiveUsageModel.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b572be0561946a1b20bbaefa999ee44673ffe9a458ce0bb4d2739c8611d6d9a1"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.runConfigPreferences (cognitive 20): CodexBarCLI.runConfigPreferences has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIConfigPreferences.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e081a7f67c6dd6b8601f93e6184112dec2630f475b3a7f3e43e0a7e9d5f878"}},{"ruleId":"D2","level":"warning","message":{"text":"CLILocalHTTPRequest.parse (cognitive 20): CLILocalHTTPRequest.parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (4 pts), boolean chains 1, 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/CodexBarCLI/CLILocalHTTPServer.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ec62a3895877a8286eedbf63de77a3dd5c85173735b55f664027388ff2bbf1"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserCookieAccessGate.shouldAttemptWithPolicy (cognitive 20): BrowserCookieAccessGate.shouldAttemptWithPolicy has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (20 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/CodexBarCore/BrowserCookieAccessGate.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"321c112f549339e1cf628e5151757e1d7bf53f03519d6553a79be6d9ce572b46"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellCommandLocator.runShellCommand (cognitive 20): ShellCommandLocator.runShellCommand has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 5, boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PathEnvironment.swift"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cb45d78f0129e58d252bda2aeeb7700106208fa9ddeacdeeeadb02d0e603c7"}},{"ruleId":"D2","level":"warning","message":{"text":"PiSessionCostScanner.scanPiSessionFile (cognitive 20): PiSessionCostScanner.scanPiSessionFile has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (8 pts) (nesting depth added 2). 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/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d5bafca8448aa7ff57c14d73c11866eee4b0bf912a761c46f68e5126795564"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.hasCompatibleTrackedLayout (cognitive 20): Model.hasCompatibleTrackedLayout has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 18, if/else 2. 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/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2276bc77481c7c7e02b24c1ad7300b6654f153c0b4824583aac2bef905684f"}},{"ruleId":"D2","level":"warning","message":{"text":"TailscaleStatusParser.parseHosts (cognitive 20): TailscaleStatusParser.parseHosts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/RemoteSessionFetcher.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"856bf3e8954d2c27bd6979be097f3c757638f14b6804a9ba0e62731f297b24b4"}},{"ruleId":"D2","level":"warning","message":{"text":"SubprocessRunner.run (cognitive 20): SubprocessRunner.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, ternaries 3, error handling 2 (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/Process/SubprocessRunner.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e022459568dbe3d67818066916c52413609c9c29cf072734d4b6cdb65c27ef4"}},{"ruleId":"D2","level":"warning","message":{"text":"AlibabaTokenPlanWebFetchStrategy.resolveCookieHeaders (cognitive 20): AlibabaTokenPlanWebFetchStrategy.resolveCookieHeaders has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5 (7 pts), boolean chains 4, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9830024c574e17764a51f08de9a94c2a59ba38d8178a858c315f320cbed94bb4"}},{"ruleId":"D2","level":"warning","message":{"text":"AmpUsageParser.extractObject (cognitive 20): AmpUsageParser.extractObject has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpUsageParser.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac007eb277d33474e677a7b733314583c8c7e0abc51afc7c5a287f007ad002b0"}},{"ruleId":"D2","level":"warning","message":{"text":"AugmentStatusProbe.fetch (cognitive 20): AugmentStatusProbe.fetch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 4 (7 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"904923b9a6f8bc96d95b8b9e871ca66b4b892b02e3f7bb6690dba57f1e97a014"}},{"ruleId":"D2","level":"warning","message":{"text":"BedrockCloudWatchUsageFetcher.parsePage (cognitive 20): BedrockCloudWatchUsageFetcher.parsePage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockCloudWatchUsage.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e962ad12fb8b898d0cb96c734d23fe5b7ff45ca630ca36ede279d3b0e9dea59"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeCLIScreen.applyCSI (cognitive 20): ClaudeCLIScreen.applyCSI has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (9 pts), boolean chains 4, if/else 4, loops 1 (2 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLIScreen.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b839715f7b30ee8d544ce5e67a6387a1800dcfef16c2ee51998f90b16bb82d9b"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeDesktopProjectsLocator.roots (cognitive 20): ClaudeDesktopProjectsLocator.roots has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeDesktopProjectsLocator.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"53761ea18d6343453e992dc53d1974d8dc8432b369e168123e8d45e353cd043b"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeCLIFetchStrategy.fetch (cognitive 20): ClaudeCLIFetchStrategy.fetch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 9, error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b879974984bf7d4b98d20f8f3db9cc1516a108bcfdf7149c58d42aa2acc7b2db"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexCLIBackendConfiguration.init (cognitive 20): CodexCLIBackendConfiguration.init has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, match/switch 1 (2 pts), loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexCLIBackendConfiguration.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"22749d802dee8d8827a67bd7b78c145110cdc3a71132eed870db3b5638b57aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexRequestLedger.merge (cognitive 20): CodexRequestLedger.merge has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 3 (4 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexRequestLedger.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29bd84d96e35f729266b67b8ac0e9adc08f4844db31caf3314890257b5e99ea"}},{"ruleId":"D2","level":"warning","message":{"text":"CopilotBudgetWebFetcher.fetchBudgetWindows (cognitive 20): CopilotBudgetWebFetcher.fetchBudgetWindows has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"83014e919ca358821af170656c0ad7bf428f17db7286c2915d43fde763d9afce"}},{"ruleId":"D2","level":"warning","message":{"text":"CopilotBudgetWebFetcher.extractMetaContent (cognitive 20): CopilotBudgetWebFetcher.extractMetaContent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, loops 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9dd6d2ec45929863fe7f9f571538b3c1f7f566b30e314dadc93943c76d3ce6"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorStatusProbe.fetchBrowserLoginCandidates (cognitive 20): CursorStatusProbe.fetchBrowserLoginCandidates has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (4 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e32b2b942934cce455f09718ca3414f7fbc949794ec503f802fe64c50c15f5b"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorStatusProbe.fetchTeamSpend (cognitive 20): CursorStatusProbe.fetchTeamSpend has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorTeamSpend.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9109a24a298742619a76add598c7ed43f0b6d0afcc5ce58f9bc8d843a3b035d"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekUsageCostParser.decodeByAPIKeyPayloads (cognitive 20): DeepSeekUsageCostParser.decodeByAPIKeyPayloads has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, error handling 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a74b2dd79a6fc38e1631a89142c588744c8ac6441edde3c1eca98c5989a404"}},{"ruleId":"D2","level":"warning","message":{"text":"DoubaoUsageFetcher.apiErrorSummary (cognitive 20): DoubaoUsageFetcher.apiErrorSummary has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, ternaries 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6465c681296f0806db80572ec4244190ed73f0df51aef17d5eb73f81a896cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"FactoryStatusProbe.attemptWorkOSCookies (cognitive 20): FactoryStatusProbe.attemptWorkOSCookies has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (10 pts), error handling 2 (6 pts), loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e32abb1a7842563b7d324a60028e8e061426f38d99503b537a4a1d4ca61d20a"}},{"ruleId":"D2","level":"warning","message":{"text":"MiMoFirefoxSessionCookieImporter.decodeLZ4Block (cognitive 20): MiMoFirefoxSessionCookieImporter.decodeLZ4Block has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 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/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bf7bd3876321ca5530be6694f2116b92384ad0cbcf18c02ba07c0f4959a630"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniMaxCodingPlanFetchStrategy.fetch (cognitive 20): MiniMaxCodingPlanFetchStrategy.fetch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (4 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/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5508cffbd4f78344da01881529e09e46325c73d7af4af5a43c2eada96e9cd07"}},{"ruleId":"D2","level":"warning","message":{"text":"QwenCloudWebFetchStrategy.resolveCookieHeaders (cognitive 20): QwenCloudWebFetchStrategy.resolveCookieHeaders has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5 (7 pts), boolean chains 4, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dccd67f4fa1980d8a6f5b01938675e5e0238188ae8ea47864df020b6249239"}},{"ruleId":"D2","level":"warning","message":{"text":"Repository.hasCachedCredentials (cognitive 20): Repository.hasCachedCredentials has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (9 pts), match/switch 2 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"67348a588e5e12892e7bdc754a0eac3995bdd3de82df6a0e3331609451c1f230"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeSwapAccountProjection.usageSnapshot (cognitive 20): ClaudeSwapAccountProjection.usageSnapshot has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 1 (3 pts), match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountProjection.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9411f26c7eafd96814c1554df5041627be9707f36e740d2aff0b40a0a01c283"}},{"ruleId":"D2","level":"warning","message":{"text":"VertexAIUsageFetcher.fetchTimeSeries (cognitive 20): VertexAIUsageFetcher.fetchTimeSeries has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, error handling 1 (2 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAIUsageFetcher.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db4cfe2c64c80627e335acbd989fc928a6c1ae64840cd4212500a81c2987849"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage::validate (cognitive 20): fetchUsage::validate has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 2 (6 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/neuralwatt.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f614e1e77b4eb82ea1dcc5d8ffb33d49effc0b41b5320684495f96ac62b900a"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarLayoutPersistence.preferredLayout (cognitive 19): MenuBarLayoutPersistence.preferredLayout has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 7 (8 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayout.swift"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"866d864c28c068c4d51c8a282ed800aff599938ed3c04128a4e9364bd78efac8"}},{"ruleId":"D2","level":"warning","message":{"text":"MetricRow.body (cognitive 19): MetricRow.body has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 6 (8 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardMetricRow.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef814dfb1ebc81e531602a7db19cffb52db29949a15ba0a942108c9760c23c15"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardPane.codexCostCatchUpPanel (cognitive 19): SpendDashboardPane.codexCostCatchUpPanel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesSpendDashboardPane.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"859ec2c44e49f8251dc4b014053ad4b388b7c379397822f8f9e67ae8c5e84fd0"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardModel.hasRetainablePartialCodexModelCostCoverage (cognitive 19): SpendDashboardModel.hasRetainablePartialCodexModelCostCoverage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c18ad7ed257592824f8d19949b60b10e03fd56c9177c9264c2e77108c7794de"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.scheduleDeferredMenuInteractionRefreshIfNeeded (cognitive 19): StatusItemController.scheduleDeferredMenuInteractionRefreshIfNeeded has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuInteractionRefresh.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3abc8e68dc874b83f6842200715cbb9723a34d243c1b3baabc150ce7de42ff"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.scheduleManualRefreshViewportRestore (cognitive 19): StatusItemController.scheduleManualRefreshViewportRestore has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 7 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuViewportRestore.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"1910c63fc33c4f79e5d53e92e19a2b1ae8a3d560afbd4b370e15fd80f2fffabe"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.handleOverviewScrollWheel (cognitive 19): StatusItemController.handleOverviewScrollWheel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 2 (4 pts), loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BOverviewScroll.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"162f1cba76511249b84d4146ebf2e775538b2b5874f454e629a042284ff70535"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.postLimitResetCelebrationIfNeeded (cognitive 19): UsageStore.postLimitResetCelebrationIfNeeded has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, match/switch 2 (3 pts), ternaries 1 (3 pts) (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/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa70fd8d22e6e9bd73f3c13865bdd4ef924d570d0abdce5f3af431ce3bcd7afb"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.widgetUsageRows (cognitive 19): UsageStore.widgetUsageRows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BWidgetSnapshot.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd71f3d4972a6229ac51695cebb4c726e7263795d64777d92aed53b6351e86d"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.resolvedCodexRefreshOutcome (cognitive 19): UsageStore.resolvedCodexRefreshOutcome has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 9 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexPATRefresh.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbee1442007865cf5ff9588fea9e267c08162649731588e36e66b8c6b8a82189"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexConsumerProjection.make (cognitive 19): CodexConsumerProjection.make has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, ternaries 6, if/else 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexConsumerProjection.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0ca70cd165b8516b296424f173fc2f0edb304c85441ebe70a65d8dd4bb7c5c"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexWeeklyResetConfirmation.resetCreditEvidence (cognitive 19): CodexWeeklyResetConfirmation.resetCreditEvidence has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, if/else 3, ternaries 2 (3 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/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df079e339c75e9edb5f5e16d59b96d73597aaba58e771edd3f41cafa0390327"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIAPIProviderImplementation.throughputPresentation (cognitive 19): OpenAIAPIProviderImplementation.throughputPresentation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/OpenAI/OpenAIAPIProviderImplementation.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fda9c73e4181682b6f8f6a503449c68f2f4ccd6300f37eb637945611634b4e"}},{"ruleId":"D2","level":"warning","message":{"text":"CLILocalHTTPRequest.isAllowedHost (cognitive 19): CLILocalHTTPRequest.isAllowedHost has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 3 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLILocalHTTPServer.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3063396fc14b0ae0b075daafdc58fce1a225045faf77000287471d19890d2659"}},{"ruleId":"D2","level":"warning","message":{"text":"CLIServeResponseCache.mergeLastGoodCostItems (cognitive 19): CLIServeResponseCache.mergeLastGoodCostItems has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f9d609d758624f5b4b4950902c05916ab705a5dc467aace86a9ebe13ff30c0"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenAccountCLIContext.resolvedAccounts (cognitive 19): TokenAccountCLIContext.resolvedAccounts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/TokenAccountCLI.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e72f76d79ed9a8135d13dc2afcb0eb7a2deb7a5d89d4a86f555a4dde249582e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSessionNameFormatter.agentPath (cognitive 19): AgentSessionNameFormatter.agentPath has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/AgentSession.swift"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6aeecdf9e936c7982a0f74fabff8e4595ac6c89b5390a6620c4b145befc8304"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexModelsAnalyticsBuilder.parityMismatches (cognitive 19): CodexModelsAnalyticsBuilder.parityMismatches has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 8, ternaries 2, loops 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexModelsAnalyticsModels.swift"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af485f804da3ea466f68a726e768339445940b2e5b05cd1d3771b5b14236b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexThreadMetadataReader.projectMetadata (cognitive 19): CodexThreadMetadataReader.projectMetadata has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, 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/CodexBarCore/CodexThreadMetadataReader\u002BProjects.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddcf1dc97a1eaff7da62a79a3567bb2f7baa0c7eb1c8d4448e1d33f489d0d91"}},{"ruleId":"D2","level":"warning","message":{"text":"PiFamilySessionScanner.ompSessionRootResolution (cognitive 19): PiFamilySessionScanner.ompSessionRootResolution has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 7, loops 2 (3 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/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bef50449c96d02e94561a1ad462e95942c848a260ab2f83a57ea704eda9ce6"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderStorageScanner.scanDirectory (cognitive 19): ProviderStorageScanner.scanDirectory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderStorageFootprint.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b3fc399d4903a3fdb36d8314799dd36bff4770a58c567a2d7aab8ddf381429"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.applyingUsageItemVisibility (cognitive 19): Model.applyingUsageItemVisibility has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/ProviderUsageItemVisibility.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d843f8f318aa8c36702998b3f60b8609bf35a2c96169770f5af88b442e2930a"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionToolJSONProjection.punctuation (cognitive 19): SessionToolJSONProjection.punctuation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/SessionToolJSONProjection.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f554e13db27dc2bc5d4d611b22371bac2ab99f267c1652e8ddf2a06edf2248e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderPluginIconSVG.hasBoundedCanvas (cognitive 19): ProviderPluginIconSVG.hasBoundedCanvas has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (6 pts), ternaries 1 (2 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/CodexBarCore/Plugins/ProviderPluginIconSVG.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9af7f5b2338fe4d493328e5b652f28b1623f2d8fb20c6e9eeaad50ef904d22"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaScriptCoreProviderPluginEngine.makeCookieBlock (cognitive 19): JavaScriptCoreProviderPluginEngine.makeCookieBlock has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 2 (4 pts), boolean chains 2, error handling 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/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"082d773ad90d8ee979828ff010acc678cffcdef7c9d6000e02bc57f3fce073e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeUsageFetcher.applyWebExtrasIfNeeded (cognitive 19): ClaudeUsageFetcher.applyWebExtrasIfNeeded has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 1 (2 pts), match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee4bc11b7842333b2146cbdd5cedb6a933f236c5de73bc386b2efd46120e7f8"}},{"ruleId":"D2","level":"warning","message":{"text":"StepExecutor.loadViaCLI (cognitive 19): StepExecutor.loadViaCLI has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b827ed30e5b9fd153fd2304a6f63f96659d69c4cf2891035fd79ef6cdf402a"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexDisplacedLivePreservationExecutor.refreshExistingManagedAccount (cognitive 19): CodexDisplacedLivePreservationExecutor.refreshExistingManagedAccount has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 3 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexAccountPromotionExecution.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a432521eceba93973d3403ba088ca43e04bc0cecff275a73d8f2bf7a4f0809"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexVisibleAccountProjection.make (cognitive 19): CodexVisibleAccountProjection.make has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, match/switch 2 (3 pts), loops 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec0a65c577f5effc918a390b6a1deac18b9330ed20f62a79afa9eeb30aea7da"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekUsageCostParser.parse (cognitive 19): DeepSeekUsageCostParser.parse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, error handling 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"a590149d2150dc3f63141bd1033c2328cb5409f03550a6cfe9b436e664552517"}},{"ruleId":"D2","level":"warning","message":{"text":"DoubaoUsageFetcher.fetchCodingPlanUsage (cognitive 19): DoubaoUsageFetcher.fetchCodingPlanUsage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, error handling 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6125c5fd55ebf5f5596bde45ebc5d8a0f00023f7e405d75541fd47907c43ca4a"}},{"ruleId":"D2","level":"warning","message":{"text":"MiMoWebFetchStrategy.fetchFromWeb (cognitive 19): MiMoWebFetchStrategy.fetchFromWeb has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 2 (4 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/CodexBarCore/Providers/MiMo/MiMoProviderDescriptor.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8369521fa9f0afad51d1c73eedbecb5d1e9c922707144d5f3abed8e79fb404b5"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniMaxUsageFetcher.fetchUsageOnce (cognitive 19): MiniMaxUsageFetcher.fetchUsageOnce has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90aa89aaa6eb15aef31e7f55fb964d627191981fd07c7cb05e973f1c37c9b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"OllamaUsageFetcher.fetchUsingCookieCandidates (cognitive 19): OllamaUsageFetcher.fetchUsingCookieCandidates has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), error handling 4 (7 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/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d41e4223ebe96e0556ec7230c36e638f29db8b15f4d5c4cc18cebc52eb173d"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplicateWebFetchStrategy.fetch (cognitive 19): ReplicateWebFetchStrategy.fetch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Replicate/ReplicateWebFetchStrategy.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa244a0126cca9271e9436fae8aea2750aa7672e6b0706fb3155ca31225e836"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeOAuthCredentialsStore.loadFromClaudeKeychainUsingSecurityFramework (cognitive 19): ClaudeOAuthCredentialsStore.loadFromClaudeKeychainUsingSecurityFramework has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, error handling 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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":2236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f782a40cee9cfb0556710ae906b4a212bb41af83804aa4944a6c38180399bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeOAuthCredentialsStore.claudeKeychainCandidatesProbeWithoutPrompt (cognitive 19): ClaudeOAuthCredentialsStore.claudeKeychainCandidatesProbeWithoutPrompt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":2309}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed180421e5b4b44ebe786ffb051ed8c63b8691829456aaa23ad08a6089ebfcaf"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeWebAPIFetcher.extractSessionKeyInfo (cognitive 19): ClaudeWebAPIFetcher.extractSessionKeyInfo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4fcb0029cdc912cbd2d3755ebf4ced106f7c3b8e4f233530fd38286ea8c992"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeWebAPIFetcher.extractNotableFields (cognitive 19): ClaudeWebAPIFetcher.extractNotableFields has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (5 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 2 function items inside it that branch (walk, appendValue). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"530f3c974755c7bd3c3cf7d38b616c476db1b1cbcb140dd07e87be9dc61088d2"}},{"ruleId":"D2","level":"warning","message":{"text":"OllamaUsageFetcher.swift.normalizedOllamaTokenAccountHeader (cognitive 19): OllamaUsageFetcher.swift.normalizedOllamaTokenAccountHeader has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b766d2ba49ed1a7c478f7510f5dea86e8f2a68e353860debca127e01da3ecdc5"}},{"ruleId":"D2","level":"warning","message":{"text":"WidgetUsageRow.rows (cognitive 19): WidgetUsageRow.rows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (5 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/CodexBarWidgetViews.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"3061aee1021623df43bb099d63841cf592d930d0fdec020806c9687186011107"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareStatsBuilder.make (cognitive 18): ShareStatsBuilder.make has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (7 pts), ternaries 2, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/ShareStatsPayload.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3945a52d9dcac7be9773c591c6a1fd147e0c27d0462e6f7d0d499432e2cdf6"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarLayoutPersistence.preferredOverrides (cognitive 18): MenuBarLayoutPersistence.preferredOverrides has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 8 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayout.swift"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1ecff72170be8575453f2f9e60337b6872452dafc543f323da61a70aba34c8"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageBreakdownChartMenuView.makeModel (cognitive 18): UsageBreakdownChartMenuView.makeModel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b603650d3a69bd2d8575b2aab7f354e74c8c8ab1a93a66619857beab396be1"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsStore.init (cognitive 18): SettingsStore.init has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 3 (5 pts), boolean chains 3, error handling 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/CodexBar/Settings/SettingsStore.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"b431710e8fd1e2695d6f5ec06741be244b859851a3e926f68a89db0605e174df"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardController.update (cognitive 18): SpendDashboardController.update has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"88521bd4c3948d36606abd659b857927cfd0cdccd1778f9083ad33b5d36d5383"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardModel.tokenActivityInputSummary (cognitive 18): SpendDashboardModel.tokenActivityInputSummary has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"236fb6e770115a9fc3715f90fc926e99d4551b2b69a81b6396382f7328cccf4b"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.applyIcon (cognitive 18): StatusItemController.applyIcon has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, ternaries 1 (2 pts) (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/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22b525f79c59eb6d9869e6ee39350a8b15ee053dc110af955f9c234702bcf46"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.addCompactAccountMenuRows (cognitive 18): StatusItemController.addCompactAccountMenuRows has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 1 (3 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BCompactAccountMenu.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1948ed49614e96a5cd9b98a143252b2baed8fad5f938975ee812b38cdb5b2fe6"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.refreshHostedSubviewMenu (cognitive 18): StatusItemController.refreshHostedSubviewMenu has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 1, match/switch 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/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd75ec76beeccd64f255269c24467307cf5a4902f45d3339766e8a24213ddb0"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.scheduleStorageFootprintRefresh (cognitive 18): UsageStore.scheduleStorageFootprintRefresh has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BProviderStorage.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85c2b66ed9820c1197741e2d04c50259bb5d101c37cebbf819735a3abf8ecc7"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.loadLatestCodexCredits (cognitive 18): UsageStore.loadLatestCodexCredits has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 1 (3 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexRefresh.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bef4a1f37acecb32c63c58f8945c0b3f5427052efe0fb87dc4f043363a8ed6"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.codexOutcomeAdmittedForPublication (cognitive 18): UsageStore.codexOutcomeAdmittedForPublication has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, match/switch 3 (4 pts), boolean chains 3, ternaries 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetConfirmation.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da65124645b3a65590aab066cdf9dfa4534fbe19a78b492c09e5c6f5dd87847"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.openAIDashboardFriendlyError (cognitive 18): UsageStore.openAIDashboardFriendlyError has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (5 pts), ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30ab296087d10bcec31eedf24507f2a235908871e93a2ce5b63132491c5bb50"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityLoginRunner.run (cognitive 18): AntigravityLoginRunner.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 4, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Antigravity/AntigravityLoginRunner.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7be1131784f16c6144d0d6fe8eb8286ccbc95a51048f21bea576fc35ebe956"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAccountSwitcherView.compactButtonTitle (cognitive 18): CodexAccountSwitcherView.compactButtonTitle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, 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/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f541d77adbde9d465ddbb43893e0286da4bd1c9e01850a3eebc8dc1713e5ca36"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedCodexAccountService.authenticateManagedAccount (cognitive 18): ManagedCodexAccountService.authenticateManagedAccount has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, match/switch 1 (2 pts), error handling 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/ManagedCodexAccountService.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8a481c9c5d59095200d82dd8475727d168371f82ba4c5c9525e787707d8d2a"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.runHooksWatch (cognitive 18): CodexBarCLI.runHooksWatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (6 pts), match/switch 3 (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/CodexBarCLI/CLIHooksWatchCommand.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8320aaa5f2913c30d805fe3e566804b81e56b35abfec75369b0afbfb20dfa20"}},{"ruleId":"D2","level":"warning","message":{"text":"ToonSerializer.looksNumeric (cognitive 18): ToonSerializer.looksNumeric has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, loops 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/ToonFormatter.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef32bcbc9421e84abf3ae941b404b8b76294a7dab94da3b3ac11f25b140bcca"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexModelsAnalyticsBuilder.modelParityMismatches (cognitive 18): CodexModelsAnalyticsBuilder.modelParityMismatches has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexModelsAnalyticsModels.swift"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"412e0e9db448ffcb3312edc3bbf8375e3554010213600f766e1cda78b520f8b2"}},{"ruleId":"D2","level":"warning","message":{"text":"Entry.coverageCounts (cognitive 18): Entry.coverageCounts has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 6, if/else 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bab942cac35cd059175459283603eb8b0653595168dadfd0a2663c8b778a2d"}},{"ruleId":"D2","level":"warning","message":{"text":"PiFamilySessionScanner.piSessionRootResolution (cognitive 18): PiFamilySessionScanner.piSessionRootResolution has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b779f2f74c5839dd7a54209c5a98d49b10c16fbded02659843b0888d54e7ba"}},{"ruleId":"D2","level":"warning","message":{"text":"PiSessionCostScanner.cachedSourceFilesAreCurrent (cognitive 18): PiSessionCostScanner.cachedSourceFilesAreCurrent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"715c8b7a8669d0604c9fce71f41629453e53bff59a250be95d8baac09ca27b25"}},{"ruleId":"D2","level":"warning","message":{"text":"PiSessionCostScanner.rebuildDailyUsage (cognitive 18): PiSessionCostScanner.rebuildDailyUsage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adf9c588ea16f8081c3e0c28256e52af532b44dca17690ac491d498743f2754"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderStatusFetcher.parseIncidentIOSummary (cognitive 18): ProviderStatusFetcher.parseIncidentIOSummary has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, loops 2, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderStatusFetcher.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5128186d1402dc85aaffba316fb7d0db49fc2de87363fb34eca7fd73bceecd09"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.localizedZaiCountdown (cognitive 18): Model.localizedZaiCountdown has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView\u002BProviderDetailLocalization.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"050e00828bc57c7044e0c4ece3fc864c9aea1597433f7b1459ab709f39a0227b"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionToolActivityParser.outcome (cognitive 18): SessionToolActivityParser.outcome has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (7 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/CodexBarCore/SessionToolActivityParser.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f61c565ad98b4975414f1e77d98a2af00f9f61cc0082a4e034b984b2cbf4bbd"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDashboardBrowserCookieImporter.trySafari (cognitive 18): OpenAIDashboardBrowserCookieImporter.trySafari has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 5 (6 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (OpenAIDashboardBrowserCookieImporter.tryBrowser) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5a0129a87174c8688eee5553dfb00a43f66f11cec82c0f479fd2578c85a186"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDashboardBrowserCookieImporter.tryBrowser (cognitive 18): OpenAIDashboardBrowserCookieImporter.tryBrowser has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 5 (6 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (OpenAIDashboardBrowserCookieImporter.trySafari) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b451ade9f17bb53001201d1e9bde5784f1b4d3da5bd66498a6a301fa22d5a3"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDashboardBrowserCookieImporter.findFirstEmail (cognitive 18): OpenAIDashboardBrowserCookieImporter.findFirstEmail has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6705e1c1cf6b452fd1eb6dad1f9f898d895d691fea162d40dc3965bb6e106d4"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDashboardFetcher.findFirstEmail (cognitive 18): OpenAIDashboardFetcher.findFirstEmail has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f88d8b0f69314a7ce92bf572e11e175faf4d10b79c12253b9898a162378cea"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderPluginHTTPResponse.fetch (cognitive 18): ProviderPluginHTTPResponse.fetch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginHTTPResponse.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa112b032023c29f03f8a127ce3acd04d2d858cc9a5fd3ae2eaf1d9236774be"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderPluginSnapshotMapper.mapResult (cognitive 18): ProviderPluginSnapshotMapper.mapResult has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginResult.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fd1aa2566fa10bdb35e800a7791e4b0c9c9b47ca9bdc64aaa9ba3c4dc80600"}},{"ruleId":"D2","level":"warning","message":{"text":"BedrockUsageFetcher.parseGroupedResults (cognitive 18): BedrockUsageFetcher.parseGroupedResults has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdecaf1397d2d3a3698c5fe9a761b2017b13aaa4706aa1e7eb9d8ca12cc5ac8c"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAdminAPIUsageFetcher.makeSnapshot (cognitive 18): ClaudeAdminAPIUsageFetcher.makeSnapshot has cognitive complexity 18 (threshold 15). Drivers by points: loops 6 (11 pts), if/else 3 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageFetcher.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa8806e79dfb340437f08ae3205ae73f81d6ab880b556dca66613b3815b1898"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeStatusProbe.parse (cognitive 18): ClaudeStatusProbe.parse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (5 pts), boolean chains 4 (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/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"450f0543eb09d78cb46cf35d55b9a0363ab838dad9cb5737fc0bb6d3bb51b91f"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeStatusProbe.extractUsageError (cognitive 18): ClaudeStatusProbe.extractUsageError has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"20adba105b067ceeef7615cb0ec1b64d39dd8236c2198ad94381cb832fb0f5d1"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeStatusProbe.extractUsageErrorJSON (cognitive 18): ClaudeStatusProbe.extractUsageErrorJSON has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 8, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d4e9c134f0cb4c4e65fa2a5c22e3e96d928201f61f26ee68cbb18289b1c1da"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorStatusProbe.fetchCachedSession (cognitive 18): CursorStatusProbe.fetchCachedSession has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BSessionResolution.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"249f9dba41d088c0696c266285cf216eb36a2a67078f9d75cfe2efa6776ef638"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorUsageEventsFetcher.fetchAllEvents (cognitive 18): CursorUsageEventsFetcher.fetchAllEvents has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.swift"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5d05d08f91cf1a26c5e54f42a5379fffb57b5525238416186c4d0560b1a35e"}},{"ruleId":"D2","level":"warning","message":{"text":"DevinSessionImporter.findAccessToken (cognitive 18): DevinSessionImporter.findAccessToken has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 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/CodexBarCore/Providers/Devin/DevinSessionImporter.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"4722160e97004d7cfb366e0eb7a3bcc50fdb6692f9a8a550440266f19e2ed489"}},{"ruleId":"D2","level":"warning","message":{"text":"DevinUsageParser.findPlanName (cognitive 18): DevinUsageParser.findPlanName has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 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/CodexBarCore/Providers/Devin/DevinUsageSnapshot.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"86527f89e36f2ed6acdc8c7da29e5533f65e4a0f14cf205478700430be4431ca"}},{"ruleId":"D2","level":"warning","message":{"text":"FactoryCookieImporter.importSessions (cognitive 18): FactoryCookieImporter.importSessions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (8 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"920118e5fb245ed056c64257f9ab19fce6a3c03d33637779a243bff1bd40c345"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiStatusProbe.extractOAuthCredentialsFromBundle (cognitive 18): GeminiStatusProbe.extractOAuthCredentialsFromBundle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3128a6b56a51f40b9df1d847efce2014680c822366cc105161cb5b97db4bff"}},{"ruleId":"D2","level":"warning","message":{"text":"MiMoCookieHeader.header (cognitive 18): MiMoCookieHeader.header has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 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/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c6f7eac9f3ee91e4b58fee037caf4f68ae503e170aa02765459d889892a953"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeLegacyFallback.fetch (cognitive 18): OpenCodeLegacyFallback.fetch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 6, error handling 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Shared/OpenCodeLegacyFallback.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adccc9fd04d9183db40d3ca6da9258fb02692b3c3535b2ef1e592771dd9326a"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSafeWebFetchStrategy.fetch (cognitive 18): TypeSafeWebFetchStrategy.fetch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/TypeSafe/TypeSafeWebFetchStrategy.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b6620770caebfbc2cbe7dd4cd3c76354c7e67f9084a19cd4ffc865bc038e3a"}},{"ruleId":"D2","level":"warning","message":{"text":"WarpUsageSnapshot.toUsageSnapshot (cognitive 18): WarpUsageSnapshot.toUsageSnapshot has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Warp/WarpUsageFetcher.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"df49bf3f52b9f551e28b9cfb62539f8995c016d1281e7435311ca6d61974fda7"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeWebAPIFetcher.fetchUsageSerialized (cognitive 18): ClaudeWebAPIFetcher.fetchUsageSerialized has cognitive complexity 18 (threshold 15). Drivers by points: error handling 3 (5 pts), if/else 4 (5 pts), ternaries 1 (4 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79ca7d18c41a1d7de30a17b44e2305eda12ec399a18f7dae22db6b23665ad67"}},{"ruleId":"D2","level":"warning","message":{"text":"OneConsoleCookieHeaderBuilder.header (cognitive 18): OneConsoleCookieHeaderBuilder.header has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 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/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieHeaders.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5ddee6a4de9e7da177b71839293ef32fa66ff1991c351dda5aab602d3dcccc"}},{"ruleId":"D2","level":"warning","message":{"text":"Usage.laneSegments (cognitive 18): Usage.laneSegments has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Linux/Shared/Usage.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8ac6b1a3653a8b1ba69b280501c662f5cf6f80ff57b7e5841c4dc62382b196"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage (cognitive 18): fetchUsage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1, 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/CodexBarCore/Resources/Plugins/tinyapi.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"442efa26da2cdad3f74d3bf13d023d5e3737526882ac044282eb4c83e4273a1b"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage::window (cognitive 18): fetchUsage::window has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, ternaries 1 (3 pts) (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/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4a2a942057ccf9d11d2ec3d9a47386e11068394b4614c2d1224e1d6581a54a"}},{"ruleId":"D2","level":"warning","message":{"text":"DockIconController.reevaluatePolicy (cognitive 17): DockIconController.reevaluatePolicy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 1 (3 pts), boolean chains 1, match/switch 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/DockIconController.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d365d67611153929b5419fb025b92b1d5e8a76d7f1151fbf768589de4baffe3"}},{"ruleId":"D2","level":"warning","message":{"text":"HTTPServerController.restart (cognitive 17): HTTPServerController.restart has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/HTTPServerController.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"607fb920a1bfa43e440ebb530a506e7d074546e4d3fad75e6cebd7d1a6be091a"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoricalUsageHistoryStore.reconstructWeekCurve (cognitive 17): HistoricalUsageHistoryStore.reconstructWeekCurve has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 5 (6 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/HistoricalUsagePace.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"099b236eb50933dcf9d34c85b22a0a3fa69783d2ea135dbeec6622288f1437a2"}},{"ruleId":"D2","level":"warning","message":{"text":"CostHistoryChartMenuView.makeModel (cognitive 17): CostHistoryChartMenuView.makeModel has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3b9c5cd43ed01ab5d1211e50aa29569c69662eb4d9adb09d2955bb37b49760"}},{"ruleId":"D2","level":"warning","message":{"text":"CreditsHistoryChartMenuView.makeModel (cognitive 17): CreditsHistoryChartMenuView.makeModel has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c14064031895c3ff6f05d3a0949b183556362b1b7af6e0792441b691e84dd01"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuDescriptor.actionsSection (cognitive 17): MenuDescriptor.actionsSection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuDescriptor.swift"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"958f0001fe4106216d4b492a81bb0974ad351fa6224451afc544cf4f9051bb54"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardModel.hasRetainableUnpricedModelRows (cognitive 17): SpendDashboardModel.hasRetainableUnpricedModelRows has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"03eac1507fdde67657f5ad16ef8149060d3ac81ca7e45f500677994ee4217d6d"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardModel.hasCompleteModelTokenCoverage (cognitive 17): SpendDashboardModel.hasCompleteModelTokenCoverage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"7654aac1c55b2b65a2d15c1db655fd94e8ded875b23fa9643472684fff388221"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.addStackedCodexMenuCards (cognitive 17): StatusItemController.addStackedCodexMenuCards has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BCodexStackedMenu.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce65eade8651d797b65f3240e874eb1fdc6eafe6aaa7692539812e3bac85269"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.addMenuCards (cognitive 17): StatusItemController.addMenuCards has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6290ac47c6d31b6056fe0ded3ee4a69bbf1f04da6492a2d03879baacebe92df"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.harvestRecyclableMenuCardViews (cognitive 17): StatusItemController.harvestRecyclableMenuCardViews has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuCardRecycling.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d91d5c9433580fb4d9e0eaa08b663fb2a6978a90f91bda2d184e95e12ae9372"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.weeklyPace (cognitive 17): UsageStore.weeklyPace has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BHistoricalPace.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5f3021daa21d2be799a61aca6f8532d2f3ab770e4a4d8a5b84279b0cbe5444"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.materializeCodexPlanUtilizationHistoryIfNeeded (cognitive 17): UsageStore.materializeCodexPlanUtilizationHistoryIfNeeded has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, loops 2 (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/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"519b709d8c4c643f9ced91c4ac30207d9c635ec60a6ca8c7fd8d82233ffd7222"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.codexVisibleAccountMatchesCurrentProjection (cognitive 17): UsageStore.codexVisibleAccountMatchesCurrentProjection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"095bc5b3bf4a5056bcd9184eaf8136a0510f1e70561166d0d4e1d32a11df2251"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.fetchTokenAccountOutcomes (cognitive 17): UsageStore.fetchTokenAccountOutcomes has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (9 pts), error handling 1 (4 pts), if/else 2 (4 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fb313b4e8888f06ddffc1c829ed2ad3c04081aab5891f6f90d9389281a9f3d"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.publishAvailableCodexCostCatchUpSnapshot (cognitive 17): UsageStore.publishAvailableCodexCostCatchUpSnapshot has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexCostCatchUp.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"3862089fab56087921a4ab390f786e541d016b048007bb7cbec09a1e55f4e5ea"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.codexAccountEmailForOpenAIDashboard (cognitive 17): UsageStore.codexAccountEmailForOpenAIDashboard has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f17dc77f03679f597b72c3732b3260c06b549bd9a4aacdb2a08908db502393"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.checkSpendDashboardCodexCostCatchUpCompletion (cognitive 17): UsageStore.checkSpendDashboardCodexCostCatchUpCompletion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BSpendDashboardCodexCostCatchUp.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8fb1f9cb9fc5b0f637668ef62560629f40598a800bf8c1efc45f68e52267c8"}},{"ruleId":"D2","level":"warning","message":{"text":"CLICardsBriefRenderer.styledProviderCell (cognitive 17): CLICardsBriefRenderer.styledProviderCell has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (5 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICardsBriefRenderer.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54307053a582cfddd6e795c765d09d24e055dfebb01719c8a07fbff089bee6f"}},{"ruleId":"D2","level":"warning","message":{"text":"CLICardsBriefRenderer.dataRow (cognitive 17): CLICardsBriefRenderer.dataRow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4 (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/CodexBarCLI/CLICardsBriefRenderer.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbd0beaf02d6699367f1d91106484660c0d7caa30e5879b2f581084a54249cc"}},{"ruleId":"D2","level":"warning","message":{"text":"CookieHeaderCache.loadSerialized (cognitive 17): CookieHeaderCache.loadSerialized has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89d65c548e5653ee653e4eb1456743a458c0b9226c6fc4b60e096a9b2d35a45"}},{"ruleId":"D2","level":"warning","message":{"text":"CostUsageFetcher.tokenSnapshot (cognitive 17): CostUsageFetcher.tokenSnapshot has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 11, boolean chains 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee343fc1a2514c281ae470ae76b57b3c6178a610f1fd069feb52565874c0394"}},{"ruleId":"D2","level":"warning","message":{"text":"CostUsageFetcher.codexBreakdownsWithProjectlessMetadata (cognitive 17): CostUsageFetcher.codexBreakdownsWithProjectlessMetadata has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, ternaries 1 (3 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher\u002BProjectless.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b3c6f49edfb6c98c0883d51f27a247d2e77c0af0380ce35eb8a395a4b04121"}},{"ruleId":"D2","level":"warning","message":{"text":"CostUsageTokenSnapshot.projectQuotaWindow (cognitive 17): CostUsageTokenSnapshot.projectQuotaWindow has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 6, if/else 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c8acb74b19f0387e3e6c89b4325773fc43974b4736bbf38eeeee9a5d7f6c8a"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexLaunchPreflight.isLaunchCandidateAllowed (cognitive 17): CodexLaunchPreflight.isLaunchCandidateAllowed has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/CodexBarCore/PathEnvironment.swift"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdb3d060d3943515101757dfa718ae6d1510cc26dd05c11171e8c94c17ee918"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellCommandLocator.parseAliasPath (cognitive 17): ShellCommandLocator.parseAliasPath has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PathEnvironment.swift"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b894122a7623e88928e70e0b2f8e6514ab31732dda778b80aabf17964a0dde3"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderStorageScanner.scan (cognitive 17): ProviderStorageScanner.scan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderStorageFootprint.swift"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4657769c43def53eda517a4f659d799f1f66a5bfa0a90d5b10750e61ac72c18"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.make (cognitive 17): Model.make has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 5, ternaries 3 (4 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ef0410e47bbfb1cd222522d2a8e11a2dd8c316e193f73ed532245f4cc2ce73"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageSnapshot.backfillingResetTimes (cognitive 17): UsageSnapshot.backfillingResetTimes has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, if/else 6. Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (eligibleCachedReset). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/UsageFetcher.swift"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51f78957450ed42b44ce687cec03f5a180a6ac84680f2320e733f976eb14547"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDashboardFetcher.fetchWorkspaceRemainingBalanceIfNeeded (cognitive 17): OpenAIDashboardFetcher.fetchWorkspaceRemainingBalanceIfNeeded has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (8 pts), error handling 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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c997bd8c76f229780a9d4f47bfd22fbbad9197794972cf76cf05b4357805ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.init (cognitive 17): Request.init has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (8 pts) (nesting depth added 2). 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/CodexBarCore/Plugins/ProviderPluginHTTPResponse.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d547b32e7ec153f2ae7d57b7d8df1029ed14478fbe2a6690f19d436a8760d83"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderPluginSnapshotMapper.costUsage (cognitive 17): ProviderPluginSnapshotMapper.costUsage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f8a62f1b6e0cc104ecd8ea9e4c025f99d20e939b35d6cc61c71be7aee4027f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderPluginApprovalBinding.init (cognitive 17): ProviderPluginApprovalBinding.init has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/UserProviderPlugins.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad20f58368f93625de5ed7a69254204a0d3216762402c46b042980d4b8c720fb"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityCLISession.reapRecordedSessionsIfNeeded (cognitive 17): AntigravityCLISession.reapRecordedSessionsIfNeeded has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, 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/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e073b2c57e2020592d17adb9bf846d17766e7ba3caca71708d23045d792bdd6"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityCLIHTTPSFetchStrategy.fetchWithReportFallback (cognitive 17): AntigravityCLIHTTPSFetchStrategy.fetchWithReportFallback has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fb7f838d4a2d815e23e57adfed01f0599f485466eb3d0f84b2154b8cae71b6"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityStatusSnapshot.normalizeModel (cognitive 17): AntigravityStatusSnapshot.normalizeModel has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (5 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 2). 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/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"256daa5664af4ca89020c10e4bb5fcf343862196bb5268c01d371833be3e81b3"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeCLISession.cleanup (cognitive 17): ClaudeCLISession.cleanup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fb506e51807ae18d627e64651cbf18ef05ec5b63d10249374598eccd298c42"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexDisplacedLivePreservationPlanner.makePlan (cognitive 17): CodexDisplacedLivePreservationPlanner.makePlan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, match/switch 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexAccountPromotionPlanning.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dc47598de3b90e6ddbd2c773527518013f166d4cb3684ab323892df6d744c7"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodexAccountReconciler.loadSnapshot (cognitive 17): DefaultCodexAccountReconciler.loadSnapshot has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexAccountReconciliation.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5af24e1f5928a5a9f5ffff59fc71bd312ae39473a277ad3eb16c3299e923041"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexStatusProbe.parseResetDate (cognitive 17): CodexStatusProbe.parseResetDate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexStatusProbe.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"173716eae459fa7ae7888097320d8bb460c36c1dd60e5c039f5ee9109bf5f2c3"}},{"ruleId":"D2","level":"warning","message":{"text":"DevinUsageFetcher.fetch (cognitive 17): DevinUsageFetcher.fetch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (6 pts), boolean chains 4, error handling 2 (4 pts), 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/CodexBarCore/Providers/Devin/DevinUsageFetcher.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8eec590b081165e859484abbf5b70f2ac1f555cb5b01c68a9578e75bd8b2bc2"}},{"ruleId":"D2","level":"warning","message":{"text":"DevinUsageParser.findWindow (cognitive 17): DevinUsageParser.findWindow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Devin/DevinUsageSnapshot.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d6163edd41414afed3f4abfb1b892e6287c45f2a4fccf278d81111ad520084"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiStatusProbe.findGeminiPackageRoot (cognitive 17): GeminiStatusProbe.findGeminiPackageRoot has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 7, 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/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"efffc8507d0d9b730708d0684ceccf6cf19d67e1cca95e8526f01600236d909f"}},{"ruleId":"D2","level":"warning","message":{"text":"KiloUsageFetcher.dictionaryContexts (cognitive 17): KiloUsageFetcher.dictionaryContexts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff266973c34b721f73b60e75c1fa833708a1db8b7040a383274c0694089811f"}},{"ruleId":"D2","level":"warning","message":{"text":"KiroStatusProbe.fetch (cognitive 17): KiroStatusProbe.fetch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 4 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aef37f3717e7c3cc57440cee4cd5d7180b96e759038cb28020fa71af766f2e7"}},{"ruleId":"D2","level":"warning","message":{"text":"KiroUsageLimitsAPI.parse (cognitive 17): KiroUsageLimitsAPI.parse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 4, ternaries 3, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroUsageLimitsAPI.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d412ae0be994a4e91c77a370c0c314c60546e014b136a94addc63fd134ac11"}},{"ruleId":"D2","level":"warning","message":{"text":"MiMoFirefoxSessionCookieImporter.hasDefaultOriginAttributes (cognitive 17): MiMoFirefoxSessionCookieImporter.hasDefaultOriginAttributes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"8085ef4bdc9d4977bc3e556872837e4a4d59c307bb0964ff876fdee9f2dfb78f"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniMaxUsageFetcher.fetchBillingSummary (cognitive 17): MiniMaxUsageFetcher.fetchBillingSummary has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, 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/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dae1dec5a30aa6dab002f06eebf02f243f790780f5833ea3ebfa3a9fdf30ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniMaxUsageParser.parseMultiService (cognitive 17): MiniMaxUsageParser.parseMultiService has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde7b9d74ab2e9c00ac81e21f3e6326f354622ec5208eace1f88bf4cb84aa273"}},{"ruleId":"D2","level":"warning","message":{"text":"MuseLocalUsageReader.accumulate (cognitive 17): MuseLocalUsageReader.accumulate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 7, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Muse/MuseLocalUsageReader.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92bd28f3bf87c863218d577a811f3c3c38c906724dffd9c06d08952d78698a6"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeCookieImporter.importSession (cognitive 17): OpenCodeCookieImporter.importSession has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (9 pts), loops 2 (4 pts), error handling 1 (2 pts), boolean chains 1, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeCookieImporter.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0359971834bc677b7f6164a1cc550100619ebedc210b19852635feaf785cee"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeGoLocalUsageReader.activeCredential (cognitive 17): OpenCodeGoLocalUsageReader.activeCredential has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (7 pts), match/switch 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoLocalUsageReader.swift"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dacdcd4f4ff15417810c4e487fa9ccd02e2128c6ef202ca4509a5319429e79b"}},{"ruleId":"D2","level":"warning","message":{"text":"QoderCookieRouting.curlRequestRoute (cognitive 17): QoderCookieRouting.curlRequestRoute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Qoder/QoderCookieRouting.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"761414a4dfa5e271add5d50e3f55cd1865fcee6186445678b3946827691c6f08"}},{"ruleId":"D2","level":"warning","message":{"text":"VeniceCookieHeader.header (cognitive 17): VeniceCookieHeader.header has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Venice/VeniceCookieHeader.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79ce604111789f580780d9963598c213e974ea9a48913d34e4ce9b662daf997"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeSubscriptionMetadata.parse (cognitive 17): ClaudeSubscriptionMetadata.parse has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (7 pts), ternaries 1 (nesting depth added 1). Of this number, 9 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeSubscriptionMetadata.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad73c1ea29a34c6a95a07740b8f45b946176d1d39da28fd78e5fa68f8e9d6e5c"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexOAuthCredentialsStore.integerExpirationClaim (cognitive 17): CodexOAuthCredentialsStore.integerExpirationClaim has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 6, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthCredentials.swift"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"0119c7ef5e08176e9fb2d21478a552d1919c53650e41f81495dbef5056a9a02f"}},{"ruleId":"D2","level":"warning","message":{"text":"AliyunOneConsoleChromiumCookieFallbackImporter.readCookies (cognitive 17): AliyunOneConsoleChromiumCookieFallbackImporter.readCookies has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleChromiumCookieFallbackImporter.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbd3c715dc715bf29c999398c3536ceb09501d67d1e01a5029cd330ddbf5500"}},{"ruleId":"D2","level":"warning","message":{"text":"Notifications.transition (cognitive 17): Notifications.transition has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6 (nesting depth added 3). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 8, 10, 5). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Linux/Shared/Notifications.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58d2401a2dc43d26f821d301d1c3e66c9cc397b8756f1ed78255c62bd552dc8"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsage::discover (cognitive 17): fetchUsage::discover has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (6 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/CodexBarCore/Resources/Plugins/museai.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b99e9854e1c918e153c60d5eb5e8dd95fcbba3e0809095f4363a540e4e2073"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.ensureSingleSettingsApplicationMenuItem (cognitive 16): AppDelegate.ensureSingleSettingsApplicationMenuItem has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 2, ternaries 1 (2 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/CodexbarApp.swift"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4209f17183ec2d0c19009a548d696b89c4c9fc2a9c51e1d0632bfdbc2f067d"}},{"ruleId":"D2","level":"warning","message":{"text":"HomebrewUpdateNotifier.postIfNeeded (cognitive 16): HomebrewUpdateNotifier.postIfNeeded has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/HomebrewUpdateNotifier.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5d99dd60d9dcd1e35f71878a4743fdce91ddd96993111dd24bbe0e4bde585c"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareStatsSanitizer.safeLabel (cognitive 16): ShareStatsSanitizer.safeLabel has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 3 (4 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/CodexBar/ShareStatsPayload.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1546442ad9348118111ced277c0cf4d1e426c2b87c589dcf20c5a3bb10e73b"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareStatsFormatting.text (cognitive 16): ShareStatsFormatting.text has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (5 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/ShareStatsPayload.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e82b00729abe862adf95278ff9cb4e5983c81aa14f5c9e4ce6bbacf022b455"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarLayoutRenderer.resolvedDisplayToken (cognitive 16): MenuBarLayoutRenderer.resolvedDisplayToken has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 2 (4 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2677434ccdf60afec447fd143d5adafd7926cde1c4defab11421d9893a4a3b0"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarPercentWindowPreference.applied (cognitive 16): MenuBarPercentWindowPreference.applied has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarPercentWindowPreference.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f62bfa897a86f8ef7f0ce9aa59b834d3e87f5c29938ebbe003c6d8a8be203e"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageMenuCardHeaderView.body (cognitive 16): UsageMenuCardHeaderView.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 4 (7 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae52c0eb192d340cf7c3ea35b5ade61ccc47c7389935e12a928b882893697c1e"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuDescriptor.appendProviderUsageSummaries (cognitive 16): MenuDescriptor.appendProviderUsageSummaries has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), loops 2 (5 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuDescriptor.swift"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a210a463b2408f16fa32b9b1355f5a1c064625718d902a871f64e42774a2eb"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuDescriptor.hasAccount (cognitive 16): MenuDescriptor.hasAccount has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuDescriptor.swift"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdccc5b3ddf6fe12560e28c214d450e7a25853c21d53fe19f4691eb5961a331c"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderSettingsOrganizationsRowView.body (cognitive 16): ProviderSettingsOrganizationsRowView.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 3 (6 pts), boolean chains 4 (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/CodexBar/Settings/PreferencesProviderSettingsRows.swift"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f6e62dc7ad690c5cdfdd11e686effd4f5aac0b751ac48bd777a85eb7bf6d70"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendActivityWeekGrid.body (cognitive 16): SpendActivityWeekGrid.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 3 (6 pts), loops 2 (3 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendActivityHeatmap.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9a089778d8b7081d0f6f3e73dfbf6dcd99f9c7cd0f5471a9462632430eac88"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardSource.snapshotRevision (cognitive 16): SpendDashboardSource.snapshotRevision has cognitive complexity 16 (threshold 15). Drivers by points: loops 8 (13 pts), if/else 2 (3 pts) (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c148b2e499dee6ceaffaedfa712cfce310e2685e224d16e022ecdec57d142a8"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendDashboardModel.hasCompleteTokenHistory (cognitive 16): SpendDashboardModel.hasCompleteTokenHistory has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec975b6bde1bcc7d02bb7a7cbf6ae4f93a40b1de71071122a4ff799fbb780c37"}},{"ruleId":"D2","level":"warning","message":{"text":"SpendTrendChartModel.emptyStateTitle (cognitive 16): SpendTrendChartModel.emptyStateTitle has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 3, ternaries 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/CodexBar/SpendDashboard/SpendTrendChartModel.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bd3764c7a3400a4a09e4d623ae146cb79c87cf64d22df4b87c536e77a6286e"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusItemController.updateVisibility (cognitive 16): StatusItemController.updateVisibility has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"60858b5e67d78ff82f26e3c67588cab876af29736cc9c58c224615900a94afb8"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudSyncEngine.applyFetchedRecords (cognitive 16): CloudSyncEngine.applyFetchedRecords has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Sync/CloudSyncEngine.swift"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"586463abe3b3157daabf69391524a89efaf24605dce13f43ed7a9214b9e876c9"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.warningClaudeAccountDiscriminators (cognitive 16): UsageStore.warningClaudeAccountDiscriminators has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/PredictivePaceWarnings.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc73cb513150a0c3e5f261bf54894899e4cf3b203d8fe43ae1facba3580ab7e"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.applySelectedCodexVisibleAccountOutcome (cognitive 16): UsageStore.applySelectedCodexVisibleAccountOutcome has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 1 (3 pts), boolean chains 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/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2275c86781491ee29145619fdbb02f26173641fea12ef4752e68549bf1b310b"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.loadTokenUsageSnapshot (cognitive 16): UsageStore.loadTokenUsageSnapshot has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 5, ternaries 2. 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/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d806ac55811e38da5166ebea92857054f62af3181a3ef2d856048b4ca38e15f8"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.preservedClaudeWidgetUsage (cognitive 16): UsageStore.preservedClaudeWidgetUsage has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 6, ternaries 3, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BWidgetSnapshot.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09ef1fcad59a92b4bc2da0e5300901c2eda994743c1b39faa0edbb41605b4b8"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageStore.persistCodexWeeklyResetPublicationCandidate (cognitive 16): UsageStore.persistCodexWeeklyResetPublicationCandidate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetCandidatePersistence.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef12519e04170a3dc459ad70c1a518e11d6dbe85754460b43dbf80a22684f47"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeSwapAccountSwitcherView.init (cognitive 16): ClaudeSwapAccountSwitcherView.init has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (13 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Claude/ClaudeSwapAccountSwitcherView.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a370b4d2d42d8efdc420ec6d0b1ad844a9e342f1198c4c7a0b105177464d8bc3"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorLoginRunner.deduplicatedCandidates (cognitive 16): CursorLoginRunner.deduplicatedCandidates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Cursor/CursorLoginRunner.swift"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"248233c20512d8980d510f26a7d632e5a201ca3346f42f9f075ef97b8156c757"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAILiveUsageModel.refreshLimits (cognitive 16): OpenAILiveUsageModel.refreshLimits has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (7 pts), error handling 1 (nesting depth added 2). 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/CodexBar/Providers/OpenAI/OpenAILiveUsageModel.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0826ae4d3f13df513789852b90ca58b066958e09cdb7cbfbc69f639be1668e"}},{"ruleId":"D2","level":"warning","message":{"text":"CLICardsRenderer.render (cognitive 16): CLICardsRenderer.render has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICardsRenderer.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79378db812dfb56c2ccc3b61fdaaed08ca40aaac6d57631690c4878cf53739c"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBarCLI.runConfigLogin (cognitive 16): CodexBarCLI.runConfigLogin has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 3 (6 pts), error handling 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIConfigLoginCommand.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fa1c96fcbd7937539f17c9f92b4f24812242451701f6b1d0df7fdd36086e15"}},{"ruleId":"D2","level":"warning","message":{"text":"ToonSerializer.needsQuoting (cognitive 16): ToonSerializer.needsQuoting has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/ToonFormatter.swift"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1a496b6b37e2f48285f088c6fc7f922ad109a85a005cdbe3dba1f14107c405"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexThreadMetadataReader.projectRoots (cognitive 16): CodexThreadMetadataReader.projectRoots has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 6, 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/CodexBarCore/CodexThreadMetadataReader\u002BProjects.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c91a09482b91698e607efcb8749d4da8acb279a03aa67e0f484a3e36f101f3"}},{"ruleId":"D2","level":"warning","message":{"text":"CookieHeaderCache.commitRefreshReadSuppression (cognitive 16): CookieHeaderCache.commitRefreshReadSuppression has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"621b5ad0ba188140feac89bf9222fd8f72c8846bd8085634e4b9714735f0ea2e"}},{"ruleId":"D2","level":"warning","message":{"text":"KeychainCacheStore.load (cognitive 16): KeychainCacheStore.load has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, match/switch 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/KeychainCacheStore.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbba3f93400f290aa5ffa0f1fdfaf894faadffe39dee3b9d46226f3d95414e8"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAgentSessionScanner.scanWithActivity (cognitive 16): LocalAgentSessionScanner.scanWithActivity has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 6, if/else 2. 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/CodexBarCore/LocalAgentSessionScanner.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28810ffe949089dc88732813cf56d92a41a5dcaf996ec2478373188270815aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderEndpointOverrideValidator.isPrivateNetworkHost (cognitive 16): ProviderEndpointOverrideValidator.isPrivateNetworkHost has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 4, ternaries 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/CodexBarCore/ProviderEndpointOverrideValidator.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c544dbd323dbec760cc7eb0f23c38281fe0edcd86c090d775eaa672c482e6e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.usageItemDescriptors (cognitive 16): Model.usageItemDescriptors has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 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/CodexBar/ProviderUsageItemVisibility.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2e5bd722648de64ae777ba1991c930de52fec99509afcabb574c2c1dae6476"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.bedrockBillingDayKey (cognitive 16): Model.bedrockBillingDayKey has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a21d75988f31dc92d59ddc8c43f1b670a14a1a2962fd0e2f989d71238ae297"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.rateWindowLabels (cognitive 16): Model.rateWindowLabels has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 2, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad842a5769c45c05f989a8f74d6865482b3f30022ddee69ca677a10212e754d6"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionToolActivityStore.details (cognitive 16): SessionToolActivityStore.details has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 5, ternaries 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/CodexBarCore/SessionToolActivityStore.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f5ce913da1d300e7d3e02d88c970dee228610d2aadd5dd03c88a3cc1efbd9a"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionToolJSONProjection.consume (cognitive 16): SessionToolJSONProjection.consume has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/SessionToolJSONProjection.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0eb0d535752577a2dad56e84ac3ecf5210517d3a9cee485092ab32c7d3d6883"}},{"ruleId":"D2","level":"warning","message":{"text":"TextParsing.parseNumber (cognitive 16): TextParsing.parseNumber has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/TextParsing.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8230bd04b618e6d0d028ab458005304b7f7d8bcf97cd169ed720db274a53e9"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageFetcher.loadLatestCLIAccountSnapshot (cognitive 16): UsageFetcher.loadLatestCLIAccountSnapshot has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/UsageFetcher.swift"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f2b905c4ed92ee5dd5201b7e2b7f6ea504c9746356fa82c7d28c6baa12f3de"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageFetcher.extractJSONObject (cognitive 16): UsageFetcher.extractJSONObject has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/UsageFetcher.swift"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dd395a014a3b6ad2ea84d2a70f724b52442e8a230e041ba65e63215c6b9d3e"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageFormatter.countdownDescription (cognitive 16): UsageFormatter.countdownDescription has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/UsageFormatter.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11fe4feb7159d7dccc4a5f0a13c5d145c2d3909f98fd6deac1b48b3516f1d23"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDashboardFetcher.fetchDashboardAPIResponse (cognitive 16): OpenAIDashboardFetcher.fetchDashboardAPIResponse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher\u002BSessionAuthorization.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0592804f64f7021a18e96b84e15dac8714633ccf861d5e4a118f04291b3c418d"}},{"ruleId":"D2","level":"warning","message":{"text":"SpawnedProcessGroup.launchPTY (cognitive 16): SpawnedProcessGroup.launchPTY has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 3, loops 3, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"75079f3150547e2b9b8b7b894524440a421ea997eefcacaadcda9e1698df2ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityLocalReader.embeddedTimestampsAgree (cognitive 16): AntigravityLocalReader.embeddedTimestampsAgree has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), boolean chains 4, 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/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1160a28cd114f01029fb386e08533e9643af3ddb97848137616effec6eaed2b"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityOAuthConfig.unambiguousClient (cognitive 16): AntigravityOAuthConfig.unambiguousClient has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 6). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (value). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dac04481042bf7a9fbc39b0815dab83cfee570687ba82a11a423666985427ae"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityProtoReader.parseStepMetadata (cognitive 16): AntigravityProtoReader.parseStepMetadata has cognitive complexity 16 (threshold 15). Drivers by points: error handling 3 (7 pts), if/else 2 (5 pts), match/switch 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProtoReader.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"06faa85a8f62f41613811dbeeff17d157404bb8d95796b2cdceed3c49bcd0a44"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeConfigPaths.costProjectsRoots (cognitive 16): ClaudeConfigPaths.costProjectsRoots has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeConfigPaths.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"23533717e93967707737593a69b0abb072ec7d49c3593c0637dcdd52dd652b02"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeProviderDescriptor.resolveStrategies (cognitive 16): ClaudeProviderDescriptor.resolveStrategies has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21eb0d0b8c6e4a6fc1d83f642b4324012a220feb3906355a98b50e3dcd400db"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexCLIBackendConfiguration.removingComment (cognitive 16): CodexCLIBackendConfiguration.removingComment has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexCLIBackendConfiguration.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89e0f8962ef372212b5c706d88961c7bc897d5196dc67e3176222ed68ce5204"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexCLISession.cleanup (cognitive 16): CodexCLISession.cleanup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), loops 2 (5 pts), boolean chains 4 (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/CodexBarCore/Providers/Codex/CodexCLISession.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a98667870e3ef0bfef29928b0ffa9ae36e7cd6a7d8c53a2a3b9c33da6c4a7c"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexStatusProbe.runAndParse (cognitive 16): CodexStatusProbe.runAndParse has cognitive complexity 16 (threshold 15). Drivers by points: error handling 4 (8 pts), if/else 4 (8 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexStatusProbe.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea301dfdfcb787cb4e7b0af381e65ff100563bd522129f0508db1efd6271d6a2"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorAppAuthStore.loadSession (cognitive 16): CursorAppAuthStore.loadSession has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 3 (5 pts), loops 1 (2 pts), ternaries 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/CodexBarCore/Providers/Cursor/CursorAppAuth.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"22eeb871740786d6052340947a00a8645a2d35c91c553e5005d8d137bf56da55"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorStatusProbe.fetchIfSessionAccepted (cognitive 16): CursorStatusProbe.fetchIfSessionAccepted has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc72620cd1fc37eb0b8f9e92856ae33652aab5c7bb698fd47af0646adfc8ed6"}},{"ruleId":"D2","level":"warning","message":{"text":"GrokWebBillingFetcher.decodeProductUsage (cognitive 16): GrokWebBillingFetcher.decodeProductUsage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99f83487ca37d748bc1a7b2030d2855f55bae647ff1e9fe09cb8c99dd7af396"}},{"ruleId":"D2","level":"warning","message":{"text":"MiMoCookieImporter.recordsIncludingFirefoxSessionCookies (cognitive 16): MiMoCookieImporter.recordsIncludingFirefoxSessionCookies has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a63019f1cfd3998dbe9314e22ff43b6a4387ab1db16d28fe3d9c800a0e420cf"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniMaxLocalStorageImporter.extractGroupID (cognitive 16): MiniMaxLocalStorageImporter.extractGroupID has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9ecba7ad61316a1af2dbf7f8603459ac25a5e136d1214a0bdf4c25133c6cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniMaxUsageParser.resetDescription (cognitive 16): MiniMaxUsageParser.resetDescription has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 5 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e812042962ea76823bdf43fcccc7ea3b179e8b16fbb8559f8fb45f78a03d1a8b"}},{"ruleId":"D2","level":"warning","message":{"text":"MistralSubscriptionBudgetParser.flightChunks (cognitive 16): MistralSubscriptionBudgetParser.flightChunks has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 3 (6 pts), loops 2 (3 pts) (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/CodexBarCore/Providers/Mistral/MistralSubscriptionBudgetParser.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"61eaf4a5f203ccd31752f89b4e4eb405acc552f9b86dd5fbd9055ad2a4f5d5be"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIOrgRateLimitsFetcher.fetch (cognitive 16): OpenAIOrgRateLimitsFetcher.fetch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 3, loops 2 (3 pts), 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/CodexBarCore/Providers/OpenAI/OpenAIOrgRateLimitsFetcher.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e1cbc286b2d6edc80d51abdcc3c90f38bfa6a16b60d1a94511c629300be5b0"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeGoZenBalanceParser.findBalanceValue (cognitive 16): OpenCodeGoZenBalanceParser.findBalanceValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoZenBalanceParser.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"611e31410e7bbdb21d6e195bdee3af6aa4b58bbc1b51b4d2766766233a435b65"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeOAuthDelegatedRefreshCoordinator.waitForClaudeKeychainChange (cognitive 16): ClaudeOAuthDelegatedRefreshCoordinator.waitForClaudeKeychainChange has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 1 (2 pts), loops 1, match/switch 1 (nesting depth added 6). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c5f51247fa2e09417be5456d2181aed591d6399e766a2ee0f4fff3803b85a7"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroBlock.body (cognitive 16): HeroBlock.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/WidgetDesignSystem.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f8755c6c0b4e866649368e905784060cde28370c8686b78de78aa5a4341a1c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UsageStore: TooManyMethods \u2014 836 methods, declared across 86 files: Codex/UsageStore\u002BOpenAIWeb.swift (62), UsageStore/UsageStore\u002BPlanUtilization.swift (62), UsageStore/UsageStore\u002BTokenAccounts.swift (53), UsageStore/UsageStore\u002BTokenCost.swift (51), \u002B82 more file(s). The bar is 30 methods; this is 806 over it, 27.87\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/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f5f394339bc29382f1eff73154c29640c5a0cb0f56a106ed6cddcdcaca7adc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StatusItemController: TooManyMethods \u2014 603 methods, declared across 65 files: StatusItem/StatusItemController\u002BActions.swift (68), StatusItem/StatusItemController\u002BAnimation.swift (62), StatusItem/StatusItemController\u002BMenu.swift (53), StatusItem/StatusItemController\u002BMenuTracking.swift (45), \u002B61 more file(s). The bar is 30 methods; this is 573 over it, 20.10\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/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0974eec1e4c84f735d3f1c122b8df15e8868618e5886ba48950a1ed12a7dbb0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsStore: TooManyMethods \u2014 250 methods, declared across 37 files: Settings/SettingsStore.swift (48), Settings/SettingsStore\u002BDefaults.swift (28), Settings/SettingsStore\u002BConfig.swift (27), Codex/CodexSettingsStore.swift (26), \u002B33 more file(s). The bar is 30 methods; this is 220 over it, 8.33\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/CodexBar/Settings/SettingsStore.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"0849834dc6d5e7ced120582b7d30708da86791ba133b733f194ea1fb622c7125"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IconRenderer.makeIcon: MethodTooLong \u2014 makeIcon runs 585 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 485 over it, 5.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/IconRenderer.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd91689d91146239254521ee89a7b748f59fbc0196174bd3c5370588bf70d63"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClaudeOAuthCredentialsStore: ClassTooLong \u2014 2315 significant lines (blank, comment-only and punctuation-only lines excluded), 146 methods. The bar is 400 significant lines; this is 1915 over it, 5.79\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"613b3ddb99fdb190c03f3ada0dfa040b5926bddfd661ff04494fa232289b0b2f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Model: TooManyMethods \u2014 158 methods, declared across 14 files: Menu/MenuCardView\u002BModelHelpers.swift (63), Menu/InlineUsageDashboardContent.swift (28), Menu/MenuCardView\u002BCosts.swift (25), Menu/MenuCardView.swift (17), \u002B10 more file(s). The bar is 30 methods; this is 128 over it, 5.27\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/CodexBarCore/ProviderThroughputSnapshot.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9fd167ce97a1d26988dc6bc02a643ad4a668e15f8caeb7f9b4840953b75783"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ClaudeOAuth/ClaudeOAuthCredentials.swift: FileTooLong \u2014 2386 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ClaudeOAuthCredentialsStore (14-3208). The bar is 500 significant lines; this is 1886 over it, 4.77\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a1f638ee4d5ad3a447753f95ae7653f74d748461bbfd3033b65a311b62481d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TTYCommandRunner.run: MethodTooLong \u2014 run runs 433 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 333 over it, 4.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39b6083804ccb0b0e48b50c234767f99a70b9c4f030327841b7009831186b84"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CostUsageFetcher: ClassTooLong \u2014 1611 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods. The bar is 400 significant lines; this is 1211 over it, 4.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5045226cec24c341dfb1fecafe693d434adf81ada23daa03f59545652fe36a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/CostUsageFetcher.swift: FileTooLong \u2014 1716 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: CostUsageFetcher (31-2041). The bar is 500 significant lines; this is 1216 over it, 3.43\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"878a459d242d39778be5ac5ffd37fb180f158b078dba898b313538b1ca9a1b94"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CostUsageFetcher.loadTokenResult: MethodTooLong \u2014 loadTokenResult runs 316 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 216 over it, 3.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"1803f463acaa84f23774828ebad45629a8fd93aeafa81884000b3edfa54e5bf2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SpendDashboardModel: ClassTooLong \u2014 1244 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 844 over it, 3.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f390a6ff4815d116e81422baf8ec1cda64dd581eaebb692bbf1ce34a0f8c66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SpendDashboard/SpendDashboardController.swift: FileTooLong \u2014 1485 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 985 over it, 2.97\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d069a0f8c9d332cf62c597c435abb66b7bc25223c760deef491ae900cc8a08e6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DebugPane.body: MethodTooLong \u2014 body runs 275 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 175 over it, 2.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesDebugPane.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1146fd0ec5ac7dc9f7645fbf370f203e5153df6b840154d61d091943dd54d6c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SpendDashboard/SpendDashboardModel.swift: FileTooLong \u2014 1273 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: SpendDashboardModel (22-1632). The bar is 500 significant lines; this is 773 over it, 2.55\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dd80a2570c380d556ec8fc564a3e94a96e6baf595d78ded67eb7076e5ddd93"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: StatusItem/StatusItemController\u002BMenu.swift: FileTooLong \u2014 1260 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 760 over it, 2.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a3dbb523d9d87eff1b2ad64c78832a8c8450f0410fbac5f32cd5d513ae6107"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/CostUsageModels.swift: FileTooLong \u2014 1258 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 758 over it, 2.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc15e28b364eba07211daf49d1b332a2fcd8b823fa8c26cf06fc014dc87a591"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UsageStore/UsageStore\u002BTokenAccounts.swift: FileTooLong \u2014 1256 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 756 over it, 2.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e94453f8c75e657d3e86182d08fc0d2650a75aa744574f92b27678f251e9121"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PiSessionCostScanner: ClassTooLong \u2014 993 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 593 over it, 2.48\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb641ee37d6e84b79c65141be8f644b96d6295691d0340814d5cc73f9961401"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UsageStore/UsageStore.swift: FileTooLong \u2014 1240 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 740 over it, 2.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f65f96c1904d69dd7fec6e40dfb565eb032b66683d9519636722a28644ec4f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Menu/MenuBarLayoutRenderer.swift: FileTooLong \u2014 1234 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: MenuBarLayoutRenderer (311-1345). The bar is 500 significant lines; this is 734 over it, 2.47\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"540f38d322aec244f7d038a410a6e30aa32d68f758da249e3258e7f9380a38df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Codex/UsageStore\u002BOpenAIWeb.swift: FileTooLong \u2014 1234 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 734 over it, 2.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"008644ad33816c41456e5a376f03593703f12a33e420d27a9cdbba1fc48655f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCLI/CLIServeCommand.swift: FileTooLong \u2014 1225 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 725 over it, 2.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd00907d0484faedb2948591e659d77bcb2e97b4edc33dd2944f38e118dc2fff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UsageStore/UsageStore\u002BRefresh.swift: FileTooLong \u2014 1224 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 724 over it, 2.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"364e074deed8ccbb0e169ec224fcd4c8456e5bd51c901927a27f5002fcb4f7df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/UsageFetcher.swift: FileTooLong \u2014 1223 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 723 over it, 2.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/UsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1552a05395f48ff09fc47878b72b458f18fe63adbfe1017a3426df710cef46f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Antigravity/AntigravityStatusProbe.swift: FileTooLong \u2014 1217 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 717 over it, 2.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ffe3281f70d8a580719b13e619c1289b06388315aaf24db8fcd68f24da5e5b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenAIDashboardFetcher: TooManyMethods \u2014 72 methods, declared across 4 files: OpenAIWeb/OpenAIDashboardFetcher.swift (55), OpenAIWeb/OpenAIDashboardFetcher\u002BReturnableData.swift (9), OpenAIWeb/OpenAIDashboardFetcher\u002BPageScrape.swift (5), OpenAIWeb/OpenAIDashboardFetcher\u002BSessionAuthorization.swift (3). The bar is 30 methods; this is 42 over it, 2.40\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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc73f431d95ed03741ddefe0025bdc8ca2669581e0338e95bb7729c9c903d6b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClaudeStatusProbe: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73db83b0533b821a941c2840aa59d9a7b68a7e0b69350f6edf841b4ce179923"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Menu/MenuCardView.swift: FileTooLong \u2014 1185 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 685 over it, 2.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c470874435a6dd182b43113e33b64fb4b362d717c1c51ef7a88cf4bbcf59d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CostHistoryChartMenuView.body: MethodTooLong \u2014 body runs 237 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 137 over it, 2.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a88162a12f414fb7722ccb354522d3c913e8d93213ca8ad3f8f250427c23b31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UsageStore/UsageStore\u002BPlanUtilization.swift: FileTooLong \u2014 1139 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 639 over it, 2.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3950be623db566f979186ff5422a137e08646774c273d1e096d4eeb1dd4d230"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProviderSwitcherView: TooManyMethods \u2014 68 methods, declared across 2 files: StatusItem/StatusItemController\u002BSwitcherViews.swift (67), StatusItem/StatusItemController\u002BUserPlugins.swift (1). The bar is 30 methods; this is 38 over it, 2.27\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/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d2fe882c3efa9ee33bb60e80c0fc31597f19b35818ab9fbefd70ca2209529f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sync/CloudSyncEngine.swift: FileTooLong \u2014 1118 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 618 over it, 2.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Sync/CloudSyncEngine.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b35103db816bef233eb4cb7e71ceb161f46d43246c7494c6eeae7afef7434c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AntigravityStatusProbe: TooManyMethods \u2014 67 methods, declared across 6 files: Antigravity/AntigravityStatusProbe.swift (49), Antigravity/AntigravityQuotaSummaryParser.swift (6), Antigravity/AntigravityStatusProbe\u002BPortDetection.swift (6), Antigravity/AntigravityStatusProbe\u002BDeadline.swift (3), \u002B2 more file(s). The bar is 30 methods; this is 37 over it, 2.23\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/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc368f2ca31c9845031006b38223a3d6684f3b14c63b0f575496b7739e6c9da6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Claude/ClaudeStatusProbe.swift: FileTooLong \u2014 1116 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 616 over it, 2.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"199c88bbd5bec620dc979bc55d976d499522bd128af8c11f8b482336687fcccf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IconRenderer: ClassTooLong \u2014 885 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 485 over it, 2.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/IconRenderer.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e06b16acfaa0adc66950cacb2c1115443d38528abd086ed54fe0f6d56d98e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Kiro/KiroStatusProbe.swift: FileTooLong \u2014 1103 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 603 over it, 2.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e915485c59cb3de81c240c90fa840365ff28f84c1b5018e1cae8e1c2d3b911e5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CostHistoryChartMenuView: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e847eec8e50838082ba2d6fb82d7f78c84fe2b88eee02fc91de2988ca8e936"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PiFamilySessionScanner: ClassTooLong \u2014 879 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 479 over it, 2.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"99dbb7aa5758712e772906fbb8b16117678d86eba8f1a468fbbd9054981d0b16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Menu/MenuBarLayout.swift: FileTooLong \u2014 1096 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 596 over it, 2.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayout.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb3aa13d68f5fee741ae7752a6a8aca3dd2b2689f934b1c1be6cd15e7654bf6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MiniMax/MiniMaxUsageFetcher.swift: FileTooLong \u2014 1096 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 596 over it, 2.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9dc4ff5fa828f84eb3d6572d92ed35930e676d93220d700f4d4e41c1ecb2b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Claude/ClaudeUsageFetcher.swift: FileTooLong \u2014 1090 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 590 over it, 2.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f3e64c76267f82cec2285324b6aa35df296d40696f43d926d5e601920297b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/PreferencesSpendDashboardPane.swift: FileTooLong \u2014 1067 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 567 over it, 2.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesSpendDashboardPane.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83706c912b4cb8093045240b95f394c2cdf9a63c706a62a36bc2ac68986c5c0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/PiSessionCostScanner.swift: FileTooLong \u2014 1063 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: PiSessionCostScanner (20-1306). The bar is 500 significant lines; this is 563 over it, 2.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc241633626341cc356a6a2f0b3acff1678f464c79cf7f99bf299dbf01f14578"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ClaudeWeb/ClaudeWebAPIFetcher.swift: FileTooLong \u2014 1063 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 563 over it, 2.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"383d8dc7c215bcfe198595fde753529725a65138bf911a7541cfd492376487b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: StatusItem/StatusItemController\u002BAnimation.swift: FileTooLong \u2014 1059 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 559 over it, 2.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6e38a65a6f06f5fa31043fda473e90800daa95201f2273242b45f6d8714934"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Cursor/CursorStatusProbe.swift: FileTooLong \u2014 1056 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 556 over it, 2.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b765a583966ecad80935cd59e8628ff39259cf2bb9e06ef34487187613a3e01"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Factory/FactoryStatusProbe.swift: FileTooLong \u2014 1042 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: FactoryStatusProbe (588-1458). The bar is 500 significant lines; this is 542 over it, 2.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dd988d24071f5efb3ed1955e05464aefa347a9bab1c13d738e4bdef892d1e1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AlibabaTokenPlanUsageFetcher: ClassTooLong \u2014 833 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 433 over it, 2.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"85aefa56b616cc18f1da7ad7055f2ddc269879decb7d6c3e524fa711fe05d94d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CostHistoryChartMenuView: ClassTooLong \u2014 825 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. The bar is 400 significant lines; this is 425 over it, 2.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbca4bb4ddd00d2cffa73094e75c08794a44405c3e59a84297e0ed22f2ad1fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/CookieHeaderCache.swift: FileTooLong \u2014 1027 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: CookieHeaderCache (60-947). The bar is 500 significant lines; this is 527 over it, 2.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd980874d6859d4e21e57712c91cfe673be84eb66af61ab0e3bb99a24b045cf2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Menu/CostHistoryChartMenuView.swift: FileTooLong \u2014 1025 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: CostHistoryChartMenuView (8-1108). The bar is 500 significant lines; this is 525 over it, 2.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67951accad37556aabc1fc16cf474236b641b73c2af57612af2733eacbf5215"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/CodexLocalProjectUsageIndexer.swift: FileTooLong \u2014 1023 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 523 over it, 2.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4a28e3b0deefb12f8411afd839846281bf8680a78edd4f4ede4621e261c072"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Menu/MenuBarLayoutEditor.swift: FileTooLong \u2014 1019 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 519 over it, 2.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutEditor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daee39d3d6b9bd159a0c12b3be8ececb2b79e473c5b269741d37186aba88c46c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsStore.loadDefaultsState: MethodTooLong \u2014 loadDefaultsState runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStore.swift"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df7fc14d48767695b0eee108fa94166a9ab41c7caeea6907da7c3ce14a4db21"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CLIRenderer: ClassTooLong \u2014 807 significant lines (blank, comment-only and punctuation-only lines excluded), 75 methods. The bar is 400 significant lines; this is 407 over it, 2.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIRenderer.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"058e50dfc27ff5573c2dfa0dfc01dea81db953bdd53bb399ad1ae023cc181839"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CodexWorkspaceUsageSidecar: ClassTooLong \u2014 805 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 405 over it, 2.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"73313bcd31bceb14d6bbdc9e50593ff6668ba1d3f0b0532b21dc1455424f67c5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MenuBarLayoutRenderer: ClassTooLong \u2014 803 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 403 over it, 2.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a7b5e1b9206df7672bff2c2cab435368f3c7ba9d9c36989b97a2f3a3cfec36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OpenAIWeb/OpenAIDashboardFetcher.swift: FileTooLong \u2014 995 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: OpenAIDashboardFetcher (7-817). The bar is 500 significant lines; this is 495 over it, 1.99\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"948c77657e17db0432e5e6ce5dce1af86955e070e980982a907853b94ad5e5bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Claude/ClaudeProviderDescriptor.swift: FileTooLong \u2014 994 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 494 over it, 1.99\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a0ed87aaf2124d973af52abfa79fd244a0be18c738c7c0cf6de899c82f9f2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/PiFamilySessionScanner.swift: FileTooLong \u2014 988 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: PiFamilySessionScanner (156-1317). The bar is 500 significant lines; this is 488 over it, 1.98\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deeb0d6ac8b80ba29d0fc4cf7ad12798c18e16faa4b6d4a3f1aee423eb7cfb6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCLI/CLIServeWebUI\u002BHTML.swift: FileTooLong \u2014 985 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 485 over it, 1.97\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeWebUI\u002BHTML.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"582280bfc5d5b1346fc43c3cc83aa1b0361e32c3e49020aab5157cad48c01688"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CloudSyncEngine: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Sync/CloudSyncEngine.swift"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"81699bf0972553a60445c061b04d43a0e00955502fe69acede90ace8e1296c0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Gemini/GeminiStatusProbe.swift: FileTooLong \u2014 975 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: GeminiStatusProbe (177-1085). The bar is 500 significant lines; this is 475 over it, 1.95\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fcea5bdc7d3e534b007262efa7fb5ba47dc8bb27bea7834dbd3361318ebd89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: StatusItem/StatusItemController\u002BSwitcherViews.swift: FileTooLong \u2014 961 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: ProviderSwitcherView (10-890). The bar is 500 significant lines; this is 461 over it, 1.92\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff0ad3763c30e529ef4adea6307770b36e6f5184fb17e0ec65669291136e861"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCLI/CLICostCommand.swift: FileTooLong \u2014 959 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 459 over it, 1.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICostCommand.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd36ce997c205ea0e99d800296f3ed8ea16f8540a43d6721b770e34a932885e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Menu/MenuCardView\u002BModelHelpers.swift: FileTooLong \u2014 955 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 455 over it, 1.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2384a5f9ae634fa96da325cb15efd021c6fead6f32f5048be5671c737a2a3b27"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpendDashboardModel: TooManyMethods \u2014 57 methods, declared across 2 files: SpendDashboard/SpendDashboardModel.swift (47), SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift (10). 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/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4d5861c8b01081bbc30d104f9f0ceb70aefc11dd1a98ebeaf03235fd99ab69"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/PathEnvironment.swift: FileTooLong \u2014 948 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 448 over it, 1.90\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PathEnvironment.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf5df192361a5f728f4ce5c639c38ade3d0de79c1c1522e2c93b10130425048"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenAIDashboardBrowserCookieImporter: ClassTooLong \u2014 746 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 346 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fab2ecd2f378caec4b9edabfb4f4e56b7fd723aea9abd9a0e01e74a62636b6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/SettingsStore.swift: FileTooLong \u2014 917 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 417 over it, 1.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ff1dff4b0f835daa980e3c9bc208c3de692e5fc56009a4785d3b8c03218b5e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CostUsageFetcher: TooManyMethods \u2014 55 methods, declared across 5 files: CodexBarCore/CostUsageFetcher.swift (50), CodexBarCore/CostUsageFetcher\u002BProjectless.swift (2), Antigravity/AntigravityLocalScan.swift (1), Muse/CostUsageFetcher\u002BMuse.swift (1), \u002B1 more file(s). The bar is 30 methods; this is 25 over it, 1.83\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/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a4b18d69c1b2680babb09ecae0a5e50d4cb91cfca1f39cdcf54ddffb8ce82c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBar/IconRenderer.swift: FileTooLong \u2014 895 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: IconRenderer (5-1172). The bar is 500 significant lines; this is 395 over it, 1.79\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/IconRenderer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1f16e82835d2d731ed31529b83ab77aba2f0cc9a56620ed36e9cd57a394f17"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PTY/TTYCommandRunner.swift: FileTooLong \u2014 894 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: TTYCommandRunner (262-1058). The bar is 500 significant lines; this is 394 over it, 1.79\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba7c0ebfea9441a6e63204781b16c70e7adab063e48bfb216aa0d22c89720f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Antigravity/AntigravityCLISession.swift: FileTooLong \u2014 894 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 394 over it, 1.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd13298a70646286af160970c1eaf3a127f9426c7bd6299800b1f796bf71369"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UsageStore: ClassTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded), 836 methods. The bar is 400 significant lines; this is 304 over it, 1.76\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf4fbb2f2aa1f26d7a507542f377fd5f687ec96d76622ae421e2b59979617c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexBarCLI.fetchUsageOutput: MethodTooLong \u2014 fetchUsageOutput runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIUsageCommand.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ad22b33616c55034ad411fc43a0af9492b20c8a7dde7026b73e87ac56e4ffe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Plugins/QuickJSProviderPluginEngine.swift: FileTooLong \u2014 866 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: QuickJSProviderPluginEngine (197-995). The bar is 500 significant lines; this is 366 over it, 1.73\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa183da99bcd2adb7d98a7cb473694bda572d836ba24c0dc3707b274b327d2e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Alibaba/AlibabaTokenPlanUsageFetcher.swift: FileTooLong \u2014 858 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: AlibabaTokenPlanUsageFetcher (35-1181). The bar is 500 significant lines; this is 358 over it, 1.72\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f1007cd605f6e30822c08f276f74429ae70a06755d34ae1f7fff39e704cf2a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StatusItemController: ClassTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded), 603 methods. The bar is 400 significant lines; this is 284 over it, 1.71\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2920086e957b3bbdcf73d7beb9b3d70704e124306e748d731f37b98706b449"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Antigravity/AntigravityProviderDescriptor.swift: FileTooLong \u2014 845 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 345 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"663b228ce9bcf08a76da6d01b33691c9e99f595fcaaa3d13afaa9768ffe6011b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Process/SpawnedProcessGroup.swift: FileTooLong \u2014 841 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 341 over it, 1.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3f37e6c2a9a486827de5b664fe623107553f4f5e832f9ea46bfe0203d2f74b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Plugins/ProviderPluginRuntime.swift: FileTooLong \u2014 838 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: JavaScriptCoreProviderPluginEngine (429-1079). The bar is 500 significant lines; this is 338 over it, 1.68\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfeb17ac2e0f3d7e8493d49ae3fe6281d7d79488a0147731cb768cd59b88b73a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProviderPluginManifest.init: MethodTooLong \u2014 init runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginManifest.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed55b2053409293c6dde2313f1de240f3c2bb65abafe3682d23de56b8508a302"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCLI/CLIRenderer.swift: FileTooLong \u2014 829 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: CLIRenderer (5-1081). The bar is 500 significant lines; this is 329 over it, 1.66\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIRenderer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff9676aa11b9f519deaf6415d0587e4b0c428b7265638afeaa9fd10a8a32c1d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SpendDashboardSource: ClassTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 263 over it, 1.66\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fca6488fabcb44412193d7465c8acf24b128a20859647f22ed87725024ea42"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SpendDashboardController: ClassTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 259 over it, 1.65\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a20589ac20ceb1ab67bdbde2d47b5040f3b0225a3ca6c4c31d75d8ba28f75f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/CodexWorkspaceUsageSidecar.swift: FileTooLong \u2014 821 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: CodexWorkspaceUsageSidecar (13-976). The bar is 500 significant lines; this is 321 over it, 1.64\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b952c9dd4f443160a91caf0eece1e0f7f78d7a9898b41d8924bbe35163e8e37f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KiloUsageFetcher: ClassTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 253 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3694e2afceee10e9a209b4c0b92160d8fda250acc25e46019d73db2e4df297"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenAIDashboardFetcher: ClassTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods, 2 blocks, lines 7-1292. The bar is 400 significant lines; this is 252 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"851489ed363911a35474a6265e46b01cb60695a98f60ebfd49e348351d145dee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProviderSwitcherView: ClassTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded), 68 methods. The bar is 400 significant lines; this is 252 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b024c931bb14dc1bc4e257f7ca187307f83b1180987144dd65ceda85e48019"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CloudSyncEngine: ClassTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded), 59 methods. The bar is 400 significant lines; this is 246 over it, 1.62\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Sync/CloudSyncEngine.swift"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"3230edde454a0cc7d2d4d6fd6edb01be4fcbd752b6abc62d93becb9ad94759f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Kilo/KiloUsageFetcher.swift: FileTooLong \u2014 807 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: KiloUsageFetcher (200-1153). The bar is 500 significant lines; this is 307 over it, 1.61\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a547e228dd982dc45690f30292ccdbc474a6f6ddbc1a9a96d9bd6d19bab92d59"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProviderSettingsTokenAccountsRowView.body: MethodTooLong \u2014 body runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProviderSettingsRows.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7165c22cf26bdcc34a57251ee1f48901d387f145f298e5a66cf9c014f61a58d2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MenuBarLayoutRenderer: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f991480bd0d29c14daa2d264d8e2b0bd23cb3df701470c2befdc98d7b245eb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProvidersPane: TooManyMethods \u2014 48 methods, declared across 2 files: Settings/PreferencesProvidersPane.swift (34), Settings/PreferencesProvidersPane\u002BTesting.swift (14). The bar is 30 methods; this is 18 over it, 1.60\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/CodexBar/Settings/PreferencesProvidersPane.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"099e8959e7e997c510f41bca29e422ecbcc1d64c2c8b8e7ac3a235b4a6c34154"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlibabaTokenPlanUsageFetcher: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"22615e61cd95471fff30e8f0b9c94c3a1220374d4897146d0c5a7f3b3e852ec7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FactoryStatusProbe: ClassTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 238 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d97276ac8aecfcad329af3771ec6c18ab459b517eb0d7088316d073eae1e44"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KiroStatusProbe: ClassTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 235 over it, 1.59\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb38c78c10101b71a6c83b967065d103140ffa061d97ac716ac6e2e609cc2f5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/SettingsStore\u002BDefaults.swift: FileTooLong \u2014 791 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 291 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStore\u002BDefaults.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a05d75419e35cf71b4e3d4c2d69a5cb2554d132f2cf07cedf90a59c2f953ae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AntigravityStatusProbe: ClassTooLong \u2014 621 significant lines (blank, comment-only and punctuation-only lines excluded), 67 methods. The bar is 400 significant lines; this is 221 over it, 1.55\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b14978e49aa9fcf30c851a68b5b7cb7b53fe41d16614320ff0557d7b1c5595"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CookieHeaderCache: ClassTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded), 80 methods. The bar is 400 significant lines; this is 217 over it, 1.54\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e276a8cafb59f6003ff15a5dcc3d240ac0449b1714cb85ebc898867e7359db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: StatusItem/StatusItemController.swift: FileTooLong \u2014 771 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: StatusItemController (42-946). The bar is 500 significant lines; this is 271 over it, 1.54\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc88db263750dcc4d446e2a75898e3f5b126d90900871d836d0c4c15dd55fb26"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QuickJSProviderPluginEngine: ClassTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 216 over it, 1.54\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"96914075edbdf7b6cb0854feb3bb3552cf7b01db834fac6226bab64ae655a649"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProviderSettingsSnapshot: TooManyMethods \u2014 46 methods, declared across 41 files: Providers/ProviderSettingsSnapshot.swift (5), Alibaba/AlibabaProviderSettings.swift (2), Abacus/AbacusProviderSettings.swift (1), Amp/AmpProviderSettings.swift (1), \u002B37 more file(s). The bar is 30 methods; this is 16 over it, 1.53\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/CodexBarCore/Providers/ProviderSettingsSnapshot.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd1c6a0bfa21125cfb01e90b5a5add7bf99d6f0c5d29c1c954ecd3bdbd1716e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OpenCode/OpenCodeLocalHistoryAdapter.swift: FileTooLong \u2014 762 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 262 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeLocalHistoryAdapter.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3744b4d1f8df61c99a50cf9f8054e8d5f35108fd2b8f66982105eb7407209198"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StatusItemController.applyIcon: MethodTooLong \u2014 applyIcon runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fe9d1410c881a40279fe06b472b6a6469f44a401d9a42379afd02302a7804a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KeychainCacheStore: ClassTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 203 over it, 1.51\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/KeychainCacheStore.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"55182696e514977cc3f125ac662151c53292d703c486ec1fb61dd345c1a5508d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift: FileTooLong \u2014 752 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: OpenAIDashboardBrowserCookieImporter (9-997). The bar is 500 significant lines; this is 252 over it, 1.50\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb2de52d98b62b185c5177f6f68de3775afa6054ba2f7b6bf256f000a20fc0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: DeepSeek/DeepSeekUsageCostParser.swift: FileTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: DeepSeekUsageCostParser (287-987). The bar is 500 significant lines; this is 250 over it, 1.50\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97b205710bd3cc6eec5df48d5350d721976e110b87060e805fa565a235ac5d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexLocalProjectUsageIndexer.buildSnapshotFromCostCache: MethodTooLong \u2014 buildSnapshotFromCostCache runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0973962f0bdb9b093e3b185eebbe24c96a96678b71a32c9272f96bbe51e9f5b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Doubao/DoubaoUsageFetcher.swift: FileTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: DoubaoUsageFetcher (234-1045). The bar is 500 significant lines; this is 249 over it, 1.50\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d17d2f8f84b48829211413e5e4367532d05b2c5a4347a852edc83da2884213"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlanUtilizationHistoryChartMenuView: ClassTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 197 over it, 1.49\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/PlanUtilizationHistoryChartMenuView.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dfe14c96edc84dd2f3d2cd56c1e7ea491d2a507d5a9eed8281fe23825b2b09"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MenuDescriptor: ClassTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 197 over it, 1.49\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuDescriptor.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eebd84aa6cd39e8c3402d855afcf315c3fa1812d8091084eda8c8f0db53fb90"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: DeepSeek/DeepSeekUsageFetcher.swift: FileTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: DeepSeekUsageFetcher (298-993). The bar is 500 significant lines; this is 240 over it, 1.48\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ac0b126998178cea051bf5bbc38582b5c6dc47bfe4e7d23c8c24ebc535c9e8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GeminiStatusProbe: ClassTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 189 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5afeb3fb70fd13ed8b2db59510875363686c1e6456936a9e8229655d5440fee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpawnedProcessGroup: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"84374fcdc8b054aef393e0c872fce398faef6c4521fe423024befe5881869315"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CostUsageFetcher.loadCachedCodexTokenSnapshotResult: MethodTooLong \u2014 loadCachedCodexTokenSnapshotResult runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e689c743d50e9900affac6e0b84bf5202594ab4be22027a37c586e6a7168c09"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AlibabaCodingPlanUsageFetcher: ClassTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 182 over it, 1.46\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31a18b8b2093a3c7ca9083433c74eddd0079506b5ceed7dc2fe7232c2b42b3a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProviderPluginSnapshotMapper: ClassTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 181 over it, 1.45\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c37b1507f92fab83852e31b49e760703708a295d71d741eed478645c1940365"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Codex/CodexProviderDescriptor.swift: FileTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 225 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b26557e8d17629f2b1b9edb0db4c0a5eca7bd5a31e658798272b9ddc0722ec"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TTYCommandRunner: ClassTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 178 over it, 1.45\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd246debe2d0dfe8451530b1263cc449ecb3c0ea8644a247659914783f42efd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GeminiStatusProbe: TooManyMethods \u2014 43 methods, declared across 2 files: Gemini/GeminiStatusProbe.swift (36), Gemini/GeminiStatusProbe\u002BDataLoader.swift (7). The bar is 30 methods; this is 13 over it, 1.43\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/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"386545accf01e6e3d2983c720e07fc046fb1b3cec566412c01a5692e2f43ce80"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Ollama/OllamaUsageFetcher.swift: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 212 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ea866d6e310a5bba37663150659e0493eb9f406390770e98a6b464b674d291"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.codexOutcomeAdmittedForPublication: MethodTooLong \u2014 codexOutcomeAdmittedForPublication runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetConfirmation.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"65912c70c5bc0fee0fb4ffd731393fa516b01ea1f7635aa96ae14580c8ea41f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBar/HistoricalUsagePace.swift: FileTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 204 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/HistoricalUsagePace.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38016675760ec6a58c6a49fa100a74efcb4f14ad731ceb38255b34baa653e998"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CopilotBudgetWebFetcher: ClassTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 161 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab258c2c8b32b98068345651aa73c7ef9a18c52d30b4e3e2b33b4d6231bf196"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClaudeUsageFetcher: TooManyMethods \u2014 42 methods, declared across 2 files: Claude/ClaudeUsageFetcher.swift (39), Claude/ClaudeUsageFetcher\u002BDelegatedRefreshMessages.swift (3). The bar is 30 methods; this is 12 over it, 1.40\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/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cda49b35eb70ddef4f5cb5c08e2bcb96104e63a05bc8ff83e8d31f72c6533f3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KiloUsageFetcher: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8c46785fe4b7af2c631a534d6f6d46c5dbcb5ec450fdc6f091849a822878ae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProviderSettingsSnapshotContribution: TooManyMethods \u2014 42 methods, declared across 40 files: Alibaba/AlibabaProviderSettings.swift (2), Providers/ProviderSettingsSnapshot.swift (2), Abacus/AbacusProviderSettings.swift (1), Amp/AmpProviderSettings.swift (1), \u002B36 more file(s). The bar is 30 methods; this is 12 over it, 1.40\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/CodexBarCore/Providers/ProviderSettingsSnapshot.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9748bb526ba98fd0c9b3aae5e8665eb955c525eb5ed482f425acd2ad0aa9f31a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CursorStatusProbe: ClassTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods, 2 blocks, lines 726-1488. The bar is 400 significant lines; this is 160 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70020d0de3a48992007d04750b6ba563f67839301aafc423453dc6b62b592ce"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DoubaoUsageFetcher: ClassTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 160 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca07cb20ac94fec71bc6f5bea9d11224cf68fccf8d90fc93992879d8d35c178d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StatusItemController.populateMenu: MethodTooLong \u2014 populateMenu runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1dbf8a585da66486adab46539584b8157e0abf06cb87be9e86a852a64de3e9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.limitResetDetectorTransition: MethodTooLong \u2014 limitResetDetectorTransition runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"618de0074d0225d14b313929daaa00fc3b2307eab8b2ac290f4250ca54ef07dd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClaudeOAuthDelegatedRefreshCoordinator: ClassTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 159 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"939f86d5bbccfa06d46a7688251e435edb9e320be9beb1a3559920c4173eb022"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SpendDashboard/SpendActivityHeatmap.swift: FileTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 196 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendActivityHeatmap.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3629feffb0057f62f70ba58ef178b2c252cd85a9e7c7b4dc881be1b0c0755663"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/CodexModelsAnalyticsModels.swift: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 195 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexModelsAnalyticsModels.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07439139e8c9dc16ca4db6847a8e82134dc51ed274f2c6f389c5c27c751f814"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexRequestLedger.load: MethodTooLong \u2014 load runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexRequestLedger.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e622a316f9d8b9c10439d406abcc74c2cbb7ad30afe977d8ff20222ab7a9cbed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MiniMaxUsageParser: ClassTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 149 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"a685bf8ecec03cc24809c0ca5f53c1b10fd0ccb59fd6c12cd9be99852e01a498"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JavaScriptCoreProviderPluginEngine.makeContext: MethodTooLong \u2014 makeContext runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\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/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8314aa3cb27bd7c9da056e86ccaf91a913965f66215628404ee617111bb934"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UsageStore/UsageStore\u002BTokenCost.swift: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 176 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebab6bb307fadcb434d0f664f9ac58a7ed8b03a7f9daebc4741fadb3f4b3549"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.refreshCodexVisibleAccountsForMenu: MethodTooLong \u2014 refreshCodexVisibleAccountsForMenu runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f7056d2c34b3161706cd27124e9357a0523a69a4d489322337c635705a1b3c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlanUtilizationHistoryChartMenuView: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/PlanUtilizationHistoryChartMenuView.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c66005408d996b736cbacac3b866a99614cbbbfddec81f2962c0b4344d89d66"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KiroStatusProbe: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dd925c2ef28921d41226c99972728551e4611ceeeea1e59c1f370e56d7cbdb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: StatusItem/StatusItemController\u002BActions.swift: FileTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 160 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"466e705eb39789932acbf32f45162ca4c7766fc0c8a11ca75a98bdc2cf841a5e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PiFamilySessionScanner.costSessionRoots: MethodTooLong \u2014 costSessionRoots runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edbd74aa17bca5a74a2c160d9161512740b914eabfed8a1ebed0b740587c86b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Menu/InlineUsageDashboardContent.swift: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 157 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/InlineUsageDashboardContent.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c585759d4f688e0500aa7aa80d03ced4140001935fbbccca14245ac6d55952"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: StatusItem/StatusItemController\u002BMenuPresentation.swift: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 157 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuPresentation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8674f3d4bfd085d13b55d13dcfbb131b1b9efcdc004f3c6291cfce093c13c342"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/KeychainCacheStore.swift: FileTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: KeychainCacheStore (7-888). The bar is 500 significant lines; this is 155 over it, 1.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/KeychainCacheStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"942f8e82c880147502c129c0cedb39ad47664988186b1b30fa253977168372a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BurnChartCanvas.body: MethodTooLong \u2014 body runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/BurnDownWidgetViews.swift"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"68065cbab7dd2af5d89daddb2adb9dc289754458a3e32ac0b3295d435483ea34"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QuickJSProviderPluginEngine: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4533bbba6b888ecac9fffd2833c3042347b4b7fb4270521981fdab9a197bf95"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeepSeekUsageFetcher: ClassTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 120 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7eb27cf627505e2cc8436471ccf282ab024cfd5abfc647e00fe5baf4cdc274c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AmpUsageParser.parse: MethodTooLong \u2014 parse runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpUsageParser.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b524119a5ee8a3011d31c6c625f97f17e80ebb6b1bf1158be0fdb980448657b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PiSessionCostScanner.loadDailyReportResultCancellable: MethodTooLong \u2014 loadDailyReportResultCancellable runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17b2fa663c60c22ff5d3686fe6c6f652bec98a0e4dc7a82d3b2c2fcde101ce5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PiSessionCostScanner.parsePiSessionFile: MethodTooLong \u2014 parsePiSessionFile runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a030c374803ba0e7ec20f5d1060345573cd4d730b86c39efc5437ad7a0ec04b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OpenCodeGo/OpenCodeGoUsageFetcher.swift: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 144 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d464a91738f0404abc0b8cb899be08843dd4cd5ef863bc71ba0c998140ecc7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsStore.init: MethodTooLong \u2014 init runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStore.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"974ec0c8ab71e6e0dd6b23d14e00e7d6930e46f2f4c9aa1f0dc9bf3541f61121"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.refreshProviderPass: MethodTooLong \u2014 refreshProviderPass runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d75f7a820abf6d461c9c82b688decfecc042116982d2a8cb45600ca8e18a34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCLI/CLIUsageCommand.swift: FileTooLong \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 136 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIUsageCommand.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d80f9ed8aa7c1fb0ba3da6ed1d2eb9106b6a406e25355182a80098f21cc2680"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.handleProviderFetchFailure: MethodTooLong \u2014 handleProviderFetchFailure runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1b2a144e42a8c249e8b6044b7b316be379f1fd5016ed7f113b2bbfd07ad2a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexVisibleAccountProjection.make: MethodTooLong \u2014 make runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7297c546a16b3d217616e4b29b5d75c6afbbf40d6b8303ab332726ff82aa6ef9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlibabaCodingPlanUsageFetcher: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3c3dcf70031113cad9e95115ad88ab8829730c6382bb7ec1f58c55d410185a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CursorStatusProbe: TooManyMethods \u2014 38 methods, declared across 7 files: Cursor/CursorStatusProbe.swift (21), Cursor/CursorStatusProbe\u002BSessionResolution.swift (7), Cursor/CursorInteractiveLoginBrowser.swift (3), Cursor/CursorStatusProbe\u002BAppAuth.swift (3), \u002B3 more file(s). The bar is 30 methods; this is 8 over it, 1.27\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/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba717d25c92e8b6105d1b411dea4d7db2d3fd72fd3828f297bd8934be73af94"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UsageSnapshot: TooManyMethods \u2014 38 methods, declared across 8 files: CodexBarCore/UsageFetcher.swift (28), Copilot/UsageStore\u002BCopilotCredits.swift (2), DeepSeek/UsageSnapshot\u002BDeepSeek.swift (2), CodexBarCore/UsageSnapshot\u002BSwitcherWeeklyWindow.swift (2), \u002B4 more file(s). The bar is 30 methods; this is 8 over it, 1.27\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/CodexBarCore/UsageFetcher.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d265ac785448fcf4aec6ddce9d75255d205da7082838513984ed5947d17e1bf1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Menu/MenuDescriptor.swift: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: MenuDescriptor (5-785). The bar is 500 significant lines; this is 130 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuDescriptor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d7255e8c182a42c2199038a8973fc69a034136c8534982695e93e150f60770"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MenuBarLayoutRenderer.renderItem: MethodTooLong \u2014 renderItem runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"6571a72db25508e13ac2bd44c14f4692c36b6029952487bae9ede3266d1a723f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.menuCardInput: MethodTooLong \u2014 menuCardInput runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BMenuCardModel.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e61f2c42655287ca9f29f7d13f6a95c9b800886256e8656608a687b3fa62354"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DashboardSnapshotBuilder: ClassTooLong \u2014 500 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 100 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/DashboardSnapshotBuilder.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8672a6606feb549e8e7c0e7d986c3dc8d1cd073179167f27502b1974a2472357"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JavaScriptCoreProviderPluginEngine: ClassTooLong \u2014 500 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 100 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e85a0caf4d9028cd4274ce4fdfc7278ba011b445e9119d7ef5a7651dd01688"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Model.make: MethodTooLong \u2014 make runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd23f8d386003be3fbd2a2e394da9b5b440f2ad1746a22c207c8ffd5d2c6010"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexBarCLI.runStandardCost: MethodTooLong \u2014 runStandardCost runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICostCommand.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9daa3ab0316063014a97e706cddb6f9ec8141a89337409edb37b722b42c9b762"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Menu/PlanUtilizationHistoryChartMenuView.swift: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: PlanUtilizationHistoryChartMenuView (6-838). The bar is 500 significant lines; this is 124 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/PlanUtilizationHistoryChartMenuView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d3e56bf11cd58d3aa735acec5b0826837a6a7ca0462c50c2ce952a7ef191e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Alibaba/AlibabaCodingPlanUsageFetcher.swift: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: AlibabaCodingPlanUsageFetcher (6-821). The bar is 500 significant lines; this is 124 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cd5dcd96eb343fa61d28330cfa3f5c55fe9dbe3b6ca508d38f3742d82193e5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.debugClaudeLog: MethodTooLong \u2014 debugClaudeLog runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Claude/UsageStore\u002BClaudeDebug.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b145c601193aae365c37dff82e6dfef005e08218bace4f11d73b89d38d89ed24"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/AgentSession.swift: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 117 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/AgentSession.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d18bcf82827efef45c01ae3d1d9f91965770b668854006298dd3466a0b0ba4f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodexWorkspaceUsageSidecar: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5648b4b1cb904ffdeae4407312fd44cadbf2e19ee66d02944dd74660a18fa0df"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenCodeGoUsageFetcher: TooManyMethods \u2014 37 methods, declared across 2 files: OpenCodeGo/OpenCodeGoUsageFetcher.swift (28), OpenCodeGo/OpenCodeGoZenBalanceFetcher.swift (9). The bar is 30 methods; this is 7 over it, 1.23\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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4ea41c3d19b17f08b58467339d2da7cf1c73f3016e2b51c5630ba0a89a76e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBar/CodexbarApp.swift: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 116 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/CodexbarApp.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9f2328b6ba0ea30143814c0504203e2fcb1f40f59e464360450a0e6fd95b3a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Model.costHistoryInlineDashboard: MethodTooLong \u2014 costHistoryInlineDashboard runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/InlineUsageDashboardContent.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3d4475cafc045edb5669514d0771b8925100c0bc7f649c7a40ba1ca1c64b41"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Repository.loadRecord: MethodTooLong \u2014 loadRecord runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f30c78570f5e0006f4954ae1f5dca725a04f7d4b1d585611b0c5114102ec11"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenCodeGoLocalUsageReader: ClassTooLong \u2014 489 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 89 over it, 1.22\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoLocalUsageReader.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e06064d5348eb5a706cc89ae894af590ea4955857e300daf4ba4ce286c1303"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.applyProviderRefreshSuccess: MethodTooLong \u2014 applyProviderRefreshSuccess runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2688909beeb3c3c53bf7ccc8e209713eedce89a49f1a5d755132e9cdd2268bf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubprocessRunner.run: MethodTooLong \u2014 run runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/Process/SubprocessRunner.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"25110ebd6e1252836837b37acbd4d803be7e7940d28399f12f4eea44ed5ab98e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeepSeekUsageCostParser: ClassTooLong \u2014 486 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 86 over it, 1.22\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"e451e7b3e19316f19462c77a01a237728851a2b4932e36432e6d1adf6e9fcb8e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CursorStatusProbe.resolveSession: MethodTooLong \u2014 resolveSession runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BSessionResolution.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"456e78ea9c8a62448c582b059efdd007b131ef34cfe52514351a6b63e5c6bce8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AntigravityStatusSnapshot: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 83 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac9b607799baace0d9bd32b92ee9c570b9eec84bc532be80e383be09cf80928"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Copilot/CopilotBudgetWebFetcher.swift: FileTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: CopilotBudgetWebFetcher (9-757). The bar is 500 significant lines; this is 103 over it, 1.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf6ba52316effafff056fc1c4bdf87363126098a122c090ea477741f8eb2e5c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenAIDashboardBrowserCookieImporter: TooManyMethods \u2014 36 methods, declared across 2 files: OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift (28), OpenAIWeb/OpenAIDashboardBrowserCookieImporter\u002BDeadline.swift (8). The bar is 30 methods; this is 6 over it, 1.20\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/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4efeae849123a7bf60bdb19147ff327f9178673048f052df23d1c9dd2e771ef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AntigravityStatusSnapshot: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"546e93fdde2c936fa88e8d86ea70d76fdf7f908eddf265ffb632e9f7ede71848"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenAIDashboardFetcher.collectPageSnapshot: MethodTooLong \u2014 collectPageSnapshot runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher\u002BPageScrape.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b439e3e6c64d88650ef6d0ae35fcf70e964bcb002638531f5bcc7e5ed52280"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AntigravityCLIHTTPSFetchStrategy: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 75 over it, 1.19\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"155328eed78cd85f40ceef2cd44e6cc3814119f96c70442e3679f31d077a5dd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Cursor/CursorUsageEventsFetcher.swift: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: CursorUsageEventsFetcher (349-844). The bar is 500 significant lines; this is 91 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"043858dd96cb7d49df1be2e3ae4a7191d295fc5123aedeec810f35294c866569"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.importOpenAIDashboardCookiesIfNeeded: MethodTooLong \u2014 importOpenAIDashboardCookiesIfNeeded runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"696a5ce6fb5840b2c0a9cd25fcf17660a7ff328ec54a379975c7a05299f52248"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.menuBarLayoutRenderData: MethodTooLong \u2014 menuBarLayoutRenderData runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuBarLayout.swift"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7cb42216420e2e9d701ef2aeb7ba080f6a4f297d8f5511c316c30737db0519"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.debugLog: MethodTooLong \u2014 debugLog runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d0cdfa9df9c36d806a30c34bec105762791915d8053c27d20637652edf3fe9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KiloUsageFetcher.fallbackPassFields: MethodTooLong \u2014 fallbackPassFields runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb4baa400d4b5b8a6830f10fca30f172164473c60a926a38ee95ebf5e0d158d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OpenCodeGo/OpenCodeGoLocalUsageReader.swift: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: OpenCodeGoLocalUsageReader (26-646). The bar is 500 significant lines; this is 89 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoLocalUsageReader.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d37d0fa4bd81f2b92c63458a3a145e0ea97c5478992c8f32ae7ff0117cafb62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexOAuth/CodexOAuthUsageFetcher.swift: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 88 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec036f7cae5e68f06b505811adbe0bc0dc0bbdb69e44be309c9d303b10c317ce"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SpendDashboardModel.buildCurrencyGroup: MethodTooLong \u2014 buildCurrencyGroup runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad294ef4a1b07931e861af196ee1d9b88f8e2ec32db9978f00656297cf792ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Plugins/ProviderPluginSnapshotMapper.swift: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: ProviderPluginSnapshotMapper (3-754). The bar is 500 significant lines; this is 82 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97733415e22985f5a29dc1cb8773c14c724a6535aeb4a9e3dbfe44f54f1705e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Codex/UsageStore\u002BCodexAccountState.swift: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 80 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8da64fc9c78dddb87ebab55fa1425ccac9bc6252a040da6432408f8e130669"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MenuBarLayoutRenderer.renderUncached: MethodTooLong \u2014 renderUncached runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d86d2fa1613ed02aed83d495d08a5c7cfffa179b58d59246e4f67b3b45683b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexProviderDescriptor.makeDescriptor: MethodTooLong \u2014 makeDescriptor runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5d3f1a753439048ea304808a7a70708c624f46f29e0ca2ac49b2fb80eda588"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CLICardsRenderer: ClassTooLong \u2014 460 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 60 over it, 1.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICardsRenderer.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5492fad32dc69b9734e9515fc867b3cab2266597b335d7e8beab3c611f9a762d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexCLISession.captureStatus: MethodTooLong \u2014 captureStatus runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexCLISession.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"09efea150d25c3efd5d69813b475f7209752d9ed050398765167907769178f98"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarWidget/CodexBarWidgetViews.swift: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 74 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/CodexBarWidgetViews.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c2ea3e070da62a9edc00fe6dd5d199171de4e88dc654b4fc40e0a58cf8ed2f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProvidersPane: ClassTooLong \u2014 459 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 59 over it, 1.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProvidersPane.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0dd08fd665070d9ba2438761ad14e8daf05e0efba1c31277c073716cd67ddb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/PreferencesProviderDetailView.swift: FileTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 71 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProviderDetailView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af7ac558a419514ec2738b08d6de9fe18c52338721755265cea1e49bed85524"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Model.providerCostSection: MethodTooLong \u2014 providerCostSection runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e31ea64d044981595ccc02fc4e942ae1f89cf498bdc777f7233a8f419742b8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenAIDashboardWebViewCache: ClassTooLong \u2014 455 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 55 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardWebViewCache.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dabadd2fdbd4dd69057b49f0ed63d3079f1ee056532225d4b49c739c1981f1f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CLICardsBriefRenderer: ClassTooLong \u2014 455 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 55 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICardsBriefRenderer.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2262d3c5c20bd2cefb7d9ff032f5a748141c16af28084ab1a080227206ce28d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CostUsageTokenSnapshot: TooManyMethods \u2014 34 methods, declared across 3 files: CodexBarCore/CostUsageModels\u002BQuotaWindows.swift (23), CodexBarCore/CostUsageModels.swift (8), CodexBarCore/CostReportingPeriod.swift (3). The bar is 30 methods; this is 4 over it, 1.13\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/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f300e49c87bc364d0381948e395540618194b90d3949167bc9f37800f21345"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Grok/GrokProviderDescriptor.swift: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 66 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b818fad816f228980fec8a92704bcfe92d59eeb677d00840949fea7992a6c9e6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReplayEngine.runDetailed: MethodTooLong \u2014 runDetailed runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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/AdaptiveReplayKit/ReplayEngine.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e974e549390ccf28329178a597744bc32ec0346dddaf52c5780cd92d933e942a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MenuBarPane.body: MethodTooLong \u2014 body runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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/CodexBar/Settings/PreferencesMenuBarPane.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76346461872f866190dc74ef3e5d4a057c599693c2b71e5b6817e3c51f977c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CostUsageFetcher.loadLocalTokenScanResult: MethodTooLong \u2014 loadLocalTokenScanResult runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69113cdb7a89286a9a8687b08c0b17bfcb301a02a817afd02622f89704ed39f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MiniMaxUsageFetcher: ClassTooLong \u2014 448 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 48 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb95218b49b0bac9cb3f71d9bb5db2907fd1d94f2e91c93e34168f005f36be2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: ClaudeOAuthDelegatedRefreshCoordinator (3-784). The bar is 500 significant lines; this is 60 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82669572b986532c540b3da53edd6ecf8b900155ece308b2ebe09cb7a5bc54e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClaudeProviderImplementation.settingsToggles: MethodTooLong \u2014 settingsToggles runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Claude/ClaudeProviderImplementation.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d98319e1e7a68054cc8dcbe262850c2a4725ae488a3009fe0a8cfdcdb244f65"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.applySelectedOutcome: MethodTooLong \u2014 applySelectedOutcome runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"47eba0062e7c567bbcf422b4331165c4d03bd981e7f4e567d2b5ab378e97f3c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexBarCLI.handleServeRequest: MethodTooLong \u2014 handleServeRequest runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c71083668ce949f11f6a11f2406ca0a4ba1e401b04f1451173f063da3f153d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BurnDownLayout.body: MethodTooLong \u2014 body runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/BurnDownWidgetViews.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"249afa4da0b11a8653e40bda92d6897b55a1aed5866facf5e527cd93cb735391"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Codex/CodexConsumerProjection.swift: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: CodexConsumerProjection (168-664). The bar is 500 significant lines; this is 54 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexConsumerProjection.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b2c998b4b546419be12b095a62e832f9198142635f83e7046cfa390c2faa05"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FactoryStatusProbe: TooManyMethods \u2014 33 methods, declared across 3 files: Factory/FactoryStatusProbe.swift (26), Factory/FactoryManualCredentials.swift (4), Factory/FactoryStatusProbe\u002BAPIKey.swift (3). The bar is 30 methods; this is 3 over it, 1.10\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/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbf32d04589c4d89847a0753bffbce370527c6d7f8f32100187f2b3c65be50d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.recordPlanUtilizationHistorySample: MethodTooLong \u2014 recordPlanUtilizationHistorySample runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b720f2f4fedcdb0bc8ca706c24a1843fcee2217f26b2fcf26a38b26c61177d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.refreshSpendDashboardTokenUsageNow: MethodTooLong \u2014 refreshSpendDashboardTokenUsageNow runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BSpendDashboardTokenCost.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2a73abdca991a45f8fbb9f90edcd27209a2123c0d668064e7d9add7df2b989"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProviderDetailView.body: MethodTooLong \u2014 body runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProviderDetailView.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e0bc43b8bd18ce12e589ecd0e13905503c67aaa205b7174d164ad6fdd4c1a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KiroUsageSnapshot.toUsageSnapshot: MethodTooLong \u2014 toUsageSnapshot runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e422edf8152163e35483970dba78f5ac5a3d87b87dde0c3951bab9d82bd798ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: docs/site.js: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 43 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f5e9352f7a5799af09a285a628db99d9f379cc990a078d90589607a51ae3a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCLI/CLICardsRenderer.swift: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: CLICardsRenderer (98-698). The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICardsRenderer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d315cfe8b9703427466b3396e102264f202e65e4fbb32fa8c2c56c4f34a44e14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarWidget/BurnDownWidgetViews.swift: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/BurnDownWidgetViews.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0056cd45f5b5a95dc00d73532ea33c13607241e783907a2eac435d4c45f89ac5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AntigravityLocalReader.readStepTimestamps: MethodTooLong \u2014 readStepTimestamps runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e4d58882ff9f8713217b571e721da674bbda33ce76ada45416220761b8fecb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClaudeProviderDescriptor.makeDescriptor: MethodTooLong \u2014 makeDescriptor runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcd56964eef14de450eb0a990d8d423cc4e0079147d81c315410b5164cbb8d9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CopilotProviderDescriptor.makeDescriptor: MethodTooLong \u2014 makeDescriptor runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotProviderDescriptor.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"166c562b373ecdf1c10a2ca5144d135648ddd726cd3637e4ad03ca6730d1dc33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: StatusItem/StatusItemController\u002BMenuViewportRestore.swift: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 36 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuViewportRestore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd8798f4cf33b9cd1ef5cc42c6c2f24bfa6219fb28d6d8374fd141e6c7b61f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/CodexLocalProjectUsageModels.swift: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 35 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageModels.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0575a596cd42863404e5b9f802fe0e9775cb5ed09d589cbac3237e21f9a464f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.refreshTokenUsage: MethodTooLong \u2014 refreshTokenUsage runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"b245c97cd93cded740315c192d776639b0de41d0a9abb86923238fa5d5784674"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AntigravityRemoteUsageFetcher: ClassTooLong \u2014 427 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 27 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5640ff9e64f5ce09e98c98c2b3092a3463ea37acd36234ffb8f230c0353805"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QoderCookieRouting: ClassTooLong \u2014 421 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 21 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Qoder/QoderCookieRouting.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58fcde0d4f864e99f7eb7ac01c6f35f55e3a41fbf98030dd4cb8f1e319276de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Menu/MenuCardView\u002BCosts.swift: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 26 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fabf944a5d45d377b3f4ea2084bdce6a80bea299f1d321981ce65706013ea15"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KiroStatusProbe.runCommand: MethodTooLong \u2014 runCommand runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b262e3275b44ce2ce1c3e138077064aba85aee1fa276ab25ff6e75d41dea8d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UsageSnapshot: ClassTooLong \u2014 417 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 17 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/UsageFetcher.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f0231c55da9d93764ce462b738b5b309de213f244504c493bd5fb7f59233d4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MenuBarLayoutEditor: ClassTooLong \u2014 417 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 17 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutEditor.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bd377d57af4424daf321e7b83295e032f42c738082cf00eda7cd521bccf348"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MuseLocalUsageReader: ClassTooLong \u2014 417 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 17 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Muse/MuseLocalUsageReader.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a487ecbf97ff7415d9b4060d3a14dcd47c1f8aa9f3acf6e4bbca66a3e5ba44"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.postLimitResetCelebrationIfNeeded: MethodTooLong \u2014 postLimitResetCelebrationIfNeeded runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ef0cc5900145455bf802b0017bfbf7b9c865ac7e27bf6edfe7cfd4016b0bdd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AlibabaTokenPlanUsageFetcher.fetchUsage: MethodTooLong \u2014 fetchUsage runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"95de0a5104cf132e206cc66510f9eb4ca93d01829ad44cd6648cc4999b502145"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MenuRowContainerView: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuPresentation.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5544b54e4a0ce21efbebdada2c8b91e7646855f1d99567c59741588be945ac20"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TTYCommandRunner: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b890907c2bf36b349eacc95be631a7301324b344d833f8faac00dc8f95bb9d9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PiFamilySessionScanner: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cccec5e4f5c4174a5388475aee6b56089cd2a299f3299fbdfa18a68bb0335c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Codex/CodexSettingsStore.swift: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 16 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88bbabe27d065b5c63ad26bcfea1e85d0a18a1bbb2dc2540bd3c921a95acf94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCore/CostUsageModels\u002BQuotaWindows.swift: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 16 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a88d6ed9a5992d9ae7574861b850eb5cf1912b61f64805e9499858afbb344dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OpenAIWeb/OpenAIDashboardWebViewCache.swift: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: OpenAIDashboardWebViewCache (14-654). The bar is 500 significant lines; this is 16 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardWebViewCache.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ea7c9defb56612bf910a617be637656be0607be15c63d5356cd7ea4d579217"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AntigravityLocalReader.readDatabase: MethodTooLong \u2014 readDatabase runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83fcf32cccda3462cec8aec2c9447818959320add2ec894e6be82e0ccef7e88"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenAICreditsPurchaseWindowController: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 11 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/OpenAICreditsPurchaseWindowController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab229d916e8612c1526685460d5c4d7fbd468fc70f17876b603d8d621bd5ffe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Claude/ClaudeCLISession.swift: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 11 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb55c379a418660d186c99f35711a8c057febd43ba4bfe25384ddbfc7aa9ac5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalAgentSessionScanner: ClassTooLong \u2014 408 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 8 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/LocalAgentSessionScanner.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf517fe896a6709399f4918d6c7db87353742d3ce2ce646f706913ef92ff825"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageBreakdownChartMenuView.body: MethodTooLong \u2014 body runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6528235edcea6e7ba1ed49970b9badda6cbb2a91e6bee7ec541d21f6e3a92254"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SpendDashboardModel.projectRows: MethodTooLong \u2014 projectRows runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9358b32488d44e50aad176e1962c8fa1dd8a0e0f6518f0138808197afd5cc3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StatusItemController.init: MethodTooLong \u2014 init runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddaf99019d8d1f60b632b5469c84f1b2b8799c4fe3e5b1d530cec26ec5d989da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeepSeekUsageCostParser.parseByAPIKey: MethodTooLong \u2014 parseByAPIKey runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d363b7c8a177dd801a8e34afcce084e28b93e696297aee89fc569193f3f8756"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClaudeUsageFetcher: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 7 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"688cac2d88d11e8422a907a0e6f8d674b00a195ee5b9ec9f1faee6057b188ca3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Providers/ProviderUsagePresentation.swift: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderUsagePresentation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1003ed0bab12e971ee1b89389dd7cbdfd2719c01e0e26c5c9d5b236213e0fa4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Antigravity/AntigravityRemoteUsageFetcher.swift: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: AntigravityRemoteUsageFetcher (30-600). The bar is 500 significant lines; this is 7 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf3fe56bcaeced1709f7e771e94a5b3b84eae3a726c9fa0d8401e6ee55bbff5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexBarCLI/DashboardSnapshotBuilder.swift: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: DashboardSnapshotBuilder (12-666). The bar is 500 significant lines; this is 6 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/DashboardSnapshotBuilder.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"864abd2a674609b90a87d5fc64da704387782a42c066fca90191ede336a4f5bb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.reconcileClaudeRefreshAfterFetch: MethodTooLong \u2014 reconcileClaudeRefreshAfterFetch runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb694b4b526bdced958739bb1fd740523a927ba4dffe89c9bc18d646fb7edf3e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsageStore.handleSessionQuotaTransition: MethodTooLong \u2014 handleSessionQuotaTransition runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BSessionQuotaTransition.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f042399fa5a7cf60db78a65640ec420dec577cdfe77e8f3571be33c8fda85dfc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexBarCLI.runServe: MethodTooLong \u2014 runServe runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"754768e6ca563d275de84aa69bc8070af36850b4bbd9e33f53f547af9d0a7cca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Plugins/UserProviderPlugins.swift: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1 over it, 1.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/UserProviderPlugins.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf6d04b5da2dba38658dea5534d323d59430000bad6c66bb384347dfcb34067"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 22 shared lines): Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift:18-73 | Sources/CodexBarCore/Providers/JetBrains/JetBrainsProviderDescriptor.swift:6-50 | Sources/CodexBarCore/Providers/Kiro/KiroProviderDescriptor.swift:6-56 | Sources/CodexBarCore/Providers/LongCat/LongCatProviderDescriptor.swift:9-60 | Sources/CodexBarCore/Providers/Moonshot/MoonshotProviderDescriptor.swift:31-92 | Sources/CodexBarCore/Providers/Notion/NotionProviderDescriptor.swift:11-101 | Sources/CodexBarCore/Providers/Warp/WarpProviderDescriptor.swift:9-76 \u2014 These 7 members are variants of one another: a block of 22 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f57c6570256ee73ae91ca72a1bcd873545ab59e132c6551108e91996867022d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 20 shared lines): Sources/CodexBarCore/Providers/CodeRabbit/CodeRabbitProviderDescriptor.swift:6-46 | Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift:16-89 | Sources/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift:36-120 | Sources/CodexBarCore/Providers/Replicate/ReplicateProviderDescriptor.swift:13-64 | Sources/CodexBarCore/Providers/VertexAI/VertexAIProviderDescriptor.swift:6-52 | Sources/CodexBarCore/Providers/Windsurf/WindsurfProviderDescriptor.swift:6-66 \u2014 These 6 members are variants of one another: a block of 20 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/CodeRabbit/CodeRabbitProviderDescriptor.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0326632c7f9bab9717356149da81d5e36e7f3519ad5a7a388614f801220feecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (57 shared lines): Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:28-124 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:45-171 \u2014 These two members are variants of one another: 57 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"791b48beb209541458593a822d454bf0b5b6f1edbe0f06ff732bebd281bf8a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:230-327 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:157-250 \u2014 These two members are variants of one another: 50 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"124c539a7fb266293ee7bc47fa99efa9bcb8e097150a1a4c231ccd893de4bc0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:756-772 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1100-1116 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30ee4a654e836cf4c0e7ead8859057ccd162b9bd9292e69126050f9cc3a4d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): Sources/CodexBarCore/CookieHeaderNormalizer.swift:64-78 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:63-74 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:184-199 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:555-580 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:589-596 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:1332-1382 | Sources/CodexBarCore/Providers/Factory/FactoryManualCredentials.swift:32-44 | Sources/CodexBarCore/Providers/Kimi/KimiCookieHeader.swift:45-65 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift:1199-1207 | Sources/CodexBarCore/TextParsing.swift:13-21 | Sources/CodexBarCore/TextParsing.swift:74-87 \u2014 These 11 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderNormalizer.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d258a0e4a53aeaa50dd3b605cc10f2d11b464220136e75bc495a6ec588d23b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): Sources/CodexBarCore/PathEnvironment.swift:59-79 | Sources/CodexBarCore/PathEnvironment.swift:81-104 | Sources/CodexBarCore/PathEnvironment.swift:121-149 | Sources/CodexBarCore/PathEnvironment.swift:151-179 | Sources/CodexBarCore/PathEnvironment.swift:198-222 | Sources/CodexBarCore/PathEnvironment.swift:224-244 | Sources/CodexBarCore/PathEnvironment.swift:246-266 | Sources/CodexBarCore/PathEnvironment.swift:289-308 | Sources/CodexBarCore/PathEnvironment.swift:320-338 | Sources/CodexBarCore/PathEnvironment.swift:340-363 | Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift:323-339 \u2014 These 11 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PathEnvironment.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1da4ac2c908705a5e25d621af3361fbc352f37fd352a150329a855c4597d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:445-469 | Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:1300-1307 | Sources/CodexBarCore/Providers/OpenCode/OpenCodeZenBillingParser.swift:117-126 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoZenBalanceParser.swift:142-151 | Sources/CodexBarCore/Providers/Shared/OpenCodeWebParsing.swift:206-215 | Sources/CodexBarCore/Providers/Shared/OpenCodeWebParsing.swift:217-226 | Sources/CodexBarCore/TextParsing.swift:61-67 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0b406fe2eccca7be2f04e78f27d64da5729e011baa4db6db02b3187f5fce12"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Sources/CodexBarCore/CopilotUsageModels.swift:165-179 | Sources/CodexBarCore/CopilotUsageModels.swift:202-216 | Sources/CodexBarCore/Providers/Codex/CodexSpendControlNumber.swift:5-19 | Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift:201-223 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxDecoding.swift:21-36 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CopilotUsageModels.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5342ef63fe15c1efb184fc42ddc88c090dba8848c01302aa27cb6bf29fc9cb17"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:539-652 | Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:654-717 | Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:719-781 | Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:783-837 \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/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ddd2f660cc95cca555e96ab9f0286620f2caeba011cb119a624d6cf321b9ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/CodexBarCLI/CLIConfigClearCredentialCommand.swift:11-56 | Sources/CodexBarCLI/CLIConfigCommand.swift:100-138 | Sources/CodexBarCLI/CLIConfigCommand.swift:149-221 | Sources/CodexBarCLI/CLIHooksCommand.swift:75-150 \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/CodexBarCLI/CLIConfigClearCredentialCommand.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06d7f189426d602274d84bc9f05f53517d93566a6014408a5973c90417c0bc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/CodexBarCLI/CLIRenderer.swift:168-177 | Sources/CodexBarCLI/CLIRenderer.swift:208-230 | Sources/CodexBarCLI/CLIRenderer.swift:232-254 | Sources/CodexBarCLI/CLIRenderer.swift:309-320 \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/CodexBarCLI/CLIRenderer.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"812ccd5274c5effdce24ae2028e5d924230f35763b4491a75d40e76c38dae7a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/CodexBarCore/Config/SettingsValue.swift:8-19 | Sources/CodexBarCore/Providers/HuggingFace/HuggingFaceSettingsReader.swift:64-75 | Sources/CodexBarCore/Providers/IBMBob/IBMBobSettingsReader.swift:6-22 | Sources/CodexBarCore/Providers/Nous/NousSettingsReader.swift:278-284 \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/CodexBarCore/Config/SettingsValue.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e16ad2f38f9c993bb0694aa62b8ab6b149e2c959b6878752e450c9c1e3739eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/CodexBarCore/CostUsageFetcher.swift:207-242 | Sources/CodexBarCore/CostUsageFetcher.swift:244-294 | Sources/CodexBarCore/CostUsageFetcher.swift:448-490 | Sources/CodexBarCore/CostUsageFetcher.swift:493-877 \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/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7a30ee8ae2818e0332aad3b87b09d847f6a800273968a0e4f49cfa052c57fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:774-787 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1167-1180 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageParser.swift:177-195 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleSECTokenResolver.swift:153-166 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc8b40f8b0cd1e89a6cbe6c6ca6be3dba5654d9820d7d343bcd33af14bd91a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/CodexBarCore/Providers/Claude/ClaudeScopedWeeklyLimitMapper.swift:49-62 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:540-553 | Sources/CodexBarCore/Providers/Codex/CodexAdditionalRateLimitMapper.swift:139-152 | Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift:743-756 \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/CodexBarCore/Providers/Claude/ClaudeScopedWeeklyLimitMapper.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"463be2a034bd734d4ef4e74693533d5976edfb761783b0440b7d6aa3d43cbd8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/CodexBarCore/Providers/Grok/GrokCLISettingsFetcher.swift:19-46 | Sources/CodexBarCore/Providers/Grok/GrokCreditsProxyFetcher.swift:14-44 | Sources/CodexBarCore/Providers/Grok/GrokRemainingResetsFetcher.swift:317-356 | Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift:248-289 \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/CodexBarCore/Providers/Grok/GrokCLISettingsFetcher.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b83da9775e536a59ebe734f6d18792d53d2b43dd1e7865fbe5c06ab89cf9b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/CodexBarCore/Providers/Grok/GrokCookieImporter.swift:42-54 | Sources/CodexBarCore/Providers/Mistral/MistralCookieImporter.swift:48-78 | Sources/CodexBarCore/Providers/Replicate/ReplicateCookieImporter.swift:22-43 | Sources/CodexBarCore/Providers/Venice/VeniceCookieImporter.swift:20-32 \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/CodexBarCore/Providers/Grok/GrokCookieImporter.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b623556fe82a9ac73fe2072fed6932e9848627738724bf5c412c7a56705a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (100 corresponding lines): Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:301-400 | Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:402-510 \u2014 These two members are one piece of code written twice and then edited apart: 100 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/CodexBarCore/Host/Process/SpawnedProcessGroup.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9638c332488ffdd9bbd740823125c83dd6c08d7fb5e62c9e2f907475566a161"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:165-217 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:570-630 \u2014 These two members are one piece of code written twice and then edited apart: 53 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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"daed4cc8df4975de84ee55a0bdb9037fa1a6cc1cc99e03154964b6c6f30f103f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:342-403 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:407-467 \u2014 These two members are one piece of code written twice and then edited apart: 61 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/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0c31058c36ccc56339a62d7ca4b3e69695c279456326ac8e4daebbe1f3e72d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1098-1151 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1153-1209 \u2014 These two members are one piece of code written twice and then edited apart: 54 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/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b826a7beb3bf1651fc74aa9248024c982fa9b84be8f48fbb4fd55388e8451e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1155-1199 | Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1579-1631 \u2014 These two members are one piece of code written twice and then edited apart: 45 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/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaeba6f3b7decf5cd2968d161da20337bb92c38d705beeeae31953f3a85e9928"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): Sources/CodexBar/Menu/ProviderSwitcherButtons.swift:98-145 | Sources/CodexBar/Menu/ProviderSwitcherButtons.swift:222-268 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/ProviderSwitcherButtons.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4877eb977dec5f0036046bee55ffebcab379394324d678dc108c94a2ddf18cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:931-983 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:985-1040 \u2014 These two members are one piece of code written twice and then edited apart: 53 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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"45060d4adf39939df17d64a23dbcf1f49255047746af0b229be36e5d8483c5c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:144-182 | Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:212-244 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"60285c4d9b0ccc7c69f39b869476643810ad37cf252ddbfcfc4d615fb6bd1632"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1271-1313 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1340-1383 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"774d7bb6276797305123f4adc454202006a45bb5cf923a57a46910f6920cc4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): Sources/CodexBarCore/Providers/OpenCode/OpenCodeProviderDescriptor.swift:13-77 | Sources/CodexBarCore/Providers/StepFun/StepFunProviderDescriptor.swift:50-116 \u2014 These two members are one piece of code written twice and then edited apart: 65 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/CodexBarCore/Providers/OpenCode/OpenCodeProviderDescriptor.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"88178248bd41260015c51f4c542ac8f17660fd8f5972a6b29a4daacfdfe4f7be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:105-137 | Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:139-186 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d401d6e8ce938141b3cb0156cb0087f4261f922d555e989e2f49b00a55348f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): Sources/CodexBarCore/Providers/Replicate/ReplicateWebFetchStrategy.swift:51-92 | Sources/CodexBarCore/Providers/TypeSafe/TypeSafeWebFetchStrategy.swift:82-125 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Replicate/ReplicateWebFetchStrategy.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f43e69e04dfb625b30a11a71df7b6d9cc7b4b4d951905d881e1d519a989531"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:274-302 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:404-434 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"5398d12e52569c9780a028b2e9790bcc805f287534f02bbbe5a1ae0f650c3cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/CodexBarCore/CostUsageModels.swift:478-499 | Sources/CodexBarCore/CostUsageModels.swift:658-685 \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/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"b710815e7c624af792d9a03dadc48aaf30afcc946b9ed7afc7084328ef5d4269"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift:559-617 | Sources/CodexBarCore/Providers/Codex/CodexCLISession.swift:300-350 \u2014 These two members are one piece of code written twice and then edited apart: 51 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/CodexBarCore/Providers/Claude/ClaudeCLISession.swift"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaab2300735ff8a5b6c5808186435a87b166728a5908bfee23002414cdad8c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Sources/CodexBar/ShareStatsCardView.swift:221-253 | Sources/CodexBar/ShareStatsCardView.swift:268-303 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/ShareStatsCardView.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"99766b3d22049529fbdb957f565561fdfae74b1430d5b6458038df34cd15c5fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:64-98 | Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:66-106 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f313b64819b6b6cb21d3f0c39b3de30c92b4b265ac8f130fa6a6dff9c3c50743"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): Sources/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift:551-588 | Sources/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift:590-634 \u2014 These two members are one piece of code written twice and then edited apart: 38 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/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c688df5c3b304aca3e71b4b0d1e829f76323cdc63431132958b84c172f35b00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Sources/CodexBarCLI/CLIConfigCookieCommand.swift:6-44 | Sources/CodexBarCLI/CLIConfigSourceCommand.swift:6-38 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIConfigCookieCommand.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"076a7b21fe7bb2c19b55c0e995d350e6bd46201a60131a21a21c3d418b6f2ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:491-521 | Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:523-563 | Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:565-605 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 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/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b727ed2593764d9a377edf28ea45af46cfcfe092f2064ea8621867e7ba1a7f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): Sources/CodexBarCore/Providers/Bedrock/BedrockProviderDescriptor.swift:24-74 | Sources/CodexBarCore/Providers/Pi/PiProviderDescriptor.swift:5-52 \u2014 These two members are one piece of code written twice and then edited apart: 48 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/CodexBarCore/Providers/Bedrock/BedrockProviderDescriptor.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"341c78ca8b4418ed51e82f91d152a53971467a07c582fe46da33a7661a33e23c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift:184-230 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:330-375 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6672fe38eac9c819afe41372b87af904d81ef2ece40719c22690a80a54bb0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:454-490 | Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:492-526 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4f8336c59610efda4c51494b8bc27e0e378b692eedba41ac6fd44ea4f9254e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:694-724 | Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1400-1425 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c47804cb281538c26d57053eb7d4903456f5bb0eb752b2d970531b8c130182"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Sources/CodexBar/Menu/MenuBarLayout.swift:1309-1341 | Sources/CodexBar/Menu/MenuBarLayout.swift:1515-1547 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayout.swift"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b07327a11f8afbb87c30d222dbac380c5b93e1c0f5b68c768200a01d5661aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): Sources/CodexBarCore/Providers/Grok/GrokRPCClient.swift:111-144 | Sources/CodexBarCore/UsageFetcher.swift:1095-1128 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokRPCClient.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"622fa3db4293b6a1e37ffa9c0f2acf14c096620008df1e36454d802de558931b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift:1218-1256 | Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift:1258-1292 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6aabab2d02f18ada59ed96ad880fd669b043271eb53fd35320af6ec41d9cb70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Sources/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift:166-201 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift:243-278 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9d41cfa1b2bb63ba4094ae257f1d95636785ba26e29ee7898517334b47567f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:37-60 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieHeaders.swift:90-112 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b6b1c5667a1bb10166ac2681c4513db54fc548d4ee76421c2cdaa14634e321"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Sources/CodexBar/SpendDashboard/SpendActivityHeatmap.swift:619-652 | Sources/CodexBar/SpendDashboard/SpendActivityHeatmap.swift:831-860 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendActivityHeatmap.swift"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73366983d4ca71175bb2d5c9561dec186a1bdcc9dc57358aab5c9712a6c15ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/CodexBarCore/CostUsageModels.swift:535-552 | Sources/CodexBarCore/CostUsageModels.swift:721-738 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"948e4e6e26efb29a06e26289c3d1feabe4bd4507a27af0dd31f35985d5faeed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:20-61 | Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:63-103 \u2014 These two members are one piece of code written twice and then edited apart: 41 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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"073f582fa78bc1206eaa0a3f1594c614f4aa03c624edab25a82f9b4fa0446446"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:183-216 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:475-507 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d4c25a890a60762b535229a528347e1432cca5c314a27a8bfefcf39a9acd15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Sources/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift:178-213 | Sources/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift:215-245 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85ead8363d119137d5315ec6fd8e3f0cd033a94cafe57565a2ec80cd0c2574d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/CodexBarCore/Providers/Shared/CurlCaptureParser.swift:10-32 | Sources/CodexBarCore/Providers/Shared/CurlCaptureParser.swift:36-55 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Shared/CurlCaptureParser.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d744257967c4d1b77776baf2cf11816880e6adc27c08ff39e553cd20e66c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/CodexBarCore/Providers/Cursor/CursorAppAuth.swift:331-355 | Sources/CodexBarCore/Providers/Devin/DevinAppSessionImporter.swift:255-277 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorAppAuth.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e240ad6df003166dec264da1ce0fffbbae8a174517c26a75847c419a3c3b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): Sources/CodexBarCore/Providers/Codebuff/CodebuffUsageFetcher.swift:83-136 | Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift:170-211 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codebuff/CodebuffUsageFetcher.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7982c1ce994ba5214becc58e932b7dddf93216660a194eaad1996652c237a50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:741-769 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:779-810 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:827-858 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"b138e8bc9978ff8e4bdcc65567b545a6123352aa125e2fd31027427627a5d54b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:540-580 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:582-624 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:713-763 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca80bdfeeff4bd85a1ed0fe6126b2efd1f7e3538946257b407499a609e34ef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/CodexBarCore/Providers/Grok/GrokCookieImporter.swift:65-87 | Sources/CodexBarCore/Providers/Venice/VeniceCookieImporter.swift:43-66 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokCookieImporter.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"df564de5cebf467d529beba6ced852bfe9d5064b7cf275bff2df48b8f7f41845"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/CodexBarCore/Providers/OpenCode/OpenCodeProviderDescriptor.swift:89-117 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift:450-481 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeProviderDescriptor.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ab5657d73292c37bbc66cb9f383101481a54f7cb1845449c61950dce867760"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:913-938 | Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:940-966 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f5e8cad4abd98828a60324c0f0196d8c6d8947e4984c6a9a134ffa3542184d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): Sources/AdaptiveReplayKit/AdaptiveRefreshTrace.swift:71-113 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:403-445 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/AdaptiveReplayKit/AdaptiveRefreshTrace.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccfd045477bf2d683fd7810bac725f6f941189cd71f5ab6937a7c8e3b1035c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift:143-178 | Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift:182-210 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b415d32e14f41f923c85f635befd07f7b1043518b7ee1f9d26f26b9ffa13350"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BCompactAccountMenu.swift:31-61 | Sources/CodexBar/StatusItem/StatusItemController\u002BCompactAccountMenu.swift:66-99 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BCompactAccountMenu.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e90011098c1388b198eef25c797c77c457b084bd463e16dcee388c5f2dd735b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/CodexBar/SessionQuotaNotifications.swift:570-601 | Sources/CodexBar/SessionQuotaNotifications.swift:603-624 \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/CodexBar/SessionQuotaNotifications.swift"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed42b1613eb71a51d3d932c04e5a6fce871f630b0d50c284487b08201a3be509"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBarCore/CodexManagedAccounts.swift:71-84 | Sources/CodexBarCore/TokenAccounts.swift:75-90 \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/CodexBarCore/CodexManagedAccounts.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02134fb92b99ae9ea6c3429db1d8b2f0db8071b68550dd07c5e7ec4fd76ae4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:594-620 | Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:880-908 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"71226c5f51ee069fb41d3f309106ed54f7c2130118061d094f7de7a4a1f35bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift:367-393 | Sources/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift:395-420 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e20e9f703c0bd81b13b6f8a916196682e9779e30a652747d456c09e71f5334"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift:133-159 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:199-219 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:119-143 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa15bfb409a2144eff018f0b7378a7a60fac1ec5dff5c7c563891a56145b90de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:399-424 | Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:468-494 | Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:496-522 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"77324ef6a82fde67ffc4b5992bdc349b99c178f12629bc8fecf982e0ace5493a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Sources/CodexBarCLI/CLIServeOperationCoordinator.swift:190-220 | Sources/CodexBarCLI/CLIServeOperationCoordinator.swift:222-257 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeOperationCoordinator.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0f509211160dc6ea6807d47fda5cb772cd39084659179203d1c70aead25ac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBarCore/Providers/ProviderDiagnosticExport.swift:525-536 | Sources/CodexBarCore/UsageFetcher.swift:62-74 \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/CodexBarCore/Providers/ProviderDiagnosticExport.swift"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97edcfc65c23cc9fe9be3ee1afdf63b1f4e2f2dafc4f349680f37aec9e9ad74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieHeader.swift:44-67 | Sources/CodexBarCore/Providers/Perplexity/PerplexityCookieHeader.swift:61-75 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieHeader.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3301bb42ad3a80d4bc1c3e880fa23bad7dd76a745a6fab1003cceb4623568e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift:383-406 | Sources/CodexBarCore/CostUsageModels.swift:314-335 \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/CodexBar/Menu/MenuCardView\u002BCosts.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3653997e7c768c1fd3dfefcbb6aa364f245ac56017cb73aaf2c997f68a28967"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Sources/CodexBarCore/Providers/Amp/AmpUsageParser.swift:227-262 | Sources/CodexBarCore/UsageFetcher.swift:1522-1561 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpUsageParser.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8421056ac97a7147d682b5147143f6eb64ef495f61da766ba426eb7a9bfaf6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift:50-67 | Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift:922-946 | Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAIIDToken.swift:5-27 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03e6c7493190d993935b4b2b9f55fd2a576148da73d203b0e0130a24fc6cc02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Sources/CodexBarCore/CostUsageModels.swift:501-533 | Sources/CodexBarCore/Hooks/HookEvent.swift:62-98 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf34fa5e4b237899230962b158de818cce3bda8286aad38c8de1c97f23a91e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:127-147 | Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:194-216 \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/CodexBarCore/Host/Process/SpawnedProcessGroup.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d4cff3bb92a014df3720f5865468ca808d010a6ed3bad484086ebbb7543827"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1027-1049 | Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1051-1071 \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/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c2fbc9d4ed7e5389337ad166a4cd23e7c5cbdf6890ccac6efe68bbbe859868"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Sources/CodexBarCore/CostUsageModels.swift:687-719 | Sources/CodexBarCore/CostUsageSessionBreakdown.swift:34-70 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"217820ee8069dfeee36df24ccde35c1dc26ba425d268e6c8552961a7672ed1d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:402-437 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:816-849 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"35100b4cba0c0e439d78027f2e99468c199b8c231d088394b3fa381841692dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/CodexBarCore/Providers/Codebuff/CodebuffUsageFetcher.swift:243-264 | Sources/CodexBarCore/Providers/Codebuff/CodebuffUsageFetcher.swift:266-285 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codebuff/CodebuffUsageFetcher.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"da557d1731df80d02e97e4b8a2a7783aa66e29abcee3e6810c13d9a1cd953963"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift:50-72 | Sources/CodexBarCore/Providers/Perplexity/PerplexityCookieImporter.swift:90-111 \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/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa71e9c5e763ad83d2902992a35c0383ad35482e46ee569d84d978501d9b7e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/CodexBarCore/Plugins/ScriptFetchStrategy.swift:49-78 | Sources/CodexBarCore/Plugins/ScriptFetchStrategy.swift:80-108 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ScriptFetchStrategy.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f3d9c3ebf50a02248bf7d82a2b24cec2740708b107347f930660af52d0e7a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:1649-1679 | Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:1681-1707 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfccb3b7f1d69fa22f918ce25df82bb0aaf35c30bc4beb7ed4036929bac227d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/CodexBarCLI/CLIIO.swift:94-115 | Sources/CodexBarCore/PathEnvironment.swift:1332-1352 \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/CodexBarCLI/CLIIO.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0268c7d06154ed457c6067154f4b72187b2021076c5745bcb1147632db24a590"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter\u002BDeadline.swift:96-123 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter\u002BDeadline.swift:125-151 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter\u002BDeadline.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f43891a3930a8b65fb24a35a294db0e9a202f6de9c367e3a2e13e111e507c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexSpendControlLimitMapping.swift:4-24 | Sources/CodexBarCore/UsageFetcher.swift:1430-1455 \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/CodexBarCore/Providers/Codex/CodexSpendControlLimitMapping.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee8349cd440a5d42a1f010c47f330db52daacf44203ed57764cc9357bb876db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:743-773 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:775-806 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9ba3fd5a3450650ea9b5e5956ac01ac10ca14f763e947cd586526ab4c01c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift:133-159 | Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift:317-343 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bc0b9dedc44170d1205d0be72364dc88572e28e04e894beb533ed3ebf67079"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher\u002BSessionAuthorization.swift:89-107 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher\u002BSessionAuthorization.swift:109-129 \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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher\u002BSessionAuthorization.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9c49bb7cc76264744985f41fcf66176d290a0c13ba296dddc37dda5e8f384f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:144-185 | Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:187-224 \u2014 These two members are one piece of code written twice and then edited apart: 38 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/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5346534e56a0bd707a2aaa1bf795b1fdde5121bc087cb6d715780cc3fa90ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Sources/CodexBar/Providers/OpenCode/OpenCodeProviderImplementation.swift:40-67 | Sources/CodexBar/Providers/OpenCodeGo/OpenCodeGoProviderImplementation.swift:52-79 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/OpenCode/OpenCodeProviderImplementation.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3e6b63bbb3d95f8d5433e97726209081fec87f606857cadeb4892f8590fb20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift:296-315 | Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift:317-349 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0943ed61d0a0d9d267821cda3dccdd20973483cdff437e91ccb4428eaf6d0cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift:1127-1153 | Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift:1155-1178 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bbf54e5dd50dcdf0a7884bc8acca521a2aee25bcb941d0a119d3cd92bc9094"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter\u002BDeadline.swift:45-69 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter\u002BDeadline.swift:71-94 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter\u002BDeadline.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79b284b0ed4269c0f05a0a5767113c878c2e5e2ea1aa30afa52ea56e082b041"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:286-304 | Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:306-322 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea94c80d0a0eb27e0c49aaa4eda6c12c24a3dc86c31d12e4c541a28a821456e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexAccountReconciliation.swift:329-353 | Sources/CodexBarCore/Providers/Codex/CodexSystemAccountObserver.swift:42-68 \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/CodexBarCore/Providers/Codex/CodexAccountReconciliation.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b88ff98e69ff885326b85ab1c8bf32a225ff7932db1be4a569d409fc0d9b923"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/CodexBarCLI/CLIUsageCommand.swift:335-360 | Sources/CodexBarCLI/CLIUsageCommand.swift:704-736 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIUsageCommand.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"1679b5585bace78c0df6b0e78e5ad609375b83cfb3292de1febb3c61f8ca520c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Sources/CodexBarCore/CodexLocalProjectUsageModels.swift:338-351 | Sources/CodexBarCore/CodexLocalProjectUsageModels.swift:482-494 | Sources/CodexBarCore/Providers/Codex/CodexRequestLedger.swift:44-55 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageModels.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aadd0f90b9d6dae3a71f3f2f16aff0b84036a31e99536a6e78ff12a111cf714"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift:55-69 | Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift:71-84 \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/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3aba1f203f46de5bea983be85b9b3d4087b5a00e1795b8a3a8109722ffcd72a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/CodexBarCore/Providers/Mistral/MistralUsageFetcher.swift:52-77 | Sources/CodexBarCore/Providers/Mistral/MistralUsageFetcher.swift:108-127 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Mistral/MistralUsageFetcher.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0799be411fe8093d043a1b7d68a48d1e5fe0ca40e9e57bf52bfbee6f255c455a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Sources/CodexBarCore/CostUsageModels.swift:802-817 | Sources/CodexBarCore/CostUsageModels.swift:1304-1316 | Sources/CodexBarCore/CostUsageModels.swift:1449-1461 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f8b996d0db8d9c04128b7bc30c43f11603501f14f5e511515fc942f5884c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Sources/CodexBarCore/Providers/Cursor/CursorAppAuth.swift:76-93 | Sources/CodexBarCore/Providers/Factory/FactoryLocalStorageImporter.swift:244-258 | Sources/CodexBarCore/Providers/IBMBob/IBMBobUsageFetcher.swift:287-300 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorAppAuth.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4094c0f693913e4b3d68c044f684d9d8da1c7dc4ded5ecb93fbfd49d13ede76d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/CookieHeaderNormalizer.swift:36-56 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:88-102 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderNormalizer.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0558bd9b30f7f18f51e4411b09ba08ea92b9dfb37abe12f5c8090a70dea91bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/CodexBarCore/Providers/Codebuff/CodebuffUsageSnapshot.swift:19-47 | Sources/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.swift:102-130 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codebuff/CodebuffUsageSnapshot.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c199fe6d63841cd767170cb410371b5e119f42e4d27af0645532115e95ab7b0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBarCore/CreditsModels.swift:97-108 | Sources/CodexBarCore/Providers/ProviderDiagnosticExport.swift:195-207 \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/CodexBarCore/CreditsModels.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbcffdfb1df9edd5775446b20da630b5064b205b607f8f8fb7514025aab7a35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1051-1069 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1090-1113 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1115-1137 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"8417e159daa2fdb44a4eb3d59cd493df04c05d5074d0fc87869487559d091c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:423-442 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:444-463 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d0288800ced58f8b824aa458abbcf1a7f47b1f1550dc5bf82db05e2c065ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBarCore/Providers/Nous/NousSettingsReader.swift:246-258 | Sources/CodexBarCore/UsageFetcher.swift:1570-1584 \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/CodexBarCore/Providers/Nous/NousSettingsReader.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8824e72eb4459ec44593c93db969b8ebde5a0baf5da3c9dce037d613491ab3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): Sources/CodexBarCore/CookieHeaderCache.swift:536-556 | Sources/CodexBarCore/CookieHeaderCache.swift:560-583 | Sources/CodexBarCore/CookieHeaderCache.swift:1189-1213 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a898672bc0942f43710ed5557dee70f2db9d06179dcdcc134bdec66efff77f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBarCore/CostUsageModels.swift:1346-1357 | Sources/CodexBarCore/CostUsageModels.swift:1415-1427 \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/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3875800f7a46cc52a2384b0341dd5549c37fd7e7f5d5c251fa6358b9912795"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift:185-201 | Sources/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift:235-261 \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/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e9b9ef503b4728bf7a153ad2fd6067264fd573d4e1fb4cbc4c692126c95f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): Sources/CodexBarCore/CookieHeaderCache.swift:869-890 | Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift:1263-1281 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthPendingCacheClearStore.swift:388-410 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"389177c11e003a391c0bf6380916d3dc2b57293429d46869c892121286ff6813"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:599-612 | Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:614-627 \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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"7642d54f8ef78d35e090c29cecd95d6f51538477d0d27c0297ee9ab009d65f3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Sources/CodexBarCore/CodexLocalProjectUsageModels.swift:240-269 | Sources/CodexBarCore/CodexLocalProjectUsageModels.swift:271-297 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageModels.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd2646a3e7ac4784b7748dd24035d50aad11df9c68f7d3bca5607bcc8b6e21f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift:1157-1164 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift:1209-1219 \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/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bae8598c029acc8850659de28e5c9a2724afa277c58672a028e300955f5d760"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBar/Menu/StorageBreakdownMenuView.swift:245-259 | Sources/CodexBar/Menu/StorageBreakdownMenuView.swift:347-367 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/StorageBreakdownMenuView.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"833632af74cc04d6879c20d8c0743fbbce756887e0767249ce4e8dd15bf114cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1074-1098 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleJSON.swift:211-230 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1f585dc898faf917ba4b347cbe51d224b8a07bf449dd4ce26d8d7d0c97118c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BMenuViewportRestore.swift:394-425 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenuViewportRestore.swift:462-486 \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/CodexBar/StatusItem/StatusItemController\u002BMenuViewportRestore.swift"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ae9db6bb9f16cd3ee344fb734232b6abfb626178e703efa6071fb36e5934c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift:1082-1110 | Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift:644-673 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ef787d3e2d6596a224061c7f702e96eb04efa92ebe5097051d2f2160dc36cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/CodexBar/Menu/MenuCardView.swift:1135-1151 | Sources/CodexBar/Menu/MenuDescriptor.swift:515-531 \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/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc6329b5e34bda97cd8a14f710d0cc1647a6299c7b9e5313d1500722854e04d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:52-75 | Sources/CodexBarCore/Providers/Kimi/KimiCookieImporter.swift:46-69 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44c9cb42e0f5511cee957394b65ba9a64765734ecd4ba9d1a9beb7d5012c761"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/CodexBar/Settings/SettingsStore\u002BConfig.swift:223-244 | Sources/CodexBar/Settings/SettingsStore\u002BConfig.swift:265-287 \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/CodexBar/Settings/SettingsStore\u002BConfig.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af2b422a173754bf82329f5d92726711fc40e03cb6d1ff3f53ea7962806b020"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/ProviderDetailSection.swift:118-128 | Sources/CodexBarCore/WidgetSnapshot.swift:147-158 \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/CodexBarCore/ProviderDetailSection.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c5df7f41008e951b5d512c0beaa1f7e2c3a11af272b48459e12b619e665982"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/CodexBar/Providers/Codex/CodexLoginRunner.swift:5-24 | Sources/CodexBar/Providers/Kiro/KiroLoginRunner.swift:5-24 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexLoginRunner.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c92d0c9f17a6b025b8840e2d2178cbe77164570c7fd60baf739329afbd28c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/CodexBarCore/Providers/Replicate/ReplicateWebFetchStrategy.swift:27-45 | Sources/CodexBarCore/Providers/TypeSafe/TypeSafeWebFetchStrategy.swift:30-60 \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/CodexBarCore/Providers/Replicate/ReplicateWebFetchStrategy.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e0b889ed4218ce38b38b0c9a172394e71ed2b2ead38b0012e871f55858bb29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/CodexBar/CookieHeaderStore.swift:37-59 | Sources/CodexBar/Providers/Zai/ZaiTokenStore.swift:24-50 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/CookieHeaderStore.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5528a1555ee14ae394b4f76325dad9dc3a72745e3fa3c4de6e991df52206dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:230-246 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:248-264 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift:1048-1059 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da48d3ed6ca8d3175a058b16cfb2770f0d6b2a677f78fbb1d621b201807c507"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBar/SessionQuotaNotifications.swift:626-640 | Sources/CodexBar/SessionQuotaNotifications.swift:642-656 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionQuotaNotifications.swift"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4bc147055de65bbcbb4e4c113f993359cd9da2eb6c163a92d6527eec100126"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift:142-156 | Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift:158-167 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift:152-166 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift:168-177 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9fa16c233e26f471072f94ca6741ace1a5828b68c2e7ee0de29c3f34866d7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift:338-350 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift:352-366 \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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b82939117c373cd74bc1d71ba9f5d0a18e9bea84f1535c3dda13a1e1a31905d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift:110-128 | Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift:130-151 \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/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5927b9a5ea49c97e05a88f3c10ec7ede80f22c5a2ca6ff85ff330505965d1ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/CodexBarCLI/CLICostCommand.swift:1094-1118 | Sources/CodexBarCLI/CLICostCommand.swift:1225-1247 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICostCommand.swift"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"46287c65d0178ffb690008ca8a88531245d83e1706070dbc329670b402dfc036"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift:105-131 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:173-197 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:94-117 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd6604a2daaa8ec52d9dccc0c49e8567b11a7451265545c26d4e1c35d56e3ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalJSONL.swift:10-22 | Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift:9-30 \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/CodexBarCore/Providers/Antigravity/AntigravityLocalJSONL.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcb156f77520c829ea4462a1dd5c1991daaca86382a36757b938681bc0d94b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift:404-419 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:829-841 \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/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"855c0855a33e4738f842028c7cf999efd31bd1bd5ad31d4f39fbc8294124de5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:349-368 | Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:370-389 | Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:391-414 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec0239f9cb3e6a55c7408f237a8556b733fe2307ef1f1c33828916f82eba9f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/CodexBarCore/AgentSession.swift:41-69 | Sources/CodexBarCore/Providers/Grok/GrokAuth.swift:21-51 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/AgentSession.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d0ef4a3c83ed1be2c97f2d5b948d42a6d6767a2a0358b949bbe8275554660d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/DarwinProcessEnumerator.swift:84-94 | Sources/CodexBarCore/DarwinProcessEnumerator.swift:189-207 \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/CodexBarCore/DarwinProcessEnumerator.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae0920df085b0b3a539b741160f37efb01a81e83ebbbb99bd6194e601b8e712"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:1236-1253 | Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:1270-1287 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd34dff80556824d6a235e6a9e5fc0dc4f9464d32b372f8c6ca2ecc2c2d5dc7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/CodexBarCLI/CLIServeOperationCoordinator.swift:421-442 | Sources/CodexBarCLI/CLIServeOperationCoordinator.swift:444-466 \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/CodexBarCLI/CLIServeOperationCoordinator.swift"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b84dc5837f882ac8968b1792ec849e0f2e9ec285a77ddae100bef69f9ade76e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthRefreshFailureGate.swift:243-262 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthRefreshFailureGate.swift:264-293 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthRefreshFailureGate.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1040c8db2afcf49f0c038a911e853eedc137f5ba1be4fa5ae71e7ea3cb38261f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexReconciledState.swift:50-67 | Sources/CodexBarCore/Providers/Codex/CodexReconciledState.swift:69-86 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexReconciledState.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bbf083a099dba773a7f1ce879759a119394d1a9630aefdc61c42b2ed916d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/CodexBarCore/CostUsageModels.swift:381-402 | Sources/CodexBarCore/CostUsageModels.swift:413-430 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed83d08b387775c4b45343769a4683b5c69abbfa1a3a0dff48b9aa85dd2c344"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Sources/CodexBarCore/CostUsageModels.swift:819-828 | Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift:95-105 | Sources/CodexBarCore/UsageFetcher.swift:909-919 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c506f830b5e981916e2c2d34edb9e19c04ed0f6476919e5562bf06e07e65e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:150-169 | Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:219-241 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cc3f5bb250fb3fd1b79a2130ade1d7609d76ff216f12185296482021ca2d50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/CodexBarCore/ProviderCostSnapshot.swift:27-52 | Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:20-46 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderCostSnapshot.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"61000ed1932e5f3a386c3f6176053dcfd73ddd37aadb2110c7bd3bba0baa71d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:85-102 | Sources/CodexBarCore/Providers/HuggingFace/HuggingFaceProviderDescriptor.swift:75-94 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c355d404c7d4f5c9d43a65702b685ff51c1ae0f53607ed4a3d91886bcf4c30c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:295-305 | Sources/CodexBarCore/UsageFetcher.swift:949-957 \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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"73939eb7816b90d655d63725f33d827af5966fe934ed50198a486b4680feae5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATFetchStrategy.swift:136-152 | Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift:531-549 \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/CodexBarCore/Providers/Codex/CodexPAT/CodexPATFetchStrategy.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5456c96aac03ef38ddb10a6007fe2065c442ec739e743102d4e6fc4badeb9dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/ManagedCodexAccountLock.swift:26-31 | Sources/CodexBarCore/ManagedCodexAccountLock.swift:33-40 \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/CodexBarCore/ManagedCodexAccountLock.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e8dfeff725397a93f6c84c86c6767df2386f8971a4ec5d418ed9136d93657d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:257-275 | Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:637-654 | Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:713-731 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd184ab0884c6e9905d38da53507f414d50aa17c569a8557e6141f7a8371d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/Providers/Amp/AmpUsageParser.swift:264-273 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageParser.swift:203-214 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpUsageParser.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ef58bfa71dab9bcd1fec7134af8ff11ba6d72d9d7548c0e8cc400598c23e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATUsageFetcher.swift:56-74 | Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATUsageFetcher.swift:76-99 \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/CodexBarCore/Providers/Codex/CodexPAT/CodexPATUsageFetcher.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"462bdda354977a8b4548295b4d0da50520450097c7056f0af80155ff809dc131"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BAppAuth.swift:20-38 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:809-829 \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/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BAppAuth.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc669259f3b0f7f5548656d1eb915ea9448cf4b146f69ad5355a9747fd5d9b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/CodexBarCore/Providers/Factory/FactoryLocalStorageImporter.swift:329-337 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift:408-418 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift:555-564 \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/CodexBarCore/Providers/Factory/FactoryLocalStorageImporter.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe2df6fa008d7cd995576671efacda0e39b9953e075a808ad46dda97ecc91f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/Providers/Kimi/KimiUsageFetcher.swift:226-240 | Sources/CodexBarCore/Providers/Kimi/KimiUsageFetcher.swift:320-339 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kimi/KimiUsageFetcher.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf76a6b82d887ccb0f5e37a3cb725a6142bac2c60e707001f15b06e6f862d5f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountReader.swift:102-122 | Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountReader.swift:126-143 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountReader.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acbe0cca346cf75a3ef06636131ac899d30ed294d8989d8e75d825e9959c7df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/CodexBarCore/CodexLocalProjectUsageModels.swift:390-415 | Sources/CodexBarCore/CodexLocalProjectUsageModels.swift:425-447 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageModels.swift"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f4534b84f85438ea56c3a9c242791ee3de211fd068e769ad355497d76e01be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:851-871 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:873-891 \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/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d63fe0e53eb1f0aa0b5a47a9f4976dfdddf6ee3211275740e0011f1f1348e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/CodexBarCore/Providers/Windsurf/WindsurfWebFetcher.swift:459-478 | Sources/CodexBarCore/Providers/Windsurf/WindsurfWebFetcher.swift:499-517 \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/CodexBarCore/Providers/Windsurf/WindsurfWebFetcher.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fd88672e985e1ffdf2d7c00f5be6d6783aba548620dc5242cdfe1cad4e58d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBarWidget/CodexBarWidgetViews.swift:45-58 | Sources/CodexBarWidget/CodexBarWidgetViews.swift:64-77 \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/CodexBarWidget/CodexBarWidgetViews.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7c7bc5d28c74d9d1a3956c5c7ebc0df78ee4e515673e06ba868b13a5ff0fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift:541-562 | Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift:343-365 \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/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3c2b610900944126b0538966625e24def813b24929f808eaf99178b2c71960"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:342-357 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:359-386 \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/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8078c4940f64cc85239e800e47728974119fe74981d5b86fad374dd72135e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/CodexBarCore/AppGroupSupport.swift:219-246 | Sources/CodexBarCore/KeychainCacheStore\u002BApplicationPaths.swift:100-120 \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/CodexBarCore/AppGroupSupport.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"87da7264a37296a0e073fac1f6c7cc0c4c672a7c3412fb1c4355dcafff9c0f3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/CodexBarCore/CodexManagedAccounts.swift:16-38 | Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift:23-47 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexManagedAccounts.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c744cd8b253d2b7a865e342d2675e0a6b566fb1e5e015c34396dc621154e4075"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Sources/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift:166-176 | Sources/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift:109-119 | Sources/CodexBarCore/Providers/Cursor/CursorProviderDescriptor.swift:199-213 \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/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"93166237d2fabb7fd7d046a34e840a19322e74882f495e0dbb0bf8945c911938"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexCLIDashboardAuthorityContext.swift:4-23 | Sources/CodexBarCore/Providers/Codex/CodexCLIDashboardAuthorityContext.swift:25-49 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexCLIDashboardAuthorityContext.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0bbd39a55e106114503a13d7e7c6e881969dbd6758b95e2f2af9286eeddac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/CodexBarCore/Providers/ProviderFetchPlan.swift:192-211 | Sources/CodexBarCore/Providers/ProviderFetchPlan.swift:214-232 \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/CodexBarCore/Providers/ProviderFetchPlan.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8291a2a2cabf86b0ddb6eb0cf106297c5b85ec01e1eb9b7de26959d347dafd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:319-332 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:90-105 \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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9f35269a9c2eea5beccd76fa8412bb44a8dff3b4c03325cdb17a78addca2a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBar/PredictivePaceWarnings.swift:33-47 | Sources/CodexBar/Providers/Codex/UpcomingResetNotifications.swift:48-65 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/PredictivePaceWarnings.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc75e1b34bfba9f2291e4178d4026003a3613d3b9a5c298a653cc8c5182be275"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 19\u002B corresponding lines): Sources/CodexBar/Providers/Abacus/AbacusProviderImplementation.swift:21-39 | Sources/CodexBar/Providers/Augment/AugmentProviderImplementation.swift:25-43 | Sources/CodexBar/Providers/Cursor/CursorProviderImplementation.swift:28-46 | Sources/CodexBar/Providers/MiMo/MiMoProviderImplementation.swift:14-32 | Sources/CodexBar/Providers/Mistral/MistralProviderImplementation.swift:26-44 | Sources/CodexBar/Providers/QwenCloud/QwenCloudProviderImplementation.swift:14-32 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Abacus/AbacusProviderImplementation.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffd48c452d2ac4fe43af6fa085cd9e488ee5d8150ef67d2a5f2ac7e2abe17c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Sources/CodexBarCLI/DashboardPayloads.swift:167-177 | Sources/CodexBarCLI/DashboardPayloads.swift:253-263 | Sources/CodexBarCore/Providers/ProviderDiagnosticExport.swift:250-261 \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/CodexBarCLI/DashboardPayloads.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23ca7d008622186d406af0e64bd9e2e45bb622eb65c660a86b72f3d78cae97d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1139-1154 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1156-1170 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"58de0b66a1ad49fc129a3688eb8eea229c34a64a0c9b9634edbd7056bcdc8ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/CodexBar/Providers/Codex/CodexOwnershipContext.swift:108-125 | Sources/CodexBar/Providers/Codex/CodexOwnershipContext.swift:127-148 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexOwnershipContext.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2373205fb4ec93fd34fff5247af8c60c2d93ccff6e8995b225fed2632069798f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/CodexBarCLI/CLIHelpers.swift:221-244 | Sources/CodexBarCLI/CLIHelpers.swift:268-284 \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/CodexBarCLI/CLIHelpers.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afee7248913ef16450eec8e17f8fe9cf96e53c4980c605fada114d0a0dcf59c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBarCore/CookieHeaderCache\u002BFingerprint.swift:9-21 | Sources/CodexBarCore/CookieHeaderCache.swift:86-98 \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/CodexBarCore/CookieHeaderCache\u002BFingerprint.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9966b7c9249e6ae97b8b3b3b17b49a680f51f120543d6b11d1708893fd8e1c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift:184-197 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift:196-211 \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/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc3f8ec4671647358b93f49febe99704ba74ca3f244ea115881de45993b85e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBar/HistoricalUsagePace.swift:673-684 | Sources/CodexBarCore/CostUsageModels.swift:1600-1611 \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/CodexBar/HistoricalUsagePace.swift"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"3105b1755539fe3900df314fe129cf6e18040159e8da59cb2ba613ca66331ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift:780-793 | Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift:823-831 \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/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb550eb5aef3c6f806d08452c25772421644a5145f9f63cfe4cf33fabfc6913"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:839-859 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxSubscriptionMetadata.swift:186-203 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift:997-1018 | Sources/CodexBarCore/Providers/OpenCode/OpenCodeZenBillingParser.swift:77-95 | TestsPlugin/T3ChatReference.swift:146-171 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e5c3ad31c1d910e7f01fcce349a42cc11c3718701c77612f5519fc18fec5d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexSpendControlNumber.swift:21-35 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxBillingHistory.swift:141-158 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxDecoding.swift:4-19 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexSpendControlNumber.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd538cacbc6b26c27d68935dcef2107b3c8c7090d5efdb9714ad0db47f82074"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): Sources/CodexBarCore/Providers/Devin/DevinSessionImporter.swift:243-268 | Sources/CodexBarCore/Providers/Devin/DevinUsageSnapshot.swift:160-183 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoZenBalanceParser.swift:70-92 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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/CodexBarCore/Providers/Devin/DevinSessionImporter.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"5195d7e07f1b0d6d7a5f37d5c8ecbf19a8c0047e6407984aebef4a0ea2b367de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift:21-45 | Sources/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift:56-78 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift:21-45 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"985e19b67f6f1896fa248b593f08ad1ee58d4cfa2c67ecdbb4564337a5f66887"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekPlatformTokenImporter.swift:439-460 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekPlatformTokenImporter.swift:462-483 \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/CodexBarCore/Providers/DeepSeek/DeepSeekPlatformTokenImporter.swift"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"4243d55f937ffcc03b56e34de30a4511be04bef770791d3e80811c5de6138aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:1134-1152 | Sources/CodexBarCore/Providers/Warp/WarpUsageFetcher.swift:357-374 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fb039a9b897753c67bcc5fe45fce4012b9b89db589d66bd848decdd8aad23e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBarWidget/BurnDownWidgetProvider.swift:515-527 | Sources/CodexBarWidget/BurnDownWidgetProvider.swift:549-560 \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/CodexBarWidget/BurnDownWidgetProvider.swift"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"4043da86c72328bd289c60a25aba7879fd515973e3de7373cd4302f209597f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeRateLimitResetCredits.swift:37-52 | Sources/CodexBarCore/Providers/Grok/GrokRemainingResetsFetcher.swift:262-274 \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/CodexBarCore/Providers/Claude/ClaudeRateLimitResetCredits.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e9c136d6d59ba4507e16f24973978c747d91192ff8bd4f85f255be699058a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:1019-1043 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:1063-1083 \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/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"375508d45eafe99ffbf356d7789c2aaaa020be9583b849eb741df1f5fbee4cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/Providers/Factory/FactoryLocalStorageImporter.swift:300-314 | Sources/CodexBarCore/Providers/Windsurf/WindsurfStatusProbe.swift:119-133 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryLocalStorageImporter.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d836f83f47be17bc6f1aeea858c9d39219dfc5e4416898ed6fa7ff28496851a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAIOAuthCredentials.swift:67-90 | Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAIOAuthCredentials.swift:92-109 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAIOAuthCredentials.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5323c7b2c4862afaa762eeb0fcce4109b0f200325eca0a98a308ffd8bf4866fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:1023-1041 | Sources/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.swift:827-843 \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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c43a8e47c8ea51cc7002fe5f15bee0912d6f5579183195d7339af517eac124"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:656-666 | Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:690-700 \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/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"db822d100c861b58b0fd2f4552931c6c3a2817e2aeb0e770d4a7ec5d7ab7f892"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainAccessGate.swift:27-50 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainAccessGate.swift:85-107 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainAccessGate.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"396067a2981e293c6c985e7106a8dd00a4302d01d5223250ad383fd9894c4968"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBar/Menu/MenuBarLayout.swift:328-336 | Sources/CodexBarCore/CreditsModels.swift:28-34 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayout.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf31d68557a6e3697ce6b5df4400b76e7336bed462ea8c5fa6d8886e1c87e586"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/Providers/Windsurf/WindsurfDevinSessionImporter.swift:92-106 | Sources/CodexBarCore/Providers/Windsurf/WindsurfDevinSessionImporter.swift:108-122 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Windsurf/WindsurfDevinSessionImporter.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0d79b06b9076fd246e39b795fdb6dd8525f907b69d9d3634c9abbd973d5309"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/UsageFormatter.swift:429-437 | Sources/CodexBarCore/UsageFormatter.swift:439-447 \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/CodexBarCore/UsageFormatter.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac1fc8001253d28ba05f9bf97ed8a444dd8e9de64ff2b80869404252ebe5813"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCLI/CLIRenderer.swift:183-188 | Sources/CodexBarCLI/CLIRenderer.swift:190-195 \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/CodexBarCLI/CLIRenderer.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b8439c96e95a2ae83db4eaa16fff6e4c1bdf58a3fb41ba9c4e54ff7aaf59f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/CodexBarCore/CreditsModels.swift:236-256 | Sources/CodexBarCore/CreditsModels.swift:303-324 \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/CodexBarCore/CreditsModels.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e5b929e413485a582d87ec42c096bd082ee7df883126c9ef3b3978068f4c2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageFetcher.swift:87-101 | Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageFetcher.swift:103-117 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageFetcher.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afe4135978198745ec332d5b01f5aa13574095579cd04de60b9abf511ec4741"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift:1312-1331 | Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift:1333-1352 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c115fa308c4a5d4129536d78fc4ab0ea83e491a0d60dc66a209e619c0696af3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:1023-1041 | Sources/CodexBarCore/CostUsageModels.swift:1265-1281 \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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d64472ede6296a45bb55bf167165ec829236e91e8fcb8ecd8a334a6e71c522"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/CodexBar/Settings/PreferencesProvidersPane.swift:32-53 | Sources/CodexBar/Settings/PreferencesView.swift:75-97 \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/CodexBar/Settings/PreferencesProvidersPane.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9743afe65658f089000c2b1c3d08f75c384cf02db08fba1b6d1fd647f2631e56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:14-24 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:70-79 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:40-49 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"996784861fa1c06283507b7e806cb6a5c53ca62cc135cd123cb42a0a4fbe8ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:38-47 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:93-102 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:61-69 \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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef7e11b35028e43b3807a148c40ea766887b1d52a0f577db2ff672b8e483eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBarCore/Providers/MiniMax/MiniMaxBillingHistory.swift:323-337 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxBillingHistory.swift:339-350 \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/CodexBarCore/Providers/MiniMax/MiniMaxBillingHistory.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"2965f2d5bab1227e13757464de0aac1e9b83de416abfb3fc595937f04d18f510"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/AdaptiveReplayKit/AgentAwarePolicies.swift:12-22 | Sources/AdaptiveReplayKit/BaselinePolicies.swift:15-25 \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/AdaptiveReplayKit/AgentAwarePolicies.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2843499ab1ab5c3531a12080311ecd2e34826b89394d77abaa35dd1e49efe129"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/CodexBarCore/Config/CodexBarConfigValidation.swift:241-256 | Sources/CodexBarCore/Config/CodexBarConfigValidation.swift:308-323 \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/CodexBarCore/Config/CodexBarConfigValidation.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3da32c744f12c1497c6a5567b1c2a9702d257af88ddb6babea466ae01688dc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexReconciledState.swift:214-224 | Sources/CodexBarCore/Providers/Codex/CodexReconciledState.swift:231-241 \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/CodexBarCore/Providers/Codex/CodexReconciledState.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e957c80860012daf0c1c879039c538f494cd668a5c6314828b7a283eca16f79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Wayfinder/WayfinderSettingsReader.swift:45-52 | Sources/CodexBarCore/Providers/Wayfinder/WayfinderUsageFetcher.swift:387-393 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Wayfinder/WayfinderSettingsReader.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89775cabd76ffdb1ac681389d9c13f491989b27cec35f3caca0e11d1959de45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBar/HistoricalUsagePace.swift:579-590 | Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift:1472-1485 \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/CodexBar/HistoricalUsagePace.swift"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afa690463c7a91941fa2a135f790a588ac8afb6197121ca32782bdb3b1f32f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBar/Providers/Venice/VeniceProviderImplementation.swift:83-97 | Sources/CodexBar/Providers/Zed/ZedProviderImplementation.swift:28-40 \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/CodexBar/Providers/Venice/VeniceProviderImplementation.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cb0e84f827c9cdefd3aaf6fdc038755a102c193ca2b64227d7137839267d50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBar/SpendDashboard/SpendDashboardPublication.swift:99-113 | Sources/CodexBar/SpendDashboard/SpendDashboardPublication.swift:115-129 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardPublication.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91ced637aec72616ec30cdd6888ad15921df15fae4b350a3fd467ae13424ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift:346-355 | Sources/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift:357-371 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5db05b899621e7e1cd9eccec4d7fb6faba5fd8a1ce5cc25a03293e808906e7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBarCore/AgentSession.swift:475-487 | Sources/CodexBarCore/AgentSession.swift:548-562 \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/CodexBarCore/AgentSession.swift"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"6272e4e017f5c2db71448ab3c534f47945f5b92e24980fc534c3979ad709e1de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/CodexBarCore/CostUsageSessionTurn.swift:15-35 | Sources/CodexBarCore/CostUsageSessionTurn.swift:57-81 \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/CodexBarCore/CostUsageSessionTurn.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ff6cd4592dd7b35387c473fd3ac6cb0e968470104186bd39b9832e9e6af8f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanAPIRegion.swift:64-76 | Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanAPIRegion.swift:87-97 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanAPIRegion.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4616850f35676b8bad83b426e5e876e456a40ace142ac6ee1ac9c9f1f58ce8e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.swift:313-325 | Sources/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.swift:327-338 | Sources/CodexBarCore/Providers/Kimi/KimiSettingsReader.swift:181-189 \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/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"83024695a2976d0f5ab0b760189a3b4d22299789f4a7e2e78ad082f425a436d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/Providers/Groq/GroqConsoleFetcher.swift:143-151 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift:526-534 \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/CodexBarCore/Providers/Groq/GroqConsoleFetcher.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b142c7d8e3a37392365a376a0ccf1ef349b348977887d8b1368d93d505e30f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageSnapshot\u002BMetadata.swift:25-40 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageSnapshot.swift:97-112 \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/CodexBarCore/Providers/MiniMax/MiniMaxUsageSnapshot\u002BMetadata.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e32f84bec048d6d221fa5e68acd58e02c6884586be1006c6102f16ad86b460"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarWidget/BurnDownWidgetViews.swift:692-700 | Sources/CodexBarWidget/BurnDownWidgetViews.swift:723-728 \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/CodexBarWidget/BurnDownWidgetViews.swift"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e29521c4c597df6e5bd539cb7fa1e1c4fc5f2009aa4433fc0fc689ff6227c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexCostCatchUp.swift:303-313 | Sources/CodexBar/Providers/Codex/UsageStore\u002BSpendDashboardCodexCostCatchUp.swift:250-261 \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/CodexBar/Providers/Codex/UsageStore\u002BCodexCostCatchUp.swift"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8a1a0fa6d82ee24f1bd3323ed76591ed3092bd91f98cb55c479c9ea76d8922"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/CodexBarCLI/CLIConfigCommand.swift:223-238 | Sources/CodexBarCLI/CLIConfigCookieCommand.swift:69-87 \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/CodexBarCLI/CLIConfigCommand.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f34c8f7ec93ca92de3fb9c69d42c00099beacb7db945d1daeb9c638f194ba3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/CodexBarCore/BrowserDetection.swift:97-117 | Sources/CodexBarCore/BrowserDetection.swift:123-140 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/BrowserDetection.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fc4b4ad2a66b270c45345e9a810b07767fabfe1cfba015fb2634a2f989685c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/Providers/Windsurf/WindsurfWebFetcher.swift:394-408 | Sources/CodexBarCore/Providers/Windsurf/WindsurfWebFetcher.swift:480-497 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Windsurf/WindsurfWebFetcher.swift"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"836c4b92252dbf52ae8c9bbb6fdd350adc3bc564bf0c50716e699b229ae7dfbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarWidget/CodexBarWidgetProvider.swift:170-180 | Sources/CodexBarWidget/CodexBarWidgetProvider.swift:254-268 \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/CodexBarWidget/CodexBarWidgetProvider.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3b9e9ab1399dafa817c0430f58f1868b7dd13e0336f2869a2c8fe28e36e28e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift:676-691 | Sources/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift:693-707 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecb5f7afdf155e4e38e0cd2403ca0a9b780618ca3c24fa4808081dbd6683df3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/CodexBarCLI/CLIRenderer.swift:533-551 | Sources/CodexBarCLI/CLIRenderer.swift:620-638 \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/CodexBarCLI/CLIRenderer.swift"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"46032168d868fc5a192f2c4a96f70fbbaac6586db050b7f412208c7336fed47f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift:39-48 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxCookieImporter.swift:52-63 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a580b702f2f98b0088a90c2c77d6940474772105b250024e4f99d1e8f0a7c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): Sources/CodexBar/Menu/MenuBarLayoutConditionalEditor.swift:197-207 | Sources/CodexBar/Menu/MenuBarLayoutConditionalEditor.swift:209-223 | Sources/CodexBar/Menu/MenuBarLayoutConditionalEditor.swift:225-235 | Sources/CodexBar/Menu/MenuBarLayoutConditionalEditor.swift:237-247 | Sources/CodexBar/Menu/MenuBarLayoutConditionalEditor.swift:249-260 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutConditionalEditor.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"352ab5c3d6db7863a6afb7303d140557b64f3f462166a539e4a11d08d0414213"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBar/Providers/Codex/CodexLoginAlertPresentation.swift:36-43 | Sources/CodexBar/Providers/Kiro/KiroLoginAlertPresentation.swift:25-36 \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/CodexBar/Providers/Codex/CodexLoginAlertPresentation.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4000aa157678b0f87f9da560bdc8f8ec388f76f856af229439c1e465ab413f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift:519-529 | Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift:536-546 | Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift:553-563 | Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift:575-585 | Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift:587-597 | Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift:604-614 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f69cfe0b14faa02f0890538b3d738193d7d45acb4d207653ec9b27cc6772fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/CodexBar/UsageStore/UsageStore\u002BHistoricalPace.swift:69-90 | Sources/CodexBar/UsageStore/UsageStore\u002BHistoricalPace.swift:93-113 \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/CodexBar/UsageStore/UsageStore\u002BHistoricalPace.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9badcfdf7398bbf09d747e9f0f587cdd08f93d3ed2c8c74f1041c56288911980"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/CodexBarCore/AgentSession.swift:83-103 | Sources/CodexBarCore/Providers/Muse/MuseLocalUsageCache.swift:25-43 \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/CodexBarCore/AgentSession.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5066ab7dd1979d3480231583c86f7d703ce39f2ed96dda0c13586dd25e4a25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBarCore/CostUsageModels.swift:123-135 | Sources/CodexBarCore/CostUsageModels.swift:149-161 \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/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cb9c3a7453633c782db9f7c45a69b02d42dacba9c5a6b2efc2f99d55cba88b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/CostUsageModels.swift:1373-1380 | Sources/CodexBarCore/CostUsageModels.swift:1394-1401 \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/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1167b770435b32897a1445504ea00fa39c34acdef5c927707a7a54fab2f57d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageFetcher.swift:259-264 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:727-732 \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/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageFetcher.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd8e975945f596f53327d90d7bcce970ed27b937f6ce657229dc996302fbd25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift:489-503 | Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift:566-580 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4c3759e921411db9a18a2eee8108e25a91f8f4d2d7e305a4f9de608f930965"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBar/Menu/UsageProgressBar.swift:275-287 | Sources/CodexBar/Menu/UsageProgressBar.swift:289-301 \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/CodexBar/Menu/UsageProgressBar.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f43581625125f731dc141fa13e014469694c6efdb95c9c61186e44e4c1c6c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:1643-1654 | Sources/CodexBar/StatusItem/StatusItemController\u002BUsageHistoryMenu.swift:23-33 \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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"7817df15e89d7bb8908cedb9351cefb26b108d5dd425587c4158f4acc1fafa3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBar/UsageStore/UsageStore\u002BSpendDashboardTokenCost.swift:221-234 | Sources/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift:320-332 \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/CodexBar/UsageStore/UsageStore\u002BSpendDashboardTokenCost.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c776cb8f030bd7b8d6499ca5b86a1dd6edb4f0b90f8099935356ded7bc8bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/CodexBarCore/BrowserDetection.swift:382-395 | Sources/CodexBarCore/BrowserDetection.swift:397-411 | Sources/CodexBarCore/Plugins/ProviderBrowserProfile.swift:121-127 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/BrowserDetection.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7c83075363fa065c09ddc1e2c8326dfc86da35b7397de8df073a7e48f51ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift:1154-1164 | Sources/CodexBarCore/Providers/ProviderVersionDetector.swift:61-70 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecd56193a128524279b02d269c83f3c936a87aa834eb376df678016a8eebc5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudePlan.swift:79-100 | Sources/CodexBarCore/Providers/Claude/ClaudePlan.swift:152-167 \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/CodexBarCore/Providers/Claude/ClaudePlan.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"076056af2f90321c87ae55dcba60a20f99acc5d59b75492116996e6c7884cffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift:1100-1115 | Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift:1137-1147 \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/CodexBarCore/CodexLocalProjectUsageIndexer.swift"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5eb8e9d46c891e40ac01a7dede61134cc513f229b08e8cd47893197a7f0b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:789-806 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1149-1165 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleSECTokenResolver.swift:137-151 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e50e17b531a1bfd7884ed01df767c7310a2f13689073868198852eee60675c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:414-421 | Sources/CodexBarCore/Providers/Grok/GrokLocalSessionScanner.swift:243-249 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxBillingHistory.swift:352-359 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8ac1aeaacdb5411fbaddebe2695d6e751919a8b38fc88c178730ed83ffdfa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift:1007-1015 | Sources/CodexBarCore/TextParsing.swift:5-11 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e16d7588c0e004e80546405a1a6813d57098511e36dd8d2da66b04b4e533ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift:524-539 | Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift:541-556 \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/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"a631ae34218f958ec599c095c4fb586f91bc1c55202081dc0395c996396f7468"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift:40-55 | Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift:57-72 \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/CodexBar/StatusItem/StatusItemController\u002BActions.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"673d7b7c48215ef7dba8a8b14e6587733e26165c43edf202a0667639c575a059"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): Sources/CodexBarCore/Providers/Mistral/MistralProviderDescriptor.swift:245-262 | Sources/CodexBarCore/Providers/Mistral/MistralProviderDescriptor.swift:264-283 | Sources/CodexBarCore/Providers/Mistral/MistralProviderDescriptor.swift:285-304 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Mistral/MistralProviderDescriptor.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"767487d0778f5868ba1bc0980b21d8721b6247ae635bfcae6bbc1e630f894624"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift:383-389 | Sources/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift:391-398 | Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift:941-947 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"997cb88f4a7b3836946a9ae62e0c5e176c5d8ec8485ee15a09bf61cc1f562be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBar/UsageStore/UsageStore\u002BSpendDashboardPublication.swift:68-78 | Sources/CodexBar/UsageStore/UsageStore\u002BSpendDashboardPublication.swift:95-107 \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/CodexBar/UsageStore/UsageStore\u002BSpendDashboardPublication.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"383cbc48ad5301987df59b4b280bee70fd4217d989a17595edbaa0b3124a3729"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe\u002BResponseModels.swift:99-110 | Sources/CodexBarCore/Providers/IBMBob/IBMBobUsageFetcher.swift:150-161 \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/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe\u002BResponseModels.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4116bd53bba499c9124c7f6f96f50f6927e1609bc684681eda7fcffd48da0e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBar/SpendDashboard/SpendDashboardController.swift:1936-1943 | Sources/CodexBar/SpendDashboard/SpendDashboardController.swift:1945-1952 \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/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":1936}}}],"partialFingerprints":{"codehealthFindingId/v1":"235b1d5a454d2e3a3c623abc575255ffc3d228f8b9876cf23d7ce115f285c71d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBar/UsageStore/UsageStore\u002BSpendDashboardTokenCost.swift:19-30 | Sources/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift:247-258 \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/CodexBar/UsageStore/UsageStore\u002BSpendDashboardTokenCost.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5102a35d3b50169d6275086431878d87227a4462a7b2deae7f62db265a81e1be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/KeychainAccessPreflight.swift:159-169 | Sources/CodexBarCore/KeychainAccessPreflight.swift:171-182 \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/CodexBarCore/KeychainAccessPreflight.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"59451565bc68858192f826bd567708b58b1b30acb53ea951efc9a7930e7d34bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:367-386 | Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:427-441 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:654-665 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4f8ac77af4edcd9c88bb68cc6a57ada898acb58ebca982ed254d1c40bdc1c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:372-388 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudTokenPlanAPIClient.swift:57-70 \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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfe9e57c880d3ae31e9011c7f1fbdaa6e446862464492be6eb115a39940c6af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift:746-756 | Sources/CodexBarCore/Providers/Grok/GrokStatusProbe.swift:297-307 \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/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da78655815faa3b654141da637aba32c7104e3c5076cf7174f446d8692422b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/TokenAccounts.swift:92-106 | Sources/CodexBarCore/TokenAccounts.swift:133-147 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/TokenAccounts.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c664ba0060970ca5d477d6f2da0c9f163d53e74cd226d644f02dd95afde14a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBar/AgentSessionsStore.swift:369-382 | Sources/CodexBar/AgentSessionsStore.swift:406-427 \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/CodexBar/AgentSessionsStore.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd034ea7350fdf31b201c6fcf8994a69b8e2aaff1e49a7dca29acad77d45456f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/CodexBar/DockIconController.swift:163-186 | Sources/CodexBar/Settings/PlaceholderSettingsWindowGuard.swift:50-67 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/DockIconController.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc457717e5eebe3aba627262605d94f08d26c4225e774e021d8b44e15f01051"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift:220-230 | Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift:438-451 \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/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bdaff658406f8b149333acafb8294fa49e4368528977ff084ea98e8d076e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/CodexBar/UsageStore/UsageStore\u002BHooks.swift:259-281 | Sources/CodexBarCLI/CLIHooksWatchCommand.swift:250-268 \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/CodexBar/UsageStore/UsageStore\u002BHooks.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"479139e787502a4bbd7236c1d9b5a0ac895a09e47a9cbc1bf917a4ab608de4ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalJSONL.swift:140-150 | Sources/CodexBarCore/Providers/Muse/MuseLocalUsageReader.swift:569-577 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalJSONL.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"25653164877e552bb58cc29eded40e191e53e23a69ef5a4b71c316f1453d5bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityQuotaSummaryParser.swift:162-171 | Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift:49-58 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityQuotaSummaryParser.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bb5ea280dd9e6848d9afb6b9a34906ed1f38bfb4b070111f7970cc903d0677"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:330-347 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:596-611 \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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4d14d4e3f9a09896bd37cdb006555c5a454bfc8a64699e2d730e342c72eaf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Kimi/KimiModels.swift:184-190 | Sources/CodexBarCore/UsageFetcher.swift:959-965 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kimi/KimiModels.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"21627b48f7cdfea64e4df4c325267b0f2e8a147d0cd907a33ea4fe5806699081"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/CodexBarCore/Providers/OpenCode/OpenCodeConsoleUsageFetcher.swift:8-23 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:431-446 \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/CodexBarCore/Providers/OpenCode/OpenCodeConsoleUsageFetcher.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09d99452e6a2ce674b0cc680610c57a45aecde9fea2695b3b2a6b32230fd180"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBarCore/Providers/ProviderVersionDetector.swift:226-239 | Sources/CodexBarCore/Providers/ProviderVersionDetector.swift:241-255 \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/CodexBarCore/Providers/ProviderVersionDetector.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bce0119d6cb8929674ac356594ddf5e46be4d46779b6be2174b04389b7bd593"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBar/Settings/PreferencesProvidersPane.swift:199-206 | Sources/CodexBar/Settings/PreferencesSidebar.swift:186-193 \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/CodexBar/Settings/PreferencesProvidersPane.swift"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd66cab94ce59482ef8c5dfca0bade81f77211b5a6d439397add748e3ee80014"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/CodexLocalProjectUsageModels.swift:355-371 | Sources/CodexBarCore/CodexLocalProjectUsageProjection.swift:83-97 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageModels.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f86e990cba242b9016a9b9850ba54d024eb05ac4ca8a50e305d62e528420519"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/CodexBarCore/CopilotUsageModels.swift:75-93 | Sources/CodexBarCore/CopilotUsageModels.swift:128-148 \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/CodexBarCore/CopilotUsageModels.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8023954d5400a0260dd7f5b5505ab78492947d7e2e68f75ebe0aec3a61475ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/Host/Process/ProcessPipeCapture.swift:95-103 | Sources/CodexBarCore/Host/Process/ProcessPipeCapture.swift:107-115 \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/CodexBarCore/Host/Process/ProcessPipeCapture.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35c22cfade4461ce6c52353f76c907cc4d29182ed37d08ae77fbe1ed67e1d56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:675-690 | Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:394-405 \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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbb0e32deef59980c8beb8de3b76fad6130eadf647251e84fc1acc6e6ac33dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:13-27 | Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:39-48 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a05a871e5ab2b58b1e821fe3eefb5923076ba3215277de1ffaf421f44be0b03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/Providers/Windsurf/WindsurfDevinSessionImporter.swift:254-262 | Sources/CodexBarCore/Providers/Windsurf/WindsurfDevinSessionImporter.swift:264-274 \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/CodexBarCore/Providers/Windsurf/WindsurfDevinSessionImporter.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7288c5fc250fdd212f261b13523adbe941cde04f3e2f6a03dd9c9303062147"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/CodexBar/Menu/MenuCardView.swift:141-159 | Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift:71-89 \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/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af827d65a25441fd21acd168f59cdab71994fdcc6bf3eb3ed94c58903e24249"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:1547-1557 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:1591-1600 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f810007f271c9a137bd91d41ce08a568e570e127e1b6ee1116e00fdb617b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBar/UsagePaceText.swift:98-111 | Sources/CodexBarCLI/CLIRenderer.swift:986-996 \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/CodexBar/UsagePaceText.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c444ad88b46e0a7cc125123f1fec87156709f62fc5bdb361a55c0351c6777fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/CreditsModels.swift:36-42 | Sources/CodexBarCore/UsageFetcher.swift:160-168 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CreditsModels.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"596bb6694f35eb563698144507323fb9f1441eca83a49c972c6fc61f0ef1c37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:102-108 | Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:184-193 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c181d579eea46739d310fba8b2b121a413b8a8f8f1cd5ae33afdd6e09f7f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexReconciledState.swift:150-160 | Sources/CodexBarCore/Providers/Codex/CodexReconciledState.swift:163-173 \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/CodexBarCore/Providers/Codex/CodexReconciledState.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacd7a93e31c219b26316aa0f09ad1cab833d2e76b2a10a10ba2e8570a7472ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:573-582 | Sources/CodexBarCLI/CLICostCommand.swift:555-564 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d5093f4fbb140f44fd0274a88a5353915ab828205a413859fa4c394648db5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BFleetAccounts.swift:6-21 | Sources/CodexBar/StatusItem/StatusItemController.swift:631-646 \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/CodexBar/StatusItem/StatusItemController\u002BFleetAccounts.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"58172965a9ca4d88b29fc2bc0bb9d5e3df590cdd6b03cd14a2c7e312eda4e338"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBar/UsagePaceText.swift:45-51 | Sources/CodexBar/UsagePaceText.swift:187-193 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsagePaceText.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd493db6c3d181294655632bf61eadc0b823931f80b9768d35632424b87d0a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBarCLI/CLIServeCommand.swift:832-843 | Sources/CodexBarCLI/CLIServeCommand.swift:845-856 \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/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d5f38267c512ed62da7e4c767668aca90effaa7dcfd5b47eb89fb7eceb85a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Devin/DevinUsageSnapshot.swift:345-351 | TestsPlugin/T3ChatReference.swift:50-58 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Devin/DevinUsageSnapshot.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"403a0898028090ba6fcd223b664748b2687147b789fa56d7baa47d0ee3747822"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/Providers/Grok/GrokAuth.swift:151-160 | Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAIOAuthCredentials.swift:129-139 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokAuth.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"161f1cf633ee5df0cd8a36da78ed19902049c1585627a92097cecb60a680dbb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:318-328 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:382-401 \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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f04ce9995dddc0f536b0ed370bd21b5356202fe8261085429f15173fe84b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:1466-1475 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:1477-1486 | Sources/CodexBar/StatusItem/StatusItemController\u002BUsageHistoryMenu.swift:12-21 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4dc5daea58a8dbc33d996ea05b8ecc956b22292350f8ad1cbe679b5694e29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBarCore/CookieHeaderNormalizer.swift:58-62 | Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:453-458 \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/CodexBarCore/CookieHeaderNormalizer.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4a0f7f242446e261558ac8ac317af803a9dc2cebd8a4ed2cd08737344aa249"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/CookieHeaderNormalizer.swift:87-95 | Sources/CodexBarCore/Providers/Moonshot/MoonshotSettingsReader.swift:64-72 \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/CodexBarCore/CookieHeaderNormalizer.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b666a6159c9f81b0697f50f35b600a2a900c1f4e1c1644c6defc1a25ad7edf4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityOfflineStore.swift:88-94 | Sources/CodexBarCore/Providers/Antigravity/AntigravityOfflineStore.swift:96-102 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityOfflineStore.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97e9f770f8f244badc4ce7d7ab9ffcf03597076003c0c28d399e594bfbe7129"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:572-578 | Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:584-589 \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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"8039e4f5dc48753ba2b3362e4ca186b77d247a03a63b8af6b93ba3643823b87e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/CodexBarWidget/BurnDownWidgetViews.swift:11-32 | Sources/CodexBarWidget/CombinedBurnDownWidgetViews.swift:11-27 \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/CodexBarWidget/BurnDownWidgetViews.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7185d8c46200e091d33bddf9ca05df38b91d86f3f785c1871778c0745fe5c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:517-530 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:532-545 \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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a66dfd31ef9734ba5105426085bf4587da1009bc0646d26b6b46d6962759537"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:1730-1736 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:2095-2101 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fc5688bce778dd01e5f2d881c6ed7f257cd64540211c9f55a536bdf21162cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthUsageFetcher.swift:252-268 | Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift:164-178 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthUsageFetcher.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dda14a1296061b94a9de4bf6ec98f58c07c16560bf36249471bc15410640fb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:906-911 | Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:968-973 \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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b85af51f683edf19c37561271cff6a5ece122e7b02b912afa07ecda5e7edd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBar/Menu/InlineUsageDashboardContent.swift:768-777 | Sources/CodexBar/Menu/MenuCardView.swift:579-590 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/InlineUsageDashboardContent.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"0398fd7a6df675245a61adca047fab956b8b0892e5bf7f267e6455f7e0c6169b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/KeychainCacheStore.swift:743-753 | Sources/CodexBarCore/KeychainCacheStore.swift:755-763 \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/CodexBarCore/KeychainCacheStore.swift"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"422c5779f21979a23b24df1bb7f2e5262edc6fe8aec938a8005430ae53cee8bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/Plugins/ProviderPluginCookieJar.swift:20-28 | Sources/CodexBarCore/Plugins/ProviderPluginCookieJar.swift:31-39 \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/CodexBarCore/Plugins/ProviderPluginCookieJar.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aceb07bed9bf10db12adecae877f1a3f7f4da8ceb2afaf87e24f8c366d4cd40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Plugins/ProviderPluginManifest.swift:390-401 | Sources/CodexBarCore/ProviderDetailSection.swift:251-258 \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/CodexBarCore/Plugins/ProviderPluginManifest.swift"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e1bcbfeae881c8fff23346a55bcb232b7ab0be7dd738edbf16c85b109c6e36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:244-257 | Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:259-272 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f18daf72e3af8faf8d854c745882c5f969460ddce3034d4c68ac39b0801868e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift:87-99 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift:121-126 \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/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3fbee1a0e5403db46bcdfdfbc1cacd7f020fe06f1594a89eaf9b9c18751229"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBar/Localization.swift:63-75 | Sources/CodexBar/Localization.swift:77-89 \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/CodexBar/Localization.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb3a122e90859f37efe7b9b82c52a5122084a50874989af6e4fc24c44ac2344"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBar/PlanUtilizationHistoryStore.swift:403-416 | Sources/CodexBar/PlanUtilizationHistoryStore.swift:421-434 \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/CodexBar/PlanUtilizationHistoryStore.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fa7378b6d98705f1a3e1b42192d3b3ca9317021ccea7013e22ec0963b98c8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBar/Providers/Antigravity/AntigravitySettingsStore.swift:32-42 | Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift:166-177 \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/CodexBar/Providers/Antigravity/AntigravitySettingsStore.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"13450a8f8a0fe8825865d75744130eeb19745500cde585d7d921cf2027ac8e59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBar/Settings/SettingsStore\u002BConfigPersistence.swift:37-50 | Sources/CodexBar/Settings/SettingsStore.swift:1166-1172 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStore\u002BConfigPersistence.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f73c307b323b08cde3ea7a72117e28b0846f594dd0f57ab4ade3f109a8249ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBar/SpendDashboard/SpendDashboardSummary.swift:111-123 | Sources/CodexBar/SpendDashboard/SpendDashboardSummary.swift:130-140 \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/CodexBar/SpendDashboard/SpendDashboardSummary.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fe285f94d92e332d4a9c4f4b869667688b78b0e0c06d8c448e7b22ea42325d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCLI/CLIHelpers.swift:99-105 | TestsPlugin/ManusReference.swift:141-152 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIHelpers.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbba95f4126a7e49743d1cd047ba3d8ffa01e9ebad0d2725064788f56c04d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1071-1079 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1081-1088 \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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef2b2b5418f8823098e9cbe6acf507d6dabbe95c63b18f0b0b756c14b57fcf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/CodexBarCore/ProviderDetailSection.swift:63-69 | Sources/CodexBarCore/ProviderDetailSection.swift:185-192 | Sources/CodexBarCore/ProviderDetailSection.swift:232-238 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderDetailSection.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4126dd6a2280a8a445b0b7d5830b21c82825b1c5d096c8df0e12f8773e2b4956"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/CodexBarCore/Sync/SyncModels.swift:214-229 | Sources/CodexBarCore/Sync/SyncModels.swift:231-247 \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/CodexBarCore/Sync/SyncModels.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2bd013ad5660f0b02c1cc42d0252f9dda542b58c11dfd8ce882bf67d33b466"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBar/Providers/LongCat/LongCatSettingsStore.swift:7-17 | Sources/CodexBar/Providers/Windsurf/WindsurfSettingsStore.swift:10-20 \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/CodexBar/Providers/LongCat/LongCatSettingsStore.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b06f37ffe3ba1caf682b6894e5ee01e17844865c29eee6db32c6a77225064c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCLI/CLICardsBriefRenderer.swift:233-248 | Sources/CodexBarCLI/CLICardsBriefRenderer.swift:380-389 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICardsBriefRenderer.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"703357677e16bb1ed9a5a1fcd663527a8bb32d30800e642976279dd305fbb8a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCLI/CLICardsBriefRenderer.swift:601-606 | Sources/CodexBarCLI/CLICardsRenderer.swift:605-612 \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/CodexBarCLI/CLICardsBriefRenderer.swift"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"44caf483cf17c8493ccea81f15e08d446acdfad6e63d90ed009bc99fe6bdc247"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift:520-528 | Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift:565-573 | Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift:772-780 \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/CodexBarCore/CodexWorkspaceUsageSidecar.swift"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2d2e7d2e53886d5ddf556b8266b4ce5c145bd7072adf2e1edb311bb14bfe04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/CodexBarCore/CostUsageModels.swift:784-800 | Sources/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift:15-31 \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/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b54b8e90a94684342e60ee97e0753c657874d7d22a7ab76d5467b0ec2ed314"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Aixy/AixySettingsReader.swift:14-25 | Sources/CodexBarCore/Providers/Sub2API/Sub2APISettingsReader.swift:25-35 \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/CodexBarCore/Providers/Aixy/AixySettingsReader.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5e2a3e31ca2c39367e7a6184a3d414fb758825bc7f98c877a258a9509ac7d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekProviderDescriptor.swift:367-373 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.swift:171-180 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekProviderDescriptor.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f60f5b02420128fe0f8360b4344d666daa03fdb1461445773898e890ddd164"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): Sources/CodexBar/Providers/Claude/ClaudeSettingsStore.swift:10-25 | Sources/CodexBar/Providers/Factory/FactorySettingsStore.swift:13-24 | Sources/CodexBar/Providers/Kilo/KiloSettingsStore.swift:10-20 | Sources/CodexBar/Providers/Kimi/KimiSettingsStore.swift:12-23 | Sources/CodexBar/Providers/Venice/VeniceSettingsStore.swift:10-20 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Claude/ClaudeSettingsStore.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a29f23fc8d107f7f9975d3d3b7a12019e9a5804b14c5f7ab78ecdd706974be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift:13-28 | Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccountCacheKey.swift:14-29 \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/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"596312af5f3eecb8cff3c29faa9e09d83a438b229a0b443cd7edf680b6409eaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexResetCredits.swift:111-123 | Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexResetCredits.swift:125-137 \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/CodexBar/Providers/Codex/UsageStore\u002BCodexResetCredits.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"44701cc38f79e3b9e37992106a76a005a406626f09380417eeac300993fd885d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): Sources/CodexBarCore/CookieHeaderCache.swift:277-289 | Sources/CodexBarCore/CookieHeaderCache.swift:291-305 | Sources/CodexBarCore/CookieHeaderCache.swift:307-314 | Sources/CodexBarCore/CookieHeaderCache.swift:950-964 | Sources/CodexBarCore/CookieHeaderCache.swift:966-973 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"0147d7409b873fa86d1cfbc8c29c829a41eeb224efaceba06414f4087a94563c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift:265-277 | Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift:577-586 | Sources/CodexBarCore/Providers/Codebuff/CodebuffProviderDescriptor.swift:81-92 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabe4ddcec9bf16569317b938bf3d43e1b700717e4fd7f8f7c0965da6a6830d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:270-286 | Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:309-324 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:839-856 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e554da9befa6e428117204673a32422d7e124ae9994923a771c26069b5a89e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBarCore/Providers/Codebuff/CodebuffUsageFetcher.swift:304-316 | Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift:384-395 \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/CodexBarCore/Providers/Codebuff/CodebuffUsageFetcher.swift"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3197cc7297dddf77b85a79575aa86a5265edfe33261584c137efe81325b96070"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexAccountPromotionPreparation.swift:289-306 | Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthCredentials.swift:465-478 \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/CodexBarCore/Providers/Codex/CodexAccountPromotionPreparation.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd16fe84912d7f586e2c661be3b7f4f5de1a0eebf060a24b25fa09cd86dec5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift:231-238 | Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift:240-247 \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/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54ab2bc0d2bfadc2e13e9bc64f59ad58f2b90dad7b10ab2fbe193bedbece7e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Providers/Ollama/OllamaUsageParser.swift:65-82 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageParser.swift:110-117 \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/CodexBarCore/Providers/Ollama/OllamaUsageParser.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1dc626dc2d270a047062aea885dc155f0e0a59338e0e5664c322d604f3608b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift:35-43 | Sources/CodexBarCore/Providers/Codex/CodexAccountReconciliation.swift:191-202 | Sources/CodexBarCore/Providers/Codex/CodexAccountReconciliation.swift:424-432 \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/CodexBar/Providers/Codex/CodexSettingsStore.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2ff94cc6f91d58d872c927a6339525ede06d0319354a8c0fc977df137a2261"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCLI/CLIGuardCommand.swift:183-189 | Sources/CodexBarCLI/CLIGuardCommand.swift:191-197 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIGuardCommand.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3ed8da836e89e253de879dd5f4a6d8a2014e67ec73780ca0abb385de3d57f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift:1229-1240 | Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift:1242-1253 | Sources/CodexBarCore/CodexLocalProjectUsageModels.swift:555-566 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc93395b2be5487c2f719e468c6bcfd4774b7eb3938c3665f9e91235682c324"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:776-784 | Sources/CodexBarCore/Providers/Codex/CodexReconciledState.swift:203-212 | Sources/CodexBarCore/UsageFetcher.swift:1362-1370 \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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b69fec4a677edd8d4cd6dab06d732020e02589833b33cba68fcb708c39f452"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:849-868 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:888-907 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e61f66651d9f0805ec04437ec03f536364e9e65d20ef3e0c9505231b7e8b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanCookieImporter.swift:93-105 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudCookieImporter.swift:35-49 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanCookieImporter.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c8faa0c5145981b68034497b927e5eef5ffc28e17e4e69c34e7a73de5646aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift:80-93 | Sources/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift:122-142 \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/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"42560aad21b2bae61ed9710561437668e41854c3dafccce3d82b1e045c0e2966"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BTestingOverrides.swift:182-192 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BTestingOverrides.swift:194-204 \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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BTestingOverrides.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbeb0a301da65802354d13e30076a0d1e2f95ec105f3ee65d0b1dea4f225e6a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBar/UsageStore/UsageStore\u002BHistoricalPace.swift:126-138 | Sources/CodexBar/UsageStore/UsageStore\u002BHistoricalPace.swift:140-149 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BHistoricalPace.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f63f0d29c00e30bca233db83cb11b95ddcbbefcaca4bbc9c5024ce8152ba4c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBar/UsageStore/UsageStore.swift:1327-1339 | Sources/CodexBar/UsageStore/UsageStore.swift:1341-1355 \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/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d256e89ac3c93fb8722d1363d09b68a13a044949ec85d1c0d5861c819e6078d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/CodexBarCore/CodexHomeScope.swift:42-52 | Sources/CodexBarCore/Providers/Antigravity/AntigravityOfflineStore.swift:10-18 | Sources/CodexBarCore/Providers/OpenCode/OpenCodeLocalHistoryAdapter.swift:852-870 \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/CodexBarCore/CodexHomeScope.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc6bec057e3dc40ccd465a23cbd0ba22ee0c63905598628b4a55fe6c70c5b50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/CodexBarCore/PiSessionCostScanner.swift:138-153 | Sources/CodexBarCore/PiSessionCostScanner.swift:326-341 \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/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9830303df1e1d9eb5ae7e229799f6791736bfeba7e246d4c777577da9d5bbc7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:246-255 | Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:626-635 | Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:668-677 | Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:679-688 | Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:702-711 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae3d43aa8594ffcef22c3b1453ee35c3f714f12d470143fe9a0658476583d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:1740-1751 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:1755-1768 \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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9352f58cc93098f01c05fdb17535baa44bc5d337aa794891ff619b8f5c88e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift:50-60 | Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift:62-72 \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/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"be123661ddfe72679df74c75124c72e7028e398e7f58778d422d857fce3aae79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBar/Menu/InlineUsageDashboardContent.swift:647-654 | Sources/CodexBarCore/Providers/OpenCode/OpenCodeLocalHistoryAdapter.swift:159-168 \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/CodexBar/Menu/InlineUsageDashboardContent.swift"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"584eedb50ec31a4e66b563e06f11584f298ad65fa7dea5288e88355a6db520a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBar/Providers/Codex/CodexWorkspacesInspectorModel.swift:235-249 | Sources/CodexBar/Providers/Codex/CodexWorkspacesInspectorModel.swift:251-261 \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/CodexBar/Providers/Codex/CodexWorkspacesInspectorModel.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8556feaa9ecf98a70e702b8bde27a0ff9b82340d3ecfa6c8a070ec129538ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/CodexBar/Providers/Codex/CodexWorkspacesInspectorView.swift:215-224 | Sources/CodexBar/SessionUsageBrowser.swift:412-418 | Sources/CodexBar/SpendDashboard/SpendSessionToolActivityView.swift:196-203 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexWorkspacesInspectorView.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"835d9c9cac0550f2ac9f3a57f4c7977e2d90c0ea6312114a9974987bb33d4cd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBar/Providers/Codex/ManagedCodexAccountService.swift:367-374 | Sources/CodexBarCore/Providers/Codex/CodexAccountPromotionExecution.swift:317-325 \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/CodexBar/Providers/Codex/ManagedCodexAccountService.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee33000ec382008f7302cfe0ad244d5535051f31148bd1f4149ccf8bb5e11ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift:795-804 | Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift:806-814 | Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift:825-838 \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/CodexBar/StatusItem/StatusItemController\u002BActions.swift"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d092acd3be7a2835f9e49db190b74a115a340d9afa57522dd1f83a5dab80030"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:1529-1537 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:1539-1545 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a0aa4ff0842421c917bb54dbfc624cba4d70390623ad3e61396765d2d50248"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/ISO8601DateParser.swift:4-11 | Sources/CodexBarCore/Providers/Nous/NousSettingsReader.swift:236-243 \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/CodexBarCore/ISO8601DateParser.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f15f7e47c28e756a0e9ab6c9b7c28a52fa3e9e1c15b75e0dba72d3733d11859"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:426-438 | Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:440-452 | Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:454-466 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"617b75d5a9e77259793a0b4aa921475797362d2c98c52be214412bbe9b716bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift:196-206 | Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift:208-220 \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/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ab45b055cc1f01f1cd9051acfa6943ce727f4547bff1f809c2e34972821df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Providers/Grok/GrokCookieImporter.swift:56-63 | Sources/CodexBarCore/Providers/Venice/VeniceCookieImporter.swift:34-41 \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/CodexBarCore/Providers/Grok/GrokCookieImporter.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"27737b8b00920bc9b1b5283018f851047da86a0ed159dbbf2ecfc7fbd8cc4ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Scripts/cost_jsonl_shape_survey.swift:218-223 | Sources/CodexBarCore/CodexLocalProjectUsageProjection.swift:75-79 \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":"Scripts/cost_jsonl_shape_survey.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c533075f015e98431c580789aa28a8b23e0ee300915b04cc20b36646ab1ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift:279-286 | Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift:1283-1290 \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/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90a471155174469b2bfed34a136ee5f91734e67a800e3152805c0e231add69a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): Sources/CodexBar/Settings/PreferencesProvidersPane.swift:385-390 | Sources/CodexBar/Settings/PreferencesProvidersPane.swift:392-399 | Sources/CodexBar/Settings/PreferencesProvidersPane.swift:401-406 | Sources/CodexBar/Settings/PreferencesProvidersPane.swift:418-423 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProvidersPane.swift"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0366f37f2e4e95a6b35073affc65652091a9662adb8a922fa65ff9584c5c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBarCore/PiSessionCostScanner.swift:1003-1010 | Sources/CodexBarCore/PiSessionCostScanner.swift:1012-1016 \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/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65f11af4bed522a9b2c846bcd49ad288808cbec04b3cf2ea198908f00ea4115"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBarCore/Providers/Codebuff/CodebuffUsageFetcher.swift:16-28 | Sources/CodexBarCore/Providers/Codebuff/CodebuffUsageFetcher.swift:30-43 \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/CodexBarCore/Providers/Codebuff/CodebuffUsageFetcher.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"92329c97bfd7bbc324a610e224b7cb370f75fb67778a99378140a376b349d8c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthCredentials.swift:31-49 | Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAIOAuthCredentials.swift:12-28 \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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthCredentials.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a0ad45516add0aee136473dc3b7b31c1ce5c4dea1833ec2e01bdaecf85186d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATUsageFetcher.swift:101-108 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:734-739 \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/CodexBarCore/Providers/Codex/CodexPAT/CodexPATUsageFetcher.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"baee313a68b782e62f328ecc207f0758554b0ad9fd7d351e1740e0579b11f634"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift:864-878 | Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift:880-894 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"279a7cf5ecedff03edcda2e38eea3322caa734a3cb683d5de0d19b49c3c6a176"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Providers/MiMo/MiMoUsageFetcher.swift:51-58 | Sources/CodexBarCore/Providers/OpenRouter/OpenRouterSettingsReader.swift:26-33 \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/CodexBarCore/Providers/MiMo/MiMoUsageFetcher.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0823b9be9adb3c5e3b3086b420f8d7322ea637b8bf0ec4ec61a7b407ab3000"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/Providers/Mistral/MistralCookieImporter.swift:95-109 | Sources/CodexBarCore/Providers/OpenCode/OpenCodeCookieImporter.swift:69-83 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Mistral/MistralCookieImporter.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d63b58c4c5a4fc46883b9c84d39f3ea568e5f2e0feda10d4dce6fac40db0f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:521-530 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageParser.swift:19-28 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"188b7164913b597d5af27ccf8b049b52fa867e745a0a6bf662009b7e2e7d9472"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Zai/ZaiAPIRegion.swift:71-84 | Sources/CodexBarCore/Providers/Zai/ZaiAPIRegion.swift:86-96 \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/CodexBarCore/Providers/Zai/ZaiAPIRegion.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b972a62e3c96be0c0348688a8a67749233f14eb7963990fed5659aef5a4218"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBar/Menu/MenuBarDisplayText.swift:107-111 | Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift:1340-1344 \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/CodexBar/Menu/MenuBarDisplayText.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"401365008c10924dbad12671070ab9fcb36b672f75cb692d8551d5ba6e45984a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Sources/CodexBarCLI/CLIConfigCommand.swift:327-337 | Sources/CodexBarCLI/CLIConfigCookieCommand.swift:89-104 | Sources/CodexBarCLI/CLIConfigSourceCommand.swift:59-69 \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/CodexBarCLI/CLIConfigCommand.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91c6edecd945abb05c79dd19c376a81c3cd38b61bf92ee82e777566d66d6ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/AgentSession.swift:130-137 | Sources/CodexBarCore/AgentSession.swift:139-146 \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/CodexBarCore/AgentSession.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"223d029e8287de1708b8730bba489f44a0386e0c40467b5994601a5f59111f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Sources/CodexBarCore/LocalAgentSessionScanner.swift:623-626 | Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift:524-530 | Sources/CodexBarCore/RemoteSessionFetcher.swift:260-263 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/LocalAgentSessionScanner.swift"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49cec0845d1fb68a5102437ced21dc1e8ad2814c07086bc52060b11dc652531"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:322-332 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:665-680 \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/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46af1c590120e5eee2981956680faf674fe88431cb84fd38976047ee189b6e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/Providers/OpenCode/OpenCodeProviderDescriptor.swift:123-132 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift:502-511 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeProviderDescriptor.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b358554d0e1ea08abcb90bd70bf64ac0303fefc076af010fdd9fbdfe4f94f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:314-324 | Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:326-335 | Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:341-347 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d398275f3bcbf676c14700e60c5885e8c17221c005485ea86d26cb8d70e4519"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBar/UsageStore/UsageStore\u002BHooks.swift:284-290 | Sources/CodexBar/UsageStore/UsageStore\u002BQuotaWarnings.swift:232-238 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BHooks.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b3ceb9719162c1d1d3a090a43832df82935c443414020926a579f5f79272b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCLI/CLIRenderer.swift:148-156 | Sources/CodexBarCLI/CLIRenderer.swift:158-166 \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/CodexBarCLI/CLIRenderer.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2a09807adaa71309dbe84140482f3ac1c8d8d5f9855cb6fbd9063352fe5b3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/BrowserCookieAccessGate.swift:441-449 | Sources/CodexBarCore/BrowserCookieAccessGate.swift:453-461 \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/CodexBarCore/BrowserCookieAccessGate.swift"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1291c2e6824ad4b73688bd0bbb11a0ac9bdd979ce5e1abe9e8c24da7e6a2658"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/CodexModelsAnalyticsModels.swift:318-332 | Sources/CodexBarCore/ProviderStorageFootprint.swift:31-47 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexModelsAnalyticsModels.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b2b230202051bc58b9b83dace770a5b6ee671b4b22bf4245d11fd4a57c7e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/CodexBarCore/KeychainSecurity.swift:158-166 | Sources/CodexBarCore/KeychainSecurity.swift:168-179 | Sources/CodexBarCore/KeychainSecurity.swift:181-189 \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/CodexBarCore/KeychainSecurity.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"087d43cd7d6ceea27cc474e7bd6a3f4f4f20b2d0452bfed4f8fb631e1a457622"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 8\u002B corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanCookieImporter.swift:40-47 | Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanCookieImporter.swift:49-56 | Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:134-141 | Sources/CodexBarCore/Providers/Windsurf/WindsurfDevinSessionImporter.swift:21-28 | Sources/CodexBarCore/Providers/Windsurf/WindsurfDevinSessionImporter.swift:30-39 | Sources/CodexBarCore/Providers/Windsurf/WindsurfDevinSessionImporter.swift:41-50 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanCookieImporter.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3847a26ed393a141c91bbbd9f3ede9f1156ff2d75a265e27d646395d4a1285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/CodexBarCore/Providers/ClawRouter/ClawRouterSettingsReader.swift:36-43 | Sources/CodexBarCore/Providers/Deepgram/DeepgramSettingsReader.swift:28-35 | Sources/CodexBarCore/Providers/Zai/ZaiSettingsReader.swift:134-141 \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/CodexBarCore/Providers/ClawRouter/ClawRouterSettingsReader.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ee091e7cfadd46d1aa8445c054a47c25dc8a3ed2a11dd9302e49d877d902da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:78-90 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:93-105 \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/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f662c81dd158a70b545fa37de95faac53085c3ea5196750a885791f58069857"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift:67-77 | Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift:83-93 \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/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f170120de8a67a1a0ed57af3050ebdf508137a0fa5b2b41cb8409f76031a5a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 11\u002B corresponding lines): Sources/CodexBarWidget/CodexBarAccountUsageWidget.swift:9-20 | Sources/CodexBarWidget/CodexBarAccountUsageWidget.swift:191-202 | Sources/CodexBarWidget/CodexBarWidgetBundle.swift:21-31 | Sources/CodexBarWidget/CodexBarWidgetBundle.swift:37-48 | Sources/CodexBarWidget/CodexBarWidgetBundle.swift:54-65 | Sources/CodexBarWidget/CodexBarWidgetBundle.swift:71-82 | Sources/CodexBarWidget/CodexBarWidgetBundle.swift:92-104 | Sources/CodexBarWidget/CodexBarWidgetBundle.swift:110-122 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/CodexBarAccountUsageWidget.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6260dd010efde9c33bc98e4b3aa341920413e302e5805f35e6484cadd2d923"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): Sources/CodexBarCLI/CLIHelp.swift:37-74 | Sources/CodexBarCLI/CLIHelp.swift:76-124 \u2014 These two members are one piece of code written twice and then edited apart: 38 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/CodexBarCLI/CLIHelp.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea91a04b1487f6b670748b51b026d4bf5d4141632b7309a4788c25f1d71565e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/BrowserDetection.swift:221-236 | Sources/CodexBarCore/BrowserDetection.swift:238-248 \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/CodexBarCore/BrowserDetection.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e477d260c380744be1893a537d899bb572f9229b653b41f7dccf4b50d1f9278"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:712-718 | Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:720-726 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10f236e50525604eb2a097c1eea3362697309a41e7610434de0712a205d449f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/KeychainAccessGate.swift:37-49 | Sources/CodexBarCore/KeychainAccessGate.swift:58-67 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/KeychainAccessGate.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cdccdfc0d848a5e49bb3be742b8d64634c8f6945fae9398a9032fb0e4bae5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Cursor/CursorAppAuth.swift:216-226 | Sources/CodexBarCore/Providers/Cursor/CursorAppAuth.swift:229-246 \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/CodexBarCore/Providers/Cursor/CursorAppAuth.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72b67c233962adb2f0cbea1a6a3c8a9b3eff50e4bf7d9bc13b0b0abb30708a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:128-131 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxCookieImporter.swift:112-115 \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/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1bdb70eded34a151d53523ac407486dc854f0b4521d5ab0a230776c52cc972"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBar/Menu/MenuCardCompactAccountRow.swift:145-152 | Sources/CodexBar/Menu/MenuCardCompactAccountRow.swift:154-161 \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/CodexBar/Menu/MenuCardCompactAccountRow.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"727f26a366ff898ad90e05d49a603d2405bd5e608f60b2890b7e5382403fa99c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:1464-1480 | Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:1510-1519 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ab68e939c0090785e4f19d2af739541d64f6551654092badead4ae81db3c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBar/Providers/Helmcode/HelmcodeProviderImplementation.swift:7-15 | Sources/CodexBar/Providers/Kimi/KimiProviderImplementation.swift:23-32 \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/CodexBar/Providers/Helmcode/HelmcodeProviderImplementation.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2f8701e7b0c71690ed49ebe71194c0d440d3f2dc5ae64e0f1a6d554d5103a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/CodexBar/Settings/PreferencesDebugPane.swift:438-445 | Sources/CodexBar/Settings/PreferencesMenuPane.swift:244-251 | Sources/CodexBarCore/Config/CodexBarConfigValidation.swift:262-271 \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/CodexBar/Settings/PreferencesDebugPane.swift"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"e000121f0defde57bbc8dd55f5baf368856bc7cebca5d82022991fcc8128e377"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift:57-70 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:1656-1665 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fd1310427796c4b2b4fb27f36947dca795c92eb6af2f0e51937d56848485f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Sources/CodexBarCore/AgentSession.swift:639-653 | Sources/CodexBarCore/ProviderIdentitySnapshot.swift:16-30 | Sources/CodexBarCore/Providers/Codex/CodexDashboardAuthority.swift:72-88 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/AgentSession.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1a7e8a99ba69dfad9db47aa68b196f3ed7a812c8c12a86021cab976b4c9529"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/CookieHeaderCache.swift:619-628 | Sources/CodexBarCore/CookieHeaderCache.swift:665-674 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad639288656cd131671ff9958605dbb3a8e4a440dbc629ecf1a3f005143ffa6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/ProviderTokenResolver.swift:19-29 | Sources/CodexBarCore/Providers/ProviderTokenResolver.swift:31-42 \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/CodexBarCore/Providers/ProviderTokenResolver.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab211cc1be9f560359baea5e5fa8ccf999a1eea663c457f1a0ecabc5d6663984"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarWidget/CodexBarWidgetViews.swift:745-751 | Sources/CodexBarWidget/CodexBarWidgetViews.swift:761-768 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/CodexBarWidgetViews.swift"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcac64e76f0e5fb139f29938ee8c9987ce1d8d65ba7a7063456a02927951b725"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): Sources/CodexBar/MouseLocationReader.swift:35-52 | Sources/CodexBar/Settings/SidebarResizeHandle.swift:84-99 | Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift:229-248 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/MouseLocationReader.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3c00b90b4eb3f2640fb4a64b144158f0ba668d148d49d6748ea6763fd14b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetConfirmation.swift:305-315 | Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetConfirmation.swift:317-325 \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/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetConfirmation.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e4e21b977f48fb9ae794ee432677243257e175e4f5c5403e151105ffe65612"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:1134-1145 | Sources/CodexBar/StatusItem/StatusItemController\u002BProviderNavigation.swift:89-97 \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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf8e9fc35c47dfc916e7e45cff53be55e05421cda28bfe96839480a8f364c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift:42-53 | Sources/CodexBarCore/Providers/Grok/GrokCredentialRouting.swift:52-60 \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/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f45463b25f3e36178822a9ae21e4f2d0e41ef7e54590df2c715d4533279d4a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 8\u002B corresponding lines): Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift:74-81 | Sources/CodexBarCore/Providers/Grok/GrokCookieImporter.swift:89-96 | Sources/CodexBarCore/Providers/Kimi/KimiCookieImporter.swift:116-126 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxCookieImporter.swift:96-105 | Sources/CodexBarCore/Providers/Mistral/MistralCookieImporter.swift:37-46 | Sources/CodexBarCore/Providers/Perplexity/PerplexityCookieImporter.swift:113-122 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d19c894a4afee28b95fc69d2f6fc16227c1aaf4cf265d4697dbb45cb1e774"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:1091-1104 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoZenBalanceParser.swift:153-169 \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/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"09962e66f78af0c5c5e685efadcafddfcb2e78a9f8f54627b18aa3400f5d0b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBar/Menu/MenuCardView.swift:1100-1110 | Sources/CodexBar/Menu/MenuDescriptor.swift:788-795 \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/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"753391294db3a2914d60e0a82d6fbcd85825d4b798b303d62c562b57ac58563a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBar/Menu/ProviderDetailSectionsContent.swift:10-20 | Sources/CodexBar/SpendDashboard/SpendDashboardProviderBreakdown.swift:105-115 \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/CodexBar/Menu/ProviderDetailSectionsContent.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a079ee7a25734399725a7dd1c7bf3a903dc176e76b22acde7b3fdab79be43b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Sources/CodexBar/Providers/Codex/ManagedCodexAccountService.swift:72-78 | Sources/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift:776-783 | Sources/CodexBarCLI/CLICacheCommand.swift:128-133 \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/CodexBar/Providers/Codex/ManagedCodexAccountService.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b6086380970a15e73720adc6b20919f67777a28b396e2c886019dcd09b8158"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift:244-250 | Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift:1038-1043 | Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift:1055-1061 \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/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e12956698f6e402c2cf8e4e309826d1045834258b757aabc702acb589747b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift:99-113 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift:99-113 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"998750f8deadbd1b7923a5520a485715afaded6d2f5914298877524b417e8248"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): Sources/CodexBarCore/Providers/MiMo/MiMoUsageSnapshot.swift:99-105 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleTokenPlanSnapshot.swift:112-119 | Sources/CodexBarCore/UsageFormatter.swift:236-243 | TestsPlugin/ManusReference.swift:126-133 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiMo/MiMoUsageSnapshot.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37493602e9497a0e69c08635adb7f1db165af0236e7bcda3bfc205bbc26df3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift:355-360 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoZenBalanceParser.swift:61-68 \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/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"788b95c42852d5935ccf0979bf628bf2ad77f5dde3c918d8b8bc83b6e50d8456"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): Sources/CodexBar/HistoricalUsagePace.swift:704-710 | Sources/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift:248-254 | Sources/CodexBar/Sync/CloudSyncPersistence.swift:153-160 | Sources/CodexBarCore/TokenAccounts.swift:223-229 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/HistoricalUsagePace.swift"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e46e13dd5b5770928bf7e784a961bdd06e62ecace2a3c4e80e89105325e47b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBar/PlanUtilizationHistoryStore.swift:321-327 | Sources/CodexBarCore/OpenAIDashboardModels.swift:418-428 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/PlanUtilizationHistoryStore.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe07899dfc1bd39a2a2e2e0c936c2225b965ee603a487559d946c90e4e41525"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBar/Providers/Claude/UsageStore\u002BClaudeActiveAccountIdentity.swift:48-58 | Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift:1256-1265 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Claude/UsageStore\u002BClaudeActiveAccountIdentity.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ce662632298f7af67fb2dc928d5d7057dc9d56f3bd0ad07a7dd7009b103ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift:854-861 | Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift:71-78 \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/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cb720c3f3f0fdbf8aa21237cb5edf2c1813bb6ad36f60171c14198cb6c3830"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:387-397 | Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATUsageFetcher.swift:22-32 \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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c51a8cd2076b6cc59fa3aed704d6e65045307d9bb947d553acd5ff7dfc517ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift:101-114 | Sources/CodexBarCore/Providers/Kilo/KiloProviderDescriptor.swift:100-111 | Sources/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift:152-163 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"968e52adf306bf348b3bedbe556261e4a6cae52f5590ac8d46ec9dbdba3cd64c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/Providers/Groq/GroqConsoleSession.swift:106-115 | Sources/CodexBarCore/Providers/Groq/GroqConsoleSession.swift:117-126 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Groq/GroqConsoleSession.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2919e8a178aa1f8ed1b41a6b4a1d75e9e338619e0ad08e02795fe72bf8ea7c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Providers/SiliconFlow/SiliconFlowSettingsReader.swift:36-43 | Sources/CodexBarCore/Providers/Zai/ZaiSettingsReader.swift:96-103 \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/CodexBarCore/Providers/SiliconFlow/SiliconFlowSettingsReader.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"842709f3626d2c0e3f39f69391f925b9ee213aff90d63d04272847bba0aaafc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBar/Providers/OpenCode/OpenCodeSettingsStore.swift:28-39 | Sources/CodexBar/Providers/OpenCodeGo/OpenCodeGoSettingsStore.swift:26-36 \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/CodexBar/Providers/OpenCode/OpenCodeSettingsStore.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"74138be53e20db7587dc34056875c98edb8a8f6c1a7c698fcf38c1ffcd101d79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/PiFamilySessionRootResolver.swift:238-248 | Sources/CodexBarCore/PiFamilySessionRootResolver.swift:250-258 \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/CodexBarCore/PiFamilySessionRootResolver.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46f64791e9793ab6d8c09bdb65548b31021ecaa541f8d4eaafcc665346a5c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:1458-1467 | Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe\u002BDeadline.swift:124-129 \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/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"f319714cffde1ba0e0f2b68c43fafaee69e34570921c7afc525bfb408f7c78a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:941-950 | Sources/CodexBarCore/Providers/Wayfinder/WayfinderUsageFetcher.swift:406-415 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5d0e6dba782f276da8a1c290f518653de54d194727204884f07f7100555516"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBar/Providers/Ollama/OllamaUIErrorMapper.swift:32-36 | Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift:613-619 \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/CodexBar/Providers/Ollama/OllamaUIErrorMapper.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"90654e3de64999acc7155c0089d275b4bb69cf699a649d8ac146612bd110ada0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift:596-613 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenuBarLayout.swift:223-234 \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/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6ad935ee9c02ea9de111c7fc8f642946eb8fe90b3521afaa36ebe2821fabe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCLI/CLIServeCommand.swift:1115-1125 | Sources/CodexBarCLI/DashboardAccountCollector.swift:64-71 \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/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac11da8cd2804ef27c9ce57aa24ce1900ded5bc1fb57754ef3f6aa0036cb4758"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Sources/CodexBarCore/CostUsageFetcher.swift:101-112 | Sources/CodexBarCore/CostUsageFetcher.swift:114-125 | Sources/CodexBarCore/CostUsageFetcher.swift:168-180 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2373399c820d77f73b8a7718146aa0c4c7cf2c0a171cab34ed08dd53a4c4a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/Plugins/ProviderPluginCookieJar.swift:205-213 | Sources/CodexBarCore/ProviderHTTPClient.swift:219-227 \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/CodexBarCore/Plugins/ProviderPluginCookieJar.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd60cfc4d5115ab08e06e9a0d9e2c4244434a150dcb849246860f8a17a91c0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Sources/CodexBarCore/ProviderThroughputSnapshot.swift:21-35 | Sources/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift:21-37 | Sources/CodexBarCore/Providers/OpenAI/OpenAILiveUsage.swift:21-37 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderThroughputSnapshot.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d376a911b2e05b7e9c4490f6b5c67a6d9c2245e967589c06e3640bd9857497"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:139-143 | Sources/CodexBarCore/Providers/Kilo/KiloProviderDescriptor.swift:124-132 | Sources/CodexBarCore/Providers/Kilo/KiloProviderDescriptor.swift:150-156 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"369ffb2fa06238c20673dd9341618effd863221fa02e35aa2ef6123a89df4860"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): Sources/CodexBar/Menu/InlineUsageDashboardContent.swift:647-654 | Sources/CodexBarCLI/DashboardSnapshotBuilder.swift:619-622 | Sources/CodexBarCore/CostUsageModels.swift:1583-1586 | Sources/CodexBarCore/OpenAIDashboardModels.swift:339-345 | docs/images/token-activity-readability/runtime/ActivityDashboardRuntimeProof.swift:184-187 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/InlineUsageDashboardContent.swift"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65df8d5554268dac73f37d2dc8a64b0a4897ef26a0c506104d5975b3c774b6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:486-496 | Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift:490-500 \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/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eee341a0be45f332efa8f5571e41197e23b2d2e638fae75fc2481d0f6f809a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BIconPerf.swift:10-22 | Sources/CodexBar/StatusItem/StatusItemController.swift:617-629 \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/CodexBar/StatusItem/StatusItemController\u002BIconPerf.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5985d81011382a9855b422686198f38ee65d956595181bcf30568bcbb8ca104"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:733-742 | Sources/CodexBarCore/Providers/ProviderInstanceID.swift:23-32 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c8627e1dae85e65a9413b43e90dc2c5e8980639256e0a9b36c8d9dba6415ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBarCore/Providers/Cursor/CursorSandUsage.swift:61-65 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift:920-924 \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/CodexBarCore/Providers/Cursor/CursorSandUsage.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"157ff3e9360285a8b0b78a4b25459f7c8dc7157374448c4c57d74a5a927a9973"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:977-986 | Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:988-997 | Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:1010-1019 | Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:1021-1030 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cff3d267e45cf5988a1606df8743a5b4eab457d56a94eb73c53f7c3fc56182"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:252-261 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:355-361 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f36be7c79c16ab48f8b4bc50234c80f0faaee309c63b826ee3f90b57a600410"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/AdaptiveRefreshCore/AdaptiveRefreshPolicyCore.swift:14-26 | Sources/AdaptiveReplayKit/ReplayPolicy.swift:32-44 \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/AdaptiveRefreshCore/AdaptiveRefreshPolicyCore.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00f966fabe3a937b18810b5670e5ec909f9985b218087808765012e302bf4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCLI/CLIDashboardCommand.swift:351-359 | Sources/CodexBarCore/CredentialFileWriter.swift:92-100 \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/CodexBarCLI/CLIDashboardCommand.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34fd76739e8f92f2ce563898a043a3d156a0246ff9cce883216a5274d99e667"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:718-722 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1006-1008 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"5706173d3902859a4a25dcf92ffcf7039771c1d52959dfab17447fc5c6975e9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanCLIUsageFetcher.swift:148-154 | Sources/CodexBarCore/Providers/Kimi/KimiDesktopSessionDiscovery.swift:87-91 \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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanCLIUsageFetcher.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf33d2c457985e7ee10b022db29a8f7db2354a74f5b27eda4a9c1a07e21f9a98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift:699-706 | Sources/CodexBarCore/Providers/Devin/DevinSessionImporter.swift:19-26 \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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"222755c17271e2b93032083ba48998f7d215a6eacab61377fdf15e142c9d1e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthPendingCacheClearStore.swift:40-53 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthPendingCacheClearStore.swift:55-65 \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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthPendingCacheClearStore.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"009838fb53c87cdbfde1ad6858a107eaf67b99726b30f2bdcd7feb2f98cd7678"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Providers/JetBrains/JetBrainsProviderDescriptor.swift:61-68 | Sources/CodexBarCore/Providers/Windsurf/WindsurfProviderDescriptor.swift:114-121 \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/CodexBarCore/Providers/JetBrains/JetBrainsProviderDescriptor.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6202084198f0b6d2106bf8402c05687285751b8be45b5d3bad01444ef0417751"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:275-282 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:719-726 \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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5f15101f0736728c8f8562eb17cd3e56bf6ab1d9c0a071b5aa5d0052e7cda7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift:48-55 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenuTextRows.swift:39-43 \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/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f634e216627a56a12c34d2d9f1cd3dc915ac114c3c50c1d51275f1a8defccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/CodexBarCLI/CLICardsBriefRenderer.swift:576-582 | Sources/CodexBarCLI/CLICostCommand.swift:566-572 | Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageFetcher.swift:284-290 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICardsBriefRenderer.swift"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb450a15e739de7e7269eb63229b939d195384c6bbb197929537845f86a191f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeConfigPaths.swift:9-17 | Sources/CodexBarCore/Providers/Claude/ClaudeConfigPaths.swift:103-111 \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/CodexBarCore/Providers/Claude/ClaudeConfigPaths.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5977d5d51b6c0f2cf3494f0fc97e0ab417c198b95efd51e2e95334438537e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:3284-3289 | Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAITokenRefresher.swift:107-110 \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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":3284}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11b6c1a4f4bab7f457f7bfed47d1ffbf7d655907297d76e1063ebe4dd966ac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/CodexThreadCatalogReader.swift:234-239 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleChromiumCookieFallbackImporter.swift:195-202 \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/CodexBarCore/CodexThreadCatalogReader.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"891904e0db093d0da5e28ecae4ae40e373882b137d40221f6e3fd0aaa6291356"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift:106-111 | Sources/CodexBarCore/Providers/CodeRabbit/CodeRabbitProviderDescriptor.swift:68-73 \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/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb708d00f913b4b4394644182cb61dd1bcfdabca4d1ef4347fabd68ab38da4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:109-116 | Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift:83-93 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:188-195 \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/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2383c4f8d921aa4f261e7c30eea4aa6f9c6bd85f681d50d3c0b3965fe6a8cc85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 7\u002B corresponding lines): Sources/CodexBarCore/Providers/AzureOpenAI/AzureOpenAISettingsReader.swift:37-44 | Sources/CodexBarCore/Providers/Chutes/ChutesSettingsReader.swift:22-28 | Sources/CodexBarCore/Providers/Codebuff/CodebuffSettingsReader.swift:22-28 | Sources/CodexBarCore/Providers/ElevenLabs/ElevenLabsSettingsReader.swift:26-32 | Sources/CodexBarCore/Providers/Groq/GroqSettingsReader.swift:22-28 | Sources/CodexBarCore/Providers/MiMo/MiMoUsageFetcher.swift:60-66 | Sources/CodexBarCore/Providers/NeuralWatt/NeuralWattSettingsReader.swift:25-31 | Sources/CodexBarCore/Providers/OpenRouter/OpenRouterSettingsReader.swift:35-41 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/AzureOpenAI/AzureOpenAISettingsReader.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"319002da69a1a8e045d51cbdab7202d05f90e06f0d4ac82256918b32f6801194"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:581-590 | Sources/CodexBarCore/Providers/Factory/FactoryManualCredentials.swift:24-30 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb99d452232a8e21eaab139a8dd4db953bac91c9823da6e46f26326f3b3f8b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Providers/SiliconFlow/SiliconFlowSettingsReader.swift:13-20 | Sources/CodexBarCore/Providers/Wayfinder/WayfinderSettingsReader.swift:19-28 \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/CodexBarCore/Providers/SiliconFlow/SiliconFlowSettingsReader.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdf245e95c7f31924eed343e8195b036324bd6936a39cc48abfb815a94c71cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe\u002BLocalEndpoints.swift:2-12 | Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:1374-1387 \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/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe\u002BLocalEndpoints.swift"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"de489569caed0245d42e03e101211ad19213e55d0748ca48abce04a53654d5b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/HuggingFace/HuggingFaceSettingsReader.swift:56-62 | Sources/CodexBarCore/PathEnvironment.swift:1108-1116 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/HuggingFace/HuggingFaceSettingsReader.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd765357e92c882736819f5904598b13edf3f4208e228cdd67c2b41777b0cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift:1150-1155 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:540-545 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:578-583 \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/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8a1be6b78e242cd90afdffbc9432487063498f6f5b9aae372fe4d5d6350569"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Providers/Codebuff/CodebuffSettingsReader.swift:48-53 | Sources/CodexBarCore/Providers/Kilo/KiloSettingsReader.swift:32-37 \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/CodexBarCore/Providers/Codebuff/CodebuffSettingsReader.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a979d58338c98c6726c0dcf9774499e6d88b6124d6b6bcf24f8b23135e211b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:559-563 | Sources/CodexBar/Menu/InlineUsageDashboardContent.swift:656-660 | Sources/CodexBarCLI/CLICostCommand.swift:549-553 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf75f1be68d784a716b8a1612889c01cda0a471716152adb3e23f74423ec297"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:559-563 | Sources/CodexBar/Menu/InlineUsageDashboardContent.swift:656-660 \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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"a430b5e88517b1e9d6e0ac124752ca618ac5723deab0c79d3eec9409eb5609b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBar/Providers/Claude/UsageStore\u002BClaudeActiveAccountIdentity.swift:36-46 | Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift:1275-1282 \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/CodexBar/Providers/Claude/UsageStore\u002BClaudeActiveAccountIdentity.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9bf6d0702e945389e3d57c210b3d1d12499bffd1c69a8eb9ad66dbf462599b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Sources/CodexBar/Providers/Codex/CodexHistoryOwnership.swift:142-145 | Sources/CodexBar/Providers/Codex/CodexOwnershipContext.swift:213-216 | Sources/CodexBarCLI/DashboardUsageAccount.swift:29-32 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexHistoryOwnership.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb27ed49cb7d022eaea989d3a047af7465cacb5f38367154cd78dec21f35f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBar/Settings/PreferencesProvidersPane.swift:613-619 | Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift:914-920 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProvidersPane.swift"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"8063717bf2ea32747b70ce11c9e221cdf68fdc36e7b53b42e8876b9c7270cc0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCLI/CLICardsBriefRenderer.swift:207-213 | Sources/CodexBarCLI/CLICardsRenderer.swift:588-594 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICardsBriefRenderer.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a020919c43428be684f2c205384399e08ead0e6c9b368a8a7c8d9f59ee8af31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:895-897 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1016-1018 \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/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c19831e0028c9e5ca78ea3d69f85bbfbafa0a27e790e3de1fe115fa389500d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift:125-128 | Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift:422-425 \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/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afdc0854f714420b2819dffee4e84d10100bec991e66281f7f5f4d800ad63d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeCLIUsageSpawnThrottle.swift:69-83 | Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift:1387-1392 \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/CodexBarCore/Providers/Claude/ClaudeCLIUsageSpawnThrottle.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac703dbfd3daadfcd67caa40050bd86e1863b6519aa77058184a622eaeeff20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Providers/Devin/DevinUsageSnapshot.swift:304-311 | Sources/CodexBarCore/Providers/Shared/OpenCodeWebParsing.swift:102-109 \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/CodexBarCore/Providers/Devin/DevinUsageSnapshot.swift"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"4288bb706ea5b494f93616a38faf52c5ced4db153052495403a8a85e46b238e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BOverviewSpend.swift:82-91 | Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1450-1458 \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/CodexBar/StatusItem/StatusItemController\u002BOverviewSpend.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"846f73b655fdb341b7be244aea1aa879e9c739127e8d4dd9347898747f114cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/ProviderEndpointOverrideValidator.swift:224-226 | Sources/CodexBarCore/Providers/Mistral/MistralSubscriptionBudgetParser.swift:201-203 \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/CodexBarCore/ProviderEndpointOverrideValidator.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f63e01194b148265215305e04808ef3a65db531f415e8adbe12b7a62efdf2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:1289-1298 | Sources/CodexBarCore/Providers/CodeRabbit/CodeRabbitUsageParser.swift:29-39 | Sources/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift:633-643 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8530600f7fef0f34f2dc0384cb9de22cc65e7200ccfd15c8748da881a34955"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDirectKeychainReadConsent.swift:52-60 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainPromptMode.swift:176-184 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainReadStrategy.swift:36-43 \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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDirectKeychainReadConsent.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3079ee0ed87d02040c1e039bbbd2c8d99aecf518f2503f92e527f8ea53d09ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:689-692 | Sources/CodexBar/Menu/InlineUsageDashboardContent.swift:121-124 \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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f4c24a3ea313c49c6c88642ac14996b7566ba3ef7f92ac9a48569dd751cb1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Sources/CodexBar/Providers/Codex/OpenAICreditsPurchaseWindowController.swift:482-485 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardWebsiteDataStore.swift:162-165 | Sources/CodexBarCore/Providers/Codex/CodexIdentity.swift:22-27 | Sources/CodexBarCore/Providers/Cursor/CursorAppAuth.swift:100-105 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/OpenAICreditsPurchaseWindowController.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b2530ddb858916f155c6f85f4aac32c1c14cf19b696d43ec2616ec76dd5855"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.swift:549-555 | Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift:1452-1455 \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/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.swift"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bbbd12d4abda0d27c79733f29dd63c7dbb664e4a7bb86ff93b1edf02e9db26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1042-1049 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardWebViewCache.swift:189-196 \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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee573f9c577a62e5dd40e5f3ba8ac9004e8842eefaf27732bebb8af10262ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:744-746 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1038-1040 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c21bdd227fd103f7d197ed9067f62a266bb934a155cc48e2acea6d147b8e91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:748-750 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1046-1048 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"b679e83fdc6f4804d4669d16203509c03ec6a6bea977aa2e937e0a885923620d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:752-754 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1050-1052 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60c21a15b60ecbcb8654a9fb561f2b2aadee1c53fd11805e4736676e0c942d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift:80-86 | Sources/CodexBarCore/Providers/Gemini/GeminiProviderDescriptor.swift:115-121 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a4d7199f1c25e2fa917c01427dc94d3976bb278c2023181b60c9cba8a30718"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): Sources/CodexBarCore/Providers/Chutes/ChutesSettingsReader.swift:30-33 | Sources/CodexBarCore/Providers/Codebuff/CodebuffSettingsReader.swift:55-58 | Sources/CodexBarCore/Providers/ElevenLabs/ElevenLabsSettingsReader.swift:34-37 | Sources/CodexBarCore/Providers/Groq/GroqSettingsReader.swift:30-33 | Sources/CodexBarCore/Providers/NeuralWatt/NeuralWattSettingsReader.swift:33-36 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Chutes/ChutesSettingsReader.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93a53f3e702c63fe9f09097dd77396506bf11af711e4c21ecb8ca985eb13488"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeCLIRateLimitGate.swift:9-15 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthUsageRateLimitGate.swift:9-16 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLIRateLimitGate.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72dc962467c6614274023b4253a3e98763cb53b973ce92b645b2258e5c66823"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift:74-85 | Sources/CodexBarCore/Providers/IBMBob/IBMBobUsageFetcher.swift:185-191 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f293e2dcea3610cf18bded563e16a3063db1027693a32b5fa88d4c14d482f3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Sources/CodexBarCore/Providers/Copilot/CopilotAccountIdentity.swift:57-60 | Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift:608-611 | Sources/CodexBarCore/Providers/Copilot/CopilotProviderDescriptor.swift:229-232 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotAccountIdentity.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc25fde661d06a87672a4a84a79fa2f21ef36bad64aebd179d07a593146547a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:607-612 | TestsPlugin/T3ChatReference.swift:115-122 \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/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33521a595449d75ce5e1a33492007ec59bce7823e88490a565f58e723df73b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBar/Menu/MenuCardView\u002BProviderDetailLocalization.swift:162-166 | Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountProjection.swift:396-400 \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/CodexBar/Menu/MenuCardView\u002BProviderDetailLocalization.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31f88c2627cbcb067a1b9ed7ca0398f1e6a9c47e9b2d6e0e23dbbbe7981282e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift:218-225 | Sources/CodexBar/Providers/StepFun/StepFunSettingsStore.swift:22-27 \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/CodexBar/Providers/Codex/CodexSettingsStore.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6656dbd7e83919419d0d84e02ce6151ebe911d0590cddbd4cd087427930bd351"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Sources/CodexBar/Providers/Cursor/CursorLoginRunner.swift:12-21 | Sources/CodexBarCore/CodexManagedAccounts.swift:113-120 | Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift:834-839 \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/CodexBar/Providers/Cursor/CursorLoginRunner.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"295275c62c5709b8ca58fc489df4da529dd7fb3bb5b96f9ba9d912112f41858d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/CodexBar/Providers/DeepInfra/DeepInfraProviderImplementation.swift:12-18 | Sources/CodexBar/Providers/IBMBob/IBMBobProviderImplementation.swift:12-18 | Sources/CodexBar/Providers/Venice/VeniceProviderImplementation.swift:22-33 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/DeepInfra/DeepInfraProviderImplementation.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8f971854929e2496e2b5bc45c9efc7f9ffe1cc379a198463295e229b090fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBar/StatusItem/StatusItemController\u002BMenuTracking.swift:540-544 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenuViewportRestore.swift:623-627 \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/CodexBar/StatusItem/StatusItemController\u002BMenuTracking.swift"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"378878a2d7c8fc9a0706fde46ccee84f9467820083b3e9470cce6c6076ec8c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBar/TerminalApp.swift:140-144 | Sources/CodexBarCore/Providers/Codex/CodexStatusProbeIsolation.swift:41-45 \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/CodexBar/TerminalApp.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63834bacabf5cb6aa80e8388b6597d1c699d3ead0dc57ea255644df77f8a3d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift:326-331 | Sources/CodexBarCore/PiSessionCostCache.swift:9-12 | Sources/CodexBarCore/Providers/Muse/MuseLocalUsageCache.swift:131-134 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"782e46cd1396b52be8edff9d8446a3e9cc84cab1a04366bff50a5a86d97a0868"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 4\u002B corresponding lines): Sources/CodexBarCore/Providers/Abacus/AbacusCookieImporter.swift:109-112 | Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift:95-98 | Sources/CodexBarCore/Providers/Grok/GrokCookieImporter.swift:114-117 | Sources/CodexBarCore/Providers/Groq/GroqConsoleSession.swift:169-172 | Sources/CodexBarCore/Providers/Kimi/KimiCookieImporter.swift:140-143 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxCookieImporter.swift:117-120 | Sources/CodexBarCore/Providers/Perplexity/PerplexityCookieImporter.swift:136-139 | Sources/CodexBarCore/Providers/Venice/VeniceCookieImporter.swift:68-71 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Abacus/AbacusCookieImporter.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e659790ff29a91887a47248e1b394ce05b47be245aabb6fbf8665b029ea8e98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeCLIAuthStatusProbe.swift:17-24 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BTestingOverrides.swift:320-327 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift:690-697 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainAccessGate.swift:119-126 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLIAuthStatusProbe.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0a22c216ea0d8a1885612763987cde6f7833286b63d5ede4ba32908d42b351"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift:21-27 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BTestingOverrides.swift:413-420 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ca920fde0f8a9d14973eba9b05553d100204309038527cba3985ecaebccb2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BTestingOverrides.swift:453-460 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:2532-2539 | Sources/CodexBarCore/Providers/Claude/ClaudeSourcePlanner.swift:127-134 \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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BTestingOverrides.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"0036c4003fcf8e0531d45a37a91d465a7cc06eeb14107b1c581e92da2c204b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:124-126 | Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:275-281 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxCookieImporter.swift:107-110 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"808b97f2930c611d3f380b2a22a0ffe0ebbaa1b0c79c570b632346c6c2028208"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift:1288-1298 | Sources/CodexBar/StatusItem/StatusItemController\u002BIconObservation.swift:400-406 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec45fcf9567fe9bd274677bc53ca654bc043aaa54dea622647977aceee7e152b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBar/UsagePaceText.swift:151-157 | Sources/CodexBarCLI/CLIRenderer.swift:1027-1033 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsagePaceText.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7174ec02a7d7870b085bfa9346c12be19be87cef147db1d6947bce1c0f79bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Sources/CodexBarCore/KeychainStringStore.swift:156-159 | Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift:94-101 | Sources/CodexBarCore/Providers/MiMo/MiMoUsageFetcher.swift:68-71 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxAuthMode.swift:40-47 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/KeychainStringStore.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"20639df797787d84e5ef512879fc6458403e6f0855234dc7722d3de353435e34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Providers/Codebuff/CodebuffUsageFetcher.swift:166-173 | Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:421-432 \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/CodexBarCore/Providers/Codebuff/CodebuffUsageFetcher.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37a02e6a2fc35820aecfe363888a5e0dfd3aa1ddf1ab5c42c9fd0644fa4b0c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:689-692 | Sources/CodexBar/Menu/InlineUsageDashboardContent.swift:121-124 | Sources/CodexBarWidget/BurnDownWidgetViews.swift:599-602 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"244230672f687ad7cf3b9087e4fb3bcf2b753c803d391f44dae93fc1d1491c84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBar/Providers/Codex/CodexWorkspacesNavigation.swift:82-89 | Sources/CodexBar/Providers/OpenAI/OpenAILiveUsageNavigation.swift:68-74 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexWorkspacesNavigation.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f726ae68dd105a5ae3e5053a5ca64cd3e143e1ded7ef5b2fe28bc39878a08af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 5\u002B corresponding lines): Sources/CodexBar/Settings/SettingsStore\u002BConfigPersistence.swift:221-225 | Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:154-158 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleJSON.swift:194-198 | Sources/CodexBarCore/Providers/Venice/VeniceWebUsageFetcher.swift:214-218 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStore\u002BConfigPersistence.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0241eb11916e7f155749b70599740df260ee247464d7a23ce6b5d256747108d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:724-726 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1010-1012 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4c8d5bda94889f0eef211650d32c26899a0d7399d0e33b206d3733bb752d8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDirectKeychainReadConsent.swift:43-50 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainPromptMode.swift:167-174 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainReadStrategy.swift:27-34 \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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDirectKeychainReadConsent.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfec490073a697ed01aac54b908ffda3abb4966ce3daa26dba07c514d0a75b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBarCore/Providers/Devin/DevinSessionImporter.swift:402-405 | Sources/CodexBarCore/Providers/Devin/DevinUsageFetcher.swift:313-320 \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/CodexBarCore/Providers/Devin/DevinSessionImporter.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"6334b146608fdd8a224bbecb4e589a4cf576d0d22c172cd0414fe588d6c5e162"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBarCore/Providers/Devin/DevinUsageSnapshot.swift:298-302 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxSubscriptionMetadata.swift:220-224 \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/CodexBarCore/Providers/Devin/DevinUsageSnapshot.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b052f1483bb313f89946a1d6ff145269dbb308cab63b6d71ec5d6d73fab84da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Sources/CodexBar/Providers/Codex/CodexConsumerProjection.swift:599-603 | Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift:251-254 | Sources/CodexBarCore/RateWindow\u002BBindingCap.swift:44-47 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexConsumerProjection.swift"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5df010321df21329cc50eb7cba93ae492a5cfd0f3960df63bd98a992ac5e98e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Sources/CodexBarCore/CodexLocalDataScope.swift:60-63 | Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthCredentials.swift:455-458 | Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATUsageFetcher.swift:138-141 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalDataScope.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd725bf61b706b0e7c5ac263683f16822cb6694fdc9f0065e57d18101ff27dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:732-734 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1030-1032 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb14c0f932ed99f4c94adeebfca28d67acee1a9684992d42fe434a590308da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:736-738 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1014-1016 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ea4b82f4d1fbab261f326185f8f1901b2d595ed4fdee04ee6e8737c6add318"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift:33-36 | Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageSnapshot.swift:34-37 \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/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71cca79087d328cfc1dee11ad3a2e4edb84a386c76ad9ac753a79123daa27a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountSwitch.swift:109-116 | Sources/CodexBarCore/Providers/Muse/MuseLocalUsageReader.swift:564-567 \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/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountSwitch.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d17337b596c524c00cb9db126a663a7e9394d2ed8ad5bf8f96cfcb4204e9a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Sources/CodexBarCore/Providers/IBMBob/IBMBobUsageFetcher.swift:97-99 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageSnapshot.swift:217-219 | Sources/CodexBarCore/Providers/Wayfinder/WayfinderUsageFetcher.swift:165-169 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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/CodexBarCore/Providers/IBMBob/IBMBobUsageFetcher.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d567b69ae47ca8826cf2fbbf474cf80ca5e1480d6183b4837a463313eaabe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBar/Menu/MenuCardView.swift:1153-1156 | Sources/CodexBar/Menu/MenuDescriptor.swift:533-536 \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/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"97057ab9d80e9469483dfaba71cf2da641dea25718a83461e883104b8176271b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBar/ProviderRegistry.swift:202-208 | Sources/CodexBarCLI/TokenAccountCLI.swift:261-265 \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/CodexBar/ProviderRegistry.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cfc23b15aa123726e1107d89b9f8bc24dd9780178e0c3a13098cdb9ba3f6ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBarCore/CookieHeaderCache.swift:823-830 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:2506-2510 \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/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe66cdc88fdd48173abf8c6a5c719899f0f677c61620518e866da9bffbdcb53f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/KeychainAccessGate.swift:121-128 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BTestingOverrides.swift:311-318 \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/CodexBarCore/KeychainAccessGate.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cbb65c94895cd358b69794fff86ae0194ca8b9ed2ce8da2c54e1c018c56377"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/CodexBarCore/KeychainCacheStore.swift:344-351 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BTestingOverrides.swift:444-451 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:2523-2530 \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/CodexBarCore/KeychainCacheStore.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"89976afaa8f2cc1daa9b4bb8cb859ea629f155d4f2ce197288481cc61b7d12ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift:249-251 | Sources/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift:162-164 \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/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44194cbde1e613e7dd33b8a92fc04526d605645cd1ca83ee3b670ac9980c459"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthCredentials.swift:460-463 | Sources/CodexBarCore/Providers/Grok/GrokAuth.swift:220-223 \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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthCredentials.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f8ae62fd9ccb78e50d2f6ecdc01f659807b0f5ea73d7f2ea26f1ca337392af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Providers/Devin/DevinUsageFetcher.swift:19-29 | Sources/CodexBarCore/Providers/Kimi/KimiModels.swift:157-162 \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/CodexBarCore/Providers/Devin/DevinUsageFetcher.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b8bdd479d30cec998dd87683a3450a8e819416244938fdae0f01d732d7ac67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Replicate/ReplicateCookieImporter.swift:50-56 | Sources/CodexBarCore/Providers/TypeSafe/TypeSafeCookieImporter.swift:34-40 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Replicate/ReplicateCookieImporter.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d6b6facad161fec836961a67ee0d222388c15405912b7aab2948ee14238a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift:86-92 | Sources/CodexBarCore/Providers/Grok/GrokCredentialRouting.swift:81-88 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcceb053e30bd642cf38f9ea47fb7ebf71754025c5de5f746a860b5c70844ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:242-247 | Sources/CodexBarCore/Providers/Providers.swift:9-17 \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/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e963aaa164c72bf9b5a612f748a2a60af4904ecaeb3fc6402ee73d030bc839d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Sources/CodexBarCore/Providers/Doubao/DoubaoSettingsReader.swift:30-34 | Sources/CodexBarCore/Providers/Fireworks/FireworksSettingsReader.swift:12-16 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPISettingsReader.swift:12-14 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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/CodexBarCore/Providers/Doubao/DoubaoSettingsReader.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea488ac409f456063ec56b6a8c2a6b1c9c3e56e8cb32548486038325e49298bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:555-560 | Sources/CodexBarCore/SessionToolActivityParser.swift:103-106 \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/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57883d72cf1a3a2d7ef7cd5747c233f6504c47c5e4dc49eb34c31eeedc9e846"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): Sources/CodexBarCore/CodexManagedAccounts.swift:109-111 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BHashing.swift:10-14 | Sources/CodexBarCore/Providers/Doubao/DoubaoVolcengineSigner.swift:100-102 | Sources/CodexBarCore/Sync/CanonicalSyncJSON.swift:33-35 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexManagedAccounts.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e93ad56a7b73a4c64f62db597f41c30efdef7340dc6f0030dcd9fdbf59f63b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalReader.swift:141-144 | Sources/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.swift:654-658 | Sources/CodexBarCore/Providers/Muse/MuseLocalUsageReader.swift:586-589 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalReader.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0871edf0a5dd57da259b65b84ec15de122540079cc29e620cb652601f650f222"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountReader.swift:94-100 | Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAIOAuthCredentials.swift:268-274 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountReader.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ea97e9688982163c285ce5d4496a3cd11362d924b5c23498b8c38faa3a0d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BTestingOverrides.swift:364-370 | Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift:90-96 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BTestingOverrides.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"428ccb33adbec643699ba43b2db9e5c5b377fb73ff6a896567c752fbbe9e2352"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBarCore/Providers/Doubao/DoubaoSettingsReader.swift:36-40 | Sources/CodexBarCore/Providers/Fireworks/FireworksSettingsReader.swift:18-24 \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/CodexBarCore/Providers/Doubao/DoubaoSettingsReader.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb16d2b33aed6c6b9a154e89d1deaddb50c8990bb4080fa0773af7c19a2c8d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/BrowserCookieAccessGate.swift:276-279 | Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift:117-119 \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/CodexBarCore/BrowserCookieAccessGate.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1526df22b85d3088518d8463a0974aa3b65600a542126778cad5e4adaaa253d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift:1093-1098 | Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:1118-1125 \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/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f07ec0fe8bd6843f8f92c96a7e7908a2f35b52d108771ccf2d301b9a478f7b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/AzureOpenAI/AzureOpenAISettingsReader.swift:27-29 | Sources/CodexBarCore/Providers/OpenRouter/OpenRouterSettingsReader.swift:47-49 \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/CodexBarCore/Providers/AzureOpenAI/AzureOpenAISettingsReader.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5099bd1e19d65e0d8b5090c2ca0c460d4bbe9a483c79b84048f9496e3e7158e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/Deepgram/DeepgramSettingsReader.swift:15-19 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPISettingsReader.swift:20-22 \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/CodexBarCore/Providers/Deepgram/DeepgramSettingsReader.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09e4ca639a98e5dab4b2872411bc9c234de70b97739a2a762ba9b22d1d1211d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBar/PredictivePaceWarnings.swift:94-96 | Sources/CodexBar/UsagePaceText.swift:159-161 \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/CodexBar/PredictivePaceWarnings.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a43f7297fb31027b8c0e6b5ce36e172657051940d229f4a2aa7f3971cc44a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Sources/CodexBar/Providers/Antigravity/AntigravityProviderImplementation.swift:120-123 | Sources/CodexBar/Providers/Copilot/CopilotProviderImplementation.swift:28-33 | Sources/CodexBar/Providers/Devin/DevinProviderImplementation.swift:77-82 | Sources/CodexBar/Providers/Factory/FactoryProviderImplementation.swift:112-117 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Antigravity/AntigravityProviderImplementation.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"51efb1032832ac94f1a9085097d8ae3e5d0773e284f8645da12f34beb31863c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:473-478 | Sources/CodexBarCore/Providers/Codex/CodexCLIDashboardAuthorityContext.swift:51-56 \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/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0ed4b13d26c015a68a2e309799729e072a9e9d196210b5e89acd9bdd689192"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift:493-496 | Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:289-292 \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/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb74b47c5eae3e347c4c64ac247e24295e705f90bbbe7dca2ac0d452b617ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Sources/CodexBarCore/Providers/Amp/AmpSettingsReader.swift:6-8 | Sources/CodexBarCore/Providers/Codebuff/CodebuffSettingsReader.swift:10-12 | Sources/CodexBarCore/Providers/Kilo/KiloSettingsReader.swift:6-8 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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/CodexBarCore/Providers/Amp/AmpSettingsReader.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9c342956bc97dae24177100e65ab91c2ca7570852adcc802cfdd4bf836fb84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift:97-100 | Sources/CodexBarCore/Providers/Windsurf/WindsurfDevinSessionImporter.swift:276-279 \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/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9b7ede7fe327526eba1da87e4b31120668ba5cf0ad4f65a440a74459b74629"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/Doubao/DoubaoProviderDescriptor.swift:246-248 | Sources/CodexBarCore/Providers/Wayfinder/WayfinderUsageFetcher.swift:426-428 \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/CodexBarCore/Providers/Doubao/DoubaoProviderDescriptor.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1775bbb101d953d32cea634bc1d40c94dd5bf9edaeb9f9ce8e6cc21047c16ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift:452-455 | TestsPlugin/T3ChatReference.swift:108-113 \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/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"2725d06121bf7278c45790196d7cd4a8f9fd39bc23524d8d7082657f3e2ea06d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBar/Menu/PlanUtilizationHistoryChartMenuView.swift:285-294 | Sources/CodexBar/Providers/Codex/CodexConsumerProjection.swift:559-568 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/PlanUtilizationHistoryChartMenuView.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ecd54e5a2a4faf07f5374f8c6a5d7b8f16f756b19063f3b7faf187f16055c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBar/Menu/UsageProgressBar.swift:367-370 | Sources/CodexBarWidget/WidgetDesignSystem.swift:305-308 \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/CodexBar/Menu/UsageProgressBar.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f850f28b63364e11c63830c10770bf65827b3c67c4615997dc943822543d69b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Sources/CodexBarCLI/DashboardSnapshotBuilder.swift:326-329 | Sources/CodexBarCore/ProviderDetailSection.swift:314-317 | Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalReader.swift:89-92 | Sources/CodexBarCore/Providers/Muse/MuseLocalUsageReader.swift:581-584 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/DashboardSnapshotBuilder.swift"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84b70116251b1b70ff3b19bbc05d6ba3487819bf985965fb138a43dbdf1b8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/CodexBarCore/CookieHeaderCache.swift:386-390 | Sources/CodexBarCore/KeychainAccessPreflight.swift:187-193 \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/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"001ae0c8b36f232921fd2a8c1b5f2220763c84fa5368a3605619d3b8cdd7521a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageFetcher.swift:266-271 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:323-328 \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/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageFetcher.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"333f10cb0873a8086bc96440771be2f27beb184dd450e14736c883993d5dd9ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Sources/CodexBarCore/Providers/Helmcode/HelmcodeProviderSettings.swift:12-16 | Sources/CodexBarCore/Providers/Muse/MuseProviderSettings.swift:13-17 | Sources/CodexBarCore/Providers/Shared/ProviderCookieSettings.swift:32-36 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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/CodexBarCore/Providers/Helmcode/HelmcodeProviderSettings.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4354e7c7d549ea87ad5a76750c9301609a8cf0c050f834fe6d3068eafec00b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/QwenCloud/QwenCloudUsageFetcher.swift:243-248 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudUsageParser.swift:30-32 \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/CodexBarCore/Providers/QwenCloud/QwenCloudUsageFetcher.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f961ba089b586d79fb51008f896a9ce9d08c9f58a5ed52b9b83f069d0c4c86f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBar/HTTPServerConfiguration.swift:16-19 | Sources/CodexBarCLI/CLIServeAuth.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/CodexBar/HTTPServerConfiguration.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"351672e2a5d04740af0fb37e57d60f1ce8a216c312a8b030e233e42422989ba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:806-809 | Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:223-226 \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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffdf2ba46c1bdb4722b68178e704182a721e78e5cadc2bf9b1d9bde0f1a9251"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBar/ShareStatsPayload.swift:327-330 | Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1440-1443 \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/CodexBar/ShareStatsPayload.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4173184f982afa258900a0f2ea48eff583f692c89bc9f9861c9cd94020e1c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanCookieHeader.swift:57-59 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudCookieHeader.swift:51-53 \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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanCookieHeader.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced969486dfa49fcabe8854d364bc63d0f2df8a5ec1e8e5c65080152866b72b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:225-228 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:153-155 \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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"6184d14e0277f0ffc6890dd96c52565efa6d10965895ca08014062090e5bb87c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBarCore/Providers/Grok/GrokRPCClient.swift:100-103 | Sources/CodexBarCore/UsageFetcher.swift:1084-1087 \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/CodexBarCore/Providers/Grok/GrokRPCClient.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd45cc0162dbdaf6b72997b3a4504ab77674900abcaabc4b961aab714dec13d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBarCore/Providers/Mistral/MistralCookieImporter.swift:80-85 | Sources/CodexBarCore/Providers/Replicate/ReplicateCookieImporter.swift:45-48 \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/CodexBarCore/Providers/Mistral/MistralCookieImporter.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5bc55a7d19495fa4d13326646520fb25f3b02b4e4a225d64ba8d75f8eecfe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 4\u002B corresponding lines): Sources/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift:159-162 | Sources/CodexBarCore/Config/CodexBarConfigStore.swift:34-37 | Sources/CodexBarCore/ManagedCodexAccountStore.swift:45-48 | Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift:421-424 | Sources/CodexBarCore/Providers/Codex/CodexOpenAIWorkspaceIdentityCache.swift:26-29 | Sources/CodexBarCore/TokenAccounts.swift:189-192 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bf4514ac366f0d88bd630703a7cc98f4145f23ca2ee5e67fabf69a3b002b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:986-989 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardWebViewCache.swift:600-603 \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/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c09932c2d1d012970c7e51c243e49cc28a0b5ccd0660e0de847b2d8354cc5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:127-129 | Sources/CodexBarCore/Providers/Perplexity/PerplexityCookieImporter.swift:18-20 \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/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f5d72435a04ed50d9e3852f7e83bb1648902aa8c27d6c5e69ab37c187cbd29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Sources/CodexBarCore/CodexBarCoreResourceSmoke.swift:19-21 | Sources/CodexBarCore/KeychainAccessGate.swift:92-96 | Sources/CodexBarCore/Plugins/ScriptFetchStrategy.swift:6-8 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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/CodexBarCore/CodexBarCoreResourceSmoke.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e862ac557495291a6148954b67f2e7839e039ff1e40bce4b55608a4f02485eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/CodexBarCore/Providers/Antigravity/AntigravityUsageDataSource.swift:20-29 | Sources/CodexBarCore/Providers/Codex/CodexUsageDataSource.swift:22-33 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityUsageDataSource.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c485af6877da161be5cf2213cce4c5415df215811a202ed3bd43933982ede631"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Sources/CodexBar/Menu/MenuCardView.swift:1215-1218 | Sources/CodexBarCore/Providers/Amp/AmpUsageParser.swift:305-308 | Sources/CodexBarCore/Providers/Antigravity/AntigravityQuotaSummaryParser.swift:88-91 | Sources/CodexBarCore/Providers/Claude/ClaudeConfigPaths.swift:121-124 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ac2953ff951247ebc45a85214391001b23c5ea9de4b6b89228488e6acfbd32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift:283-285 | Sources/CodexBarCore/Providers/AzureOpenAI/AzureOpenAIProviderDescriptor.swift:124-126 | Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift:594-596 | Sources/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift:433-435 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b3830a4420e62947b6d89fd2a6246c61b509f41204de481570bff9eead99a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/CodexBarCore/Providers/Kilo/KiloUsageDataSource.swift:12-18 | Sources/CodexBarCore/Providers/Venice/VeniceUsageDataSource.swift:12-18 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloUsageDataSource.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc68f4f8346480223d8c187dacd4037395bf4aeb20a3b949c4fe58ddd4abd82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/CodexBarCore/Providers/Ollama/OllamaProviderDescriptor.swift:284-291 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:454-463 \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/CodexBarCore/Providers/Ollama/OllamaProviderDescriptor.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e60c646ac3952d7e34c6ec61ab18a243499bb356afc42ab4647834c474069d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/CodexBarCore/OpenAIDashboardModels.swift:232-237 | Sources/CodexBarCore/Providers/AzureOpenAI/AzureOpenAIUsageFetcher.swift:229-231 \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/CodexBarCore/OpenAIDashboardModels.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"6192745436aefe72c747bfdf6a010b253195224989724d0e7651169abf66d367"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): Sources/CodexBarCore/Providers/Alibaba/AlibabaProviderSettings.swift:34-36 | Sources/CodexBarCore/Providers/Helmcode/HelmcodeProviderSettings.swift:8-10 | Sources/CodexBarCore/Providers/Muse/MuseProviderSettings.swift:9-11 | Sources/CodexBarCore/Providers/Qoder/QoderProviderSettings.swift:8-10 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaProviderSettings.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0360d5189deb14443ee321ff326cb0597aaa5fc252282a749d1ff4220a09024e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/CodexBar/Providers/Gemini/GeminiProviderImplementation.swift:25-28 | Sources/CodexBar/Providers/OpenCodeGo/OpenCodeGoProviderImplementation.swift:19-22 \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/CodexBar/Providers/Gemini/GeminiProviderImplementation.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"31002cccd9bd84c2574bbca9a3a3a98c79a1a80d6d83d36f2de2951e614f7a53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:332-393 | Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:440-501 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:394\u0060 calls \u0060closeFile\u0060 and \u0060Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:502\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/CodexBarCore/Host/Process/SpawnedProcessGroup.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b703f5ac28b54a99cb1643c445cc7b59070b9ca319d57e68db3b2607a3161ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): Sources/CodexBarCLI/CLIHelp.swift:77-118 | Sources/CodexBarCLI/CLIHelp.swift:127-168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIHelp.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"755bd8992b9826cad0e5820b635f64e05566013d24628b03b4ea2eed63642456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:364-396 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:429-460 \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/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:364\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/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"522f55a47be63b2ffdaf92fd7618c840d135d2516103ab7eb2cc1214e2b84326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:31-61 | Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:73-103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:31\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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a16fa85f49052703f131bb23fb98b721e8396ddbcacfc48e3b2d1b70c0683b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageSnapshot.swift:18-46 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudUsageSnapshot.swift:18-46 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageSnapshot.swift\u0060 and \u0060Sources/CodexBarCore/Providers/QwenCloud/QwenCloudUsageSnapshot.swift\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageSnapshot.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"502c5be7bff3ddd1ecb84798d703c6b2bf98c101fd0492d1e40a044b1f8945b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:84-110 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:121-147 \u2014 before extracting anything, compare \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift\u0060 and \u0060Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:84\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/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"56931145952765f6092801179d6a1881e3c248dd924d48e9f3dd43704b88532e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:146-172 | Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:188-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:146\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"425866f6d0403718e3a628df81f5289f0c6db9f7bdd239c8f96d43451128a15b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:679-704 | Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:730-755 | Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:793-818 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:679\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"206e8679928fbe5a2b37b17d96ca7fdb7e43b608d3a4ab3cd71cd9be6a749caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:235-257 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:363-387 \u2014 before extracting anything, compare \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift\u0060 and \u0060Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a147d98c64fb811f398cbf44716aede1ae92d001e6876ac63b4d59b7e2fafd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201325 lines \u00D7 2): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:725-744 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:750-774 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"930f374488595e5cc2ed81d7c2ea19e3290676872e640247354a0c4daaa9b730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:786-810 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:834-858 \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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:786\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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec6daac6b8658b7f036e13b0aec04c5ce135a993f3e609b672a992a698b762e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): Sources/CodexBar/IconRenderer.swift:805-828 | Sources/CodexBar/IconRenderer.swift:837-859 \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/CodexBar/IconRenderer.swift:805\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/CodexBar/IconRenderer.swift"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a3c75d096470b1ff896b1eac8bf1ac078c5a5b84439b2fdc314043aa617e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:407-430 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:821-842 \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/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:407\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e31ecce51f07d50a9c75bc758102986ffac44469c333afb9cf75f8425784401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:316-339 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:939-961 \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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:939\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:939\u0060 calls \u0060isAuthenticationError\u0060 and \u0060Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:316\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"098c0e33de08b49d2850d41fc1dd4842e0058d06dc814b04fadcc6f9ce2cbcda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1290-1313 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1360-1383 \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/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1290\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 \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/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b5360b50a3777c945905a4029c1a2332fadfaa0fca5fbd7b50a5338df41c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Sources/CodexBar/ScreenConfettiOverlayController.swift:143-165 | Sources/CodexBar/ScreenConfettiOverlayController.swift:174-196 \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/CodexBar/ScreenConfettiOverlayController.swift:143\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/CodexBar/ScreenConfettiOverlayController.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"579848b84a00e547a43358d6dd7c533b8c81d0f6df1d373bef2f8557914fa14d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Sources/CodexBar/SpendDashboard/SpendDashboardSource\u002BOpenCodex.swift:13-35 | Sources/CodexBar/SpendDashboard/SpendDashboardSource\u002BOpenCodex.swift:50-72 \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/CodexBar/SpendDashboard/SpendDashboardSource\u002BOpenCodex.swift:13\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardSource\u002BOpenCodex.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0d1e8beadd491cc67c03ed1644463d7196dcae6be79bf8b2b0b3c83797b155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:64-88 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieHeaders.swift:116-140 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift\u0060 and \u0060Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieHeaders.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:64\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 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/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7f073995edf8afb5011e50e1b11f8772879fc3ffc1ae2fb8d428f2417ec249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:203-221 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:335-354 \u2014 before extracting anything, compare \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift\u0060 and \u0060Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6576c51e6c7a66f9c3b948f7d53509c7a98f6a6333912635eb4f1596e7ebc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/CodexBar/Providers/Codex/CodexLoginAlertPresentation.swift:9-28 | Sources/CodexBar/Providers/Kiro/KiroLoginAlertPresentation.swift:4-23 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexLoginAlertPresentation.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f28c9b811ccae95878657a46b33eb365d9da408d0f80f69353b7f831de6239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/CodexBar/QuotaWarningAlertOverlayController.swift:68-87 | Sources/CodexBar/ScreenConfettiOverlayController.swift:39-58 \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/CodexBar/QuotaWarningAlertOverlayController.swift:68\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/QuotaWarningAlertOverlayController.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8402253ad7266bf5781babc351f397b8099fc164193a50c3206fef39ff9313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift:201-220 | Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift:225-244 \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/CodexBarCore/CodexLocalProjectUsageIndexer.swift:201\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/CodexBarCore/CodexLocalProjectUsageIndexer.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d71306f1531bdc8f189a8cd99f2c604a41d47c5e6e259654a43901c1ae9341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/CodexBarCore/CostUsageFetcher.swift:716-735 | Sources/CodexBarCore/CostUsageFetcher.swift:824-843 \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/CodexBarCore/CostUsageFetcher.swift:716\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/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da87359e05a09ba54986b72105660b3bd4a6128752e724455c476eeb74ce4ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:593-612 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:726-745 \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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:593\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a8aa21cc34e7e2e31092e0b2c2dce39272464e191cebc7ef7f6ad70907f388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageSnapshot.swift:117-136 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageSnapshot.swift:96-115 \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/CodexBarCore/Providers/OpenCode/OpenCodeUsageSnapshot.swift:117\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageSnapshot.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f4628929634eaba9d9ef6555db413052e5bc8c20820f09163dbd208478fe1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift:1083-1101 | Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift:647-664 \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/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift:1083\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift:665\u0060 calls \u0060ioFailed\u0060, \u0060usleep\u0060 and \u0060Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift:1102\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"064b8e3a2b2c4720d405c72a5a5d1c8ad419ebd4eafa9a8d1ae1cec87a95d10b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:216-233 | Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:76-93 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:113-130 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:216\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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b801a28516673388c1287abb2be254852b756430447c6bff4d9137d8670ef3b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:309-326 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:342-359 \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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:309\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 \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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1180c08e73abe3b62da0b0575803ebdd49b773899b874dbd09720b2f2d22412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): Sources/CodexBarCLI/CLIGuardCommand.swift:258-274 | Sources/CodexBarCLI/CLIHooksWatchCommand.swift:160-177 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCLI/CLIGuardCommand.swift:258\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/CodexBarCLI/CLIGuardCommand.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e642dc5bb675676357219cee9bfd6ff5d80f1173fa1c5a1a17a6079da2b9511b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:455-472 | Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:493-510 \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/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:455\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060cookieHeader\u0060 to \u0060String) async throws -\u003E (AugmentCreditsResponse\u0060 in one and \u0060String) async throws -\u003E (AugmentSubscriptionResponse\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a9e5e35c29520dda3613873e4d1b26835b468e2af00f9ce37a036f4fc98d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:1130-1146 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:1203-1219 \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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:1130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060now\u0060 to \u0060Date = Date()\u0060 in one and \u0060Date\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"565c72b119cf525e507d5d2a6b0c568fedb1e17d01cd515016f5f1e6e6475599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BSessionResolution.swift:132-148 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BSessionResolution.swift:154-170 \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/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BSessionResolution.swift:132\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BSessionResolution.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a879acc1a3922882213550dca12e015ad100a16729eb1daa9d93abb69ff0c2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): Sources/CodexBar/IconRenderer.swift:388-402 | Sources/CodexBar/IconRenderer.swift:477-491 | Sources/CodexBar/IconRenderer.swift:527-542 | Sources/CodexBar/IconRenderer.swift:597-611 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/IconRenderer.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bce75b4c4d8a1c1b7405454bfcf688965af6bf9f2311d5780a0f5dd6dd415e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:664-679 | Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:688-703 \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/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:664\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13eb06f07307641aa755676faf316a0d7cfdba966e29c3321a5b63fcbe2e300"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:512-527 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:539-554 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b95c322c3f50d2336749676e963b798ee31a1ddbe4e7a0d160720692457d59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift:54-69 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:65-80 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift:54\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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbda05ddcdeec65ceb5093e23caab1e242ffa744f92ff9b79d96cacae37054e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:306-321 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:229-244 \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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:306\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f35cc7a91e7f1cb611fbe474b9ad5ef722aa8eca77a69fce28d3b480724ff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift:169-182 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift:179-194 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift\u0060 and \u0060Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce71dfaec3f9a93c531eab14e1f7829c72542e089f6646bdfca02ba8557d4967"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift:172-187 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift:249-264 \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/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift:172\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 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/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e8d34caf2c2a791380e13704073be44a9282ad6753e83cc5dcfb0eecae2755"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift:239-254 | Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift:261-276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0012ac60349dbb72be67cb5f6a88c2e1b915b6df022aa8d11897bae6b68dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): Sources/CodexBarCore/CookieHeaderCache.swift:876-889 | Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift:1267-1281 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthPendingCacheClearStore.swift:396-410 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/CookieHeaderCache.swift:876\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"28dc48d5f365f3662c2a9fc9e99ab3a228fc309426715319a062745387b7bdbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift:1243-1256 | Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift:1278-1292 \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/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift:1243\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 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/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3f7560f0a438d7640a1e6b918390d1f49d7680f80c6a4b8cee1fc13f4ee298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/CodexBar/Menu/MenuCardView.swift:1137-1151 | Sources/CodexBar/Menu/MenuDescriptor.swift:517-531 \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/CodexBar/Menu/MenuCardView.swift:1137\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 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/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f7b8b681d0f875a813219ec5b07bafd952c72b0c1dd3def13a5cc1e359e591"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Sources/CodexBar/Menu/ProviderSwitcherButtons.swift:117-130 | Sources/CodexBar/Menu/ProviderSwitcherButtons.swift:241-255 \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/CodexBar/Menu/ProviderSwitcherButtons.swift:117\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/CodexBar/Menu/ProviderSwitcherButtons.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e91937524c722d509db877ad97ab580441315c6eaaf843574fdbf862067eca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift:150-164 | Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift:187-199 \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/CodexBarCore/CodexWorkspaceUsageSidecar.swift:150\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift:165\u0060 calls \u0060storeSnapshot\u0060 and \u0060Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift:200\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9858eced8a6273314cbdc3e0c026569ce406ac5943c2b88f19fa12825f01be39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/CodexBarCore/CopilotUsageModels.swift:165-179 | Sources/CodexBarCore/CopilotUsageModels.swift:202-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CopilotUsageModels.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"810c677484bd19b8cf7ea1be7f6f8495028f73f0b34c30c41a7828e65dba4489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/CodexBarCore/CostUsageFetcher.swift:278-292 | Sources/CodexBarCore/CostUsageFetcher.swift:472-486 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"29859f28e5afe9830949b0731b2dcf50d65a4246bbb2a70c3ff473dcd00d8830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/CodexBarCore/Providers/Codex/CodexAccountReconciliation.swift:333-347 | Sources/CodexBarCore/Providers/Codex/CodexSystemAccountObserver.swift:47-61 \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/CodexBarCore/Providers/Codex/CodexAccountReconciliation.swift:333\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexAccountReconciliation.swift"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f408099c5cc89e0611897e2e202c60d468cd5113b5c70513ebec8d66a0b43be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1109-1123 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1174-1188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9a500eb7584b209052a4406a778c5799253d512aac15cb43cba90731b075c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift:615-629 | Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift:631-641 \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/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift:615\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift:630\u0060 calls \u0060appendingPathComponent\u0060 and \u0060Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift:614\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b070907dd0a85c4920cb60d635f7592531ca4589c47544ef1120ffd273bfce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): Sources/CodexBarCore/Providers/Claude/ClaudeScopedWeeklyLimitMapper.swift:49-62 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:540-553 | Sources/CodexBarCore/Providers/Codex/CodexAdditionalRateLimitMapper.swift:139-152 | Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift:743-756 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeScopedWeeklyLimitMapper.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"022faa9f8a1dbc53178855e4cc9e0954bf599f403340c4d22d3a96e6bb26d230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:564-577 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:607-620 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:740-753 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:564\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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d631ca615980b7b452e9e92e9b5be1fa1f5589ea87d5c6f577d8879ac41f483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:1028-1041 | Sources/CodexBarCore/CostUsageModels.swift:1268-1281 \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/CodexBar/Menu/CostHistoryChartMenuView.swift:1028\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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b068dc7ed09faa991a4615f874696e642dbd2b1424aa87470789c67ea1d53a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1163-1176 | Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1595-1608 \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/CodexBar/SpendDashboard/SpendDashboardModel.swift:1163\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/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"189f2556bb26ba95f15874e4762931af113eee8f4dea534353c952c52e276549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift:42-55 | Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift:59-72 \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/CodexBar/StatusItem/StatusItemController\u002BActions.swift:42\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/CodexBar/StatusItem/StatusItemController\u002BActions.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8663a119cfe5276c98f8f23de8f7d6df85e259b0980ef9d191f19fee8fbba980"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/CodexBarCore/CostUsageFetcher.swift:1990-2003 | Sources/CodexBarCore/CostUsageFetcher.swift:2019-2032 \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/CodexBarCore/CostUsageFetcher.swift:1990\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/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"befe2df93a970261273aaec1d9435afa641ce547c37172e1647841e0bd7b236b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:1666-1679 | Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:1694-1707 \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/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:1666\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/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d1803b6cd896349f7713658d9f35c215042ac93aef69f4057c7295dce0e029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift:619-632 | Sources/CodexBarCore/Providers/Codex/CodexCLISession.swift:352-365 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2de28c5433709505df09c1c3ab74fae8dc7d6842479b0a45797d2f75a50d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/CodexBarCore/Providers/Codex/CodexDashboardAuthority.swift:237-250 | Sources/CodexBarCore/Providers/Codex/CodexDashboardAuthority.swift:261-274 \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/CodexBarCore/Providers/Codex/CodexDashboardAuthority.swift:237\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexDashboardAuthority.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f67561e5893f0accca6b0a04c34fd3bf4b326764e9a600894e826e5f77951fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:476-489 | Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:504-517 \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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:476\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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f4de06d7f5460fd68890dda24cdeccbda6a06a196d8daf0eeb0ea68f0859fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift:238-250 | Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift:257-270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift:257\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"325253daa5db61a1ddb75f3878658542ab88e5640e64041db033932bf1fb6963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:548-561 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:869-881 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"319b25373a475c53789a1be98d70cc925a76da986580ff0d0b07f1fef548829f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:430-443 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:670-682 \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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:430\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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3edbae751cbbf5b552993660380d82d8ba26ace2af2f3cee02e679abcb154af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/CodexBarCore/Providers/Grok/GrokCreditsProxyFetcher.swift:29-42 | Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift:270-283 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokCreditsProxyFetcher.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccf1e8362d28ef9224b98c7b2f6da53dbcb8fd09fd27182c1ba14d656e0c019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/CodexBarCore/WidgetSnapshot.swift:38-51 | Sources/CodexBarCore/WidgetSnapshot.swift:70-83 \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/CodexBarCore/WidgetSnapshot.swift:38\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/CodexBarCore/WidgetSnapshot.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10ad54036a9edc7f0f8c9fb2d397122559fe1e0df162e245dd70660e46124ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): Sources/CodexBarCore/Providers/Bedrock/BedrockProviderDescriptor.swift:32-44 | Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift:24-36 | Sources/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift:60-72 | Sources/CodexBarCore/Providers/Groq/GroqProviderDescriptor.swift:23-35 | Sources/CodexBarCore/Providers/JetBrains/JetBrainsProviderDescriptor.swift:16-28 | Sources/CodexBarCore/Providers/Kiro/KiroProviderDescriptor.swift:12-24 | Sources/CodexBarCore/Providers/StepFun/StepFunProviderDescriptor.swift:73-85 | Sources/CodexBarCore/Providers/VertexAI/VertexAIProviderDescriptor.swift:13-25 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockProviderDescriptor.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23574ab9e1c8ca1f043f234b6f5cbe01684f4bb846279079791b544e5c4f03b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 7): Sources/CodexBarCore/PathEnvironment.swift:63-75 | Sources/CodexBarCore/PathEnvironment.swift:85-96 | Sources/CodexBarCore/PathEnvironment.swift:228-240 | Sources/CodexBarCore/PathEnvironment.swift:250-262 | Sources/CodexBarCore/PathEnvironment.swift:293-304 | Sources/CodexBarCore/PathEnvironment.swift:324-335 | Sources/CodexBarCore/PathEnvironment.swift:344-355 \u2014 all 7 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/CodexBarCore/PathEnvironment.swift:63\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/PathEnvironment.swift:76\u0060 calls \u0060claudeWellKnownPaths\u0060 and \u0060Sources/CodexBarCore/PathEnvironment.swift:336\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/CodexBarCore/PathEnvironment.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e3bff885d33574f6406aedb3a7b0661eb0969eb76288769a45cfe33afe3878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:705-717 | Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:769-781 | Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:825-837 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:705\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/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9faf4000abbfc32e89f4e9ea6cf8f4685c56ec8b0ea0ef94cf9031d0fbbe78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBar/IconRenderer.swift:373-385 | Sources/CodexBar/IconRenderer.swift:512-524 \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/CodexBar/IconRenderer.swift:373\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBar/IconRenderer.swift:367\u0060 calls \u0060NSBezierPath\u0060, \u0060fill\u0060 and \u0060Sources/CodexBar/IconRenderer.swift:508\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/IconRenderer.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4ba46a71f52d110f6af66d729cf211511bb967241a2f37b31ab1871ef3fb18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:260-272 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:390-402 \u2014 before extracting anything, compare \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift\u0060 and \u0060Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:260\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/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8762c8f28539ee42ad99decb4c7a8f79e829a939214128088c656e3978ce308"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift:394-406 | Sources/CodexBarCore/CostUsageModels.swift:323-335 \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/CodexBar/Menu/MenuCardView\u002BCosts.swift:394\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/CodexBar/Menu/MenuCardView\u002BCosts.swift"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa739ef4d90c4e0917c0851eb17195e515a5aef019145c0c1ce4dfe9e6519ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBar/Menu/MenuDescriptor.swift:239-251 | Sources/CodexBarCLI/CLISessionsCommand.swift:87-99 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuDescriptor.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccf112490cb46079a8a17ae04b4509ecd3ff252b65419af7d10ede42d6194b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBar/Providers/Devin/DevinProviderImplementation.swift:103-115 | Sources/CodexBar/Providers/Factory/FactoryProviderImplementation.swift:119-131 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Devin/DevinProviderImplementation.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd6f3e43fe2ed4fe033770e1a1b74ea3d602545b1cfc0998ba928ac422c762e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Sources/CodexBar/StatusItem/StatusItemController\u002BMenuPresentation.swift:74-85 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenuTextRows.swift:25-37 \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/CodexBar/StatusItem/StatusItemController\u002BMenuPresentation.swift:74\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BMenuTextRows.swift:24\u0060 calls \u0060setContentCompressionResistancePriority\u0060 and \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BMenuPresentation.swift:73\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuPresentation.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81e041681d9cfdbe30c5cd6a9f555a625f4cf3b4634c5caa53534e8fb79dc33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCLI/CLIConfigCommand.swift:224-236 | Sources/CodexBarCLI/CLIConfigCookieCommand.swift:70-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCLI/CLIConfigCookieCommand.swift:83\u0060 calls \u0060contains\u0060, \u0060CLIArgumentError\u0060 and \u0060Sources/CodexBarCLI/CLIConfigCommand.swift:237\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIConfigCommand.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"962d238eb466a291ffaceed9623507f927c7ad1164715a6afad99965ca3bc46b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCLI/CLIPayloads.swift:46-58 | Sources/CodexBarCLI/CLIPayloads.swift:77-89 \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/CodexBarCLI/CLIPayloads.swift:46\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/CodexBarCLI/CLIPayloads.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb07848ff695705713179b9f92f5b4ddecfc283dfb7eb297393084d3dc6025c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCLI/CLIServeCommand.swift:399-411 | Sources/CodexBarCLI/CLIServeCommand.swift:492-504 \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/CodexBarCLI/CLIServeCommand.swift:399\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/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4e3638f8926516ce7152fde17e3ca0e0a411a986abd811086b72264ff4071c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCore/CookieHeaderCache.swift:678-690 | Sources/CodexBarCore/CookieHeaderCache.swift:740-752 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e709d8105c207a72db851f2cc5442f80e73a881184917a09f181c686c06dd91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:234-246 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:252-264 \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/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:234\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 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/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d6b3c377fa422b8e72a5823e925bb450f063c3554d3424a2a7ac1c8c3e1567"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:270-282 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:196-208 \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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:270\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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcddd83371dc08d957abc86e3b44bc5a2c13b116d422fdced6c42867d80950c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:184-196 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:599-611 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ec779c9848b8c89fe47045a1a579593b4b9aba999c72b99eebcb90bd415e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift:376-388 | Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift:398-410 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"adba7c5442c51327ef9bc1a5b8bd6de6c967a65e42354be6720c414f01cdd7cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCore/Providers/Codex/CodexCLISession.swift:91-103 | Sources/CodexBarCore/Providers/Codex/CodexCLISession.swift:182-194 \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/CodexBarCore/Providers/Codex/CodexCLISession.swift:91\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/CodexBarCore/Providers/Codex/CodexCLISession.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"247ec36aecf495cbfc428a61c5b79a5e49ade65e320a465a24f8bd38658814be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift:50-62 | Sources/CodexBarCore/Providers/Perplexity/PerplexityCookieImporter.swift:90-102 \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/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift:50\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/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bc548554993850e6a2a1123dc851677418c2bb07a931caed5b31733e287a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCore/Providers/CommandCode/CommandCodeProviderDescriptor.swift:51-63 | Sources/CodexBarCore/Providers/Doubao/DoubaoProviderDescriptor.swift:65-77 \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/CodexBarCore/Providers/CommandCode/CommandCodeProviderDescriptor.swift:51\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/CodexBarCore/Providers/CommandCode/CommandCodeProviderDescriptor.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5ec75db0a881e36006104b0a05d3ef174c7aa0e3882a235babca1414d498c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:430-442 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:451-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:430\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 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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc010e59d900b5b3d227ade6442579ab3c868b87504523438a0a3ab260dea43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1272-1284 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1341-1353 \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/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1272\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1354\u0060 calls \u0060setValue\u0060 and \u0060Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1286\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/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d702c93f20cac22382f22a3d22af42194ee24ba11a600342440b4f5d618cdb42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 19): Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift:27-38 | Sources/CodexBarCore/Providers/AzureOpenAI/AzureOpenAIProviderDescriptor.swift:26-37 | Sources/CodexBarCore/Providers/Bedrock/BedrockProviderDescriptor.swift:32-43 | Sources/CodexBarCore/Providers/CodeRabbit/CodeRabbitProviderDescriptor.swift:13-24 | Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift:24-35 | Sources/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift:60-71 | Sources/CodexBarCore/Providers/Groq/GroqProviderDescriptor.swift:23-34 | Sources/CodexBarCore/Providers/JetBrains/JetBrainsProviderDescriptor.swift:16-27 | Sources/CodexBarCore/Providers/Kiro/KiroProviderDescriptor.swift:12-23 | Sources/CodexBarCore/Providers/LongCat/LongCatProviderDescriptor.swift:17-28 | Sources/CodexBarCore/Providers/Moonshot/MoonshotProviderDescriptor.swift:44-55 | Sources/CodexBarCore/Providers/Notion/NotionProviderDescriptor.swift:31-43 | Sources/CodexBarCore/Providers/Ollama/OllamaProviderDescriptor.swift:27-38 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIProviderDescriptor.swift:31-42 | Sources/CodexBarCore/Providers/Replicate/ReplicateProviderDescriptor.swift:22-33 | Sources/CodexBarCore/Providers/StepFun/StepFunProviderDescriptor.swift:73-84 | Sources/CodexBarCore/Providers/VertexAI/VertexAIProviderDescriptor.swift:13-24 | Sources/CodexBarCore/Providers/Warp/WarpProviderDescriptor.swift:16-27 | Sources/CodexBarCore/Providers/Windsurf/WindsurfProviderDescriptor.swift:28-39 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift\u0060 and \u0060Sources/CodexBarCore/Providers/JetBrains/JetBrainsProviderDescriptor.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/Providers/Ollama/OllamaProviderDescriptor.swift:39\u0060 calls \u0060ProviderDebugPaneCapabilities\u0060 and \u0060Sources/CodexBarCore/Providers/Replicate/ReplicateProviderDescriptor.swift:34\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1aaa4bd21379c510b33d999166a2e6ea5c462942fcadaeea360148796ce8e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 9): Sources/CodexBarCore/Providers/Copilot/CopilotProviderDescriptor.swift:30-41 | Sources/CodexBarCore/Providers/Devin/DevinProviderDescriptor.swift:31-42 | Sources/CodexBarCore/Providers/Kilo/KiloProviderDescriptor.swift:35-46 | Sources/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift:71-82 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.swift:61-72 | Sources/CodexBarCore/Providers/Mistral/MistralProviderDescriptor.swift:21-32 | Sources/CodexBarCore/Providers/OpenCode/OpenCodeProviderDescriptor.swift:34-45 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:16-27 | Sources/CodexBarCore/Providers/Zai/ZaiProviderDescriptor.swift:68-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 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 9 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBarCore/Providers/Copilot/CopilotProviderDescriptor.swift:27\u0060 calls \u0060ProviderConfigCapabilities\u0060 and \u0060Sources/CodexBarCore/Providers/Kilo/KiloProviderDescriptor.swift:32\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotProviderDescriptor.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39bb4476e65afe8127b3c8ece201557c3be006f01b88a33616fbdb5400035ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 5): Sources/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift:36-44 | Sources/CodexBarCore/Providers/Copilot/CopilotProviderDescriptor.swift:56-65 | Sources/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift:90-99 | Sources/CodexBarCore/Providers/Notion/NotionProviderDescriptor.swift:54-65 | Sources/CodexBarCore/Providers/OpenCode/OpenCodeProviderDescriptor.swift:53-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift:36\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"17247d350da6c408515395c06d042b507ff103a2f842e3c075b2135f1fc7f8f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift:35-46 | Sources/CodexBarCore/Providers/Cursor/CursorProviderDescriptor.swift:39-50 | Sources/CodexBarCore/Providers/Gemini/GeminiProviderDescriptor.swift:14-25 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift:53-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift:50\u0060 calls \u0060ProviderConfigCapabilities\u0060 and \u0060Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift:32\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe19914dbabf9443de07a3bc51d5a1da7b122dc17477677a4060204b0cad8028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:1026-1037 | Sources/CodexBarCore/CostUsageModels.swift:1266-1277 | Sources/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.swift:830-840 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:1026\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3b40c41790b9487fbdb86f6bd161faa723b25284a92f5cb63b211b69b46ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:567-578 | Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:729-738 | Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:792-801 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:567\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51230d0d98ca67528ac82b44bb17267d4eea4ff5aae02118fddcc3df0eca9f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift:852-863 | Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift:933-944 | Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift:1026-1037 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift:852\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/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"54950d3c758fe356dc4b9c9a298eb10c1af1eea8d98c6ca5d535ecf4eea5389f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:775-787 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1168-1180 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleSECTokenResolver.swift:154-166 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5b85dcfd8f4d3b2878b7052cbf0b053bb079c17e6f8432febc63f6db032307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift:54-63 | Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift:928-939 | Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAIIDToken.swift:11-22 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift:54\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/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3a637ec08ba71a60474ebcadc3aa31b5116c5d13e2e800daaa2bd002629d79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBar/HistoricalUsagePace.swift:141-152 | Sources/CodexBar/HistoricalUsagePace.swift:268-279 \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/CodexBar/HistoricalUsagePace.swift:141\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 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/CodexBar/HistoricalUsagePace.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b023a0a0b820eeee7ff93f61585fadeb54e666b7c4d8b60c5221f572ba76c59f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): Sources/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift:221-230 | Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift:440-451 \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/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift:440\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"78167d631a49dc65a814b44a4bb4fface630b1483234b09d738685f4339bf77b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift:460-471 | Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift:1094-1105 \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/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift:460\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/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f49cce754039765cfef610f99878fa8b80739c4e0e5c0c4ebc504170a97f8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBarCLI/CLIServeCommand.swift:903-914 | Sources/CodexBarCLI/CLIServeCommand.swift:942-953 \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/CodexBarCLI/CLIServeCommand.swift:903\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec478c10872644b1756baea5b4e09fef00d3ac4797101069058e42adbc6fb4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBarCore/CostUsageFetcher.swift:456-467 | Sources/CodexBarCore/CostUsageFetcher.swift:501-512 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fdf43954d3c829365bc07438a1be062641157231832512af24ed96340cf502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBarCore/PiFamilySessionScanner.swift:1011-1022 | Sources/CodexBarCore/PiFamilySessionScanner.swift:1023-1034 \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/CodexBarCore/PiFamilySessionScanner.swift:1011\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0bd5bdfb3c2dd048abf330c87fbc5b0f6ad50ddec46359ac3e872107f3fc7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:258-269 | Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:714-725 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift:258\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/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"9449b2d719c73d6f13a0ca5b52419c09a6d9fac57c0ea5838b59970ebf019226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:255-266 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:181-192 \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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:255\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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ec6fd2e9c93afa0308c084e6b83026dd3c10ce84120780dd3f17eb06b97484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1084-1095 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleJSON.swift:217-228 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a654519aadd3d4490c690b4444503e8c7531e5cf805088a8eca5a16d64b39f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:372-383 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:736-747 \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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:372\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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"65921a6ea1b919912f646cf0349f44f9954292f84d1cc492d7929ef39b75fe2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): Sources/CodexBarCore/Providers/Devin/DevinSessionImporter.swift:188-197 | Sources/CodexBarCore/Providers/Windsurf/WindsurfDevinSessionImporter.swift:160-171 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Devin/DevinSessionImporter.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"135ce3530107462b6e8396ce3f72597f5c734807c1fb29965b49407014e6d422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift:657-667 | Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift:763-774 \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/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift:657\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/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d514754189c452452453166ead722054da6c1795c3ba658f2c88e23aacb3bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBarCore/Providers/Grok/GrokRPCClient.swift:146-157 | Sources/CodexBarCore/UsageFetcher.swift:1130-1141 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokRPCClient.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"534eaec82be798a82633b7ae5ac26416357f88055ba60d9601d78d46f77dbb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift:190-201 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift:267-278 \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/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift:190\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 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/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb24df1f1c8e442bdf85831004006d8c26f7318d43bdcaec44d55cbdf12f7866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:478-487 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:792-803 \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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:478\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e6e7467a55dfeec682f819f81d8eeec0d433bd6dd8661c2c9d8d6bcd9bfd51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:496-507 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:816-827 \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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:496\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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"412cd45f5d2143f584772a24f44be4453912c40a24baeb8e198e1cf131feeaa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:691-702 | Sources/CodexBarCore/Providers/Shared/OpenCodeSubscriptionParser.swift:161-172 \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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:691\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 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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75468d1e8e20dc841613683fecb2063cf7eb21033446c7921c0e58c047ace22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 9): Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift:47-57 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekProviderDescriptor.swift:97-107 | Sources/CodexBarCore/Providers/Devin/DevinProviderDescriptor.swift:56-66 | Sources/CodexBarCore/Providers/JetBrains/JetBrainsProviderDescriptor.swift:33-42 | Sources/CodexBarCore/Providers/Kilo/KiloProviderDescriptor.swift:54-64 | Sources/CodexBarCore/Providers/LongCat/LongCatProviderDescriptor.swift:35-45 | Sources/CodexBarCore/Providers/Moonshot/MoonshotProviderDescriptor.swift:63-73 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:35-45 | Sources/CodexBarCore/Providers/Warp/WarpProviderDescriptor.swift:34-44 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift\u0060 and \u0060Sources/CodexBarCore/Providers/JetBrains/JetBrainsProviderDescriptor.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift:47\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0eb65fc2435bd901eb6593267e6b5dae71330889f606473c69a6c9340d284e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 9): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift:40-47 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:51-60 | Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift:32-40 | Sources/CodexBarCore/Providers/Copilot/CopilotProviderDescriptor.swift:35-45 | Sources/CodexBarCore/Providers/Cursor/CursorProviderDescriptor.swift:44-52 | Sources/CodexBarCore/Providers/Devin/DevinProviderDescriptor.swift:36-46 | Sources/CodexBarCore/Providers/Gemini/GeminiProviderDescriptor.swift:19-26 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.swift:66-73 | Sources/CodexBarCore/Providers/Zai/ZaiProviderDescriptor.swift:73-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 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 9 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7978f0bae9d9681104a2f528970031954323a72fcbdee0d934c76961faaa6284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Sources/CodexBarCore/CostUsageFetcher.swift:209-219 | Sources/CodexBarCore/CostUsageFetcher.swift:247-257 | Sources/CodexBarCore/CostUsageFetcher.swift:450-460 | Sources/CodexBarCore/CostUsageFetcher.swift:495-505 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5010588ed00c75a55f191e48d8d085cf996f1f276bc58b60c1e75a31d127b605"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 3): Sources/CodexBar/Providers/Codex/CodexLoginAlertPresentation.swift:37-43 | Sources/CodexBar/Providers/Kiro/KiroLoginAlertPresentation.swift:26-36 | Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift:923-933 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexLoginAlertPresentation.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0e1f4292ce2ae3442427914238c31f0a6518dc90e8deecac075788e87e86b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): Sources/CodexBarCLI/CLIConfigClearCredentialCommand.swift:12-21 | Sources/CodexBarCLI/CLIConfigCommand.swift:101-110 | Sources/CodexBarCLI/CLIConfigCommand.swift:150-160 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIConfigClearCredentialCommand.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0162360d4cd5c7807e4db01472c36918ddba591ee61e96a9eac562e12440aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/CodexBarCore/CookieHeaderCache\u002BFingerprint.swift:11-21 | Sources/CodexBarCore/CookieHeaderCache.swift:88-98 | Sources/CodexBarCore/CookieHeaderCache.swift:101-111 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/CookieHeaderCache\u002BFingerprint.swift:11\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 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/CodexBarCore/CookieHeaderCache\u002BFingerprint.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7177afb21637d7a47dc7f956e441b1c6d8ab6094c100487b914510febe75ad9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1064-1074 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1104-1113 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1169-1178 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1114\u0060 calls \u0060setValue\u0060 and \u0060Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1075\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/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1cba76f2c5df408f45816e02f82de4d2f784d7cca5dfeafe9968c7eecfa83d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:198-208 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:93-103 \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/CodexBar/Menu/CostHistoryChartMenuView.swift:198\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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4238ad3df15e523399f24c2c648910a5c71779edd6d6a88723cad4d91e0465"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBar/Menu/ProviderSwitcherButtons.swift:81-91 | Sources/CodexBar/Menu/ProviderSwitcherButtons.swift:205-215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/ProviderSwitcherButtons.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40ca247c489afec2f611fd133f34b10f97a68418517b16c0b66b1392177290a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift:203-213 | Sources/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift:229-239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25ab1bbce9e9a8361f0529a5f5b9c321fd8b2909f06771bf1fa463873fef4a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:358-368 | Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:379-389 \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/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift:358\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 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/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountState.swift"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f4d86a8f665a835568b86756ea227269c552dc4ad9358d84f7b3cc6dbd3abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBar/StatusItem/StatusItemController\u002BMenuViewportRestore.swift:266-276 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenuViewportRestore.swift:316-326 \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/CodexBar/StatusItem/StatusItemController\u002BMenuViewportRestore.swift:266\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/CodexBar/StatusItem/StatusItemController\u002BMenuViewportRestore.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdaa7710831e7de5befd5920173e89f07ad447afe1ebda48bb9d8ea0784d10ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/CookieHeaderCache.swift:292-302 | Sources/CodexBarCore/CookieHeaderCache.swift:951-961 \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/CodexBarCore/CookieHeaderCache.swift:292\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"692c8d86d63d3b7902390d5b5df09ac45689057ab93c04e8ead056c174d05c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift:943-953 | Sources/CodexBarCore/Providers/Codex/CodexCLISession.swift:102-112 \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/CodexBarCore/Host/PTY/TTYCommandRunner.swift:943\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/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"999d935ee444964f5647968faa93c3a13bff2485fc53932bbfb6dd2cf83d5d75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:343-353 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:409-418 \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/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:343\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/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9906b2ba5a15cb76c9c83981ecc1a6a5201606da155cda82bf4c1bd034363352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:955-962 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1010-1020 \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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:955\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f4efe993c1ebe159214278425c903f524c0958794a9027cfd796eb677fb2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1097-1107 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1122-1132 \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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1097\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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6129f18deb4f07a033ccf580466cc43c1b1a27a525974a730d90189ec7f1279"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift:167-177 | Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift:196-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8d70053c6e53320ffd44875f6acb29a6b2af591551403c0e0989230fe42afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:287-297 | Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:307-315 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:287\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fae249e9ca4c8d48971fe2464b8bc5d1149ed1b2decb5672382738d51f8b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:513-523 | Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:548-558 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:513\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"98433a77688f10ab17ba181f05b76953f0459bf308f476aa8e2201c93af8c1bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:487-497 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudTokenPlanAPIClient.swift:91-101 \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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:487\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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce44e3014275c2655303fc1532825d98663c58ff601e2f61f0d9da789f1b5d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:207-217 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:620-630 \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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:207\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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c922b9092b89fddf65867d2b99a1bfbc9930380ae3421f4bd3225e16e454feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift:43-53 | Sources/CodexBarCore/Providers/Codebuff/CodebuffProviderDescriptor.swift:50-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/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift:43\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/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8302a4a65c3658e3bc3fcea463142dd92b0eadec10238a319f88dfce795646b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:414-424 | Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATUsageFetcher.swift:89-99 \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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:414\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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fe904068b51dbcd962b3addf1bfbcba5489dcaee255ba85e7152b54a530d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:600-610 | Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:615-625 \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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:600\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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cbf257d26f92815b963c8753df7314e11e491dddf96ed87068688c71bcf618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:319-329 | Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:447-456 \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/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:447\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/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"71166b5084f63363a7de79673797c7995a9281730687a86f3ed391b864c45e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Providers/Notion/NotionProviderDescriptor.swift:132-142 | Sources/CodexBarCore/Providers/ZoomMate/ZoomMateProviderDescriptor.swift:77-87 \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/CodexBarCore/Providers/Notion/NotionProviderDescriptor.swift:132\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/CodexBarCore/Providers/Notion/NotionProviderDescriptor.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ae4b1eabcd2f13a5f11b84ab857b3fdc926c0e79e021965a4f25ff092ce98c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:619-629 | Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:666-675 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e40db4146d492bf7923063e62b352e80c7bab42718dfd5d10d1536815f567c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/CodexBarCore/UsagePace.swift:203-213 | Sources/CodexBarCore/UsagePace.swift:243-252 \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/CodexBarCore/UsagePace.swift:203\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/CodexBarCore/UsagePace.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0328fd7f6ae8f4461ed602ff7d93a2f0728a552f2ca278607e9473bc701083dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 17): Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift:47-56 | Sources/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift:35-44 | Sources/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift:43-52 | Sources/CodexBarCore/Providers/Codebuff/CodebuffProviderDescriptor.swift:50-59 | Sources/CodexBarCore/Providers/Copilot/CopilotProviderDescriptor.swift:55-64 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekProviderDescriptor.swift:97-106 | Sources/CodexBarCore/Providers/Devin/DevinProviderDescriptor.swift:56-65 | Sources/CodexBarCore/Providers/JetBrains/JetBrainsProviderDescriptor.swift:33-42 | Sources/CodexBarCore/Providers/Kilo/KiloProviderDescriptor.swift:54-63 | Sources/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift:89-98 | Sources/CodexBarCore/Providers/Kiro/KiroProviderDescriptor.swift:30-39 | Sources/CodexBarCore/Providers/LongCat/LongCatProviderDescriptor.swift:35-44 | Sources/CodexBarCore/Providers/Moonshot/MoonshotProviderDescriptor.swift:63-72 | Sources/CodexBarCore/Providers/Notion/NotionProviderDescriptor.swift:51-62 | Sources/CodexBarCore/Providers/OpenCode/OpenCodeProviderDescriptor.swift:52-61 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:35-44 | Sources/CodexBarCore/Providers/Warp/WarpProviderDescriptor.swift:34-43 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift\u0060 and \u0060Sources/CodexBarCore/Providers/JetBrains/JetBrainsProviderDescriptor.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift:47\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift:45\u0060 calls \u0060ProviderPaceCapability\u0060, \u0060hasPrefix\u0060 and \u0060Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:45\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec512297282ab93004f9c8085967ef1935fa85cc13f300dbd4b5e28dbeea81b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u201310 lines \u00D7 5): Sources/CodexBarCore/Config/SettingsValue.swift:10-19 | Sources/CodexBarCore/Providers/HuggingFace/HuggingFaceSettingsReader.swift:66-75 | Sources/CodexBarCore/Providers/IBMBob/IBMBobSettingsReader.swift:13-22 | Sources/CodexBarCore/Providers/Nous/NousSettingsReader.swift:278-279 | Sources/CodexBarCore/Providers/Nous/NousSettingsReader.swift:280-280 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Config/SettingsValue.swift:10\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 matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Config/SettingsValue.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d05919f3ab6352a4ab5a37e1893379269d6cc6631910b52933471c821a63e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBar/IconRenderer.swift:246-255 | Sources/CodexBar/IconRenderer.swift:347-356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/IconRenderer.swift:246\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/CodexBar/IconRenderer.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c63789a5348132aef514e5bdf4a7ed946ed173e12251811a1d11fedd727c1c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBar/IconRenderer.swift:563-572 | Sources/CodexBar/IconRenderer.swift:576-585 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/IconRenderer.swift"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"92835b4f91d9fd524e1360c45976e64cdf7a9a03a27acef28f4b7d1e25d9481c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:701-710 | Sources/CodexBarCore/Providers/Mistral/MistralModels.swift:520-528 \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. 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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cd587105c11657c392bfb250c72af1767f3516a63945da6482534fb9e6c22a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:274-283 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:404-413 \u2014 before extracting anything, compare \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift\u0060 and \u0060Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:274\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/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5aa3a6a7a75cbe116a6ca586413ba3e76b3ed26aee251cf70d6afde6d5156c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBar/Menu/ProviderSwitcherButtons.swift:98-107 | Sources/CodexBar/Menu/ProviderSwitcherButtons.swift:222-231 \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/CodexBar/Menu/ProviderSwitcherButtons.swift:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/ProviderSwitcherButtons.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4335ea41ced907fafb0fedcd0ed631adb2589e687be5ab7e14806ec9bf76b9ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Sources/CodexBar/Providers/Claude/ClaudeLoginRunner.swift:114-122 | Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift:697-706 \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/CodexBar/Providers/Claude/ClaudeLoginRunner.swift:114\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 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/CodexBar/Providers/Claude/ClaudeLoginRunner.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea012448e0cb7480240abd29acf821edf93403f6340a1c7621a7ac23c770c7f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBar/Providers/Codex/CodexOwnershipContext.swift:59-68 | Sources/CodexBar/Providers/Codex/CodexOwnershipContext.swift:90-99 \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/CodexBar/Providers/Codex/CodexOwnershipContext.swift:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexOwnershipContext.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"52121d78d59f5a19c6a7798c265e4d3aa3fd41d231cecc60a0ec644952f77f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBar/Settings/SettingsStore\u002BTokenAccounts.swift:300-309 | Sources/CodexBar/Settings/SettingsStore\u002BTokenAccounts.swift:330-339 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStore\u002BTokenAccounts.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2cc8c4183c1599d59a84a46bc2af663a9b706c182a8bee136999b119c78d90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBar/ShareStatsPayload.swift:287-296 | Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift:135-144 \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/CodexBar/ShareStatsPayload.swift:287\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/ShareStatsPayload.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf52292f07182afdc5810a2c8233170a9f4bdcd060d47373edfbc3ba08b243f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift:1150-1159 | Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift:1170-1179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a045fc4ac2fe08e2449f53c8dffb5edcb4ffd437af0cd533a16614796e6430d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 2): Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift:1157-1166 | Sources/CodexBarCore/CodexLocalProjectUsageProjection.swift:36-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also 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/CodexBarCore/CodexLocalProjectUsageIndexer.swift"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ab8de26c20a847cab753a87ce1b74ea82f80f849bb1f517d323afdba6f4438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:160-170 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:171-181 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"912c1986f140dc56b74b9c6ff334e294ec1a9bef9893b96c759ac97984181e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift:1177-1186 | Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift:1252-1261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"67acf29eedbdbac0516dfb1e913f6e165506f53620cffcf2553bab5a4535c0fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift:45-54 | Sources/CodexBarCore/Providers/CodeRabbit/CodeRabbitProviderDescriptor.swift:32-41 \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/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift:45\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/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e8d2ce7884d28bb72450ed1f835ccb00ad2f1bca3a183053fa54adad782fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Sources/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift:381-389 | Sources/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift:429-438 \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/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift:381\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e18ad78397b7013015d8fe58d092bb53ff2e0386835a9b2a57c767352be9ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBarCore/Providers/Codebuff/CodebuffProviderDescriptor.swift:52-61 | Sources/CodexBarCore/Providers/Wayfinder/WayfinderProviderDescriptor.swift:36-45 \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/CodexBarCore/Providers/Codebuff/CodebuffProviderDescriptor.swift:52\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/CodexBarCore/Providers/Codebuff/CodebuffProviderDescriptor.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fd81b2a9c7caf47f1ee4212de4ceffb52ee3c9924d9c5e8616f7a3335c0bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATFetchStrategy.swift:140-150 | Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift:536-546 \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/CodexBarCore/Providers/Codex/CodexPAT/CodexPATFetchStrategy.swift:140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/CodexBarCore/Providers/Codex/CodexPAT/CodexPATFetchStrategy.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd506e3aeca23060ca172709ccff244b50b79c90502911e60a422d0d93c143a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift:890-899 | Sources/CodexBarCore/Providers/Warp/WarpUsageFetcher.swift:429-438 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72cf04e8c1820ed6284394b76fcb5a41c622705865367449342415e2bd28799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift:45-54 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:37-46 \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/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift:45\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/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"951cbc6af31d0a0f035327b396e8fe3da833dd84ff609ee27560f7085a6040e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBarCore/Providers/Grok/GrokCLISettingsFetcher.swift:26-35 | Sources/CodexBarCore/Providers/Grok/GrokCreditsProxyFetcher.swift:23-32 \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/CodexBarCore/Providers/Grok/GrokCLISettingsFetcher.swift:26\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/CodexBarCore/Providers/Grok/GrokCLISettingsFetcher.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"98af43ab7ab43a2e1f1d042701d241df29831f42e35d6ee4c2d484f397de4ff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:42-53 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieHeaders.swift:94-105 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift\u0060 and \u0060Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieHeaders.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:42\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/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d390b0ef6160a98548d5dea372974cea53cdbbb3052863674f07178486a5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageSnapshot\u002BMetadata.swift:11-20 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageSnapshot\u002BMetadata.swift:28-37 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageSnapshot\u002BMetadata.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab12be4dd195c7d9a197db93b2042261902a6662ffc14682beb1a55b237650c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageSnapshot.swift:123-132 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageSnapshot.swift:152-161 \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/CodexBarCore/Providers/MiniMax/MiniMaxUsageSnapshot.swift:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageSnapshot.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a6295377d1f5602b5d89949952216579b39b28e96dc000406eb8674b4205f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Providers/Mistral/MistralUsageFetcher.swift:38-48 | Sources/CodexBarCore/Providers/Mistral/MistralUsageFetcher.swift:115-125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Mistral/MistralUsageFetcher.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82a14664425b8fa6d3944d875461a61ee3d29561d26733b923903131eaf1bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift:368-376 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:606-615 \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/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift:368\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bc060b9f44cb9c596b307da32442b4b5de5e7d37aa23a3264b39168372e384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBarCore/Providers/Replicate/ReplicateWebFetchStrategy.swift:72-81 | Sources/CodexBarCore/Providers/TypeSafe/TypeSafeWebFetchStrategy.swift:101-110 \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/CodexBarCore/Providers/Replicate/ReplicateWebFetchStrategy.swift:72\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/CodexBarCore/Providers/Replicate/ReplicateWebFetchStrategy.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"486ee971d835e078815258a381032e7281daa63846c455e26cc47e8e134dd214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBarWidget/BurnDownWidgetViews.swift:116-125 | Sources/CodexBarWidget/CombinedBurnDownWidgetViews.swift:66-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBarWidget/BurnDownWidgetViews.swift:115\u0060 calls \u0060VStack\u0060 and \u0060Sources/CodexBarWidget/CombinedBurnDownWidgetViews.swift:65\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/BurnDownWidgetViews.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0a9c8a60146539f7f53b1116962cff496d56eb16b571099b29719a590992cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 9): Sources/CodexBarCore/Providers/CodeRabbit/CodeRabbitProviderDescriptor.swift:31-39 | Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift:44-52 | Sources/CodexBarCore/Providers/IBMBob/IBMBobProviderDescriptor.swift:43-51 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.swift:86-94 | Sources/CodexBarCore/Providers/Replicate/ReplicateProviderDescriptor.swift:40-48 | Sources/CodexBarCore/Providers/Wayfinder/WayfinderProviderDescriptor.swift:35-43 | Sources/CodexBarCore/Providers/Windsurf/WindsurfProviderDescriptor.swift:49-57 | Sources/CodexBarCore/Providers/Zai/ZaiProviderDescriptor.swift:86-94 | Sources/CodexBarCore/Providers/ZoomMate/ZoomMateProviderDescriptor.swift:46-54 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/CodeRabbit/CodeRabbitProviderDescriptor.swift\u0060 and \u0060Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/CodeRabbit/CodeRabbitProviderDescriptor.swift:31\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/CodexBarCore/Providers/CodeRabbit/CodeRabbitProviderDescriptor.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"29621b385da3a67872b3e180873f16d309e5883051511198d84f53fc168934ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift:52-59 | Sources/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift:81-89 | Sources/CodexBarCore/Providers/Muse/MuseProviderDescriptor.swift:57-64 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift:71-79 | Sources/CodexBarCore/Providers/VertexAI/VertexAIProviderDescriptor.swift:32-39 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift\u0060 and \u0060Sources/CodexBarCore/Providers/VertexAI/VertexAIProviderDescriptor.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift:52\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaafa3d690feaebdb4c637bb30c7489380dd57ac2302161962dc0613fcce8e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): Sources/CodexBarCore/Providers/AzureOpenAI/AzureOpenAIProviderDescriptor.swift:47-54 | Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift:45-53 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.swift:87-95 | Sources/CodexBarCore/Providers/Replicate/ReplicateProviderDescriptor.swift:41-49 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift\u0060 and \u0060Sources/CodexBarCore/Providers/Replicate/ReplicateProviderDescriptor.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/AzureOpenAI/AzureOpenAIProviderDescriptor.swift:47\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/AzureOpenAI/AzureOpenAIProviderDescriptor.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"472bdb0b107ff72e59d1859d0282b9b2ae3c85a4215a1e3ea11c4db5a0b432cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:699-707 | Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1405-1412 | Sources/CodexBarCore/Providers/Mistral/MistralModels.swift:518-525 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1413\u0060 calls \u0060bucketCalendar\u0060 and \u0060Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:708\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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a63ff8603ade24d4fcbbee93c06858a36a8468e3239fb984873e7fdeed64a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1058-1067 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1101-1110 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1126-1135 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1058\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1111\u0060 calls \u0060setValue\u0060 and \u0060Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1068\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"705aec25271def0707a11386d7ebcb2c7a8d1428b846d9930422787c557f4b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift:542-550 | Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift:566-574 | Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift:344-352 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift:542\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/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"e067ab5d007e43d1aa172295ca5b494ad729a6a07f7b92b945d8a6ccfa37ba21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift:162-170 | Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift:67-75 | Sources/CodexBarCore/Providers/Gemini/GeminiProviderDescriptor.swift:40-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift:162\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/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1e294f30a0e17fe0decc684a44d697cd074624ee8827e64d9d0b0ab7baf00b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): Sources/CodexBarCore/Providers/Grok/GrokCreditsProxyFetcher.swift:28-35 | Sources/CodexBarCore/Providers/Grok/GrokRemainingResetsFetcher.swift:340-348 | Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift:269-276 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Grok/GrokCreditsProxyFetcher.swift:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokCreditsProxyFetcher.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c474d2c4dcd00175f84ff466cd5be1dd397012d6336b4ead954c135c59fd4bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBar/Menu/MenuBarLayout.swift:1321-1329 | Sources/CodexBar/Menu/MenuBarLayout.swift:1527-1535 \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/CodexBar/Menu/MenuBarLayout.swift:1321\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/CodexBar/Menu/MenuBarLayout.swift"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e21e75482e1fad3f1d05b76f03cfeba534be5bf5d752f42a244e805f731199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBar/Menu/ProviderSwitcherButtons.swift:44-52 | Sources/CodexBar/Menu/ProviderSwitcherButtons.swift:168-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/ProviderSwitcherButtons.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"025e58b1eca2d07b1c24563dfbd4fd9f569d374c036d5028256773ad793b1887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBar/Menu/UsageProgressBar.swift:250-258 | Sources/CodexBar/Menu/UsageProgressBar.swift:262-270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/UsageProgressBar.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ec7e7268ce65121f147c3f0b2c82f3f53b6e1f727f5a5c20ff9f824c823aec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 2): Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift:1281-1289 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:41-46 \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/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:41\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/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"521a82482ddcd6f83d9a94775a813d9520ebdcee902b1a2b8c624535b561aeec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBar/Settings/PreferencesDebugPane.swift:221-229 | Sources/CodexBar/Settings/PreferencesDebugPane.swift:410-418 \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/CodexBar/Settings/PreferencesDebugPane.swift:221\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/CodexBar/Settings/PreferencesDebugPane.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a3aa0e3040b1daf55f6f20be15be0af0f6c78563050c9ec50eaef87f3c7d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift:412-422 | Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift:465-475 \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/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift:412\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/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21149e0105af2e24a30b87bef0f91a74691a73e4c1cab59e3b4dc7240ec4cbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift:1134-1142 | Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift:1160-1168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift:1133\u0060 calls \u0060invalidateCacheIfCredentialsFileChanged\u0060 and \u0060Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift:1159\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/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d729c5e00d2cb766caf7228113d422c88a5fd5ff608d5b616349a52e16e17d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCLI/CLIConfigClearCredentialCommand.swift:13-21 | Sources/CodexBarCLI/CLIHooksCommand.swift:89-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIConfigClearCredentialCommand.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cff0dd98ca1e23528d6a080c97306f2cd97f879e2e2fad8b18205dc9a1d80bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCLI/CLIConfigLoginCommand.swift:114-122 | Sources/CodexBarCLI/CLIConfigLoginCommand.swift:177-185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCLI/CLIConfigLoginCommand.swift:114\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/CodexBarCLI/CLIConfigLoginCommand.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b8b4f58ba8de363eb04000b63cdadadde850ba1ff25659f795f31b6a51157a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/CodexThreadCatalogReader.swift:93-101 | Sources/CodexBarCore/CodexThreadCatalogReader.swift:109-117 \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/CodexBarCore/CodexThreadCatalogReader.swift:93\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/CodexBarCore/CodexThreadCatalogReader.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e99da0fe8452e06e69751121be0d078ae8038b47d8458bf4a7e0a1043e56d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift:413-424 | Sources/CodexBarCore/CostUsageModels.swift:354-365 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b207d779654b08fc863c7238f0395e278a595991bb397888ea0cdc464cdb8395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:123-131 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:286-293 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:123\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/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0034085d79fd7aaa4c75a09840d8b0c82424ee115d32baaad7f5bd768d6c913f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:599-607 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:626-634 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"896b252dbab30b0dfafcc5da825bb5a6e3446192af0b43904aa3d2c412f18cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1146-1154 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1162-1170 \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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1146\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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be1f0b34dca01545258747829afd2702cc947591a5257a98464672ad6701e66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanSettingsReader.swift:44-52 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxSettingsReader.swift:45-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanSettingsReader.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53e92a7dd50e3b352b3d6d148c97dc0c982f4e43324b27f6c34af87347deb81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:756-764 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1100-1108 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:756\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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73a1f3477a580013a5de1646a8ad8f618dee3330e159a61418c63cc6724f1ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:242-250 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:168-176 \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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:242\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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d97368fbba45d4696e8d07dfecb4c1e8bc6fe3a4f9220aff64313a17ed5633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift:37-45 | Sources/CodexBarCore/Providers/Zai/ZaiProviderDescriptor.swift:87-96 \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/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift:37\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d54c6619b0b1cbf1bb4b1062d955a691636d3afab35f85bb7814f16a17dd9ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:71-79 | Sources/CodexBarCore/Providers/OpenCode/OpenCodeCookieImporter.swift:37-45 \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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:71\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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bd4ae61db082b34a41e3260f7d0d8b4d39ac1640604ea8363d3fd4b446d9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:260-268 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:670-678 \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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:260\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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"465f0519ed7261453e4376af78436b0e390303aa7a92783f8b91827a1d0860ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:394-402 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:724-732 \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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:394\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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f091f6389e4f8f89f72eca15a25a4475e9fb0479ae83c3d2d98b4ba0b23e8ddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:272-280 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:616-624 \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. 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/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d818830d2fd7d62326ba5f485a25664fde8b2531f0e5b2929ee4e6282fed9a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift:142-150 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift:152-160 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift\u0060 and \u0060Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift:142\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/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd93bdb445fbf3bfe8e4cb69cbf886b74688b5844cbaf43b73de49a02683bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift:9-20 | Sources/CodexBarCore/Providers/Grok/GrokCredentialRouting.swift:8-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift:7\u0060 calls \u0060adminAPIKey\u0060 and \u0060Sources/CodexBarCore/Providers/Grok/GrokCredentialRouting.swift:6\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"abaaa23021efd349cdce4f0492664fd3c2d30537c269d3ac798e249e8379b28c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift:56-64 | Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift:72-80 \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/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4c1b92b6ed089f28acbaf4b57c6de09ace92d4487048543647b6a394463ea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthRefreshFailureGate.swift:244-252 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthRefreshFailureGate.swift:265-273 \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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthRefreshFailureGate.swift:244\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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthRefreshFailureGate.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21d936fbb606c0a6ec030de50b9d0c776c9f8da47b028540a86022f7f9fce96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:1140-1148 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:1162-1167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c278d3aac1b630685cf1aa6765bdfdf0639cd568d52ef4a4ebbf3f40b63a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:86-94 | Sources/CodexBarCore/Providers/HuggingFace/HuggingFaceProviderDescriptor.swift:77-85 \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/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:86\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/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"75191c4f548c207b3219ca21d24ef0a9fdf4de4c0879882d52666f76b2f862e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift:669-677 | Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift:679-687 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"c804bfdf6f18fcbf64f2af4b383ce24d619a7ff60d2f98a711bd6866bdf3284b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:756-764 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:882-891 \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/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:756\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43681455df4a6045f7450ebe444c1311fe421ce27c033c9b1d42c4d3b394e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift:294-302 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift:355-363 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift:303\u0060 calls \u0060contains\u0060, \u0060debug\u0060 and \u0060Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift:364\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7563d6b7bf94353684ca4bfc565f289792fede8f3e664e339d39fffaca233417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:890-898 | Sources/CodexBarCore/Providers/Venice/VeniceWebUsageFetcher.swift:41-49 \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/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:890\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:888\u0060 calls \u0060setValue\u0060 and \u0060Sources/CodexBarCore/Providers/Venice/VeniceWebUsageFetcher.swift:40\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"2453fcb9ef18b69de3baf3928d2844beb7b4d9279c8f58dad5c8769a028d632d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIProviderDescriptor.swift:47-55 | Sources/CodexBarCore/Providers/StepFun/StepFunProviderDescriptor.swift:92-100 \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/CodexBarCore/Providers/OpenAI/OpenAIAPIProviderDescriptor.swift:47\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/CodexBarCore/Providers/OpenAI/OpenAIAPIProviderDescriptor.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bf4eec0cab550e5f012cb44861a1469d39a3c0b208204460ecbf57979a0917"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift:201-209 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:347-355 \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/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift:201\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/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e95ce49359f93602fa517f9da56a0711061d2e8de9c74079190f09879d7e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift:311-327 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:758-774 \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/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift:311\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/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64e82edbf032294f890c7d3a40ff13bc8b544c819b3699c3dc04719a6d39450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift:455-463 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift:468-476 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7bce031b7e636bafe3d750b0d047d8525814b7886f071c7aee32c61ae84e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 14): Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift:51-58 | Sources/CodexBarCore/Providers/CodeRabbit/CodeRabbitProviderDescriptor.swift:30-37 | Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift:43-50 | Sources/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift:80-87 | Sources/CodexBarCore/Providers/IBMBob/IBMBobProviderDescriptor.swift:42-49 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.swift:85-92 | Sources/CodexBarCore/Providers/Muse/MuseProviderDescriptor.swift:56-63 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift:70-77 | Sources/CodexBarCore/Providers/Replicate/ReplicateProviderDescriptor.swift:39-46 | Sources/CodexBarCore/Providers/VertexAI/VertexAIProviderDescriptor.swift:31-38 | Sources/CodexBarCore/Providers/Wayfinder/WayfinderProviderDescriptor.swift:34-41 | Sources/CodexBarCore/Providers/Windsurf/WindsurfProviderDescriptor.swift:48-55 | Sources/CodexBarCore/Providers/Zai/ZaiProviderDescriptor.swift:85-92 | Sources/CodexBarCore/Providers/ZoomMate/ZoomMateProviderDescriptor.swift:42-52 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/CodeRabbit/CodeRabbitProviderDescriptor.swift\u0060 and \u0060Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift:51\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/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"61501e963cdbad6a3ddcc8a0af51c6ceb8695b73ae40e544001edb7666715995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): Sources/CodexBar/Settings/PreferencesDebugPane.swift:159-166 | Sources/CodexBar/Settings/PreferencesDebugPane.swift:191-198 | Sources/CodexBar/Settings/PreferencesDebugPane.swift:220-227 | Sources/CodexBar/Settings/PreferencesDebugPane.swift:393-400 | Sources/CodexBar/Settings/PreferencesDebugPane.swift:409-416 \u2014 all 5 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/CodexBar/Settings/PreferencesDebugPane.swift:159\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060alignment\u0060 to \u0060.topLeading\u0060 in one and \u0060.leading\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesDebugPane.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a4901a9c35f94b2f4a3b78d8e6a46d31bd83510eaee254d999c5809fd300a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:891-898 | Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:259-266 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:389-396 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:891\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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"854b8373e02153144793ee1741bd29e205b2b7435c4335f6072864818787cc6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:754-761 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:791-800 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:839-848 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:754\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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"0123d72b9f111807d6f727a3c532789174d18d5a8f9b6ed580a5412ee4568411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:207-214 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:498-505 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:818-825 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:207\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:206\u0060 calls \u0060String\u0060 and \u0060Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:497\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd2a56d51a252538bb5b8cbd615e85a025b492a027d6abe8f06e740cbddf7ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBar/Menu/MenuCardView.swift:1284-1291 | Sources/CodexBar/Menu/MenuCardView.swift:1500-1507 \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/CodexBar/Menu/MenuCardView.swift:1284\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/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3e70de2aab5dfcc709ce5d8aa0c614afedd4ed583c7e6c44ad0b9cf4a63a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBar/Providers/Codex/PreferencesCodexAccountsSection.swift:145-152 | Sources/CodexBar/Providers/Codex/PreferencesCodexAccountsSection.swift:250-258 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/PreferencesCodexAccountsSection.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6086b783477182bd243d0a1189a0a18f80b10246f3232021abdc18ca7f936b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBar/ShareStatsCardView.swift:246-253 | Sources/CodexBar/ShareStatsCardView.swift:296-303 \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/CodexBar/ShareStatsCardView.swift:246\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBar/ShareStatsCardView.swift:294\u0060 calls \u0060minimumScaleFactor\u0060 and \u0060Sources/CodexBar/ShareStatsCardView.swift:244\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/CodexBar/ShareStatsCardView.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38aea1a0764408decadfa82eafef6d348eccf2d1f6edd9c2f06e1c80123d307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift:133-140 | Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:928-935 \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/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift:133\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/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"071563d6676b4c55303888dcf91d53e354100e8cb8bd355daabc76e83013835c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1414-1425 | Sources/CodexBarCore/Providers/Mistral/MistralModels.swift:526-537 \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/CodexBar/SpendDashboard/SpendDashboardModel.swift:1414\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 matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1413\u0060 calls \u0060bucketCalendar\u0060 and \u0060Sources/CodexBarCore/Providers/Mistral/MistralModels.swift:525\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bd7ff2d5286b4058e71bfd0bd16243f6093201f60ac9c0ad0313d31db7f01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBar/SpendDashboard/SpendSessionPerformanceView.swift:216-223 | Sources/CodexBar/SpendDashboard/SpendSessionPerformanceView.swift:275-282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendSessionPerformanceView.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0217bb502e0580e9ed308e808904fd9858ef84b13e0d3421177154817663dfd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift:382-389 | Sources/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift:409-416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"348bcdd55c8ead571cfac9b1d3845d7c2eaedc064a0515acaeb48e1841b90727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift:639-646 | Sources/CodexBar/UsageStore/UsageStore\u002BSessionEquivalents.swift:35-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift:639\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/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc1b4beed185385138c89f71359cb1facdeafcca7eed7d645a7c071a4037340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift:121-128 | Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift:142-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8b0661a8df33e875cabc8024dad15725f8a11d19ecc6b92d46b0630f46f6d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift:1213-1220 | Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift:1482-1489 \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/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift:1213\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/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ffd990ee4df8286a0110451ac42a74486aa3883a7c4e54fc5fd9ff2f57ae29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCLI/CLIGuardCommand.swift:246-254 | Sources/CodexBarCLI/CLIHooksWatchCommand.swift:150-157 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIGuardCommand.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f04f715a2157e5a7f757d051831ab9c510b1d8debfadc095745995476a61a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCLI/CLIIO.swift:98-105 | Sources/CodexBarCore/PathEnvironment.swift:1334-1341 \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/CodexBarCLI/CLIIO.swift:98\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/CodexBarCLI/CLIIO.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"52df1e3a1d0710395e0eb81bc8f11934d71ac6456b2663e629baf059a50c95a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCLI/CLIRenderer.swift:149-156 | Sources/CodexBarCLI/CLIRenderer.swift:1048-1059 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIRenderer.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7252a2b6c885da7b570308ff2f43f0bcbc3e12580275e70c6ea252fcb7d27c10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:621-628 | Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:657-664 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"53783b4a2259e9b8889607e48b5cd08890c5e5ebf395d0571c66dff672a76755"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:777-784 | Sources/CodexBarCore/UsageFetcher.swift:1363-1370 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b5b17d338b287126403498cf550f41faad28747c63f2c7cab413acb1188b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): Sources/CodexBarCore/PiFamilySessionScanner.swift:969-976 | Sources/CodexBarCore/PiFamilySessionScanner.swift:979-986 | Sources/CodexBarCore/PiFamilySessionScanner.swift:987-993 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/PiFamilySessionScanner.swift:969\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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/CodexBarCore/PiFamilySessionScanner.swift:978\u0060 calls \u0060pathURL\u0060, \u0060SessionRootResolution\u0060 and \u0060Sources/CodexBarCore/PiFamilySessionScanner.swift:987\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed33706e648db0cd36ffa055dff955b847d72005bf3eb0dc519b0d2b7c9d86d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/ProviderEndpointOverrideValidator.swift:102-109 | Sources/CodexBarCore/ProviderEndpointOverrideValidator.swift:235-242 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \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/CodexBarCore/ProviderEndpointOverrideValidator.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"804c79db5f8d99b6e228a524b9a6d796ccdffdd8d665de6c62581db0261b3706"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:458-465 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:772-779 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:458\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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d932d5d08012a5c5962db109478c92f11bf0360e86f844da1515f0c163d3c28a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:223-230 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:433-440 \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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:223\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:231\u0060 calls \u0060error\u0060 and \u0060Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:441\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cfb5094e7346d3a2e0ce20f893ab1ee8ad986ace6fd748d7e630df583113cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:974-981 | Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:997-1004 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ba40fbf26a2d88b2aae3378fa144c7cc54c9328b5a6d381f2c87aa5488136b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift:320-327 | Sources/CodexBarCore/Providers/Codex/CodexCLISession.swift:232-239 \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/CodexBarCore/Providers/Claude/ClaudeCLISession.swift:320\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/CodexBarCore/Providers/Claude/ClaudeCLISession.swift"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"df729eff7422e4ba8f7521c5401c0a36bc62726c16ed6f9e7bba33207643ad6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:720-726 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:2214-2221 \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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift:720\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"67079a3d9db815c357bc7eb244168a85bec4b3f41dc16ad5b4cf3878dc357a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:974-986 | Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:989-1001 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"d659addb5911bdf94f3c9f147610849e59dab293b5aaf4c5ccd16bd8d34f937f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/Providers/Codebuff/CodebuffSettingsReader.swift:31-38 | Sources/CodexBarCore/Providers/Kilo/KiloSettingsReader.swift:15-22 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codebuff/CodebuffSettingsReader.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ee9a7366849516ff834f8eb7e2f08736ed348746873c20bb69622f8dcd930a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/Providers/Codex/CodexReconciledState.swift:53-60 | Sources/CodexBarCore/Providers/Codex/CodexReconciledState.swift:72-79 \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/CodexBarCore/Providers/Codex/CodexReconciledState.swift:53\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/CodexBarCore/Providers/Codex/CodexReconciledState.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd32880241eba8813ac70c47691fc9b561e89c925558e81d45506339836029cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift:839-846 | Sources/CodexBarCore/Providers/Warp/WarpUsageFetcher.swift:390-397 \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/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift:839\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/CodexBarCore/Providers/Doubao/DoubaoUsageFetcher.swift"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4980bcf08dd16df4e7b40088c2ea9ebdf5f0a95145b5e206762e53b0c5dd4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:444-451 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:494-501 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:444\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2c45ad189d87671bc20726e0fb58db573d3f71b1d0b1fd3048d6e17584f0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): Sources/CodexBarCore/Providers/Grok/GrokRPCClient.swift:38-43 | Sources/CodexBarCore/UsageFetcher.swift:1035-1042 \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/CodexBarCore/UsageFetcher.swift:1035\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/CodexBarCore/Providers/Grok/GrokRPCClient.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c787efee3ef22b57e15d7e88fd7ebc15e4ced576a8eac51960368211d1f96bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIProviderDescriptor.swift:49-56 | Sources/CodexBarCore/Providers/OpenRouter/OpenRouterProviderDescriptor.swift:74-81 \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/CodexBarCore/Providers/OpenAI/OpenAIAPIProviderDescriptor.swift:49\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/CodexBarCore/Providers/OpenAI/OpenAIAPIProviderDescriptor.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9175df4d4829b4844e9149e3fa7f78856cbc8063afccab087cd97a590d65c664"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/Providers/StepFun/StepFunProviderDescriptor.swift:231-238 | Sources/CodexBarCore/Providers/StepFun/StepFunProviderDescriptor.swift:248-255 \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/CodexBarCore/Providers/StepFun/StepFunProviderDescriptor.swift:231\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/StepFun/StepFunProviderDescriptor.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b445d9c3c768aed97e13d6ed3a7347733b4ebad7eb333d0c1f1c8f0a492839b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Sources/CodexBarCore/Providers/Grok/GrokCLISettingsFetcher.swift:30-36 | Sources/CodexBarCore/Providers/Grok/GrokCreditsProxyFetcher.swift:27-33 | Sources/CodexBarCore/Providers/Grok/GrokRemainingResetsFetcher.swift:339-345 | Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift:268-274 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Grok/GrokCLISettingsFetcher.swift:30\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/CodexBarCore/Providers/Grok/GrokCLISettingsFetcher.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5b54ed51c0bfeb70e9e0dd4a53e7017005d8f9d3e1c7623b8bb3b403455e28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:196-202 | Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:56-62 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:91-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:196\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:55\u0060 calls \u0060chartYAxis\u0060 and \u0060Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:195\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdcea93a05cf8f72cde8f83074c2545571e3f395b26f2652ca554a61b8ccbb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/CodexBar/ShareStatsPayload.swift:287-293 | Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift:135-141 | Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:930-936 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/ShareStatsPayload.swift:287\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/CodexBar/ShareStatsPayload.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"237c5c164745db7afd2749844284b29496fdbad0d80fe334fdc8f35a995ce8b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/CodexBarCore/CopilotUsageModels.swift:169-175 | Sources/CodexBarCore/CopilotUsageModels.swift:206-212 | Sources/CodexBarCore/Providers/Codex/CodexSpendControlNumber.swift:9-15 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/CopilotUsageModels.swift:169\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/CodexBarCore/CopilotUsageModels.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"14426b50e460b1c647e1ced40260c5762863fcefeb35814684752e20ce29364a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/CodexBarCore/Providers/Cursor/CursorAppAuth.swift:331-338 | Sources/CodexBarCore/Providers/Devin/DevinAppSessionImporter.swift:255-262 | Sources/CodexBarCore/Providers/Windsurf/WindsurfStatusProbe.swift:119-126 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Cursor/CursorAppAuth.swift:331\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/CodexBarCore/Providers/Cursor/CursorAppAuth.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb99202ba92a02386392f4fd734eaec36e13d27dd2b87555b958ca33db500cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:573-579 | Sources/CodexBarCLI/CLICostCommand.swift:555-561 \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/CodexBar/Menu/CostHistoryChartMenuView.swift:573\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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc13cd1af8df750e850b3132737cf4dbe577c1b8587c741bb7a9ae3d1f6d5221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:154-160 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:231-237 \u2014 before extracting anything, compare \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift\u0060 and \u0060Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c885458545ad498261455725717baea4baecd378b28d6de9f62f254c55a6ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBar/SessionQuotaNotifications.swift:586-592 | Sources/CodexBar/SessionQuotaNotifications.swift:616-622 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionQuotaNotifications.swift"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e131651c82db128e53a3ab5b5c9e451db3663c4f6bbc19253e1c40ba53688fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBar/Settings/PreferencesProvidersPane.swift:200-206 | Sources/CodexBar/Settings/PreferencesSidebar.swift:187-193 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProvidersPane.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6e088fa6065e7fe0d208720a4debfe0f42dcb7c40bee40d4f5431d97ce211e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): Sources/CodexBar/ShareStatsPayload.swift:446-451 | Sources/CodexBar/ShareStatsPayload.swift:464-470 \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/CodexBar/ShareStatsPayload.swift:446\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/ShareStatsPayload.swift"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d691c7305169ddc9f94bff7b7d40c2b47189ebdd10d7f5f9de965ab84fa57a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBar/StatusItem/StatusItemController\u002BCompactAccountMenu.swift:193-199 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:768-774 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BCompactAccountMenu.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b0e272cab07eedfee3bbafdab17408871a3a4191c8a831aac96efaf38c582f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:1469-1475 | Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:1480-1486 \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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift:1469\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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"f572d6630f836647949be2777783c29c04c35b8365c32c2ec1347584a477606a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/BrowserCookieAccessGate.swift:125-131 | Sources/CodexBarCore/BrowserCookieAccessGate.swift:136-142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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/CodexBarCore/BrowserCookieAccessGate.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d00f4b1c8c70c85c4206c43ea841d00215452d857b483694c4ab683e903c3d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/CostUsageModels.swift:803-811 | Sources/CodexBarCore/CostUsageModels.swift:1450-1458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc53d903a978eb1b5e8fcc6f6fe5a5807aee80c9b5b691606dfffddd2fd72c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/CostUsageModels.swift:1183-1189 | Sources/CodexBarCore/CostUsageModels.swift:1215-1221 \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/CodexBarCore/CostUsageModels.swift:1183\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \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/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f8178235a1029d35ab2309fa9756e2b1b2d714b2089c9e34c0f531ba02e03f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift:1156-1162 | Sources/CodexBarCore/Providers/ProviderVersionDetector.swift:62-68 \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. 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/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"628d235c53a117a43c674cbe71b470a15990492ebe5362293cba6ac517696982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:622-628 | Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift:643-649 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab34560a257d4732fbf446cfb02297d8e4a599dad6f1dff246e42fc42943127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/ManagedCodexAccountStore.swift:107-113 | Sources/CodexBarCore/Providers/Codex/CodexOpenAIWorkspaceIdentityCache.swift:49-55 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ManagedCodexAccountStore.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cdccb7aabc0e409204e21a24ef6b45c0eecb7118773b9f2354df9db75f8e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:927-933 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardWebsiteDataStore.swift:135-140 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift:927\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/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf359d410addb3fd3f6e76cece6e92ce7c28d9de47c7a1138a4626e59977a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:165-171 | Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:558-564 \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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:165\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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3303181c226c6dbbc4322880381d30876bd497ec3697d199db20b209e9f32904"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift:214-220 | Sources/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift:129-135 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44d5d4bc84132cb8264ad3b2ea5dfdc4fc56093cc37e4cc6ecd3f1b2feb7aeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift:196-202 | Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift:107-116 \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/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69a2031a8192ad8e3bf59b964a2d65248fa6c220e1ff69e21cf9308f47681bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieHeader.swift:59-67 | Sources/CodexBarCore/Providers/Perplexity/PerplexityCookieHeader.swift:67-75 \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/CodexBarCore/Providers/CommandCode/CommandCodeCookieHeader.swift:59\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 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/CodexBarCore/Providers/CommandCode/CommandCodeCookieHeader.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ab0fe146c48663b6429dbce527f4ed895950a9e16a0453affa3d07b9932705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:125-131 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:84-91 \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/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:125\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/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a5c03da8539fa1fb883edfe42800ab09c2c50bcb76d0ce9c2c4bb1fd54a393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:415-421 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxBillingHistory.swift:353-359 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af83cd0ec12dd10f907499a855e4a580f31d93b30d0e801a594150c79dbce44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 3): Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1130-1132 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1138-1144 | Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1196-1202 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift:1138\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b7f4a26f1415fe49b1f534cecb68fba9bb9453bd043c2af60bc8da79ed27d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift:395-401 | Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift:452-458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8d83899e8bc3cd830eed668d91521c5e17f27b3f95068b7d93df3ca47b8684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift:21-27 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift:91-97 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift:21\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/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"681195e24a02fdddea757354f6a6dccc33ec2a4765719cbf5c9cd7efefc63816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 11): Sources/CodexBarCore/PathEnvironment.swift:62-67 | Sources/CodexBarCore/PathEnvironment.swift:84-89 | Sources/CodexBarCore/PathEnvironment.swift:124-129 | Sources/CodexBarCore/PathEnvironment.swift:152-154 | Sources/CodexBarCore/PathEnvironment.swift:201-206 | Sources/CodexBarCore/PathEnvironment.swift:227-232 | Sources/CodexBarCore/PathEnvironment.swift:249-254 | Sources/CodexBarCore/PathEnvironment.swift:292-297 | Sources/CodexBarCore/PathEnvironment.swift:323-328 | Sources/CodexBarCore/PathEnvironment.swift:343-348 | Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift:326-331 \u2014 there are 11 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 11 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/PathEnvironment.swift:62\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PathEnvironment.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aea199a48e490c7c56ffa7dccb93506c0071ac85fdf380ce73df8a4d760865e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/CodexBarCore/CopilotUsageModels.swift:169-174 | Sources/CodexBarCore/CopilotUsageModels.swift:206-211 | Sources/CodexBarCore/Providers/Codex/CodexSpendControlNumber.swift:9-14 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxDecoding.swift:22-27 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. 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/CodexBarCore/CopilotUsageModels.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d85a4519a15447137b20fdac41cb8890a94ac1075248da8a058df0fbb8f4d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/CodexBarCore/CopilotUsageModels.swift:169-174 | Sources/CodexBarCore/CopilotUsageModels.swift:206-211 | Sources/CodexBarCore/Providers/Codex/CodexSpendControlNumber.swift:9-14 | Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift:207-212 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060container\u0060 to \u0060KeyedDecodingContainer\u003CCodingKeys\u003E\u0060 in one and \u0060KeyedDecodingContainer\u003CDynamicCodingKey\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CopilotUsageModels.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ad66e8ab7bef3b97dac47a733c0f3f81b3684a859f4793f8a95baced4f0adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:499-504 | Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:540-546 | Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:582-588 | Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:627-632 \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/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:499\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:625\u0060 calls \u0060setValue\u0060 and \u0060Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift:497\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/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7ac90f2e8c917155dc11a2c64467780fd06570922493f7b80c22db1618cb71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:235-242 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:253-260 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift:1052-1057 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe65d32da461dc3626cff2ad71cf64a7a6beb8698533c0cd0b536231630a13e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift:31-36 | Sources/CodexBarCore/Providers/Gemini/GeminiProviderDescriptor.swift:24-29 | Sources/CodexBarCore/Providers/Windsurf/WindsurfProviderDescriptor.swift:38-43 \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/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed22462b98b77fc46820b2dbcc007cbb0cc21af6b55a153f45c3f31ac3a55132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:480-485 | Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:508-513 | Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:534-539 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift:480\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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"f003f24fd9aa0f3ecb57f65d95f8ca2b2642f27636135422c6ff2b8383e4785d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:37-42 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:71-76 \u2014 before extracting anything, compare \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift\u0060 and \u0060Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:37\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/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6af48ea18f650853b2b1ab246792423731eadaedc26e6c2a70215b32e37a49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:46-54 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:80-88 \u2014 before extracting anything, compare \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift\u0060 and \u0060Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:46\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:89\u0060 calls \u0060chartForegroundStyleScale\u0060 and \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:55\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e2c3f82fb6a1cf5f9efd82906b2802cab0c696d62e948f37e644bd4795f5d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:292-297 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:422-429 \u2014 before extracting anything, compare \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift\u0060 and \u0060Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9baaddb19b73bc6ab94b561f9aa5d2430f3c5a71159a7124b3ea32b6a5864c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift:51-56 | Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift:1204-1209 \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/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift:51\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fc72348cacd373b21f5b06a5f17e53fd3d1f1e9e7f85a17326ba6cf59c5f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 3): Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift:410-412 | Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift:480-485 | Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift:512-517 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift:410\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e272ea6159630d6ef7390c828cf0aecc8388903cf853b257fa9eb04750d6a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCLI/CLICostCommand.swift:101-106 | Sources/CodexBarCLI/CLICostCommand.swift:145-150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICostCommand.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf3b0a0a96cb5023304a1db9e9cf7dec47063760cce86daba9b91633a0a245e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/CodexThreadMetadataReader.swift:346-352 | Sources/CodexBarCore/Providers/Codex/CodexCLIBackendConfiguration.swift:176-182 \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. 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/CodexBarCore/CodexThreadMetadataReader.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"16db381d10bd6fad9d05170835a825ef9c76cd3905ded04f5e5898f36409ae20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift:521-526 | Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift:566-571 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b18721d108a2738818b47ab96a96ea34e85e4199c875b2e17e011a988864e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 11): Sources/CodexBarCore/CookieHeaderNormalizer.swift:68-73 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:66-68 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:191-193 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:563-565 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:591-593 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:1337-1339 | Sources/CodexBarCore/Providers/Factory/FactoryManualCredentials.swift:35-37 | Sources/CodexBarCore/Providers/Kimi/KimiCookieHeader.swift:54-59 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift:1201-1203 | Sources/CodexBarCore/TextParsing.swift:15-17 | Sources/CodexBarCore/TextParsing.swift:78-80 \u2014 there are 11 copies across 7 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 11 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:63\u0060 calls \u0060parseCodeReviewRemainingPercent\u0060, \u0060replacingOccurrences\u0060 and \u0060Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:190\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderNormalizer.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb2b32af6af67efa96875aad5db266a488638f5585ffcddb50769b68ecd41f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift:577-582 | Sources/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift:623-628 \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/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift:577\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/CodexBarCore/CostUsageModels\u002BQuotaWindows.swift"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a75ee898a1a67d16466359df98755e2090507be2b931bf900e5e913f9897033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift:760-765 | Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift:771-776 \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/CodexBarCore/Plugins/ProviderPluginRuntime.swift:760\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/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82c8f8cdecc37289e77b7c77d2dc3948a254dadbcecabdf5f3208a014279604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:353-359 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:727-733 \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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:353\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/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"719e4d09be1e027065479b0573f375fbb27687ffac5ca6e66ae9cc594ef3f77f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/Antigravity/AntigravityOfflineStore.swift:89-94 | Sources/CodexBarCore/Providers/Antigravity/AntigravityOfflineStore.swift:97-102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityOfflineStore.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3f1449fcca143cbdf2be198bcc87288af4cd9c810141905d014e979bf03220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/Codex/CodexStatusProbe.swift:188-193 | Sources/CodexBarCore/Providers/Codex/CodexStatusProbe.swift:196-201 \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/CodexBarCore/Providers/Codex/CodexStatusProbe.swift:188\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/CodexBarCore/Providers/Codex/CodexStatusProbe.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c2839726c3850ff52c66a76bbdc47e3b0e69d01bbeec2d7f9ee114a7b7142e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:781-786 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxBillingHistory.swift:324-329 \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. 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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"668b764f534950bfb737666c42e8c02f40e0639a6fdab4b21a35c1b7cb567212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:328-333 | Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:340-345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:328\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:348\u0060 calls \u0060response\u0060, \u0060statusError\u0060 and \u0060Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:335\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f37056c5890be4de33aa7e62ad341184918557b13cc184704449bb1b0768106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:90-96 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieHeaders.swift:142-148 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift\u0060 and \u0060Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieHeaders.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85bd61f6acd7c75c1e274ce18de6ac7a93f8668b3db14d5e05cab9259c8aa9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:143-150 | Sources/CodexBarCore/Providers/Perplexity/PerplexityCookieImporter.swift:39-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"72776cbecd4f4c50a4c387634ef0ae0a6706f50212de283729584069cdb9dd47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift:48-56 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift:67-75 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift:48\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/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"810fe5e0175dc41f46321cff34a50243608b566dc8dc98c295bb4efdb07bd952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift:405-410 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift:830-835 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"004b09399e52496ec03805b3b18985cb5ba2ffc28b34ea4d3cc6b044c3f2071b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleSECTokenResolver.swift:110-115 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleSECTokenResolver.swift:204-209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleSECTokenResolver.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c36b8bc4b81c6f98f21fc2b29d9b585298fc6a8b92e9087e721d51300aa167"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:245-250 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:258-263 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:274-279 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:171-176 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:184-189 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift:200-205 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift:245\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 \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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c0d728d9862a2b0252855e66e247611e040c7c383b221bcbc1de52c284fc57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:204-211 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:336-343 | Sources/CodexBarCore/CostUsageModels.swift:1601-1606 | Sources/CodexBarCore/PiSessionCostScanner.swift:1354-1358 \u2014 before extracting anything, compare \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift\u0060 and \u0060Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d4869dbf2e76204bf1727c24ab189997d59385c4d5a57d96b9149221d1621b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:776-780 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:1169-1173 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageParser.swift:181-185 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleSECTokenResolver.swift:155-159 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift:776\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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5d1ef5daf75fe6c9c82bb31875b83a6ac72ec7f8c423ca9a7ff954432180a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/CodexBarCore/CostUsageModels.swift:849-854 | Sources/CodexBarCore/CostUsageModels.swift:1348-1353 | Sources/CodexBarCore/CostUsageModels.swift:1418-1423 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a205bcd787caa5c77f8e928a8e8b1564caad1338d6e4116c9b95255ef0f8896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:556-560 | Sources/CodexBarCore/Providers/Grok/GrokRemainingResetsFetcher.swift:333-337 | Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift:262-266 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift:556\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/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"f239bcf9d6ca0402b3058ad65760cb931e1f91cd8b5f88564ba403d31ebf1685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift:74-78 | Sources/CodexBarCore/Providers/Grok/GrokCookieImporter.swift:89-93 | Sources/CodexBarCore/Providers/Perplexity/PerplexityCookieImporter.swift:113-117 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift:74\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/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"84033525e194f7f633096e76c381b8b84f9fa663cb6b321e709bfc5ff23cce8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/CodexBarCore/Providers/Groq/GroqConsoleFetcher.swift:175-179 | Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:330-334 | Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:342-346 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:348\u0060 calls \u0060response\u0060, \u0060statusError\u0060 and \u0060Sources/CodexBarCore/Providers/Kilo/KiloUsageFetcher.swift:335\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Groq/GroqConsoleFetcher.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5459f4ed11a037755f528441acbb8d755b0640e1fbe06d6c0cc93ebd28b1d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:707-711 | Sources/CodexBarCore/PiSessionCostScanner.swift:1354-1358 \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. 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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5180766652f111593b62466bca9e57e6abcabb4a3e0fe5cd6aa3de8401b3e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:907-911 | Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:969-973 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82cf25d99051aade18c18eff369ddd688f2569fa3e1bbbb0c3ba5ee002fb745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/Menu/MenuBarLayout.swift:1179-1183 | Sources/CodexBar/Menu/MenuBarLayout.swift:1344-1348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayout.swift"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45de3f7ccd847d4cd59a764d42f10338afdec7fa6d5d54828f3b95648b727de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBar/Menu/PlanUtilizationHistoryChartMenuView.swift:689-694 | Sources/CodexBar/Menu/PlanUtilizationHistoryChartMenuView.swift:719-724 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/PlanUtilizationHistoryChartMenuView.swift"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e10199ddbf4e1485535c12a6f4e3e7502d3e0b0aac67e58cba5732c41916efe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBar/Providers/Claude/ClaudeSwapAccountSwitcherView.swift:63-68 | Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift:1272-1277 \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/CodexBar/Providers/Claude/ClaudeSwapAccountSwitcherView.swift:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Claude/ClaudeSwapAccountSwitcherView.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c643af5a6d13a2ef1052713aceebcfabcdbc70eb722f56623c5235963bb1e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift:165-169 | Sources/CodexBarCore/Providers/Codex/CodexOpenAIWorkspaceIdentityCache.swift:61-65 \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/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift:165\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/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"33abb9779e0f66a21f53e0655d42587fbadbd28b36cbb01e2e7c99ae8ef4ff2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/Providers/Codex/PreferencesCodexAccountsSection.swift:139-143 | Sources/CodexBar/Providers/Codex/PreferencesCodexAccountsSection.swift:169-173 \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/CodexBar/Providers/Codex/PreferencesCodexAccountsSection.swift:139\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/CodexBar/Providers/Codex/PreferencesCodexAccountsSection.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"578d5f2470d97dc7a50f0a80a855e0ef4b03c5b0a27e31a0b776b3bf1e7a9b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/SessionUsageBrowser.swift:240-244 | Sources/CodexBar/SessionUsageBrowser.swift:342-346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBar/SessionUsageBrowser.swift:240\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/CodexBar/SessionUsageBrowser.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2442d2a7d933836807b0839c78089cbc6f8726a80a25b898f5324ae3df000c99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBar/Settings/PreferencesDebugPane.swift:569-574 | Sources/CodexBarCLI/CLIHelpers.swift:111-116 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesDebugPane.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"941fa4587048c04b645f393dbfd408c5ac01df3ccebae1ccc4904cd5a3198900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/SpendDashboard/SpendActivityHeatmap.swift:524-531 | Sources/CodexBar/SpendDashboard/SpendActivityHeatmap.swift:796-800 \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/CodexBar/SpendDashboard/SpendActivityHeatmap.swift:524\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendActivityHeatmap.swift"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ca0fed4b18f256c99a6ad44d53939b0ed507de441f134a65c113c360926ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift:92-96 | Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:890-897 \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/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift:92\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a64ddbf88a4840d787b88ce7bd5e8e673aace907ac9143e51726c4b888b8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:209-214 | Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1643-1648 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"34edd571eb564feda8b611a80b262e678ce5f334cfe21bf8ea8c781f18435f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift:366-370 | Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift:385-392 \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/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift:366\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/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"c029d03a3f3b7300f658aab2d857a5980e96b3f96cc24596b6e309c82b97109d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/CookieHeaderCache.swift:308-312 | Sources/CodexBarCore/CookieHeaderCache.swift:967-971 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4fbc16eb32bb820571547234844c4fa343f39ccde8746c82b40135ed30e071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift:212-216 | Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift:1146-1150 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8d82ae66181b315483a972665439ada09edec18f0cd41d2db21be5117747e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1072-1076 | Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:1082-1086 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c69ae03197f4ab6f9dd5d6eb6e7d0296f93bfe9a7cb7fb79bf29bf86c50dd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalReader.swift:151-155 | Sources/CodexBarCore/Providers/Muse/MuseLocalUsageReader.swift:186-190 \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/CodexBarCore/Providers/Antigravity/AntigravityLocalReader.swift:151\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/CodexBarCore/Providers/Antigravity/AntigravityLocalReader.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba775060f2f697851ca9ede7598479963963cef396a594a86b0d3db2e550d0ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/Augment/AugmentSessionKeepalive.swift:491-495 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageSnapshot.swift:253-257 \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/CodexBarCore/Providers/Augment/AugmentSessionKeepalive.swift:491\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 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/CodexBarCore/Providers/Augment/AugmentSessionKeepalive.swift"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8867620f6daca98723ecf4a2f34ae77354a59247bdb7de1758ad00c28b60666"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift:342-346 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift:356-360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"a071cd452f966ec88ec49135e6808617303c97c2742f42a5b0fa464eec2f6afa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:601-605 | Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:664-668 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ef2d1922007a92cef37ff9c57f71416c34f82c8f5aeac6a9d079e00df4b400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:600-605 | Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift:886-891 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa8e2033276f064b9015a581b40b888c4123b40630bc327bc56b1886f17cf4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/Factory/FactoryLocalStorageImporter.swift:19-23 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift:15-19 \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/CodexBarCore/Providers/Factory/FactoryLocalStorageImporter.swift:19\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/CodexBarCore/Providers/Factory/FactoryLocalStorageImporter.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fc8e81da24bc037e2d6b455c7511357ac7a1b2324c5e78213ad7a52f4039e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 4): Sources/CodexBarCore/Providers/Grok/GrokCookieImporter.swift:45-49 | Sources/CodexBarCore/Providers/Mistral/MistralCookieImporter.swift:52-54 | Sources/CodexBarCore/Providers/Replicate/ReplicateCookieImporter.swift:26-30 | Sources/CodexBarCore/Providers/Venice/VeniceCookieImporter.swift:22-24 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/Grok/GrokCookieImporter.swift:45\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokCookieImporter.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f775c63a5ab7d8a94624d00547d254dd1adaa81b399462e0e40cde8ce5d8b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/Groq/GroqConsoleFetcher.swift:178-184 | Sources/CodexBarCore/Providers/Groq/GroqUsageFetcher.swift:195-201 \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/CodexBarCore/Providers/Groq/GroqConsoleFetcher.swift:178\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/CodexBarCore/Providers/Groq/GroqConsoleFetcher.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa1dfae822213bbd886e55571087ae241ae3d30635bed84edea0f1a0abb7450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:56-60 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieHeaders.swift:108-112 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift\u0060 and \u0060Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieHeaders.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:56\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 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/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a66ff07c4b78658ae3b10ba1dcfaa90ada3763f1190d38b72d9cbcf6be0827c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/Mistral/MistralUsageFetcher.swift:335-339 | Sources/CodexBarCore/Providers/Mistral/MistralUsageFetcher.swift:355-359 \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/CodexBarCore/Providers/Mistral/MistralUsageFetcher.swift:335\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/CodexBarCore/Providers/Mistral/MistralUsageFetcher.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c5a16c5f3cdf23bf55dba9d36b2f43a7b16fa4f998ea29093c9b6d2ef90ec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 7): Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift:453-455 | Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:1303-1304 | Sources/CodexBarCore/Providers/OpenCode/OpenCodeZenBillingParser.swift:119-122 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoZenBalanceParser.swift:145-149 | Sources/CodexBarCore/Providers/Shared/OpenCodeWebParsing.swift:209-213 | Sources/CodexBarCore/Providers/Shared/OpenCodeWebParsing.swift:219-222 | Sources/CodexBarCore/TextParsing.swift:63-64 \u2014 there are 7 copies across 6 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/OpenCode/OpenCodeZenBillingParser.swift:119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoZenBalanceParser.swift:145\u0060 calls \u0060firstMatch\u0060 and \u0060Sources/CodexBarCore/Providers/OpenCode/OpenCodeZenBillingParser.swift:119\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardParser.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"3275d408f2648c8a522d9f656e1823a42b735d70ff919dd1ed04971542e87e46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Sources/CodexBar/Providers/Copilot/CopilotTokenStore.swift:14-20 | Sources/CodexBar/Providers/Kimi/KimiTokenStore.swift:14-20 | Sources/CodexBar/Providers/MiniMax/MiniMaxAPITokenStore.swift:14-20 | Sources/CodexBar/Providers/Synthetic/SyntheticTokenStore.swift:14-20 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Copilot/CopilotTokenStore.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb440e1b01e6cc6926807496893e5889d1847879dbccb917b2bd72d3f6e8ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Sources/CodexBarCore/Providers/Bifrost/BifrostSettingsReader.swift:7-21 | Sources/CodexBarCore/Providers/LLMProxy/LLMProxySettingsReader.swift:7-33 | Sources/CodexBarCore/Providers/LiteLLM/LiteLLMSettingsReader.swift:8-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/LLMProxy/LLMProxySettingsReader.swift:7\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/Providers/LiteLLM/LiteLLMSettingsReader.swift:40\u0060 calls \u0060setExtensionValue\u0060 and \u0060Sources/CodexBarCore/Providers/Bifrost/BifrostSettingsReader.swift:21\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bifrost/BifrostSettingsReader.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b962ea5ec7d875245393fe9933a81c2cf65a537085c753455aa97516c9e7cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): Sources/CodexBarCore/Providers/LLMProxy/LLMProxySettingsReader.swift:7-33 | Sources/CodexBarCore/Providers/LiteLLM/LiteLLMSettingsReader.swift:8-40 \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/CodexBarCore/Providers/LLMProxy/LLMProxySettingsReader.swift:7\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/Providers/LiteLLM/LiteLLMSettingsReader.swift:40\u0060 calls \u0060setExtensionValue\u0060 and \u0060Sources/CodexBarCore/Providers/LLMProxy/LLMProxySettingsReader.swift:33\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/LLMProxy/LLMProxySettingsReader.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e8fc9b67684cc37884b36c977a9ca2626b99cf879c52864b8d30d34ef9ca98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/Menu/CostHistoryChartMenuView.swift:769-773 | Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1320-1324 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bba2e92159d27d21f8b0fbc583ad8181e3a732a1784d2602178e99f035fcc8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10): Sources/CodexBar/Providers/Alibaba/AlibabaCodingPlanProviderImplementation.swift:7-12 | Sources/CodexBar/Providers/Alibaba/AlibabaTokenPlanProviderImplementation.swift:8-13 | Sources/CodexBar/Providers/DeepSeek/DeepSeekProviderImplementation.swift:8-13 | Sources/CodexBar/Providers/Devin/DevinProviderImplementation.swift:9-14 | Sources/CodexBar/Providers/Kimi/KimiProviderImplementation.swift:7-12 | Sources/CodexBar/Providers/LongCat/LongCatProviderImplementation.swift:7-12 | Sources/CodexBar/Providers/MiniMax/MiniMaxProviderImplementation.swift:7-12 | Sources/CodexBar/Providers/OpenCodeGo/OpenCodeGoProviderImplementation.swift:7-12 | Sources/CodexBar/Providers/QwenCloud/QwenCloudProviderImplementation.swift:7-12 | Sources/CodexBar/Providers/Venice/VeniceProviderImplementation.swift:8-13 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Alibaba/AlibabaCodingPlanProviderImplementation.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcab2c0e4569b841dbacd6b6d5e997731efd31923c52c194c852bff181b3e56e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBar/Providers/Claude/ClaudeSwapAccountSwitcherView.swift:89-97 | Sources/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift:292-300 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Claude/ClaudeSwapAccountSwitcherView.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0732cb91953a1ec0ba0800d96f45a1a1934b9a5ee4a117b9e6e6fe5cb7362e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/Settings/PreferencesDebugPane.swift:507-511 | Sources/CodexBar/Settings/PreferencesProvidersPane.swift:653-657 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesDebugPane.swift"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83c9ca067ee6a799c9fa142cad68e7665346fff8b90c48650e345969e9f7936"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/CodexManagedAccounts.swift:48-53 | Sources/CodexBarCore/Providers/Codex/CodexOpenAIWorkspaceResolver.swift:19-24 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexManagedAccounts.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2acf8f12d951b8057836a56c97227ab6c9e0b38a372c9f3536157cf046924f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/CodexManagedAccounts.swift:55-60 | Sources/CodexBarCore/Providers/Codex/CodexOpenAIWorkspaceResolver.swift:98-103 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexManagedAccounts.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"331bd056c0529e84df9b82d310eb19627246c4a0019953c35395cf0926bc6d60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/PiSessionCostCache.swift:14-19 | Sources/CodexBarCore/Providers/Muse/MuseLocalUsageCache.swift:136-141 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostCache.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d3d7838a18bfc7ac4e0809f8fc90e7fe981eead794a436bd0c6565f04fa4b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Plugins/UserProviderPlugins.swift:636-644 | Sources/CodexBarCore/Providers/TypeSafe/TypeSafeWebFetchStrategy.swift:168-176 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/UserProviderPlugins.swift"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda898f4670eb37365fc39d35833ec568bcd2d0e09dac167ed9263a3db97afe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/ProviderHTTPClient.swift:243-252 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleCookieRouting.swift:115-122 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderHTTPClient.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fce2c8c6556e5ff1a32fa30764931efc761b076bfaef6d9a2d85e35998b659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanSettingsReader.swift:30-34 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxAPISettingsReader.swift:17-21 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanSettingsReader.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3f13e97737f3eff1a7e9abd8f214432ff19aba480bd901ec9ef4da5ac7171e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanSettingsReader.swift:36-42 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxSettingsReader.swift:39-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanSettingsReader.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d43a3c53a83e471db68e40c3c31fb6d1be417c20f02b57c91028b4d9e513e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanSettingsReader.swift:54-58 | Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanSettingsReader.swift:14-18 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudSettingsReader.swift:8-12 \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/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanSettingsReader.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"923779195952b11885a704f46e731f3f04c1c885ebd8793b9eaec5e47518b295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:219-224 | Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:609-614 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:1317-1322 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:632-637 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"426994f0ac849dd08db964afc43b0fb6772617ddb7a62fb4cbb97ec1e45e4264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:332-337 | Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:602-607 | Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:1310-1315 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:707-712 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:703\u0060 calls \u0060String\u0060 and \u0060Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift:329\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1b118ac21e26f9d973e9b6464941ca3da75d89a2f72b15974874faf2e4a170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:294-298 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:645-649 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93398563c66313c443d1172b3121611a8aadf8b991cdbd009b7accdfbece51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:315-320 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:657-663 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"84579c40ec5a3c0f6d5788355567e4c4f6863d08041a1374a9fc510c3b00fdae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift:334-340 | Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:682-688 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"3310a4806ba7753edcbafab87809eecde3fd95f290ab63f415f925b5a3a738a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/Bedrock/BedrockAWSSigner.swift:152-158 | Sources/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift:447-453 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockAWSSigner.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fa4d924a4757125db6a5e04002d7158ac5cf5a5f630011a4c0a56c913a957b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/Bedrock/BedrockProfileCredentialProvider.swift:81-86 | Sources/CodexBarCore/Providers/IBMBob/IBMBobUsageFetcher.swift:352-357 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockProfileCredentialProvider.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08cd0610f705b164994496e4deadd17b454889feb5f2c5646ff59a57d709823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Sources/CodexBarCore/Providers/Chutes/ChutesSettingsReader.swift:13-20 | Sources/CodexBarCore/Providers/Codebuff/CodebuffSettingsReader.swift:15-20 | Sources/CodexBarCore/Providers/ElevenLabs/ElevenLabsSettingsReader.swift:19-24 | Sources/CodexBarCore/Providers/Groq/GroqSettingsReader.swift:13-20 | Sources/CodexBarCore/Providers/NeuralWatt/NeuralWattSettingsReader.swift:18-23 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Chutes/ChutesSettingsReader.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5482e02d00432709ef3ee1db5b3067526ad88f4e65f6b121d9f05575e18f3f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeCLIUsageSpawnThrottle.swift:115-121 | Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift:1395-1401 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLIUsageSpawnThrottle.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc3792ed20e1dfe92cf50cc1a670f60dc865c4c9ccbc67e932127e689645db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeCLIUsageSpawnThrottle.swift:123-130 | Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift:1403-1410 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLIUsageSpawnThrottle.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbb72360f43302803a97b99b6faefb29b7bc751820b643c8d8a951f5f864047"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/Codex/CodexAdditionalRateLimitMapper.swift:131-137 | Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATUsageFetcher.swift:110-118 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexAdditionalRateLimitMapper.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcbfd85039a52b907994d542945357e1123224e31d3b370d395206fd5c8dd4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift:32-37 | Sources/CodexBarCore/Providers/Perplexity/PerplexityCookieImporter.swift:67-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a822cf9503d9f3777a602e0d997d100aa27b0fc086450355ce5f8e480d64ebde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift:1347-1352 | Sources/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.swift:496-501 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also 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/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"8046b37f642b18b73432c9316f885d4313a5e2d437a4c3ab63a09d90e55b7c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift:316-321 | Sources/CodexBarCore/Providers/Mistral/MistralModels.swift:500-505 \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. 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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"469371f6128c91ef21c3f7c14346606cf52aaedab33a8e887dd45502edbbd864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/CodexBarCore/Providers/ElevenLabs/ElevenLabsSettingsReader.swift:11-17 | Sources/CodexBarCore/Providers/NeuralWatt/NeuralWattSettingsReader.swift:10-16 | Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift:816-824 \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/CodexBarCore/Providers/ElevenLabs/ElevenLabsSettingsReader.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bdd406a2cc1633c2004139525c19fbe47b161d2be1f9e035ba7e1611ce60af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Providers/Grok/GrokCookieImporter.swift:98-108 | Sources/CodexBarCore/Providers/Perplexity/PerplexityCookieImporter.swift:124-134 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/CodexBarCore/Providers/Grok/GrokCookieImporter.swift:110\u0060 calls \u0060invalidateImportSessionCache\u0060, \u0060invalidate\u0060 and \u0060Sources/CodexBarCore/Providers/Perplexity/PerplexityCookieImporter.swift:136\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokCookieImporter.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cf9d95a297a7a56fceae55a4bbc83b5984c182ca1a8235e29ffa45251655e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/Groq/GroqConsoleFetcher.swift:283-287 | Sources/CodexBarCore/Providers/Groq/GroqUsageFetcher.swift:226-230 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Groq/GroqConsoleFetcher.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"b209d5407ae696dd70c0f81cd6857ee9a202b73b858eb2442d9b2690e3accd84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/Kimi/KimiDesktopAuthToken.swift:110-114 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoLocalUsageReader.swift:160-164 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kimi/KimiDesktopAuthToken.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"86db4d07a0d2b9731d5f6b66f61c80f1e16d69913edf6a9da65fd157bba7258c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift:153-158 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxCookieImporter.swift:45-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc6399f4223c2e20188b62d4723dbd185475da3e6362dedd158416840f92556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/Notion/NotionProviderSettings.swift:10-14 | Sources/CodexBarCore/Providers/OpenCode/OpenCodeProviderSettings.swift:8-12 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Notion/NotionProviderSettings.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bb8fe116e2058898a64a2088220ddf863fd32720a547158cdee8fb6bbdbdd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/QwenCloud/QwenCloudTokenPlanAPIClient.swift:161-166 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieHeaders.swift:67-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/QwenCloud/QwenCloudTokenPlanAPIClient.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"78894ec9db3a4c4a4f61463dcf823ae54430f62bce5c870bbc937baac69b7692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/CodexBarCore/Providers/Venice/VeniceSettingsReader.swift:7-16 | Sources/CodexBarCore/Providers/Warp/WarpSettingsReader.swift:9-18 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Venice/VeniceSettingsReader.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8b5d35dad528f69c0f8764759583cc1b93ea1c4b26337b29714c3f9c5bd752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): Sources/CodexBar/Providers/Abacus/AbacusProviderImplementation.swift:7-12 | Sources/CodexBar/Providers/Augment/AugmentProviderImplementation.swift:7-12 | Sources/CodexBar/Providers/Claude/ClaudeProviderImplementation.swift:42-47 | Sources/CodexBar/Providers/CommandCode/CommandCodeProviderImplementation.swift:7-12 | Sources/CodexBar/Providers/Factory/FactoryProviderImplementation.swift:30-35 | Sources/CodexBar/Providers/Mistral/MistralProviderImplementation.swift:12-17 | Sources/CodexBar/Providers/Ollama/OllamaProviderImplementation.swift:31-36 | Sources/CodexBar/Providers/OpenCode/OpenCodeProviderImplementation.swift:24-31 | Sources/CodexBar/Providers/StepFun/StepFunProviderImplementation.swift:48-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 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 9 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060ProviderSettingsSnapshotContext\u0060 in one and \u0060ProviderSourceModeContext\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Abacus/AbacusProviderImplementation.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab440a091643e8798f518036e981d7d7eea109e4b3dbc9d6c97fb191ed89f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/CodexBar/Providers/Amp/AmpSettingsStore.swift:7-12 | Sources/CodexBar/Providers/CommandCode/CommandCodeSettingsStore.swift:7-12 | Sources/CodexBar/Providers/Grok/GrokSettingsStore.swift:7-12 | Sources/CodexBar/Providers/Ollama/OllamaSettingsStore.swift:10-15 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Amp/AmpSettingsStore.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe05670b4d3551de258717061c0998d032151830cede61d6c8cc8f60f689cb1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/CodexBar/Providers/Antigravity/AntigravityProviderImplementation.swift:29-36 | Sources/CodexBar/Providers/Kilo/KiloProviderImplementation.swift:43-50 | Sources/CodexBar/Providers/Windsurf/WindsurfProviderImplementation.swift:19-26 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060ProviderSourceLabelContext\u0060 in one and \u0060ProviderSettingsSnapshotContext\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Antigravity/AntigravityProviderImplementation.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1bb54d9f6e529b8a2fd9f976ff376f18ca9d430476283c5630ec3ae1837ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/CodexBar/Providers/Antigravity/AntigravitySettingsStore.swift:76-86 | Sources/CodexBar/Providers/Kilo/KiloSettingsStore.swift:59-69 | Sources/CodexBar/Providers/Windsurf/WindsurfSettingsStore.swift:49-59 \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/CodexBar/Providers/Antigravity/AntigravitySettingsStore.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"666de918bfeec2aba3e6425e9276a346168836dbea6eed599a0d3a051ddd9927"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/CodexBar/Providers/Bedrock/BedrockSettingsStore.swift:7-12 | Sources/CodexBar/Providers/Bedrock/BedrockSettingsStore.swift:17-22 | Sources/CodexBar/Providers/Bedrock/BedrockSettingsStore.swift:27-32 | Sources/CodexBar/Providers/Doubao/DoubaoSettingsStore.swift:12-17 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Bedrock/BedrockSettingsStore.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e5134ec059055124f65d82d6a4085d2051343b972e6337f9e87621518f37af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/Providers/ClawRouter/ClawRouterProviderImplementation.swift:12-16 | Sources/CodexBar/Providers/OpenRouter/OpenRouterProviderImplementation.swift:12-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/ClawRouter/ClawRouterProviderImplementation.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee07f5cbcc2598e91fe021165b5afacffa1552d232f0bd1a16d6e7a488b5350b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Sources/CodexBar/Providers/Codex/CodexHistoryOwnership.swift:135-140 | Sources/CodexBar/Providers/Cursor/CursorLoginAccountSelector.swift:98-103 | Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSnapshotSelection.swift:31-36 | Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift:158-163 | Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift:359-364 | Sources/CodexBarCore/UsageFetcher.swift:1563-1568 \u2014 there are 6 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexHistoryOwnership.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb0376249eeacff046f1b89cda1b71cd6594ea051901db1cfeada9fc35aa848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBar/Providers/Factory/FactoryProviderImplementation.swift:21-28 | Sources/CodexBar/Providers/Kimi/KimiProviderImplementation.swift:39-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Factory/FactoryProviderImplementation.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2914ee20a569a43f2509254aa2aad6977cb7a23be61760d7ebf3d6c64378ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/Providers/Replicate/ReplicateProviderImplementation.swift:7-11 | Sources/CodexBar/Providers/TypeSafe/TypeSafeProviderImplementation.swift:7-11 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Replicate/ReplicateProviderImplementation.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb5e5c9ece84252ff196f8582ed4f1ac689a938f11a49563ac1b1f81ab00772"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/SessionEquivalentForecast.swift:149-153 | Sources/CodexBarCore/UsagePace.swift:267-271 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionEquivalentForecast.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffdbaf2e162bce1173796d39a6b6c997b0566b98d1e5e37b714d86278b10535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/BrowserCookieAccessGate.swift:195-202 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainAccessGate.swift:110-117 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/BrowserCookieAccessGate.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db7866c50b5eedf99fcf5ccd350f6571d624e8ad87fcee15dacfbe30ec1fbea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Sources/CodexBarCore/CookieHeaderCache\u002BTestingOverrides.swift:14-22 | Sources/CodexBarCore/CookieHeaderCache\u002BTestingOverrides.swift:33-41 | Sources/CodexBarCore/CookieHeaderCache.swift:832-840 | Sources/CodexBarCore/KeychainAccessGate.swift:130-138 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CookieHeaderCache\u002BTestingOverrides.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"153c0789bb994630fbe597948c00cc3550c2b29ddffd2395f55db0821575177c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodexBarCore/KeychainCacheStore\u002BApplicationPaths.swift:44-51 | Sources/CodexBarCore/KeychainCacheStore.swift:571-578 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/KeychainCacheStore\u002BApplicationPaths.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f0c1c623c77224d71353a25cbd382c09407dd1c67c78d5905a69d47ae9145e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Sources/CodexBarCore/Providers/AiAnd/AiAndSettingsReader.swift:6-10 | Sources/CodexBarCore/Providers/ClinePass/ClinePassSettingsReader.swift:6-10 | Sources/CodexBarCore/Providers/DeepInfra/DeepInfraSettingsReader.swift:6-10 | Sources/CodexBarCore/Providers/Poe/PoeSettingsReader.swift:6-10 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/AiAnd/AiAndSettingsReader.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f027d38d99b7743eb8de6f26eeff1b76e5ee9b9bc1a27854dffc0c31140330d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanSettingsReader.swift:60-66 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxSettingsReader.swift:55-61 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxSettingsReader.swift:63-69 | Sources/CodexBarCore/Providers/MiniMax/MiniMaxSettingsReader.swift:71-77 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanSettingsReader.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cc32969d90c4a0ac69ebf25bd0e1cc48330f7a51a94d2ea8f62cfacc10a9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanCookieHeader.swift:19-30 | Sources/CodexBarCore/Providers/QwenCloud/QwenCloudCookieHeader.swift:17-25 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanCookieHeader.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"90627abbe57ac0495bd56ca99d3925b746f47f3d2d91537d85a6a9f632d4a26f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift:74-88 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift:74-88 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift\u0060 and \u0060Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"23af03cb0ebf20163d1a4e09e5002452e30bb6ae0233a393a9d39ccd3a67d13b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift:268-276 | Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift:295-303 \u2014 before extracting anything, compare \u0060Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift\u0060 and \u0060Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"1136ff49bceea7914aa3ff17fcf7ef33bfc93e8a8a92c1d54ef39ffb20bb763e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainAccessGate.swift:169-175 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainPreAlertGate.swift:103-109 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainAccessGate.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f913e375fd0a95c236fc6082f94d24d73b49c3ac187f11053688ba3c41b32d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainAccessGate.swift:177-183 | Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainPreAlertGate.swift:128-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainAccessGate.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f6a98a7ac60fd2a4177598c499bf7660b183fad3e1bfee8b3d815d785425e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift:98-108 | Sources/CodexBarCore/Providers/Codex/CodexStatusProbe.swift:72-82 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc09be72f0fe8ca32895101cdec1ecb030e4c5aaaf439bf86d5d12b6578c9d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/ClawRouter/ClawRouterSettingsReader.swift:27-34 | Sources/CodexBarCore/Providers/Deepgram/DeepgramSettingsReader.swift:21-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ClawRouter/ClawRouterSettingsReader.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c832b92cd40e87b687c7170f2335683da1dd93fc8cc5fa99e68f3027f0cffe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/Moonshot/MoonshotSettingsReader.swift:12-16 | Sources/CodexBarCore/Providers/Zai/ZaiSettingsReader.swift:24-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Moonshot/MoonshotSettingsReader.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9e37c7a263f26a3a4ff451696072547b0349f60c8eebbac247cd9378430d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarWidget/BurnDownWidgetProvider.swift:531-536 | Sources/CodexBarWidget/CodexBarWidgetProvider.swift:155-160 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/BurnDownWidgetProvider.swift"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"387dc52a92973cc8b0b4b3e3fa9f5f77f7148429e3e1d9d27427bd5d2f8c8f36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/IconRenderer.swift:425-429 | Sources/CodexBar/IconRenderer.swift:435-439 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/IconRenderer.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf5e166d1f8f54ac2c38d296e1981211a4dff96df3b3b07ffb9eb861bc578b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/IconRenderer.swift:451-455 | Sources/CodexBar/IconRenderer.swift:461-465 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/IconRenderer.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c84887f081efab0bb6b503aca93aef18f79a56ff5ca89266710c9750dca4413"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift:228-233 | Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift:356-361 \u2014 before extracting anything, compare \u0060Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift\u0060 and \u0060Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03a260b6f0b3e97b98b081deaf2e8442f518a6253bd97c1951a51a4a86b915f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/CodexBar/Menu/ProviderSwitcherButtons.swift:33-39 | Sources/CodexBar/Menu/ProviderSwitcherButtons.swift:157-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/ProviderSwitcherButtons.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aaf2b5e1cad5d94486ab6d8f2bc3e0e917ba9b5351b7bbb20971efefd0d9d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1178-1182 | Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift:1610-1614 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff479b01ba69a4a86613fce5b41041e4d63684d6a3b95fa55efd3aed212a4fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Sources/CodexBarCLI/CLIRenderer.swift:169-173 | Sources/CodexBarCLI/CLIRenderer.swift:209-213 | Sources/CodexBarCLI/CLIRenderer.swift:233-237 | Sources/CodexBarCLI/CLIRenderer.swift:310-314 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIRenderer.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0937fd9cdc0877b19424cc1f8a6581e49cba38ddae4a40c31480bb4853d01f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCLI/CLIRenderer.swift:184-188 | Sources/CodexBarCLI/CLIRenderer.swift:191-195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIRenderer.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e79b6cd4c9a302b4b76a48b5020e28c0c2a478c15e8180ec26e771859fc630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCLI/CLIRenderer.swift:215-219 | Sources/CodexBarCLI/CLIRenderer.swift:239-243 \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/CodexBarCLI/CLIRenderer.swift:215\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/CodexBarCLI/CLIRenderer.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef2165f7eed15574127b295c7fd3b066352c3441e370a4f94614a94dc328533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/CodexBarCore/CodexLocalProjectUsageModels.swift:320-325 | Sources/CodexBarCore/CodexLocalProjectUsageModels.swift:472-477 | Sources/CodexBarCore/CodexLocalProjectUsageModels.swift:616-621 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/CodexBarCore/CodexLocalProjectUsageModels.swift:318\u0060 calls \u0060decode\u0060, \u0060decodeIfPresent\u0060 and \u0060Sources/CodexBarCore/CodexLocalProjectUsageModels.swift:615\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/CodexBarCore/CodexLocalProjectUsageModels.swift"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97bb957c7a18f10824637a5eb378fc1f4e8e430884987cea5e11813a40d0b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/ProviderHTTPClient.swift:237-241 | Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleCookieRouting.swift:109-113 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderHTTPClient.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c6fcb29c40a49335f52ee414b53bd4e0577f1c39f60011a5617993c9248bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:14-18 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:70-74 \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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:14\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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1dd7816d0f4880974d365e60da73295be587d5153271eb48baf752f77d2d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:38-42 | Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:93-97 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift:38\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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde5f35521d87d6f8fe126f98a5a8f97f0a729dc17b5b62204e25c85685acdd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/CodexBarCore/Providers/OpenCode/OpenCodeZenBillingParser.swift:128-132 | Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoZenBalanceParser.swift:122-126 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeZenBillingParser.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8372fdef8d58b22476990d6a69c039e42502fd60c5535a98b7c374a90ea3c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/Providers/Qoder/QoderCookieRouting.swift:229-234 | Sources/CodexBarCore/Providers/Qoder/QoderCookieRouting.swift:260-265 \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/CodexBarCore/Providers/Qoder/QoderCookieRouting.swift:229\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/CodexBarCore/Providers/Qoder/QoderCookieRouting.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"607ce6c22a0ce1e363f6e9484e44a8b508b55ee271e67fe3b21154294de6e01b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CodexBarCore/UsageFormatter.swift:432-437 | Sources/CodexBarCore/UsageFormatter.swift:442-447 \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/CodexBarCore/UsageFormatter.swift:432\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/CodexBarCore/UsageFormatter.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a3611a8be0a051a50f70029a9db04fff227359a68931f4a5c342bff83a9245"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Scripts/StoreStress/main.swift:323-357 | Scripts/StoreStress/main.swift:359-382 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/StoreStress/main.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bdf5cc219cbc1b21ff131f39f81e67b3d0368208fc1ec258599a46a8bef40f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 2): TestsLinux/CostUsageJsonlParitySupport.swift:68-79 | TestsLinux/CostUsageJsonlParitySupport.swift:83-98 \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 \u0060TestsLinux/CostUsageJsonlParitySupport.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":"TestsLinux/CostUsageJsonlParitySupport.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbe75dad2ae868a55a172e8cba660b1ded5e3556b7b5b6aef0b2fc1cf0c4ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Scripts/StoreStress/main.swift:324-332 | Scripts/StoreStress/main.swift:360-368 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/StoreStress/main.swift"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2276238976d2ad2bdc5b7d82b42c0dc015babd4eb1cd43c11f261a8899585f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: AdaptiveRefreshCore: AdaptiveRefreshCore: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"569c5204dd7270502e2efc9a1ab1e4457e0e84b8d7255942eeec8e164a945400"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: CodexBarCore: CodexBarCore: abstractness 0.02, instability 0.17, distance 0.82 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8aa101917405a5434072c3aa6f2570bb5b7fc3dc66a5d18eb949d51e26008f6d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SettingsStore (LCOM4 16): SettingsStore\u0027s methods fall into 16 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 16 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/CodexBar/Settings/SettingsStore.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed518435ed982073348f1b4db3c894b4e2e815a8c0536b4b91dc3d3818efa364"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SidebarResizeHandleView (LCOM4 8): SidebarResizeHandleView\u0027s methods fall into 8 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 8 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/CodexBar/Settings/SidebarResizeHandle.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2764f09c2bea792285ef858967c9a5b8f0d41566b8d32a829707f76d824f6865"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StatusItemController (LCOM4 7): StatusItemController\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4a557fc162758ae10b77c80d7611102726cebc0a9b67a0ec699ab8aca93913"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UsageStore (LCOM4 5): UsageStore\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef0725005e1ab40ac64149214bd4733ea7531eece94c9199b4b52d9e897ac54"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PersistentRefreshMenuView (LCOM4 4): PersistentRefreshMenuView\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/CodexBar/StatusItem/StatusItemController\u002BMenuPresentation.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"78055206ea0eeb39317ddab833c876ca5c0d2c32081cb6aba2bbc28c265c1f4d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProviderSwitcherView (LCOM4 4): ProviderSwitcherView\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/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d66928f4b345e755d196a735f9b17478d914314b9a7ee58c63be0dcc3e10bf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AntigravitySpawnedPTYProcessHandle (LCOM4 4): AntigravitySpawnedPTYProcessHandle\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/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"11951d7a73ddf9d9d0bd3fedeaae61924206003e831ec69753ff709346c69ec7"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticBalances: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/APIBalanceScreenshotRenderTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b87a9ab163eaed7420520d51ef46b7fb8ad7117f2c88c0f9c250cf55c3f478"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderUnavailableUpdateRow: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/AboutUpdateCommandProofTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b205435d96dfef7aa477421c483c15bd97bf9c9081891c2d54403bdff4ba35e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticUsage: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/AccountAPIProviderScreenshotRenderTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d92c4bc437e72490d9044a0f08baf82e5f9bd9f5f264f504c54dee1e3b5cc8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_visibilityToggleInSignedHost: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/AgentSessionVisibilityNativeProofTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9dc0f0023bebe5d587c2bea2bb1d8e04b0e2c926de30315784fcbc3869e86a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticLocalCostCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/AntigravityCostScreenshotTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89b966e1f078252ca39b7392acf82e481a96f41ef224e2490d04b30792540ab"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/BifrostPresentationTests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5834e211e0d9b7a0cca59e6fbc83f4a455c8d81ca1318fd1cd1161d3a6b7619a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_syntheticBurnDowns: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/BurnDownRenderProofTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9a6b4f3c0838766191af52ccf9582d407478a5fc8bbeacdcd5552d9dbaf9c2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderIncompleteUsage: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/ClaudeIncompleteScreenshotRenderTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4658c57dcc5eee0d6ca8d15cf1b6d21aa867a1270b3499f67d441615a33932"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_accountProgressRemainsVisibleDuringNativeMenuTracking: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/ClaudeSwapProgressNativeProofTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01b3c77d95b70fec2dd86f1d673e5c6fe7b88d6b02d82e45b55c6714aa2325f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderActiveRepair: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/ClaudeSwapRichUsageNativeProofTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1721159856297cacde6680a9c506398cb47ec38ce7e900349fbfe77f463671"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderAccountCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/ClaudeSwapRichUsageNativeProofTests.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75938af24c9fc0499b474569c94290bd887da8092df1c6c623e7c3c316b5af2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_weeklyLabelsInProductionMenuCard: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/ClaudeWeeklyLabelsNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3f62e46031fc2d3fc05c5a8e0ff9c9f138b539d9d566283e69156e987afc01"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticReportCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/CodeRabbitScreenshotRenderTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"340e716194c848e0a155d8dcc02bd774d0c480907dfc9c4439dca08f8c8cd60c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_dashboardBalanceFreshnessInNativeCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/CodexExtraUsageNativeProofTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9a36ad0a07f16c8bc17fab1024a54afa7582311ea97bba0a4fc70abbfa0164"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_systemReauthenticationProgress: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/CodexReauthenticationNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5413ee3ddc050f4648e5faf73c6b7f0efd5a8adf741bb2bcb80a0f8a5e087b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_sharedCostPresentation: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/CodexSharedCostNativeProofTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9841bcbcd3c459c4ee8f9cb79e35d3ab113e6942444bffa6ef2afc1f75e7042"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_privateAccountSwitcher: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/CodexSwitcherPrivacyNativeProofTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fec8855c643ed1e0bce62ff58bf689e45eda52de5926f4b8655510758cb3a22"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_syntheticSystemAccountMenu: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/CodexSystemAccountPrivacyProofTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"575d89c53df3676db8521171d56386ffa00cda7e7e14c8259d99a7787b7d4ea5"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_workspaceObservationsInCardsAndBalanceTokens: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/CodexWorkspaceBalanceNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f85d199fd55f40f02c06aab86a39b63deeaddd7534078d700b3449f26f3871"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticWorkspaceLabels: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/CodexWorkspaceDisplayScreenshotTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c290423f0b7c699f7f10c0d12dc7f891be0ac3506a9b868a789d9937e04276"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_offlineAllowanceEditing: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/CopilotAllowanceNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"43786da8cc007958a9a0aa94200744252751d56382ba2a18a01b70fe1a96804b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_metricSwitchDoesNotScrollNativeMenus: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/CostHistoryMetricNativeProofTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"30400737e9b22d3c0620511f16b15b0558387ab27bb59dae7cecceaabfb69a44"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticConversationTitles: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/CostHistoryModelNamesRenderTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8432259852a54026eaa81f34cc3cfac526a9110a9d432ed1737565fa6b3f4f48"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticNames: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/CostHistoryModelNamesRenderTests.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d620ba01244ddc96f0e6c6f04ea27ffc34ec173bfd9f55eaff13d808277deeed"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_fixtureUsageCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/DeepSeekUsageNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca275f68dbbc33e58129c2b39ee2afa19b2e740a5794d5984eec5f57e7bf3472"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticUsage: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/DevPassScreenshotRenderTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e36b61d8343712e66a5cce629bd6c566579794b7f130657b809d06a9943525"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_dailyVisibilityInProductionCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/DevinQuotaVisibilityNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc3454bf78aae882a9584dace2818b17ce6c2fc31b383820e4bbdfd737eb2ce"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_interactiveGrokLayouts: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/GrokCritterNativeProofTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3733184f5b2817621a9bd0dd928b4473358c4f56705ef5bb2c0a3919a74eac"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderProductUsage: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/GrokPaceScreenshotRenderTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1614e215638075abd8420674a0e73e2d8fcb6abaebfb6733e70e4c50a9e8e1a6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderResetCoupons: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/GrokPaceScreenshotRenderTests.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3880282c2dbad747f0e6297513d24bd8b72a699ed6c4611cb836392a75ba06"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderMeasuredProxyPace: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/GrokPaceScreenshotRenderTests.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acb46a2f765cf584df444702975295e860e72779d5a955073a40a93b83ffd47"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticPremiumEligibilityComparison: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/HelmcodeScreenshotRenderTests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6950f7c7c43302bcee83753b3bc772556d5aecebfb8a91de961b461ebd534919"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticHomebrewUpdates: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/HomebrewUpdaterProofTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d5f01bb70d01b1b6b0f9df4f16a7cbe6311c5eda9a8960b6038b4f521dc24b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_groupedHookEditorLabels: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/HooksPaneNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a404fe16bee9b94aa4d69aa8e07210d8475b4fef24091bde032002976ba26859"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticBillingCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/HuggingFaceScreenshotRenderTests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"433b027b9f8ae74ef78cbb4d04ae402016681b7e8cfefa7494aacd039fe1b8c9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticMergedWarpTransition: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/IconRendererScreenshotRenderTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1a61b3fabf641af242da424c4521af2c778793a70fd81e5e3ca1d946063d59"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticSingleQuotaIcon: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/IconRendererScreenshotRenderTests.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ede17886e9f6d4e2cd646ef904666863de24bcfcda039894c7229ebc0fba2b8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticSingleQuotaStatusBadge: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/IconRendererScreenshotRenderTests.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd4551025a106e19d44937190ee69d965bbfa383f739ff8a914c33bc86bc164"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_pointerMenu: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/InlineCostHoverNativeProofTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b912d1bad1978c00e28e278ffa0284688d5c338faa29d45dc92720d89e4fcc4a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_membershipInProductionMenuCard: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/KimiMembershipNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb072d7817ad20fa1090f0e4e0354026a1e321546c258972bb6028c30410ffbd"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_syntheticBlockedWindows: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/KimiMonthlyBlockingTests.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d99353d67fe4f56c1db441ce2c3579712d8ce204c8682ca6bb593912fc01ee"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_monthlyStatusIndicator: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/KimiMonthlyNativeProofTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b5d8eb28da3ec0e4875152ddf9a1a143fa23a48b8528794587d31be1ad3116"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticUsage: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/LLMManScreenshotRenderTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5462704465dbb3707506ecbcb2d46bf0630746eee0a0556b7570623c8a832892"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticUsageCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/LangdockScreenshotRenderTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01f48ed8eff60d51137a4594c14b51c9e275a2f657aaab6b8c9c3292e757c4c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_balanceLayout: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuBarBalanceNativeProofTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc54f95830a46ce7608a103d71ef3ed789cca3a75005b67dd37a8d867077430a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_providerPickerPersistence: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuBarPercentWindowNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"af533f832e9244bfc98fdf525b2122e7f71fbf29753e4c3d4f20dbe7c04a3d67"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_pointerEditorAndTimerDelivery: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuBarResetWindowNativeProofTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b383beee4ae0342cd3c1d152ef1b5aeeb91bf603f3a7b1af0d8a25045a19e9ff"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_editorAndReloadWithSyntheticWindows: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuBarResetWindowNativeProofTests.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"60581546376aab6b83d3552feac74f560ce086a550e295aa72fc0e072db1c06d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderResetRows: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuCardCompactAccountRowTests.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af05bcd86a2d2bf940c39da681375053df153340e52519bcecccd51b259c6e7"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderCatalanLocalizationProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c4bc93982f2ca0c3d029b409f5e7a61948a6d5ae99279a882996b772ac1c14"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderCursorOverviewCoverageProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdd0313aca180539bd5006fc9cf13a037b76435647ae89951a4411890dc789a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderOpenRouterLimitClarityProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37186e242364d91b1c7f014dbb6660089b0ecddb87d31ee980021ce0f7629b9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderLayoutOverrideDisclosureProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"44101ecdfb47059fb5b7d2143c8e8071ab8e8f9480cd71b27d3ac7e8a55b1944"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderClaudeExtraUsageFillProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1135a1a90755f1c3bf79f1e27cc04d89998da51f5cbdbd33768c944bc22a61"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderAntigravitySemanticLayoutProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1c6842785148cf325c3dd156f38d913c6d1b1ab26e0a5a3e1ae8b88545820c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderMultiAccountLayoutScreenshots: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f152a7a5ee66d4196cd4a7ad3d36a3a7a573d006f08d42e7980e76f9203978c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderCachedCostRefreshScreenshots: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ed3c32e9df4d3c3a64ab0c3f7bfad3e3c50b626b964ef71c580def260cb06d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderDeepSeekMenuBarLayoutProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c58cc5bcc58edf6a2a9d411583fff4ad5c6e0d86b4e0516b53922291d3377dd"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderEarlyWeeklyPaceTokenProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4c89ca8d437e8bb8d6533bf475dba457b733bd11771101df17b7fa7756b3ff"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderClaudeUsageDetailProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7239fe34651f73de2b46ec203c3db5b238544d93e6a12af2431794f7402cd0"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderOllamaMonthlyCompatibilityProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc0aabfda295ec3fc3d12af4c26f6d6077a0af5c3cab19945dc921a26079507"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSingularResetLabelProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"3953e3d4d70bcb8a11bb6899f2d75b2ee5ef1e6c4c6cd3044d441eebe9521678"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderQuotaWindowCostScreenshots: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a330d16e7f5eb4e4ee4ac505cf300abe2120c437cd73b6b0eb85f2c00089f27"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderMenuHoverHighlightProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MenuLayoutScreenshotRenderTests.swift"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec7cf71549f5e888885f678075822e7f0d937078e2b50e704693a1594893991"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_tabSwapsWhileScrolling: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MergedMenuScrollingSwapNativeProofTests.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f8e5aa297726c2d1695cba2b7529a0e70e27cd2993418b8b7f077e4c7538d8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_regionalCurrencyInProductionMenuCard: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MoonshotCurrencyNativeProofTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3491a057bca3a380b6ee554cc05e2bd50b39033f4d68e7773e9106270cc3f3a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderBrowserTeamQuota: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MuseScreenshotRenderTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3846cc6ee4de66c70d4a7e9ffd75ab25f10676b270c85da7de9e64edc3ba9b9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderTokenHistory: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MuseScreenshotRenderTests.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd3471f20febb043bb65ebf2f2bfb7aaceca9b2ea43fcbd7506277ad48ee830"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticPluginParity: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/MuseScreenshotRenderTests.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b4b75b4bf103d9345c2e32e76aa8b5f7e132f4edee3a44726cc0d6f77512b9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticPluginCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/NousScreenshotRenderTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a609390367a36dbcd86c26460512eae6958602cc095d1d8496abbb27081867c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_syntheticMonthlyPicker: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/OpenCodeMonthlyPickerProofTests.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0faeeb6bf665e2e1825401d014f827f8005b3ee313d8a6d01650c86d85b44208"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_settingsMetricsKeepAPIKeySpendWhenCreditsReturns403: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/OpenRouterCreditsFallbackNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde6e8df46f81166e45228256492b6d3766bd8d37000969aa6ab7191d51fbb6f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_managementActivitySummaryNativeProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/OpenRouterNativeProofTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4349ca19baafbdbe4616155ada9cf7fb1ebfe3642ec8e3ed3b8879b9ab42895a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_uncappedSpendSummaryNativeProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/OpenRouterNativeProofTests.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f7421c7efb6869033e78c105260c6c7cd99cb84127246ab6ee41ce1e821e93"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_reportedReasoningReachesNativeViewsAndDashboardExport: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/OpenRouterNativeProofTests.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb80dba91a26b4c341bd47f1c96bb9ce98c264d6be1d5820006ea90a880f956"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_invalidActivityDiagnosticReachesNativeCardAndCLI: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/OpenRouterNativeProofTests.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6852134446dca749706c406cb011de90ceb14a22498a71225666d639ec4702"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderPaceVisibilityScreenshots: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/PaceVisibilityScreenshotRenderTests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"196fe76dbc4997e3b0890f40350b20e6f271808e77cf252121459b90354928cf"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderOpenCodeGoEstimateScreenshots: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/PaceVisibilityScreenshotRenderTests.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f51ccfe28d5ee23670f1742a36f01a968bd15671476ac40a44d5d3cd61ae0a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_interactiveLocalHistory: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/PiNativeProofTests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43f7cb20c9ec59edaaf7275470945d37b5d305d33d613d0f10c929dbb19a857"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderAccentColorSettingsScreenshots: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/ProviderAccentColorScreenshotRenderTests.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"359bbce57601800e120ef39d3f35f8f4ef28aa5d88d8665193ef01a6e97f9cfc"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticBreakdowns: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/ProviderBreakdownScreenshotTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8ba0b2bf933c80870405d21917bebf2471a999919cd863ce63cb478248c118"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_interactiveVisibilityAndReload: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/ProviderUsageItemVisibilityNativeProofTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0742f6470c42e069a266c758f3139d6b182e92018a9e60852d276410219119df"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderProviderUsageItemVisibilityProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/ProviderUsageItemVisibilityScreenshotRenderTests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6be6d518b185cf8323cc0fd7022c1d152e8d60c6d0da14d18e7a2cbdaa74106"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_claudeVersion_realExecutableProof: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/ProviderVersionDetectorTests.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4584d45fa29f747235dbcff2964221d221964592ff67b4eed7d3ebebb207d5"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_interactiveQuotaCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/QuotaWindowNativeProofTests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d58f84924cb08de913905933f59d5b5f6ad53e3fd211373cff0fff9a3825d9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticCreditCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/RaycastScreenshotRenderTests.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee98741afbd52d6417b12de365ba79b0f796b0ae8a0dfa83bae0d927c8fdee2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticBillingCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/ReplicateScreenshotRenderTests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0f24a4bdec32dd6db86bd2553b106b39540889c33f922d1741e4160df314b3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticSearchProviderCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SearchProviderScreenshotRenderTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf78b59d494b63c199448fafcf11081fc9911ba3a4212de4ab00cc1a3c6d2d4a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_navigationButtonsPageInBothDirectionsAndStopAtEnds: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendActivityReadabilityRenderTests.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8132e6ba5f05e5d0b0f27523a0152759292c1256f965a18503e94fa36fbbfe2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_scrollRevealsChangedDayEvenWithinTheSameWeek: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendActivityReadabilityRenderTests.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"608dda31806888895729f16480284d18d1cca291cc4dcce989e9dfaae49a4507"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticActivity: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendActivityReadabilityRenderTests.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"78db1c1cad207647ccac3ae3ba4c7a3bfa6f992cfcbe4b7cde55864fa52a4498"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_settingsWidthAndUnknownSpend: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendDailyLedgerNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8516cc20b080061742f005e2955a76960e837d55e51237a9b1d13f602610f96"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_longRangeStartsWithBoundedLedger: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendDashboardLongRangeRenderTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3327066a8e2978220e8523cb72c1cd3b6c2d18523429a6bacc14974aa68e1b88"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_interactiveSyntheticDashboard: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendDashboardNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbd7adcdd7248da36c3137085d9930349345d75d18030ad7f9af7b9861016c1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderPartialRequestLedger: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendDashboardScreenshotRenderTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"576003e2ed60fd5084a63715f863e5d9efaf6b65438e88db8694ca50d99e386c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderIndependentChatScreenshots: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendDashboardScreenshotRenderTests.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e731f895797baa5a68990d9a44fa5c0567acce7657bb6760b1178119dd8423b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderBrandIconScreenshots: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendDashboardScreenshotRenderTests.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef053eaa98449d3d6fea5a195869246bad195e5bb89ac65a5f5b7ac1eb604d93"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderProviderDetailPolishScreenshots: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendDashboardScreenshotRenderTests.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f048eea7ddef9cd9d03021b083e3bad15367c1b1baee5802cffa60d8138e664"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderCostHistoryPrivacyScreenshots: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendDashboardScreenshotRenderTests.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e579e787533f03bee7943947eb8de12cbf7c968526ff2348f44386b812be84bb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderUsageSpendRangeScreenshots: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendDashboardScreenshotRenderTests.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"214c5f02356bcf722bd140526f8199b02cbe1dfcbccfd1e70f1fe8fa9a5c6291"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderHeatmapMidnightDST: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendDashboardScreenshotRenderTests.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f1bc0e6b14f77c2e3c1f3dfd1a76a1b0db89f64800cba9c6445174efd0a3f1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderMidnightCoverage: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendDashboardScreenshotRenderTests.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2da1404f38733752f21cf15209bb5aeeea5d162b65c1e9401204cd05d84e7f9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_productionDailyAndHourlyStackedCharts: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendStackedChartsNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff08213a185f0d79b95fd7e7d61014d999c792626b2f1c6ad700a431389a8d58"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderTrendFlow: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendTrendChartRenderTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa0120a66df67c2ba1675084706443ca4eefcd63569236fe1405af3a22a59a1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticBeforeAfter: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/SpendUILaneRenderTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc3e589aaa320609f7407f44b10392221b601297e9dccf4696751512337a396"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_interactiveSyntheticSettingsAndStatusItem: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/StackedIconNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"35402b5d4c5a048bf732b2fdb4dbe525dab13f2f06145f3f3a73d6a1310bdef9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_firstOpeningAfterAppearanceChange: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/StatusMenuAppearanceNativeProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc3631713b41446dc98d2ef518f94aee7719b071a2ef005d070d50f0090c6da"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_accountSwitchRendersFetchedUsageInStillOpenCard: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/StatusMenuCodexAccountSwitchNativeProofTests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b67aba2f5180451c618a7a039413877e89731565b60d492b5785e7d858941f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_warmedStatusProviderMenu: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/StatusMenuProviderNativeProofTests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2996311fceb8d261e9a50beee4ee7431b7299084a21db78f26f2dd225c6262b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_captureSyntheticStackedSwitcher: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/StatusMenuSwitcherLayoutNativeProofTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"375a4cc81d0b8dba7549dbcea9177b11405776dddaf1036b9c6cf7665fb74785"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_creditLabelsInProductionMenuAndCLI: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/StepFunCreditLabelProofTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d05bbd95097c195fef7691c8e8b30eb54666dba445487ef0f58c8d21fb19a7"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_statusItemAndMergedMenu: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/TahoeBatchNativeProofTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef590c27ad98e602966af27866e14a741fceeb8e31bd36623c09ceaa233ff5e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticBillingCard: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/TypeSafeScreenshotRenderTests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2c7bf6545a0fe2ed269a5e270bbad95b4785dcd55ba24120ec632b04effa0b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_pluginSelectionAndScopedRefresh: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/UserPluginTabsNativeProofTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe5e555375f52026ac4a1ebc0da249dfbcf9b57bf1eb13a61932e3111b5305a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticBillingCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/V0ScreenshotRenderTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"762e4ca63910f9b8e7a725b6de3e6dd6c2609355b034debcff0601ac42f879bb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderBlockedAPIBalance: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/VenicePresentationTests.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da5b11a3fce99bed0fcf5f409a09664cb18820a832a1ab8e95c56e5a0ed85df"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSubscriptionCredits: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/VenicePresentationTests.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ee766efd733577669928c837551dd39af0c574a6e2bae4b0da88435be75b6f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_syntheticWidgetViews: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/WidgetReadabilityNativeProofTests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30dce9e6b88f87a94e940b4bf61da27926be29138bc8101f60682e744eae803"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_renderSyntheticCreditCards: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/CodexBarTests/WorkBuddyScreenshotRenderTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccec125c96483493cd0b857e246759e14f39e20c3a2b11fa3b99d2f13ec678b3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsLinux/AntigravityJSONLNumberTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"603c3fc4eae0e4a5485a2dcbc788accef4f96b2e3319e9519b89be74cf200982"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsLinux/CLIHooksWatchSleepLinuxTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dad368b95b314fadf927b6c7f55c3320fffa7f3fa3b788a420972beaa952b1a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsLinux/CostUsageJsonlDifferentialTests.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce2763de7ed42fff8cbe0b98723dc1595791ebd2020ae70346a704988887ae0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsLinux/CursorCSVTrailingColumnsTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5500edc08003f71ca72d9fa75158c8adfd24be5777cb6dfddc7f9c853f859869"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsLinux/DashboardAccountInventoryTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5338513265db506287a7b48786154294cc50dbee4e6eb3f73783f78f0ac4bce6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsLinux/DashboardClaudeSwapCollectionTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"590f06d6431f90d5f3a8fd25f3f07586b4a30d962a60cc45d56c4c634a9523e2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsLinux/DeepInfraSetupTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5646b53bcbcb5b569afb03beb347a156e44ce1fb29f92a2860d22a3ac0bc2224"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsLinux/KimiDesktopDispatchTests.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"38991ad3f37fd1c20ca58f5c5d9fc8fcc6db1350e0f64168d27c84052f0b38c0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsLinux/OpenAIDashboardImportModelsTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2df6daafe4f0e766553c7325e0a48f33e6f2f884a7abd55fd9cb31608475537"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsLinux/PerplexityCreditFormattingTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9444947401f9b59862230d0889f522dc4d20e8f9c52db6e1b26d74eec4dc448"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsLinux/ProviderNumericBoundaryTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e61757b9b8842ff6584d7f92d7f72f3437e4c14eabaff36a2598c8d88a2378f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/AbliterationPluginTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2abb84914dc9349849e7eddbd94fa2f94a3842049b02a4463fdd0921f756414"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/AixyPluginTests.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d68e5f5c9981145ad86679b7c9260ad38f97b19ca80ce00d8eb221299d8d49"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/GeminiWebPluginTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06466f3fb389c5897c99d646a75c5a642bf361c1ce675165cadcf85e05d4cd3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/GitKrakenPluginTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a5c6207dabf57488e38deeeadeafe17b1507e41bf0f417d0b5208f892f44ae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/HostResultProviderTests.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"07eef38c7f0cfe9fc453bc03198242e9d04b33368433102741cfd48470e69b24"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/HyperPluginTests.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4485cb1af96230ad5e12734b15d43b0d6de0e5429ff12176a3ec8108a0183e8e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/LithosAIPluginTests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"487bc56d7f3c4a39a961fab00e9f41cb9dca283c46479e51d225aa1308c12e60"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/NotionPluginTests.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"996b8c2a8bd2cf2653633c5e92b9eaf227efce1dd00f4fdb33104464d432be75"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/OpenDesignPluginTests.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12b5355cd43a91408386c0e9f12b0ba411c2b3e08701d0e9089db46f9bd659f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/ProviderPluginCookieHeaderEchoTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2caa33e6867d891e579bdfbb024e0a907519e84bc90bc2adb0ffd19e7b672e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/ProviderPluginCookieJarTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ce92db1fbc809981b5172e0600895cb4352e34761bfee52cc0934a2b2cf869"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/ProviderPluginCurrencyTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6047df5eb0fae9d01aaea7d02d1368f95428d893ef9eee88cf25a765d3f6810b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/ProviderPluginDetailsParityTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"209f8473dc7b83185af4b56c5b4c09dfa796ea63e62e13af880f0f16e432f44f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/ProviderPluginEngineBenchmarkTests.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"575c9cf4a30c904633576abdf668140c6966b50ab656be943b9dca4fe20605bd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/ProviderPluginMenuBarItemsTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"febac3c4bb2667de5ff215b2b2da89db9d18fc463e8b759ab7556b17ec0e8b7b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/ProviderPluginOptionalAdmissionTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f079f2d0d97f81fd7a3c6b3b7a389df1e9fc8ef5a3809adf09525a0d2a309242"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/ProviderPluginOptionalPOSTTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce11952e73e985255b19da1ee6e697ef7800d6d9954b343b0b9b672552200b0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/ProviderPluginPersistentCookieSecurityTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3d13c889aa72536a0305e0b3f9d64af78e5ca8fcfae629fa4e3097253e2fac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/QwenCloudTeamPluginTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd91d45297586a7b5fad88ea0a6d72b528a8884916546f51b6732b5da5cdec7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/SiliconFlowPluginTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11f6921a493592fa91f13beebc92d5923e61ca8614a76c0d81b45bcf1b5811c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/SonioxPluginTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"deacb8278a95e690c69c565d0790052da9cadc66bc544d0ce299a6f3e16aba00"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/TripoPluginTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68b45f41bcdbd85f31998a3675594fcefa0d596e6fa1dcfa0c129ee8327f1ff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/UserProviderPluginPortableTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2762318d163edee4d5c8fbba2a7b4aff66aa72fd539b62eb792254a6b06f3d99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/V0PluginTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fa58b37ba08e277531417b288fe6db8e69cbb18546b54ae5b727fca75bd459"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/XAPIPluginTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae67179b0c58d7574dd05c785f38912a8b58d65021bd73a2830c22ca22aa5119"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/ZoomMatePluginTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6b74e9bd229dc396d6fdb82094407f8d0198ea765d3ae7bddb0a62479927df"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/AdaptiveReplayKitTests/AdaptiveRefreshPolicyCoreTests.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db77ccaa6ed6d1da3a8b6c9c38a6792276a23168aaca9cd2a87135867f515d1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/AdaptiveReplayKitTests/AdaptiveReplayPolicyTests.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ede0680bc70f00c11f1e2ff15959e51f370a95488e4a15c69772faacdbb411f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_homebrewButtonCopiesOnlyCommandThroughDeferredWriter: 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/CodexBarTests/AboutUpdateCommandTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b187076fb1ce6146519fcaac82c854a811150edd2fe2b364ca518db95feda0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/AdaptiveRefreshPolicyTests.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5441ea7d5355610f009ce0b7de0e382007df9d8ce4eb3d037ddc6c46c33aa0a2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/AdaptiveRolloutActivityTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a989e79ec1623940f1885de198fb1d5ed919231a6f6f50e76c5ac89e1ce112e4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/AmpUsageFetcherTests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d431b9f6b08ca82d34daf77310c50a1eda78078722093da55340d9c854ff7d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/AntigravityDeadlineTests.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0db39d9bc1787174dbfa7fe07aade845f9b06775b62a7df85b95f11a4069f77"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/AntigravityHubIdentityTests.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50bd3bc6267cd4494d9c14a56d8ce9f012bdfba1c71775679b7f503b6dad3c5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/AntigravityLocalIntegrityTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1346a1a76bc26feb7647e03ec23ef21a336a642290aa021dfafb8caabe6450"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/AntigravityLocalPublicationTests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e06ac1fe95099e0c74c42d16bf7da8e16616d3b1e94ad7fcc15897be313f139"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/AntigravityPricingRefreshTests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"803cd73e6fddf61a6515fa39c7a27252c9301ba9dade7b34150d8a513e212827"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/AntigravitySettingsPresentationTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3bae5d3aa64b5146b86b52f76985f81dbabd0dfe5aaa89ec6094cfad3d2be5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/AntigravityStepUUIDConsistencyTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"504f29f15d13ee7dfcbd6b22219e3c0abf31c56a8e9d5b9fc631832ab50297d5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/AzureOpenAIUsageFetcherTests.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d454f72711aa0cd075c9ea276acdaf57acb5e2bdbedb60ca0a0f8caf4f0435"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/BedrockCredentialResolverTests.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"29edfd702dc296f774b01c011696873205c252f94fa7cdb67393d3967a7ceabe"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/BifrostPluginTests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb860da372573befb106ef5c742c188313830428fef0824d9fc5321976b785a2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/BifrostRateLimitPluginTests.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1202db8259048c16b88084ee885b0487f8f6a4764c4b4c1308e33d75332634f8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/BrowserCookieOrderLabelTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc30fb96164acf83ce7674f2fa717ef3e869e55de1dad23f270c29beb2cff8b1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_cliVersionFallsBackToAdjacentVersionFile: 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/CodexBarTests/CLIEntryTests.swift"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"7286fa4c683c82d7cefed76987208541d5fde7ee9b6d6b87d698be937fe59e79"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_sourceModeRequiresWebSupportIsProviderAware: 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/CodexBarTests/CLIEntryTests.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec945587d633e094eb063a9200b6f0f51b3a9c82ff413adad3c9c564ae0d3f0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_sourceModeRequiresWebSupportAllowsOllamaManualCookieOnLinuxGate: 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/CodexBarTests/CLIEntryTests.swift"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfb72c998fcd76f84b4c3795a7498c9d0a5a40f0d3c660a18fe85aa5ad1906b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_sourceModeRequiresWebSupportAllowsQwenCookiesOnLinuxGate: 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/CodexBarTests/CLIEntryTests.swift"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"6750201a531876d2fadb34b189a38fc99b1e4e9438f076465353e12f60116686"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_sourceModeRequiresWebSupportAllowsFactoryAPIKeyOnLinuxGate: 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/CodexBarTests/CLIEntryTests.swift"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d578f8a6fc162cf0bcc2b2c8e5407e76717365fbc434e21a441309186cac5d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CLILiveHistoryTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dbfba0d627f1d5c739e929f0060192bfaf8a1179e4b5971ee7aa81e9345b61"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CLIServeWebUITests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f1db6c24fdd5e11f3da8db30d9b13295bceeb6a3d9489e22fceaa741f208b4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CLIUsageCacheTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c74675e190f3c01479f415680481ef686d1aa98dbc0d2cc09e41449df1e06f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ChatboxPluginTests.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"599663c4184a705db600b95f92d2398737e6d22eea77f7313e298f05f82ce5f3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ClaudeCLIBackgroundAvailabilityTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"86443b3d015e0eb0f423242d3dd70bb2300664f075e1ad1dedcdeded710cef1d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ClaudeCredentialOwnershipBoundaryTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9b4ad744e2a69da1a204cf83d2dc5b333510778964bc6d00b378be6197cfb7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ClaudeExternalLoginPresentationTests.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2537c6a76308d67988a0c662c8a2707bbc462407da798dc63ddd5f6d314ef96"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ClaudeOAuthBackgroundCacheRecoveryTests.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7052966d5b08ce0d1274a9d2e12602e4e3fb2e17122e9ec8280eaa4c97f5528d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ClaudeOAuthCredentialsStorePromptPolicyTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"46676744cc3f66ca311ed585942dc9a0cd6d948e671a7c06cfa4ea7f848d19d2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ClaudeOAuthNoninteractiveCredentialLoadTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c0746f885c9b8f64e3fb1252938d1058a81309d67d3cef57a2522419416efa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ClaudeOAuthPromptCoalescingTests.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcf951a79a32656be40b47c1a877b2cd04b4814ddd9707bc16031c52df8903b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ClaudeOAuthUpgradeCompatibilityTests.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fcec1f543c8a92b81844a99d28a7b57c56f006c6d470ec4835c381afeeb861"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ClaudeSubscriptionCLITests.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a64d989108b74afd8bc9ec1a70b17215c11d9454a435eb99a8e1703bc449753"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ClaudeTokenAccountRoutingTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b26157744b521fa92baf6cf47840a1891a8c5b26f914488d7ec8da54b1640b4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ClinePassProviderTests.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1a8ada1297779b64ae58876ce6062e9cae7c44c1c91e8b6c94354afad720dd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CloudSyncApplyTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee35aa9e2e356aa5c1c2aa642e75dad27fd2d23b203bf0196ec28f9e03f2c15"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexAccountPromotionExecutionTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ca3652fd083e164a00d040cbcb0da089d16c9b303c2d1fd75c2be3d35dca2b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexAccountsSettingsSectionTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80f78c7bc7516f8ceb6e9e6392eedeb0273c619f9c17d035d17635b7ef7f7e3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexCostCatchUpRecoveryTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5494e0de088cefb6601aa920ac281aa248316b3293fba9e38927254d7578dcc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexLaunchPreflightNPMMemoTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"539b2ccb942b6a39a81bcd3da0d72d13309174b7e8ec9fb302f6c0e11abdc00a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexOAuthCredentialsStorePermissionsTests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ee3631e2bf665b947885f48a27599879854603c334c9ce84650984545dcee0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexPaginatedHistoryAccountingTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c008dd6f8fe56636d699f51f4149ce2cec62ca4fa90dccbf09f33aed8ca5313"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexSolHistoricalPricingTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6ecab9506ff0486a301fcf9f29ebbdfb7a9e4b9c043fea79f79c23c305672d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexSpendControlNumberTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29fc48185b4614b1c42b42c580e8dd83d3e1f50f8290dff3a28c465fcd2be2c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexSubagentForkBaselineTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c070ff4a6425aaf1220db20d2108be783d9d1d4835511cc5be312cf3cbb87c3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexSystemAccountPrivacyTests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"be62c3820ad7e9c75401f6f178542b64d07231dde1e5b78a407e98341cc846ed"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexUnlimitedCreditsTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d067bd9b8481f725f6df95617cbbd3fdcbe61bc202a0412b45b029d6118bdf1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexWorkspaceBalanceTests.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b567becfe48a505c3cae89e8af4f93535f0f571d20df95531f719986d9e73800"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_visibleWindowUpdatesPrivacyWithoutAConfigRevision: 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/CodexBarTests/CodexWorkspacesConfigurationTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb855379e9216eb94ab3d5632624bce3c973a2e90f70be655df48a78413fb73"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_visibleWindowUpdatesHistoryWithoutAConfigRevision: 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/CodexBarTests/CodexWorkspacesConfigurationTests.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8d55360db310cfb667352890f2797938007de00f08343292460aff819b0b03"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_visibleWindowUpdatesTheSelectedSource: 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/CodexBarTests/CodexWorkspacesConfigurationTests.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ef23928ce4ed1f331fe4dbc986ee385b7cd07a6aac0108016470573ea33d0a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ConfigurationDocsProviderIDTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ed584f0dc3063bfaabb7d4293a46447b2efd381819d62a828fce40566daaf6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CookieProviderCutoverTests.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3ea68f55f05cb4beabf17220d0b9dcb149c5bc3ff5c7ba8c883eace493988a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CopilotAllowanceCacheTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"37691590fdbf6dcbe02fcf11b78fb4b572c7011f0472517db7425c28b81252c8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CopilotBudgetWebFetcherTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"10574399c86dfeaf85d41f59a87fe521c4205b53cbc617d091cb6b633c379b69"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CopilotMultiAccountTests.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a5bfaab3543a2a409d6716276c4dd40e365449935dfa182a722a7519c22e7f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CostUsageCachedTokenDetailTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f05d3d0a196c6d4aacf3c8596a5ffb4914e8894f044d0d78b19673214ef551"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CostUsageClaudeReportContextTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93adb75f7c67715a45a62064725a69ac5a31c059edceaee5227b2ba3c17484d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CostUsageCompletedSnapshotTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d3417e23263894d5c1e0395442333c8881b2ab036805f04a103d39b2fb2cb4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CostUsageCoverageAggregationTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"892dcf23c0c5629dd6f71475577c7632a9a7a57453ab907c80ccd3ee914d472a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CostUsageDiscoveryRecoveryTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e4a87bbbe5b94fd05e33173db42f2e29c0650cce32050a4ab562e15ea2f372"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CostUsageOrphanForkTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"343a1131ff11ac0ca1cf6f67b2ca7809e064085f4d6879972107706dcba65258"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CostUsageScannerClaudeCacheUpgradeTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c67ddc8437012f1602caedc770b2ba944bddf594a4d5c7b072767a8c6c6a3a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CostUsageScannerClaudeProxyIdentityTests.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd5104c2e59e029a284877a3c5f53525e4fbaaf0cb006f7aa6ce41bb3057c4b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CostUsageScannerPriorityTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c861c7d6f512f4f77d197357b841c586381a7a494f546bfaa2f869d7d880af36"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CostUsageScannerWhitespaceTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab831a9cc0494c84aee6fc0cad4cb2ff3a92c8facc492e86682ea7f6f8ff5055"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CostUsageWarmScannerPassDecodeTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06b79e3c80b7427ad912d4d66f19cd4ff9b7490c64501159311ca60d23483bc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CredentialFileWriterTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb64e5a3a96df7a469c81545c0eebfdfe87b110dea1690ec50e133988b707dc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CursorAccountBoundaryTests.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f390f0d903862b38c8955be02b25e44b410c5072f18f41672e0e72ddfe83cf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CursorCostRequestDateTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32c9bd466a52d76a221b87772bc68269770e5bb588b0c59258ad41127ae0157"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CursorTransportIdentityTests.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d388ce3d6f4dcd9b1ec9bee450e67baec2b4706b05316c459a2fe469e66755bf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CursorUnifiedUsageStatusTests.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bed199d1c3bac516bb0896dd169d6b18fd0a81ccdea51193bda0650ce2c21c3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/DashboardManagedCodexSnapshotTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d22d28c6f515171d130aba3671861d9f0af54e654af5c42af163ded1a17c5ef"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/DashboardReportedCostTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"692006aea33df7626efab408f9c51dab1f8ef2d270330799f286f5d7ecafbba5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/DeepSeekFallbackCalendarTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca386f090e76af3cfc9e6d4f5390dc4de548e96ffde360f59d54149b7fd97ee6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/DeepSeekProfileTransitionTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7dc79c97605bc0efcaf6d16e1107e8667ac76bc4bd524e0b516fef29de8aac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/DeepSeekUsageCostParserTests.swift"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"c558181bf08753a1c1cc3c31e9a9340900801579007be91e69db2172a0c93864"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/DevinAppSessionImporterTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d3d29e384774a7147313861f8ff4ba3ac79ece32b3a0acf76a625fc8f44b6c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/DoubaoProviderTests.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"418cda44946e2c007b6c61fa966b4ab94ea2ad3aa06d204737f55dc7328cf914"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ExaPluginTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ce20b172fd51fd637721a1e365d398392f864f07961f56bd0d14549c4550c2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/FloraPluginTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c18392440d2350d54f9f58e0deab361452cc2323500d95365a2701c6357ac7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/FutureAGIPluginTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d130c27e10442edc40962560a5819d441ad68536346940f0e4b7d6582a56c0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/GeminiCredentialFileTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b733c188c500bf798393f27720705c8d6f4837fc1aca6cb06fe596649c3a7da"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/GeminiLoginRunnerTests.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f89084951336b871557870f14edcdb85e33e94b39eff93e1d529ec8191b20d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/GeminiOAuthRecoveryAPITests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a50ec77f7a73ec4d409c7d776b44f0fa2e572d869f828e3103fa68435c7c1c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/GeminiStatusProbeAPITests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"61917c567e078605eec35707012df9484dbd64335e450af16824322f8ee0ce3e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/HelmcodePluginTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d410ede39f89ae1b333fb36b4796e03ab0c0b9ecd3baec200078d9089fb71ed"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/IconRendererStatusOverlayTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaba42fcaf599282d01ec73aee440c01d19b0771352a25fb1286dcdc255983e8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/InlineCostHistoryDashboardLabelTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"038f7efd3b6b1a3909aca1406b9a73fa28b80a5735f4cb9680ecf5eac09586fd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/KeyboardShortcutsBundleTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b791c5b021f7069d41eed9a92939317ddfc3cf8a21fa485b11de6f76414ce11"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/KeychainAccessGateDefaultsTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08434ab032f20bd4c382ed125812a6de8a09605ae18f0b612d2dee03a57207d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/KeychainCacheRecoveryTests.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d393e9587ca5387cd968ff3c58b3736472c71d12312b80bd5ff9c6a69ffd4b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/KiloOrganizationRefreshTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f8c3330580e147a6fff3af6c910046ab934ebddcfe6abc815b0fc327ccb41b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/KimiProviderTests.swift"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11abbacb8535203aafcd4ea9b975e8c9afbbb1c89f1350b089e46b315cb9478"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/KimiTokenAccountTests.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f82c5fc49c13c98767d5139b7603a1a0adeed5d2fff469b97b278f424955f4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/KiroTransportRaceTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d15ef0643dafad38e8c8e3b1709ced77d916ddc84969a00c7d903b45b22a283"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/LangdockPluginTests.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8503cae08f0f9ab0a7bdf51ab53cabb41c4523c88d5871ac7c4acc287e774003"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/LiteLLMModelUsageTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b6fbd8ed170b216918ebf4fa172057b330f84f5a3bf6a306cc09deeaba8391"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/LiteLLMQuotaPresentationTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"31198ab2b6c5794ca5ccf120136312406088569eef2a2c1c0c539c1ffb54038f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/LiteLLMSpendReportTests.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4de2133dd1ac6f071e850d25e0ffe4c066004390559705167a7cf330f77d8ea"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ManusPluginTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b476875ad428222926a9879ebb24abd5911d50f5f290f718c96ab35db89e7f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/MenuBarLayoutDisplayOptionsTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cabf4dbfb62b7754d2caee408f145bd22745b881c1568541f4d583ba7ada535"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/MenuBarLayoutV5PersistenceTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"537830e6a177ac2476111eecad6200b6d6ce71460da07a08e57a6bff8374f873"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/MenuBarLayoutVisibilityTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b14492f5e7e5562837fa1b3f965652fbff0be4a540cd6191654dbf7bc42442d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/MenuBarVisibilityWatcherTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84e9f87c08540c4c79060df1bc294d574ce45ee629209274ac294e184b7b2cf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/MenuCardErrorSubtitleProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a36f2bb4e8a2f3bd4928048645f52633716cd2fdbbf4e63fb4ff325e0f3b30"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/MenuCardModelCodexBusinessCreditsTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2073fc10bd9a8034e729e11ebc096bb87d630e3ac3bfd123eab2ba3a77ca420a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/MiMoFirefoxSessionCookieImporterTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb19bef2c05e7e66c10bd2870921a5fa12cad457b34629602dfe4df429a5def"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/MiMoUsageScriptTests.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"214ffde3ccfac47621c574ce84f61c8fe6993f6bc3d808ce8acc43536daf746b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/MistralWidgetSnapshotTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bede036e3a2f58238f99ee9940be03ab4bf547bc3526b8d1f89c0ece794b92"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/MuseMenuCardModelTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8526d71e778d578eeb8c76eec1c355977c87a113502af222e476f7abac8522"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/MusePluginTests.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a20f4089bb06f6a37cec6af3ab2ce4be4bec31c4ac6ed0f380b7fff3bf6e1b1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/NotionAllowanceTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"900a3b0d977d1a3216121905dc3ddadb736fd0411b9a82e2cb58a12f1360b874"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/OllamaAPIBalanceTests.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e1e22730d8613c802d1c9fbc6cfdcb34bb5282a06603550116e038ed5f3d74"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/OpenAISubscriptionEnrichmentTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60e20871552f5d364c8958e947ac7ef311d137cfde9696ed4216a5ea96314ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/OpenCodeConsoleSnapshotTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9de86885fa033b507e4a967a6aab6044b869717c8f85a02f888360d2b57840"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/OpenCodeGoConsoleBalanceTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ec977070c22c81418cf3ebe4a8e35e1f6480b30e0f3c856c819a64540e87b7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/OpenCodeGoEstimatedPaceTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ccfb23f1ec86d061c6af1fc3cd8cf6830b51e66b0144154cd7d454ecc57ae7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/OpenCodeGoUsageFetcherErrorTests.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"37656288b9fc2a5efccc7334b3960e099b8459ce2d6a7c7bea6b97e3071deb6d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/OpenCodexRouteDispatcherTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"503eec15b41bd9ab3cc4982ac9b70027ebefe3c224cdebdd002e9c3460657350"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/OpenRouterDiagnosticTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bc05f75b7c0018db6b48fb74e3c9df635c083dc619190dde5e016f30f11ee2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/OpenRouterManagementActivityTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc935a8bfebe760507e3997dac782a561420472585b02b1ece059f303840c98"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/OpenRouterReasoningTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"71567f6de056f3929e910f65f7934431aebf0c9d7f3ea2c47e5639b945b2536f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/OpenRouterSharingTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2ab6bf979eefd9f6ce2e7bf6266c7628835c4370a1e4c0f61bd26d50026790"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/OverviewSpendSummaryTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0ab3c0b39ebcfa4eab2e1e4035ed15ebafadd3939d9498d7b81f916e79fa82"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/PerplexityProviderTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da9fc129bc3e3f51e6ec355baacbdbfb718541372ed18b96b561eb04c18c14c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/PiProcessRootEnvironmentTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c87202d819664f92fe5ea4742ba0fd440eae89fb57f4b7c24cb86eb7330585"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/PiSessionCostCompatibilityTests.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4024ee56b1c8159080da33d008469c2fc5404bd59f7f446b546a65c429023130"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/PreferencesPaneSmokeTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3449570f6cb8421f71530d56caf1656d748dae30db7e849a07d59c348e9d25"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ProcessEnvironmentTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8902733d4ae7a5ee74886ee50bb579ffe98c26dc0dda6f53f466c17b6b47fb55"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ProviderBrowserSessionTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af05d2f414ad3fd8d43f5d981d7811a73b422bfa9a501363590668b5ba564ec"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ProviderConfigModelRateLimitsTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa70f599c543fdedcd389d1ff6a74b7a94778c494ab08021a8abb3a0f32d5f5d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ProviderDetailSeverityTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6c9dc984ac7deb187fee0dc2839c32a48e487672a4b6cadca05789b0cd14d8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ProviderPluginDetailsParityTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"477121334166d289e27db23eab23855149dbe9a07432e78fa04d57ebb983cb97"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ProviderPluginSelectedProfileResponseTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c7dfb71912c07203e063314fb6ef6953e9642bfb83b702481cb69a471f0ea2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ProviderQuotaDetailPresentationTests.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b5f8dd4ae6161188c9e41ef1a958b9634274b7fa77f1e24e0a74a5b9656362"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ProvidersPaneCoverageTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3ee879d054c4fc18241b3b3f05e81b5e07cb3853984d40be83f4c0b85b168c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ReplicateCookieStrategyTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"abaabd0a8a3925bf263cc09be3214bd27fccdcb1da531084dd60e34dd2ab8653"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ReplicatePluginTests.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c726eee4144b9ea104e1552d619df3741cd754bf616f24976f1e78e65977dbb5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/SailResearchPluginTests.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8958f4004279a62b7fb7ae0abfeb7395f4270cbda1ae0f81ba0ad8740b1fb288"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/SofyaPluginTests.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d373f34a93499ee97429dd3ec8e699e30fa2d2bb3693da84d4710f96afbd36"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/SpawnedProcessGroupTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf50d47a4c59fdbc96583c0db94ac13b9fe3e9d4f949ec44fe845dcc5c458319"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/SpendDashboardAllTimeTokenSnapshotTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4c2566d1e473be05a6e329a3536a99e07a620822cf341e8dda397317e70d47"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/SpendDashboardMidnightDSTTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"20387b1304dbe2049aef9649485411906b7523742218567000f684ca45b82ad4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/StatusMenuCodexCostHistoryRefreshTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c439f9e550810d04d25680279a150bd7f01aeb0a4538b1ee2cacc42b51e315"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/StayAwakeNotificationProofTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3cc16da17609cfb08a6c2df6894475fe421f1d9502ed57f2f2aae31c9dda41"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/TraeCNPluginTests.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8776cdf6e1b9835711ee0a2a9984e4338b68e236fb319a005dc34716834acd9b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/TypeSafeRedirectTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"74aa00a1625545ce868c4021c4209905264fb0321573966a451a476a472ef6fd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/UpdaterPreferenceSyncTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe14e44facb840b076e9ae28e225eb1fb2e7b810757c58ba1761c7db7e7431c8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/UsageStoreCodexCostCatchUpTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9673118b373e2038835d70b7760b893758804f6c3dbd063e04a1a5515b1be4de"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/UsageStoreTokenRefreshCadenceTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"12896053403ac19d11e750694adfe2b53cec63fde196e937c58d60655eced851"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/UserPluginCookieTraversalTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9694d93d022baf52185967f6e4ce87dea643bde216062e6ebf9f448fdcc506"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/VeniceBrowserOrderTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a774c9e91c56bc33a18393d11d074bb265cc6267fb2d4c1d81f0b4474fc900"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/VercelBudgetPluginTests.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0684640e9e2c0d320a80a4bfa2663e70d62051f620b376c8577f82e97b71ed3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/WarpAutomaticCreditsTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf736c4bc4ac00a04c15e7337a7469f08bef1bcd881ad2463f67a253cede7fda"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/WidgetEmptyProjectionTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"150fe73cf0ab696f4ace8bd23b6d9542b623763fd367819c676d8834c5fb5f91"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ZaiProviderTests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2dfe430688a587ef7bb9d5adb38b0dd867f85e1bcd9559e563c1177d254679"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/ProviderPluginRuntimeTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55ae1923fbe3013d77f084119f0deca97b5932ed5435cf49a5e4e7ed1371487"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsLinux/MistralLinuxTests.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c702390c908a192e4b1cd071d22c4ef63ec6f18d9b28ded6601e1762cd4756"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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":"TestsPlugin/TypeSafePluginTests.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"01260587bfa00464d6ada78e7577988d3c5a765134c3792b81213dfe46377f0e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexUnlimitedCreditsTests.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4302cad01d2d764ad49c991964254c9b4d94b441d6618c6210d8dd1c0ea8b85"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/CodexWorkspaceBalanceTests.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"799db06073a692a4a35e82f5e96ea0b40f6914e09af0f2b7211677acf8ef0b68"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/OpenAIDashboardBrowserCookieImporterTests.swift"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98000de85c7f80b3a926fbab43f8adbc11b402ccf37bafb23ba7c1dfa80f25b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/ParallelPluginTests.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17970d39d5b5156c2dcb8cdd8c85147ae573fb985dcf99e540dec3a2ddd0973"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: : 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/CodexBarTests/UsageStoreMenuCardModelTests.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f38b523abbc6c80fdce1906519dbadd38ac6fed8cdc808493f4fcdba71ae421"}},{"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":"f2a56307b967a721119d7b85b7232016fa13f03b485f370e8d77e3ec9368f8f9"},"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":"b1defe484c5783d5ab36f5bb181178be23a7b017b830846ea1c8497f37c3c2fd"},"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":"8d006dea931cb010937ea42e68ba7430aa7d955b5f065bc34c45128bd9f122b5"},"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":"6df867747409f645de0d7fdde6d4c50ca70eb87da152a9ccef7ad095df85e1c9"},"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":"d75ecc1f473cd11a99ed47d0a4426b6ec773d52dd17dc90ea0cfb1655f89de34"},"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":"9e6eda07df53356eb2e90fbb932f762e1a3bc4cf864eeb06d0d2cda6020c3462"},"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":"cc63634a71b5ee1dcc3a622e3645647a32735eb1017e4d928b38772e7343b843"},"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":"2f802fb76f5bf42045db301ce7f0ae4f0b2331af3ab86a269e986ca8147d6def"},"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":"bd9de9cc5f465bcc4dd98428f0d36d6ed22e98baebffd0c76ca2f1d690026e92"},"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":"2ee088137ab3f443f688f6aef270cc3af7a7e378adc68e05c8c62fbbfcca708b"},"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":"a1bb5e127138f778d5d1011a5ad47bbfb5bd19de4b79350e4304de1bbd55406c"},"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":"7eb4bc124a5ab81e3f63d018a04bae33db86b029539f2a1294752ed0f6242e19"},"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":"402e8cc8ecdd3d66e7127a4bf022d8f211c7c2eaff243aac415d68a0e39c3ca7"},"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":"ad9a4c6580f515c26dccadfb9b342b6000155b56892059f1a51a096c2da62115"},"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":"bf785694b944f50329abec2219a5cdd80714335853a5f0777c01f3bad46a5441"},"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":"8b484f4eada9bf2298c97c5352f1e92f30c669224d726f52160036282d97dacc"},"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":"68bf8bc9eef223aa8862d64b4ef07762d77be9e5ee03481f7f13ff0cd04d241a"},"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":"20842e4f2866a87ba8d29488f58af893eb5e1eac1b09f4daabba5f148e44163c"},"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":"3351a2a004722cce928efba0736010e6e070089e2fe1b917b12b9d9fa8f2cc29"},"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":"13c2252c7aac588b25e13e4e812b2a45c1f3fd02dc2cfaa02115587ccb35d52b"},"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":"f2e3dc2593bcef6bf3d6ee01e21c865007a872271be0a5886e62b939000c1b07"},"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":"de5bcd7b08c825a6068d97ac5242b12d91c8bee87f4a6c430d641bcd0da640ad"},"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/CodexBarCore/CostUsageFetcher.swift: Sources/CodexBarCore/CostUsageFetcher.swift changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in CostUsageFetcher.loadTokenResult at line 493. 26 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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/CostUsageFetcher.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/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7fcba08bf4c6008559db9fd7654de47a691a21bb6fc962f4f2aa283923110e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift: Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in MenuBarLayoutRenderer.renderUncached at line 431. 2 of those changes were fix/bug commits, and the other 36 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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Menu/MenuBarLayoutRenderer.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/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"5514ec6c8c25a00c049dbbd4144e7b30257cdc95c1085f33e64e32eb795b649b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift: Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in UsageStore.handleProviderFetchFailure at line 1305. 1 of those changes was a fix/bug commit, and the other 35 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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.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/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e25556e1ad5cc48970bfdd33998fa032d409ef42b54e28906adf26d88458efd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift: Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 129 in TTYCommandRunner.run at line 459. 7 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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Host/PTY/TTYCommandRunner.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/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db62c58172675f67559aed306c2a0d3ae63e335cba3ace2644ec63a43acb19a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift: Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in StatusItemController.applyIcon at line 361. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.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/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"23475e130f1149fc58b927f88a579131f793972833652a25440e309185268f89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/openrouter.js: Sources/CodexBarCore/Resources/Plugins/openrouter.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 116 in fetchUsage at line 24. 9 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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/openrouter.js\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/CodexBarCore/Resources/Plugins/openrouter.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9c02a5d1bc05d13ae5e81221895d555519600ff57768cfdd212b5c69e756b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift: Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in StatusItemController.populateMenu at line 222. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.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/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52a6d7825d258b2b54ccb710946dac10222fd8230daf86f2c95c7dd4c892ac5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift: Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in SpendDashboardModel.buildCurrencyGroup at line 583. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/SpendDashboard/SpendDashboardModel.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/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e03af6c45057766089b93573da8303f027a12c9a4f696fa6917953fca5cc12"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/UsageStore/UsageStore.swift: Sources/CodexBar/UsageStore/UsageStore.swift changed 48 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in UsageStore.refreshTokenUsage at line 1428. 2 of those changes were fix/bug commits, and the other 46 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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/UsageStore/UsageStore.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/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9762f3928c05781749e1360cb8ae05e06969a909737780a22477d5c56f48e31f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Plugins/ProviderPluginManifest.swift: Sources/CodexBarCore/Plugins/ProviderPluginManifest.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in ProviderPluginManifest.init at line 133. 3 of those changes were fix/bug commits, and the other 12 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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Plugins/ProviderPluginManifest.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/CodexBarCore/Plugins/ProviderPluginManifest.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20eb02a994d86287929a8c9ff173abbff84e33b5a2a5022252b63c525e0c315"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Menu/MenuCardView.swift: Sources/CodexBar/Menu/MenuCardView.swift changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in Model.secondaryMetric at line 1397. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Menu/MenuCardView.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/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f45259b112d589df3caa78d06939e071a8d80182495e5e986debe4054dc907e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift: Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in Model.extraRateWindowMetrics at line 948. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.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/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fd3fd72ab167d96cb32c3e72cdc0164b2c2505b72baca1f4dba45add779ba6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Integrations/Linux/Shared/Usage.js: Integrations/Linux/Shared/Usage.js changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in Usage.rows at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Integrations/Linux/Shared/Usage.js\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":"Integrations/Linux/Shared/Usage.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"718f008e0f2c624668c877cc94983dea9bc2cddcf0fba440b9caf42070e31eb8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift: Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in UsageStore.refreshCodexVisibleAccountsForMenu at line 150. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.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/CodexBar/UsageStore/UsageStore\u002BTokenAccounts.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54bd963835ed639497268ad1925259d2cf6629180bcc05261385617005f519"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/UsageStore/UsageStore\u002BWidgetSnapshot.swift: Sources/CodexBar/UsageStore/UsageStore\u002BWidgetSnapshot.swift changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in UsageStore.makeWidgetEntry at line 256. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/UsageStore/UsageStore\u002BWidgetSnapshot.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/CodexBar/UsageStore/UsageStore\u002BWidgetSnapshot.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c91f69943f10e6d936572271f54c97cdb1b827af47178a282f0aa2ee12da390"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCLI/CLICostCommand.swift: Sources/CodexBarCLI/CLICostCommand.swift changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in CodexBarCLI.topCostModelLines at line 363. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCLI/CLICostCommand.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/CodexBarCLI/CLICostCommand.swift"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"828c6a1bd10d1703178dd71ecb55654eefc1810ba56faf0e39d9620bea9fba1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift: Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in JavaScriptCoreProviderPluginEngine.makeContext at line 639. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Plugins/ProviderPluginRuntime.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/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a786b16a9716311385605a4e0a2d1f93637c25c5b2da647acf10269bd094e23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/SpendDashboard/SpendDashboardController.swift: Sources/CodexBar/SpendDashboard/SpendDashboardController.swift changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in SpendDashboardSource.makeRequest at line 223. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/SpendDashboard/SpendDashboardController.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/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f714a2cfe731ad86de439d65dd600bd0eabe7fdbc78e3e307c9de0fecbc510c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Menu/MenuBarLayout.swift: Sources/CodexBar/Menu/MenuBarLayout.swift changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in MenuBarLayoutPersistence.preferredLibrary at line 1414. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Menu/MenuBarLayout.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/CodexBar/Menu/MenuBarLayout.swift"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b30252bb9b382e151be128ff1a1f7840efc62ad553682c2a87cb89bd45247e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift: Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in ClaudeCLISession.captureExclusive at line 145. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.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/CodexBarCore/Providers/Claude/ClaudeCLISession.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc29f92c0c0330cbac8c6b9a6df16bd8d9c21570531c5f94f0ba2adc350daf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/UsageStore/UsageStore\u002BMenuCardModel.swift: Sources/CodexBar/UsageStore/UsageStore\u002BMenuCardModel.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in UsageStore.menuCardInput at line 55. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/UsageStore/UsageStore\u002BMenuCardModel.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/CodexBar/UsageStore/UsageStore\u002BMenuCardModel.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d2914e22da72cdc289529b5f7bc401bad6af2740e06a552a8bc3af961cf344"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift: Sources/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in UsageStore.hydrateCachedTokenSnapshots at line 393. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/UsageStore/UsageStore\u002BTokenCost.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/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d590e8a13e8b9a6af85b5a2655966ef81917f57935a9664ef3e5505a655589"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/PiSessionCostScanner.swift: Sources/CodexBarCore/PiSessionCostScanner.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in PiSessionCostScanner.loadDailyReportResultCancellable at line 155. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/PiSessionCostScanner.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/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fdcd6be8a557bf836a9a472c6a97ba29ac4ed739c37b360fdc25c9ff89903d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Scripts/ci_swift_test_by_suite.py: Scripts/ci_swift_test_by_suite.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in TestProcessOwnership.refresh at line 250. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Scripts/ci_swift_test_by_suite.py\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":"Scripts/ci_swift_test_by_suite.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dcf974a44e593739ef98a10034591eed8a8d5dd224f47646d87dc4df64f17d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift: Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in QuickJSProviderPluginEngine.handleHostCall at line 544. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.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/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c82e2deda7eb14f1e86601d3f7d291aaa88f19a9b7ba02092b8debe4c69a09"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift: Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ClaudeProviderDescriptor.resolveStrategies at line 292. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.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/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a336bf84f8f61a9f2da302e931fccfcc98eea8764c5745ba57f47c010b3c89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/UsageFetcher.swift: Sources/CodexBarCore/UsageFetcher.swift changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in UsageSnapshot.backfillingResetTimes at line 563. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/UsageFetcher.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/CodexBarCore/UsageFetcher.swift"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdad4c924b86ebda1ae2028b6690b50a1504863ecd323030e2a54d309e5c92ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/CostUsageModels.swift: Sources/CodexBarCore/CostUsageModels.swift changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Entry.coverageCounts at line 594. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/CostUsageModels.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/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9544c2663b2a4afdecee5254c0b98a80794e25c2e6c6ae987a132f90d9ec6a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/zai.js: Sources/CodexBarCore/Resources/Plugins/zai.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in fetchUsage at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/zai.js\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/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dea9e4bbb15d2819578800a3e3805b7ea49402f9c1ac9fcc2fb6a77b2d44116"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Menu/MenuDescriptor.swift: Sources/CodexBar/Menu/MenuDescriptor.swift changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in MenuDescriptor.usageSection at line 253. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Menu/MenuDescriptor.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/CodexBar/Menu/MenuDescriptor.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4ba7160270b5b4a2708adec34d4f3b19b0c27a33959e7fd8016ee6d0adf8c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift: Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Repository.loadRecord at line 336. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"9762ddcbc7476bb624fe1ed7d049ac1e5c142ddcd88a958383f2781ec2a4fa3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Menu/CostHistoryChartMenuView.swift: Sources/CodexBar/Menu/CostHistoryChartMenuView.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in CostHistoryChartMenuView.body at line 119. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Menu/CostHistoryChartMenuView.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/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"deeb7f2d54d438a881864fda8b026598aa3180d8800928f61ff8a2d5261495b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift: Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ClaudeUsageFetcher.applyWebExtrasIfNeeded at line 1257. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.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/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07631c01834c5a31aeeee9c4f03408288c6c8a150590bfaaf5ca0a463c875bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Plugins/ProviderPluginCookieBroker.swift: Sources/CodexBarCore/Plugins/ProviderPluginCookieBroker.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ProviderPluginCookieBroker.advance at line 301. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Plugins/ProviderPluginCookieBroker.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/CodexBarCore/Plugins/ProviderPluginCookieBroker.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd188802b34bb609a30ed48b9cf41024af07bdaebc35d371142f8ed739880671"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.swift: Sources/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in UsageStore.limitResetDetectorTransition at line 301. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.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/CodexBar/UsageStore/UsageStore\u002BLimitResetCelebration.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff82264e75d270a4a282ac85a4925771632252f4e267bf68c8bb8f5a4095672f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/StatusItem/StatusItemController\u002BIconObservation.swift: Sources/CodexBar/StatusItem/StatusItemController\u002BIconObservation.swift changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in StatusItemController.storedMenuBarLayoutPaceSignature at line 226. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/StatusItem/StatusItemController\u002BIconObservation.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/CodexBar/StatusItem/StatusItemController\u002BIconObservation.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"19aad81c8d3a505dc3e5518ffd5d8c906724b357ccbbd88e324f76496feb9d30"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexCostCatchUp.swift: Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexCostCatchUp.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in UsageStore.runCodexCostCatchUp at line 107. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexCostCatchUp.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/CodexBar/Providers/Codex/UsageStore\u002BCodexCostCatchUp.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9838f7a96c28b2c3f5d2c35ae66553b394df53298a0e6939087bc7d72f6ca6bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift: Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in GrokWebBillingFetcher.parseGRPCWebResponse at line 312. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.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/CodexBarCore/Providers/Grok/GrokWebBillingFetcher.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e44e210420382f41e5276cb7f6f7f0a1071a6fe6bab0278df506ab0ed64891"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift: Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in CursorStatusSnapshot.toUsageSnapshot at line 448. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.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/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffaa8154a85ed99a69c22cea55f6939a7a4d0ba1d5326ff2b8af62b096ac5bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Menu/InlineUsageDashboardContent.swift: Sources/CodexBar/Menu/InlineUsageDashboardContent.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in Model.costHistoryInlineDashboard at line 272. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Menu/InlineUsageDashboardContent.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/CodexBar/Menu/InlineUsageDashboardContent.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6d0d697a599dd772947b41c2bac98b5821fd1488f5324db40c065876bd2517"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCLI/CLIUsageCommand.swift: Sources/CodexBarCLI/CLIUsageCommand.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in CodexBarCLI.fetchUsageOutput at line 423. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCLI/CLIUsageCommand.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/CodexBarCLI/CLIUsageCommand.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"2243e4a2b80cd94640e1959a4596cec392eaece09f27d2d9713276f50922403d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Plugins/ProviderPluginHTTPResponse.swift: Sources/CodexBarCore/Plugins/ProviderPluginHTTPResponse.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ProviderPluginHTTPResponse.request at line 227. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Plugins/ProviderPluginHTTPResponse.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/CodexBarCore/Plugins/ProviderPluginHTTPResponse.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"889193f96845219d405ffad84e6934f5203a0c78096d75d943793596cf21e168"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift: Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Model.tokenUsageSection at line 208. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Menu/MenuCardView\u002BCosts.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/CodexBar/Menu/MenuCardView\u002BCosts.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7a3c1fb220aff12dccbaf2199f80d57bb1b25565886be2ad61433bbf13c1f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCLI/CLIEntry.swift: Sources/CodexBarCLI/CLIEntry.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in CodexBarCLI.main at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCLI/CLIEntry.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/CodexBarCLI/CLIEntry.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1963bab3500798541bfd9f4df67ce7ba0aa706cc532632c5d2da379b910a7e56"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift: Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in OpenCodeGoLocalUsageFetchStrategy.snapshotWithoutCLILogin at line 256. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a506f56872a1d13202e0c25011964010be98f4694f72c4599d829556f2acfde"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift: Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in SpendDashboardModel.modelSummary at line 42. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.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/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1046366def0916bd7865c9ec87ae4fb6b272bcd374e2c69a1affeb2853a0f3d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift: Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in UsageStore.resolvePlanUtilizationAccountKey at line 1077. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.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/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd243265142bb6cc0461e1170eef3cbad95cd02c674eb509554154630ba6b8cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCLI/CLIServeCommand.swift: Sources/CodexBarCLI/CLIServeCommand.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in CodexBarCLI.handleServeRequest at line 858. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCLI/CLIServeCommand.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/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85873a3d44a1410b8e8af661413174a4dbb1b5caec8b5a24d40a02c06c0b7d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/IconRenderer.swift: Sources/CodexBar/IconRenderer.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in IconRenderer.makeIcon at line 142. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/IconRenderer.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/CodexBar/IconRenderer.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"873fc67fc95fcf2b19ee6b5bf598916485e297ebe8301ecbea132c6b0d82fb04"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Settings/PreferencesProviderDetailView.swift: Sources/CodexBar/Settings/PreferencesProviderDetailView.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ProviderDetailView.body at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Settings/PreferencesProviderDetailView.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/CodexBar/Settings/PreferencesProviderDetailView.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f834f3719559d9a9e1951c52de18704ddf50fb0516a146b0375e0de7c4182b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalReader.swift: Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalReader.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in AntigravityLocalReader.aggregate at line 187. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalReader.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/CodexBarCore/Providers/Antigravity/AntigravityLocalReader.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f128ec72956880e8ba00b3bbbd19f6ae6f846e27dda37f97021f2d5a613a1faf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/StatusItem/StatusItemController\u002BCountdownRefresh.swift: Sources/CodexBar/StatusItem/StatusItemController\u002BCountdownRefresh.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in StatusItemController.scheduleMenuBarCountdownRefreshIfNeeded at line 7. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/StatusItem/StatusItemController\u002BCountdownRefresh.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/CodexBar/StatusItem/StatusItemController\u002BCountdownRefresh.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bef12c3bebf2eddc6b1cff397463f8ae41ebae46a0c7256f76c4e9b0810090"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift: Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in AntigravityLocalReader.readDatabase at line 133. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.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/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee400c0f7c305d57483891735fab7de9199c837185477f80fa17c4ffa6c70d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift: Sources/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AntigravityRemoteUsageFetcher.fetch at line 100. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.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/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"25063095ca0002dd769f2c456081fe4358a2f195ccfc04e1069ec584f4438aa0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift: Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in MiniMaxUsageParser.parseCodingPlanRemains at line 788. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.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/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swift"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba465048c21eb535825f21ce8f2ae6b43085c1f46ee3316a5cc6433ae64d2d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Providers/Codex/UsageStore\u002BSpendDashboardCodexCostCatchUp.swift: Sources/CodexBar/Providers/Codex/UsageStore\u002BSpendDashboardCodexCostCatchUp.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in UsageStore.runSpendDashboardCodexCostCatchUp at line 143. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Providers/Codex/UsageStore\u002BSpendDashboardCodexCostCatchUp.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/CodexBar/Providers/Codex/UsageStore\u002BSpendDashboardCodexCostCatchUp.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2582297fd8bca697d28c4323b0282d082c0599a6a7ae44d4d5dcb0875bc26c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/ShareStatsPayload.swift: Sources/CodexBar/ShareStatsPayload.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ShareStatsBuilder.make at line 216. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/ShareStatsPayload.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/CodexBar/ShareStatsPayload.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"6836b8ef23ddcf8c9625de5c33671a309de8108dfe9d1c9cbae59d60c922d7fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift: Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in AntigravityOAuthConfig.binaryClient at line 322. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.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/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"5398b960bc5c6dc00efeb7f00f4a2ca6c89844141c6539d861748ee446555f08"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Providers/Claude/UsageStore\u002BClaudeSwapRefresh.swift: Sources/CodexBar/Providers/Claude/UsageStore\u002BClaudeSwapRefresh.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in UsageStore.switchClaudeSwapAccount at line 181. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Providers/Claude/UsageStore\u002BClaudeSwapRefresh.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/CodexBar/Providers/Claude/UsageStore\u002BClaudeSwapRefresh.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1d8fcf9111ae525ea925c05d2e521d5e58a127c5544f73a6ff3921925f61cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/UsageStore/UsageStore\u002BSpendDashboardTokenCost.swift: Sources/CodexBar/UsageStore/UsageStore\u002BSpendDashboardTokenCost.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in UsageStore.refreshSpendDashboardTokenUsageNow at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/UsageStore/UsageStore\u002BSpendDashboardTokenCost.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/CodexBar/UsageStore/UsageStore\u002BSpendDashboardTokenCost.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2e83bca340c8830e47734a115c42300b8d06ef754f1985b996aca8cf9ee034"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/UsageStore/UsageStore\u002BQuotaWarnings.swift: Sources/CodexBar/UsageStore/UsageStore\u002BQuotaWarnings.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in UsageStore.handleQuotaWarningTransitions at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/UsageStore/UsageStore\u002BQuotaWarnings.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/CodexBar/UsageStore/UsageStore\u002BQuotaWarnings.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf96b7f1d877a1a61428512d76bbb2c1797623bb31800ac46ddd8d580dbb8a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift: Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ProviderPluginSnapshotMapper.map at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.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/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fb86273326e7db76376d03ef42f9815ac9374288cf7a360624c43b2c158374"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCLI/TokenAccountCLI.swift: Sources/CodexBarCLI/TokenAccountCLI.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in TokenAccountCLIContext.resolvedAccounts at line 89. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCLI/TokenAccountCLI.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/CodexBarCLI/TokenAccountCLI.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d034aa8d689fe520e4b40e73bca2576ffb3cadd03aba88f9a1d4bb681f1271cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherMetrics.swift: Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherMetrics.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in StatusItemController.switcherWeeklyMetricPercent at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherMetrics.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/CodexBar/StatusItem/StatusItemController\u002BSwitcherMetrics.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ff9cdbad59b191ef05603db95bca3ece77de240515b6aca97267704d7210fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift: Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in KiroUsageSnapshot.toUsageSnapshot at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Kiro/KiroStatusProbe.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/CodexBarCore/Providers/Kiro/KiroStatusProbe.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f62d7d98eb0cb506a5c0d1846ab46711c4cd523ff60eed0b594b0b633e9523"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/PiFamilySessionScanner.swift: Sources/CodexBarCore/PiFamilySessionScanner.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in PiFamilySessionScanner.costSessionRoots at line 391. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/PiFamilySessionScanner.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/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"077a278bdc115c169f79b4fcee1888d95bc9f8baa826c7f8133e13c199e32f87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoLocalUsageReader.swift: Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoLocalUsageReader.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CacheBox.read at line 268. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoLocalUsageReader.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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoLocalUsageReader.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb503675ef3debee296bd3f29bb8a8cebc6e71f04a6089de9d5415af0c80871"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift: Sources/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in CodexWeeklyResetConfirmation.evaluateDelayedCandidateCreation at line 234. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.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/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd46ddcb61060093de8390ed0e1180b705be914d3d836d690e21af9bda018c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/PathEnvironment.swift: Sources/CodexBarCore/PathEnvironment.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ShellCommandLocator.runShellCommand at line 889. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/PathEnvironment.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/CodexBarCore/PathEnvironment.swift"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8533acd5191b993c666358049fa65617289faac16c79be05a2d73cd9b2e7006"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Settings/PreferencesProviderSettingsRows.swift: Sources/CodexBar/Settings/PreferencesProviderSettingsRows.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ProviderSettingsTokenAccountsRowView.body at line 248. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Settings/PreferencesProviderSettingsRows.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/CodexBar/Settings/PreferencesProviderSettingsRows.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0140a8cdbee4d690c9b69323a789eaee67ba30f383bf4dcbb597dcad680031"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/KeychainAccessPreflight.swift: Sources/CodexBarCore/KeychainAccessPreflight.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in KeychainAccessPreflight.evaluateDecryptACL at line 347. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/KeychainAccessPreflight.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/CodexBarCore/KeychainAccessPreflight.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cb82ebd415de6c904fdd843ec65ebba3ee81df01f38b36acb0dfecb60922bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/poe.js: Sources/CodexBarCore/Resources/Plugins/poe.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in fetchUsage at line 15. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/poe.js\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/CodexBarCore/Resources/Plugins/poe.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ede99b37356e20a12eef9998eef0e5a41862f95b096d209c9836a76e7adb230"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/muse.ts: Sources/CodexBarCore/Resources/Plugins/muse.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in fetchUsage at line 11. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/muse.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a39c81d330d2d557c24ea34f735e9189e8d836bec9c2e5273d07b71e00350e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/workbuddy.ts: Sources/CodexBarCore/Resources/Plugins/workbuddy.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in fetchUsage at line 19. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/workbuddy.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bd56bf1aa7df1bd02a45094c10ad53e00792c3e0b2ee6f31d827e7bd380a02"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarWidget/CodexBarWidgetViews.swift: Sources/CodexBarWidget/CodexBarWidgetViews.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in WidgetUsageRow.rows at line 364. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarWidget/CodexBarWidgetViews.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/CodexBarWidget/CodexBarWidgetViews.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc9332749d08f9542448e10aa55926190243e569651d4258981e3252665eca1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Codex/CodexCLISession.swift: Sources/CodexBarCore/Providers/Codex/CodexCLISession.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in CodexCLISession.captureStatus at line 52. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Codex/CodexCLISession.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/CodexBarCore/Providers/Codex/CodexCLISession.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dd2b2a872cc8865df396e873506045c5a2236e85f21843d2b3f1c2b1334e23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Codex/CodexRequestLedger.swift: Sources/CodexBarCore/Providers/Codex/CodexRequestLedger.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in CodexRequestLedger.load at line 111. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Codex/CodexRequestLedger.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/CodexBarCore/Providers/Codex/CodexRequestLedger.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d94279da5f5b59f4e3fa2c00d2c3632f92045226c53c6c23942a985210540f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Grok/GrokLocalSessionScanner.swift: Sources/CodexBarCore/Providers/Grok/GrokLocalSessionScanner.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in GrokLocalSessionScanner.summarize at line 81. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Grok/GrokLocalSessionScanner.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/CodexBarCore/Providers/Grok/GrokLocalSessionScanner.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"193025db932a9dea1c4280075bcd03fee8ed2df50d3323534ef2a6561aa6fa76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/SpendDashboard/SpendDashboardProviderBreakdown.swift: Sources/CodexBar/SpendDashboard/SpendDashboardProviderBreakdown.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SpendProviderBreakdownRows.providerGroup at line 128. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/SpendDashboard/SpendDashboardProviderBreakdown.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/CodexBar/SpendDashboard/SpendDashboardProviderBreakdown.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfb4e26b7c995bcf8045042d90ed2b9620d58630776d775e8095747a24a710f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/litellm.ts: Sources/CodexBarCore/Resources/Plugins/litellm.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in fetchUsage at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/litellm.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"596d10b4825d889d0669ba012e16e0cbfedbd331007aedcdfdeb05b487247142"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Providers/Codex/CodexConsumerProjection.swift: Sources/CodexBar/Providers/Codex/CodexConsumerProjection.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CodexConsumerProjection.make at line 275. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Providers/Codex/CodexConsumerProjection.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/CodexBar/Providers/Codex/CodexConsumerProjection.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d652cae52463b5411479530723f9ab92cc1618640a6e0e6ab57e0f4358328d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Mistral/MistralModels.swift: Sources/CodexBarCore/Providers/Mistral/MistralModels.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in MistralUsageSnapshot.toCostUsageTokenSnapshot at line 264. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Mistral/MistralModels.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/CodexBarCore/Providers/Mistral/MistralModels.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c6d855b6172b759d1e1aa589888c16448b4220d61e02fc00cc97e00850f7c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/KeychainCacheStore.swift: Sources/CodexBarCore/KeychainCacheStore.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in KeychainCacheStore.storeResult at line 171. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/KeychainCacheStore.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/CodexBarCore/KeychainCacheStore.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8622127fa03da0b818c549a586666700317d139b06e16c97e5378c00745ba815"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Host/Process/SubprocessRunner.swift: Sources/CodexBarCore/Host/Process/SubprocessRunner.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SubprocessRunner.run at line 133. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Host/Process/SubprocessRunner.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/CodexBarCore/Host/Process/SubprocessRunner.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed4c8d6942cc861be998f3171cfdf47b060258bc7244f9a5ef05bfccbdcb707"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Amp/AmpUsageParser.swift: Sources/CodexBarCore/Providers/Amp/AmpUsageParser.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in AmpUsageParser.parse at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Amp/AmpUsageParser.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/CodexBarCore/Providers/Amp/AmpUsageParser.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e46791e78b81eae0a88f745dbae91cb534ec739c7a2a90b6dfd8bbda1aab791"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift: Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ProviderSwitcherView.init at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.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/CodexBar/StatusItem/StatusItemController\u002BSwitcherViews.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c220821f3c8f9efa03a66ccc8c8449329b2bf29bd61a6b25136a46d56034ece6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Sync/SyncModels.swift: Sources/CodexBarCore/Sync/SyncModels.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ProviderIntentPayload.applying at line 77. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Sync/SyncModels.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/CodexBarCore/Sync/SyncModels.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4d4e6fa70007f268189642daca0ebff7e88be0830b95a72e1d974857592f15"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Sync/CloudSyncEngine.swift: Sources/CodexBar/Sync/CloudSyncEngine.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in CloudSyncEngine.processEvent at line 829. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Sync/CloudSyncEngine.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/CodexBar/Sync/CloudSyncEngine.swift"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"0599f8142fe72096d7a32baa53ad450e8e3809a221b35470274e9b8c6947d70a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/ProviderUsageItemVisibility.swift: Sources/CodexBar/ProviderUsageItemVisibility.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Model.applyingUsageItemVisibility at line 188. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/ProviderUsageItemVisibility.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/CodexBar/ProviderUsageItemVisibility.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a421e30942a6c9357a5bd021d5ae914fcd3b0b334efad47dc7e077045d3d887"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarWidget/BurnDownWidgetViews.swift: Sources/CodexBarWidget/BurnDownWidgetViews.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in BurnDownLayout.body at line 66. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarWidget/BurnDownWidgetViews.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/CodexBarWidget/BurnDownWidgetViews.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2958b24d85d178517288003d2534f45a270a819da237aa02aef78294d6a345"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexRefresh.swift: Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexRefresh.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in UsageStore.refreshCreditsIfNeeded at line 124. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexRefresh.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/CodexBar/Providers/Codex/UsageStore\u002BCodexRefresh.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"936290670f42bb7b1f7e966c8e19f4dc65c36068223fc5290e1d4b70bdadcc8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/openai.js: Sources/CodexBarCore/Resources/Plugins/openai.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in fetchUsage at line 14. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/openai.js\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/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ee9af998b60ddcfc7795c7e07d538eea740395e3d76fddbf67378c56f0f05d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift: Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in OpenCodeGoUsageFetcher.parseWindow at line 704. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca42b64cc0cccb4bf80890a905bc307b5ce18815fe839e67e595cb45d485c5bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/LocalAgentSessionScanner.swift: Sources/CodexBarCore/LocalAgentSessionScanner.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in LocalAgentSessionScanner.scanWithActivity at line 202. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/LocalAgentSessionScanner.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/CodexBarCore/LocalAgentSessionScanner.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5ca80b989b6d72e4c99ef1c4963775e792df4d4f8f915d1c51558911fa4a63"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/huggingface.ts: Sources/CodexBarCore/Resources/Plugins/huggingface.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in fetchUsage at line 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/huggingface.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24e97e251c39ff622882b167f5085988f8657a0b54c9c65dcba9f555b815485"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BSessionResolution.swift: Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BSessionResolution.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in CursorStatusProbe.resolveSession at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BSessionResolution.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/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BSessionResolution.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2542a15ef2af40aea0221883653b82faf9275a03c962d398ca6eafe35b2847cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift: Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in UsageStore.performOpenAIDashboardRefreshIfNeeded at line 539. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.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/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"910e06df53a99feec3e167b654e9643ef74f305b275128da155a19ef9e5e1f00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCLI/CLICodexIdentifiedUsage.swift: Sources/CodexBarCLI/CLICodexIdentifiedUsage.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in CodexBarCLI.runCodexIdentifiedUsage at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCLI/CLICodexIdentifiedUsage.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/CodexBarCLI/CLICodexIdentifiedUsage.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d253c0f57e0a9eefc094fde5fbbe12490d078277309815762c9139d040ffaae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/hyper.ts: Sources/CodexBarCore/Resources/Plugins/hyper.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in fetchUsage at line 11. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/hyper.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/hyper.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5440d6a1a06f59a41c1020fcb71747ab5d4ebe86f74b2f29f30655b348fac40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCLI/CLICardsRenderer.swift: Sources/CodexBarCLI/CLICardsRenderer.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in CLICardsRenderer.renderCard at line 296. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCLI/CLICardsRenderer.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/CodexBarCLI/CLICardsRenderer.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf587b8b49e2648d3855c00ec1c9172b70ccd591473e56057984300316120ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/CookieHeaderCache.swift: Sources/CodexBarCore/CookieHeaderCache.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in CookieHeaderCache.currentObservationMatch at line 1396. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/CookieHeaderCache.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/CodexBarCore/CookieHeaderCache.swift"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d34602bf12a58f0b9af8e8678dd5e1bd50e02568535ca0227499325e203dfd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Cursor/CursorLocalCSVReader.swift: Sources/CodexBarCore/Providers/Cursor/CursorLocalCSVReader.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in CursorLocalCSVReader.parseFile at line 46. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Cursor/CursorLocalCSVReader.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/CodexBarCore/Providers/Cursor/CursorLocalCSVReader.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"425ab9b37260fea21f7f68d41e1c54ddd91004467d7964352ecadd891785c1c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/xai.js: Sources/CodexBarCore/Resources/Plugins/xai.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in fetchUsage at line 10. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/xai.js\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/CodexBarCore/Resources/Plugins/xai.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b6cdcbdb95aa458455e71219e7c343d94f38d31d181a7485940a3a1c3c3d39"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarWidget/CombinedBurnDownWidgetViews.swift: Sources/CodexBarWidget/CombinedBurnDownWidgetViews.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in CombinedBurnRow.body at line 141. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarWidget/CombinedBurnDownWidgetViews.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/CodexBarWidget/CombinedBurnDownWidgetViews.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc46bc07b97711327cc9552573de90f9687eb75e1d19056a4463dd3c932c90a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Scripts/ci_swiftpm_cache.py: Scripts/ci_swiftpm_cache.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ci_swiftpm_cache.restore at line 246. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Scripts/ci_swiftpm_cache.py\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":"Scripts/ci_swiftpm_cache.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e41f5b176e6263c654a0ff52a9ec632f135f0c79473611dfe21ed540116876"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/perplexity.js: Sources/CodexBarCore/Resources/Plugins/perplexity.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in fetchUsage at line 8. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/perplexity.js\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/CodexBarCore/Resources/Plugins/perplexity.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c892155cba04d7eea4d474e35c0683fab9d0bdc7ca08beb8f51f7df1866e1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/typesafe.ts: Sources/CodexBarCore/Resources/Plugins/typesafe.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in fetchUsage at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/typesafe.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4c00e85e2f83207a0bd657794ea98029dd3607e4b96bbae010ebe14b6a9760"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/SpendDashboard/SpendDashboardTrendPanel.swift: Sources/CodexBar/SpendDashboard/SpendDashboardTrendPanel.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SpendTrendChart.chart at line 272. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/SpendDashboard/SpendDashboardTrendPanel.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/CodexBar/SpendDashboard/SpendDashboardTrendPanel.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9c7c6c38eacd77f294106603b0a49009536b8bd717929d6e087234ae0b702d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetConfirmation.swift: Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetConfirmation.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in UsageStore.codexOutcomeAdmittedForPublication at line 31. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetConfirmation.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/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetConfirmation.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c03bba4fcc6ef89179d21ad273c425241a0a96b3c24423d709a3ed70bf376d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardWebViewCache.swift: Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardWebViewCache.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in OpenAIDashboardWebViewCache.acquire at line 316. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardWebViewCache.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/CodexBarCore/OpenAIWeb/OpenAIDashboardWebViewCache.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7606c789ed4c130fed8d578d94b4b401c3328264c143d415a88823078e0ec8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/helmcode.ts: Sources/CodexBarCore/Resources/Plugins/helmcode.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in fetchUsage at line 8. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/helmcode.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e6539edd25752d88f35ae28ec9adb12bcfe786faeb7f71cddcce269c6c9816"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/UsageStore/UsageStore\u002BSessionQuotaTransition.swift: Sources/CodexBar/UsageStore/UsageStore\u002BSessionQuotaTransition.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in UsageStore.handleSessionQuotaTransition at line 7. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/UsageStore/UsageStore\u002BSessionQuotaTransition.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/CodexBar/UsageStore/UsageStore\u002BSessionQuotaTransition.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5a91fe91b39f292b47815e1bcd4fe3a849783e3d1c5954aea0946fb4441da9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/notion.ts: Sources/CodexBarCore/Resources/Plugins/notion.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in fetchUsage at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/notion.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7348ad4d26a15db37fa234200f7c711f049cdc5a86837644555960a07f060d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Codex/CodexAccountPromotionPlanning.swift: Sources/CodexBarCore/Providers/Codex/CodexAccountPromotionPlanning.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in CodexDisplacedLivePreservationPlanner.makePlan at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Codex/CodexAccountPromotionPlanning.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/CodexBarCore/Providers/Codex/CodexAccountPromotionPlanning.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff56bbf3a93eb6e5b0020267a57f53993c09da49e4c30de5f67da772a3a4a7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Menu/MenuCardView\u002BProviderDetailVisibility.swift: Sources/CodexBar/Menu/MenuCardView\u002BProviderDetailVisibility.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Model.visibleProviderDetails at line 5. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Menu/MenuCardView\u002BProviderDetailVisibility.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/CodexBar/Menu/MenuCardView\u002BProviderDetailVisibility.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"185f9ddb7b68370e8d30348ad73e6ee0dc1926187e59001b12229e2f9628e5c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift: Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in DeepSeekUsageCostParser.parseByAPIKey at line 795. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.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/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8ded0994f31e93038e042b2d2fca02daa67107c1b42b13dd57b307835e674f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Scripts/StoreStress/main.swift: Scripts/StoreStress/main.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in main.swift.top-level code at line 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Scripts/StoreStress/main.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":"Scripts/StoreStress/main.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"11594c7cee28a2356761d287fc678a9393b3a3e0836734f9e05c2d7a84542073"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/StatusItem/StatusItemController\u002BOverviewScroll.swift: Sources/CodexBar/StatusItem/StatusItemController\u002BOverviewScroll.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in StatusItemController.handleOverviewScrollWheel at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/StatusItem/StatusItemController\u002BOverviewScroll.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/CodexBar/StatusItem/StatusItemController\u002BOverviewScroll.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"098763682c3cdbb70e0144cf102fc1761f306bde3657761cc343090f44348f81"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/manus.js: Sources/CodexBarCore/Resources/Plugins/manus.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in fetchUsage at line 8. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/manus.js\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/CodexBarCore/Resources/Plugins/manus.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c418271c5b05025d3f345ceda3b7ab5deab69bd14c5f09cb68b52b7a82a5e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/qoder.js: Sources/CodexBarCore/Resources/Plugins/qoder.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in fetchUsage at line 8. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/qoder.js\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/CodexBarCore/Resources/Plugins/qoder.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37d53074129ae12f0263cc2fa27bde090df3004a979e93f05db5c51d1aad850"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Codex/ManagedCodexAccountCredentialResolver.swift: Sources/CodexBarCore/Providers/Codex/ManagedCodexAccountCredentialResolver.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ManagedCodexAccountCredentialResolver.resolve at line 155. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Codex/ManagedCodexAccountCredentialResolver.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/CodexBarCore/Providers/Codex/ManagedCodexAccountCredentialResolver.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9054317d4749ebfff2685da9136062bc2abeae660f6ee26441ca09977ac50d40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLiteSchema.swift: Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLiteSchema.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AntigravityLocalReader.inspectSQLiteTableSupport at line 21. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLiteSchema.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/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLiteSchema.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"db68299f44ee7a5bf0a64b2b883680a6b9e3e5ce0884f5b01e20434d75d45eac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Amp/AmpUsageSnapshot.swift: Sources/CodexBarCore/Providers/Amp/AmpUsageSnapshot.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in AmpUsageSnapshot.toUsageSnapshot at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Amp/AmpUsageSnapshot.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/CodexBarCore/Providers/Amp/AmpUsageSnapshot.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5e1a5bfaa5a5d425158cceb0291a0fc1e3278ed8384ae8cc3870ee64c247c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/abacus.ts: Sources/CodexBarCore/Resources/Plugins/abacus.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in fetchUsage at line 11. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/abacus.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1895eadecc7a4d62d81385df7457cb881170c00e5e8527c0d31f88940c4e492"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/museai.js: Sources/CodexBarCore/Resources/Plugins/museai.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in fetchUsage at line 8. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/museai.js\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/CodexBarCore/Resources/Plugins/museai.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85fc2e6eecdf481bb344be110fb1955d0ddf5aa036122963e4d161fe9bc640e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBar/Providers/Codex/CodexResetCreditExpiryNotifier.swift: Sources/CodexBar/Providers/Codex/CodexResetCreditExpiryNotifier.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in CodexResetCreditExpiryNotifier.postExpiringCreditsIfNeeded at line 19. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Providers/Codex/CodexResetCreditExpiryNotifier.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/CodexBar/Providers/Codex/CodexResetCreditExpiryNotifier.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5d3f6345e48fe1a1de063fe55b4ca605d7673d73042d65e2345a236006601c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Resources/Plugins/traecn.js: Sources/CodexBarCore/Resources/Plugins/traecn.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in fetchUsage at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/traecn.js\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/CodexBarCore/Resources/Plugins/traecn.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8937fdb94eb7fb0fd6359b5cfe66bc34ec59f804edc270c9a957ca20d6f5b48"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BSecurityCLIReader.swift: Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BSecurityCLIReader.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ClaudeOAuthCredentialsStore.readRawClaudeKeychainPayloadViaSecurityCLIIfEnabled at line 88. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BSecurityCLIReader.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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials\u002BSecurityCLIReader.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd727f0a872c93f579582c7d4f31f2db2f6f84db7327ef061eded62ec778b5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBar/CodexbarApp.swift: Sources/CodexBar/CodexbarApp.swift changed 31 times in last 90 days and 19 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is AppDelegate.ensureSingleSettingsApplicationMenuItem at line 695), 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(webkit): guard cold website store enumeration\u201D; \u201Cfix(codex): reclaim WebKit caches and retired account stores\u201D; \u201Cfix(updates): separate automatic installs from automatic checks (#4778)\u201D; \u201Cfix(widgets): replace a stale widget extension after an update (#4663)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/CodexbarApp.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/CodexBar/CodexbarApp.swift"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f62692ed8d508656c5d0747d4615c3e1ba8b093ea789c47d342612355011fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/ProviderUsagePresentation.swift: Sources/CodexBarCore/Providers/ProviderUsagePresentation.swift changed 21 times in last 90 days and 14 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is ProviderUsagePresentation.window at line 654), 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 prepaid usage credits in menu bar Balance layouts\u201D; \u201Cfix(menu): map Nous Portal credit rows to the menu bar balance (#4319)\u201D; \u201Cfix(providers): clarify Kimi and z.ai quota availability (#4091)\u201D; \u201Cfix(mistral): keep widget selection provider-owned\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/ProviderUsagePresentation.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/CodexBarCore/Providers/ProviderUsagePresentation.swift"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"17de96b2495f02ce704e32c11082de18dbbcd669b782c6c42fb9d3834d5afb60"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Grok/GrokStatusProbe.swift: Sources/CodexBarCore/Providers/Grok/GrokStatusProbe.swift changed 16 times in last 90 days and 11 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 GrokStatusProbe.fetch at line 153), 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): keep the weekly Credits window on a zero-usage week (#4679)\u201D; \u201Cfix(grok): use the _x.ai/billing ACP method for CLI billing (#4595)\u201D; \u201Cfix(grok): classify missing billing methods by RPC code (#3947)\u201D; \u201Cfix(grok): preserve measured billing periods for pace (#3679)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Grok/GrokStatusProbe.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/CodexBarCore/Providers/Grok/GrokStatusProbe.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"647c8afa88d42810aa8bd175ada75ebb1e7676c824ab16410018b7163d3b66c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift: Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift changed 15 times in last 90 days and 9 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 CodexOAuthFetchStrategy.shouldFallback at line 492), 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(charts): preserve zero-usage calendar days for every provider (#4689)\u201D; \u201Cfix(codex): open the usage dashboard on its overview tab (#4607)\u201D; \u201Cfix(codex): reread fresh credentials and invalidate stale plan evidence (#4088)\u201D; \u201Cfix(codex): verify the registered usage dashboard URL\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.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/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe2e48cb13e412e499c8cb07d5ad7b648a69ef2029c946632bebd3cb091dc04"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/BrowserCookieAccessGate.swift: Sources/CodexBarCore/BrowserCookieAccessGate.swift changed 12 times in last 90 days and 8 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 BrowserCookieAccessGate.shouldAttemptWithPolicy at line 108), 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(muse): earn the Keychain grant on manual refresh (#4489)\u201D; \u201Cfix(cookies): explain Files \u0026 Folders denial instead of Sign in (#4482)\u201D; \u201Cfix(keychain): bound browser cookie prompts per refresh (#4464)\u201D; \u201Cfix(lithosai): restore cookie retries and menu bar balance (#4240)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/BrowserCookieAccessGate.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/CodexBarCore/BrowserCookieAccessGate.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e06895bd5614dd13f8cd6996ec4abd4bebd2eb22d50384f5a5ab966b3f6ce8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift: Sources/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift changed 11 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is KimiWebEnrichmentTokenResolver.resolveCredential at line 279), 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(kimi): reconcile contradictory usage windows (#4311)\u201D; \u201Cfix(providers): clarify Kimi and z.ai quota availability (#4091)\u201D; \u201Cfix(providers): recover Command Code grants and Kimi web sessions (#3941)\u201D; \u201Cfix(kimi): allow saved web accounts through the Linux CLI gate\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.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/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"58365674b1f898a34514457a10924db39f5e70c81bdb026e79fba001b2da4da2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCLI/CLIRenderer.swift: Sources/CodexBarCLI/CLIRenderer.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 13 (its worst body is CLIRenderer.liveHistoryLine at line 591), 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(mistral): show the Monthly Plan in CLI text output\u201D; \u201Cfix(cli): show provider history without truncating cards (#3737)\u201D; \u201Cfix(credits): preserve pool percentages and reset labels (#3636)\u201D; \u201Cfix(abacus): retain credit details beside billing resets (#3637)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCLI/CLIRenderer.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/CodexBarCLI/CLIRenderer.swift"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5979855f12c617d34324c75b87ef7b6699291bf126c33af797986f07c9d875"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/ProviderFetchPlan.swift: Sources/CodexBarCore/Providers/ProviderFetchPlan.swift changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is ProviderFetchPipeline.fetch at line 396), 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(security): redact fetcher environments and scrub test environments (#4097)\u201D; \u201Cfix(antigravity): explain offline fallback and source status (#3865)\u201D; \u201Cfix(antigravity): report per-source failures accurately (#3683)\u201D; \u201Cfix(providers): honor resolved terminal fetch errors\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/ProviderFetchPlan.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/CodexBarCore/Providers/ProviderFetchPlan.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c5d303fdb7acc7c3b1e3b148a923036ff2853577d3997eddf24cdb53af0907"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/UsageFormatter.swift: Sources/CodexBarCore/UsageFormatter.swift changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is UsageFormatter.countdownDescription at line 118), 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(plugins): report an unset plugin endpoint as needing configuration (#4727)\u201D; \u201Cfix(kimi): show gift credit balances with their expiry (#4691)\u201D; \u201Cfix(l10n): correct Ukrainian strings and localize countdown units (#4676)\u201D; \u201Cfix(providers): handle oversized counts and reset dates (#3764)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/UsageFormatter.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/CodexBarCore/UsageFormatter.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b2cf2fc44ebf12332fc21571b67282b3dc1b43a3f37896b18b736ad9d79806"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Kimi/KimiUsageSnapshot.swift: Sources/CodexBarCore/Providers/Kimi/KimiUsageSnapshot.swift changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is KimiUsageSnapshot.giftDetails at line 196), 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(kimi): show gift credit balances with their expiry (#4691)\u201D; \u201Cfix(kimi): reconcile contradictory usage windows (#4311)\u201D; \u201Cfix(providers): clarify Kimi and z.ai quota availability (#4091)\u201D; \u201Cfix(kimi): reconcile zero ratio placeholders with matching counts (#3755)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Kimi/KimiUsageSnapshot.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/CodexBarCore/Providers/Kimi/KimiUsageSnapshot.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3870253fd43d80780aae579e8828ea47bf8173d66261141b4247aea17d95cb8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBar/Providers/Claude/StatusItemController\u002BClaudeSwapMenu.swift: Sources/CodexBar/Providers/Claude/StatusItemController\u002BClaudeSwapMenu.swift changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is StatusItemController.startClaudeSwapAccountSwitch at line 107), 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 session forecasts on claude-swap cards (#4566)\u201D; \u201Cfix(claude): clarify account switching and await reconciliation (#3740)\u201D; \u201Cfix(claude): distinguish accounts in privacy mode (#3495)\u201D; \u201Cfix(claude): preserve historical account usage and explicit repair (#3452)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Providers/Claude/StatusItemController\u002BClaudeSwapMenu.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/CodexBar/Providers/Claude/StatusItemController\u002BClaudeSwapMenu.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adf16772b7b56a0f2d67356e6fa1ba798acc4d9c3ad1908d48572024c612a98"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountProjection.swift: Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountProjection.swift changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is ClaudeSwapAccountProjection.errorText at line 334), 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 session forecasts on claude-swap cards (#4566)\u201D; \u201Cfix(claude): honor read-only account adapters (#3846)\u201D; \u201Cfix(claude): preserve historical account usage and explicit repair (#3452)\u201D; \u201Cfix(claude): preserve claude-swap measurement timestamps\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountProjection.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/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountProjection.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafc819b4d7a564d26242fedd80e7792f06a86b1490d2bcbb285942a3015b658"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Plugins/UserProviderPlugins.swift: Sources/CodexBarCore/Plugins/UserProviderPlugins.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 12 (its worst body is ProviderPluginApprovalBinding.init at line 20), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(plugins): prune superseded TypeScript output\u201D; \u201Cfix(plugins): keep one HTTP session for user plugins\u201D; \u201Cfix(plugins): report an unset plugin endpoint as needing configuration (#4727)\u201D; \u201Cfix(plugins): release user-plugin network sessions after each request (#4584)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Plugins/UserProviderPlugins.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/CodexBarCore/Plugins/UserProviderPlugins.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9312016ff83dc9d0dbd8eb0e7448053b4e199a825fe9df772127640d858fe94"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Mistral/MistralProviderDescriptor.swift: Sources/CodexBarCore/Providers/Mistral/MistralProviderDescriptor.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 7 (its worst body is MistralProviderDescriptor.makeDescriptor 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(charts): preserve zero-usage calendar days for every provider (#4689)\u201D; \u201Cfix(widget): align frozen widget colors with menu accents\u201D; \u201Cfix(mistral): keep widget selection provider-owned\u201D; \u201Cfix(mistral): verify manual cookie gating across platforms\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Mistral/MistralProviderDescriptor.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/CodexBarCore/Providers/Mistral/MistralProviderDescriptor.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"de719d6c37d5f73c1aeaf0a371861677948074156e68f38ab482a45f033d73ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Mistral/MistralUsageFetcher.swift: Sources/CodexBarCore/Providers/Mistral/MistralUsageFetcher.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 9 (its worst body is MistralUsageFetcher.parseResponse at line 223), 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(mistral): recover expired redirected sessions\u201D; \u201Cfix(mistral): verify billing price dimensions and share aggregation\u201D; \u201Cfix(mistral): price billing usage by event type, zone, and tier\u201D; \u201Cfix(usage): retain partial history and plan-covered tokens (#3963)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Mistral/MistralUsageFetcher.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/CodexBarCore/Providers/Mistral/MistralUsageFetcher.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"134e4ea6e197282d8cf1f22ea886478dc9a6e68b3bfeeac0d9cc31e3de0c8720"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalScan.swift: Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalScan.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 15 (its worst body is AntigravityLocalReader.discover at line 132), 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): scan larger local histories (#4639)\u201D; \u201Cfix(security): redact remaining stored process environments (#4106)\u201D; \u201Cfix(usage): retain partial history and plan-covered tokens (#3963)\u201D; \u201Cfix(antigravity): skip foreign databases without inventing empty history\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalScan.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/CodexBarCore/Providers/Antigravity/AntigravityLocalScan.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fa3492bdcfa60d05683d226a1327348db9a9b6c751cd7af2335edd587b8007"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift: Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.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 13 (its worst body is OllamaUsageFetcher.swift.normalizedOllamaTokenAccountHeader at line 37), 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): simplify free usage parsing and regression coverage\u201D; \u201Cfix(ollama): parse the Free usage meter on free-plan settings pages\u201D; \u201Cfix(ollama): explain empty manual cookie setup\u201D; \u201Cfix: retain provider data across transient transport failures (#3672)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.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/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6e5a0660a8cfbc6447cad694c67a17903009199d8236e60bfd4ff8a86fc5cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Resources/Plugins/muse.js: Sources/CodexBarCore/Resources/Plugins/muse.js 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 muse._optionalChain 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(muse): try email-matched sessions before blank-email membership checks\u201D; \u201Cfix(muse): keep searching after an unbound session\u0027s team list fails\u201D; \u201Cfix(muse): match blank dev.meta.ai session emails through team membership\u201D; \u201Cfix(muse): harden explicit browser team quotas\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/muse.js\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/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7909f90813eafb81ae6a353e3d9595ef8c043c38494fb19d5a52b92e291ab73"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.swift: Sources/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.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 14 (its worst body is CursorUsageEventsFetcher.fetchAllEvents at line 392), 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): harden all-history request regression coverage\u201D; \u201CFix Cursor all-history cost refresh dates\u201D; \u201Cfix(cursor): back off forbidden cost refreshes for six hours (#3924)\u201D; \u201Cfix(cursor): handle empty cost history responses\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.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/CodexBarCore/Providers/Cursor/CursorUsageEventsFetcher.swift"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e0c4a3ffd3ae6fc19d02f0d899430293181424b2d51e04ed1c97dea817e5cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBar/Providers/Claude/ClaudeSwapAccountMenuDisplay.swift: Sources/CodexBar/Providers/Claude/ClaudeSwapAccountMenuDisplay.swift changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is ClaudeSwapAccountMenuDisplay.actionLabel at line 73), 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(menu): dim retained usage after a failed refresh\u201D; \u201Cfix(claude): show session forecasts on claude-swap cards (#4566)\u201D; \u201Cfix(claude): clarify account switching and await reconciliation (#3740)\u201D; \u201Cfix(claude): distinguish accounts in privacy mode (#3495)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Providers/Claude/ClaudeSwapAccountMenuDisplay.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/CodexBar/Providers/Claude/ClaudeSwapAccountMenuDisplay.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bc383c75516be18fab915d11f10127498a6ee8748aa1baa8fd45a7e4d9b91b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Cursor/CursorAppAuth.swift: Sources/CodexBarCore/Providers/Cursor/CursorAppAuth.swift changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is CursorAppAuthStore.loadSession at line 249), 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): find the Safe Storage key under its Electron account name\u201D; \u201Cfix(cursor): read encrypted Cursor app tokens (#4790)\u201D; \u201Cfix(cursor): complete Linux agent login fallback\u201D; \u201Cfix(linux): restore Cursor app authentication\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Cursor/CursorAppAuth.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/CodexBarCore/Providers/Cursor/CursorAppAuth.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c1166536dad36829680ef1512cb58b10a1ce4c74cbcd220a5d557a92ebbd1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Kimi/KimiModels.swift: Sources/CodexBarCore/Providers/Kimi/KimiModels.swift changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is KimiCodeAPIUsageResponse.planName at line 41), 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(kimi): keep web usage when a lapsed plan has no Code pools (#4700)\u201D; \u201Cfix(kimi): show gift credit balances with their expiry (#4691)\u201D; \u201Cfix(providers): avoid crashes on oversized usage values (#3758)\u201D; \u201Cfix(kimi): decode Code API ratio quota pools (#3697)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Kimi/KimiModels.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/CodexBarCore/Providers/Kimi/KimiModels.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e94ce7a94e815cf68a6b9a57fb628cc280b1781f1f41a688d5d64c63a93bfda"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Kimi/KimiUsageFetcher.swift: Sources/CodexBarCore/Providers/Kimi/KimiUsageFetcher.swift changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is KimiUsageFetcher.fetchCodeAPIUsage 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(kimi): keep web usage when a lapsed plan has no Code pools (#4700)\u201D; \u201Cfix(kimi): show gift credit balances with their expiry (#4691)\u201D; \u201Cfix(kimi): support regional usage and dashboard hosts (#3826)\u201D; \u201Cfix(kimi): decode Code API ratio quota pools (#3697)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Kimi/KimiUsageFetcher.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/CodexBarCore/Providers/Kimi/KimiUsageFetcher.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfc96bf0286287cd1ecf9dd6e7e2f34689c4a96b8664d902d93a9abfdb4ee1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountList.swift: Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountList.swift changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is ClaudeSwapListParser.parse at line 169), 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 session forecasts on claude-swap cards (#4566)\u201D; \u201Cfix(claude): honor read-only account adapters (#3846)\u201D; \u201Cfix(claude): preserve historical account usage and explicit repair (#3452)\u201D; \u201Cfix(claude): preserve claude-swap measurement timestamps\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountList.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/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapAccountList.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb8fdb055126c30e0c9cdb84b6aca5b0a0820e4e235a969f8dc104eec165159"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBar/PredictivePaceWarnings.swift: Sources/CodexBar/PredictivePaceWarnings.swift changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is UsageStore.warningClaudeAccountDiscriminators at line 215), 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(l10n): correct Ukrainian strings and localize countdown units (#4676)\u201D; \u201Cfix(claude): preserve quota warnings across identity gaps\u201D; \u201Cfix(claude): keep warnings for unresolved accounts (#3813)\u201D; \u201Cfix(claude): preserve verified quota warning history (#3813)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/PredictivePaceWarnings.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/CodexBar/PredictivePaceWarnings.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"23672a3f2ccc5e494564fda97d2c0e4d7f0ffa6cf270593caa193b598c9de745"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBar/Config/CodexBarConfigMigrator.swift: Sources/CodexBar/Config/CodexBarConfigMigrator.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 11 (its worst body is CodexBarConfigMigrator.loadOrMigrate at line 31), 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(keychain): enforce no-UI reads in the shared string store\u201D; \u201Cfix(settings): never overwrite an unreadable config (#4509)\u201D; \u201Cfix: honor disabled Keychain access during startup (#3258)\u201D; \u201Cfix: prevent unexpected Keychain prompts (#2986)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Config/CodexBarConfigMigrator.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/CodexBar/Config/CodexBarConfigMigrator.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b30f6ff66a5a1d94a318c654719495e86d78a4819c2006eab2e3d69223ec2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Perplexity/PerplexityProviderDescriptor.swift: Sources/CodexBarCore/Providers/Perplexity/PerplexityProviderDescriptor.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 2 (its worst body is PerplexityProviderDescriptor.resolveSessionToken at line 93), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(perplexity): show organization pool credits\u201D; \u201Cfix(cli): use hex spec colors for Xcode 26 release builds (#4058)\u201D; \u201Cfix(plugins): preserve cookie candidates and regional origins\u201D; \u201Cfix(credits): preserve pool percentages and reset labels (#3636)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Perplexity/PerplexityProviderDescriptor.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/CodexBarCore/Providers/Perplexity/PerplexityProviderDescriptor.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89213f7cbcfabd5258a4bbff0289754fe10450855a36c8a4fc05a143f54f5d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Devin/DevinSessionImporter.swift: Sources/CodexBarCore/Providers/Devin/DevinSessionImporter.swift changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is DevinSessionImporter.organizationCandidates at line 368), 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(devin): share Chromium browser session discovery (#3883)\u201D; \u201Cfix(devin): distinguish unreadable browser sessions (#3814)\u201D; \u201Cfix(providers): preserve organization and account identity (#3760)\u201D; \u201Cfix(devin): isolate browser sessions and honor organization selection (#3735)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Devin/DevinSessionImporter.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/CodexBarCore/Providers/Devin/DevinSessionImporter.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"e805e5e7b8f5f08c54c269d16fb164080e6a96b9b4f831e4216ac68a26e1db09"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.swift: Sources/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.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 15 (its worst body is MiniMaxCodingPlanFetchStrategy.fetch at line 220), 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(minimax): recover automatic browser sessions after expiry\u201D; \u201Cfix(cookies): stop browser imports after a working session (#4478)\u201D; \u201Cfix(security): redact remaining stored process environments (#4106)\u201D; \u201Cfix: honor cost summary style across providers\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.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/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93322cc0ae587cdedc684ab1ce422a5fc56345783c59db7e385b6eadf144b1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentialModels.swift: Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentialModels.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 ClaudeOAuthCredentials.normalizedHistoryOwnerIdentifier at line 74), 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): word the unavailable-credential message neutrally\u201D; \u201Cfix(claude): show Refresh guidance after external login (#4402)\u201D; \u201Cfix(claude): avoid expiry diagnostic conversion crashes (#3767)\u201D; \u201Cfix: preserve Claude usage across OAuth rotation\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentialModels.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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentialModels.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c494f3f732f8c96352e8d666081b2fac1571e79930f1d41ad2acf8e5b84c547a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBar/AgentSessionsStore.swift: Sources/CodexBar/AgentSessionsStore.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 15 (its worst body is AgentSessionsStore.reconcilePeriodicTasks at line 289), 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(sessions): never run the Tailscale app binary for discovery; add local-only mode (#4636)\u201D; \u201Cfix(refresh): detect Codex activity from rollout timestamps (#4156)\u201D; \u201Cfix(app): retain task isolation during session teardown\u201D; \u201Cfix(app): drop isolated deinit from AgentSessionsStore\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/AgentSessionsStore.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/CodexBar/AgentSessionsStore.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d81881418e38450000e0c7f08abe41e6413bccb4e19bc73f62f31cfb79e864"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BAppAuth.swift: Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BAppAuth.swift changed 4 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 CursorStatusProbe.fetchLinuxAppSession at line 41), 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): explain expired app sessions\u201D; \u201Cfix(cursor): complete Linux agent login fallback\u201D; \u201Cfix: correct Cursor sessions, provider order, and Pi costs (#4148)\u201D; \u201Cfix: retain provider data across transient transport failures (#3672)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BAppAuth.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/CodexBarCore/Providers/Cursor/CursorStatusProbe\u002BAppAuth.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8c7775e139d8cb6cb938ca52f00fa9523bace0c4d698fc10c808a3ba59fc4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBar/DockIconController.swift: Sources/CodexBar/DockIconController.swift changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is DockIconController.reevaluatePolicy at line 244), 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(dock): stop rescanning windows on every update pass (#4524)\u201D; \u201Cfix(menu): hide the Dock icon on macOS 27 and pick the most constrained OpenCode Go quota (#4335)\u201D; \u201CFix Settings window opening\u201D; \u201Cfix: remove lifecycle keepalive window\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/DockIconController.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/CodexBar/DockIconController.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30c244a0cc507b07f24a1468d32cefb9c6a636191a78d3595eebf3625432227"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountUsageOverview.swift: Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountUsageOverview.swift changed 4 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 12 (its worst body is UsageStore.refreshCodexAccountsForSettings at line 67), 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): never overwrite an unreadable config (#4509)\u201D; \u201CFix hidden Codex account refresh errors after auth rotation\u201D; \u201Cfix(codex): preserve scoped settings refresh and web usage\u201D; \u201Cfix(settings): preserve header dashboard refresh during multi-account refresh\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountUsageOverview.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/CodexBar/Providers/Codex/UsageStore\u002BCodexAccountUsageOverview.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9909e5d3ac0b08a1d4fb1db8fff7ab069eef59c78ec92473f485c74c0b7c4790"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Config/CodexBarConfigStore.swift: Sources/CodexBarCore/Config/CodexBarConfigStore.swift changed 4 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 10 (its worst body is CodexBarConfigStore.withWriteLock at line 103), 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): never overwrite an unreadable config (#4509)\u201D; \u201Cfix(config): treat blank config files as absent (#4081)\u201D; \u201Cfix(security): persist cookie denial and secure credential staging (#3996)\u201D; \u201Cfix(config): preserve unavailable provider plugin data\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Config/CodexBarConfigStore.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/CodexBarCore/Config/CodexBarConfigStore.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88daf15816b19c2c98f859b421efeb66005ff45a69247fd02f40913349cd018"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/BrowserCookieImportOrder.swift: Sources/CodexBarCore/BrowserCookieImportOrder.swift changed 4 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 Browser.lazyCookieImportCandidates at line 21), 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(cookies): explain Files \u0026 Folders denial instead of Sign in (#4482)\u201D; \u201Cfix(lithosai): restore cookie retries and menu bar balance (#4240)\u201D; \u201Cfix(cookies): explain supported automatic browser sources (#4219)\u201D; \u201CFix Claude web cookie refresh (#3162)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/BrowserCookieImportOrder.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/CodexBarCore/BrowserCookieImportOrder.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b3a0b85f89ecf97bcf4d087aa90cdd31a4637d4d1e288524e89e6c618c7d01"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/MiniMax/MiniMaxCookieImporter.swift: Sources/CodexBarCore/Providers/MiniMax/MiniMaxCookieImporter.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 4 (its worst body is MiniMaxCookieImporter.sessions at line 72), 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(minimax): recover automatic browser sessions after expiry\u201D; \u201Cfix(minimax): discover China web sessions and quotas\u201D; \u201Cfix(cookies): stop browser imports after a working session (#4478)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/MiniMax/MiniMaxCookieImporter.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/CodexBarCore/Providers/MiniMax/MiniMaxCookieImporter.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c1b1cb9781a611c08262b4f5afdc4108c10c211ca35fdb9a851f7e5a1d7ed5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/TypeSafe/TypeSafeWebFetchStrategy.swift: Sources/CodexBarCore/Providers/TypeSafe/TypeSafeWebFetchStrategy.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is TypeSafeWebFetchStrategy.fetch at line 82), 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(typesafe): read billing from the overview JSON endpoint\u201D; \u201Cfix(vercel): match personal budgets by native and prefixed user IDs (#4650)\u201D; \u201CSplit unrelated test and lint fixes from focus PR\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/TypeSafe/TypeSafeWebFetchStrategy.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/CodexBarCore/Providers/TypeSafe/TypeSafeWebFetchStrategy.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb3aef3e2ff63aa7ce3da23ea59fb462872d3f803faa6d098889ac704795dc2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Devin/DevinProviderDescriptor.swift: Sources/CodexBarCore/Providers/Devin/DevinProviderDescriptor.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 4 (its worst body is DevinProviderDescriptor.makeDescriptor at line 15), 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(widget): align frozen widget colors with menu accents\u201D; \u201Cfix(devin): share Chromium browser session discovery (#3883)\u201D; \u201Cfix: wire Devin manual auth through the CLI on Linux (#3541)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Devin/DevinProviderDescriptor.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/CodexBarCore/Providers/Devin/DevinProviderDescriptor.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb043830ef5cf39b7a97f4a12c5642cc9bbe6e995dba4b334708a26b4fd6584f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/AccountMenuLayoutPlanner.swift: Sources/CodexBarCore/AccountMenuLayoutPlanner.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is AccountMenuLayoutPlanner.plan 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(cursor): use the X Subscription weekly pool as the main meter (#4695)\u201D; \u201Cfix(crof): remove provider after shutdown (#3828)\u201D; \u201Cfix(claude): preserve historical account usage and explicit repair (#3452)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/AccountMenuLayoutPlanner.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/CodexBarCore/AccountMenuLayoutPlanner.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9831e21bce3ea428b6392373503481ced4568e170b6f837b8bed14543fea2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift: Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is CommandCodeUsageFetcher.send at line 270), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(providers): preserve unknown plans and mark estimated quota (#4423)\u201D; \u201Cfix(providers): recover Command Code grants and Kimi web sessions (#3941)\u201D; \u201Cfix(commandcode): preserve monthly usage during subscription timeouts\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.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/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e291b1367285a78e2c0c7c43c27bffe5bb6ea09aae70f5008d778129b61d7acc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/OpenAIDashboardModels.swift: Sources/CodexBarCore/OpenAIDashboardModels.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is OpenAIDashboardDailyBreakdown.sanitized at line 285), 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(codex): show scoped workspace credit balances\u201D; \u201Cfix(codex): recover subscription dates safely (#3373)\u201D; \u201Cfix(codex): reconcile extra credit usage and balances (#3296)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/OpenAIDashboardModels.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/CodexBarCore/OpenAIDashboardModels.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8c430e96e1a5645321b48bf2f7e1af3eaa393f0ba523edb3b8a0ca766bc575"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift: Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.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 5 (its worst body is AbacusProviderDescriptor.scriptStrategy at line 79), 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(widget): align frozen widget colors with menu accents\u201D; \u201Cfix(abacus): retain monthly credits and layout labels (#3640)\u201D; \u201Cfix(abacus): retain credit details beside billing resets (#3637)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.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/CodexBarCore/Providers/Abacus/AbacusProviderDescriptor.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba648500b6bb9a6547693540a68e4dc9f26c40bcf2f17260da5c94ef4b09a1f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/TypeSafe/TypeSafeProviderDescriptor.swift: Sources/CodexBarCore/Providers/TypeSafe/TypeSafeProviderDescriptor.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 1 (its worst body is TypeSafeProviderDescriptor.makeDescriptor at line 42), 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(typesafe): send same-origin headers for the billing overview\u201D; \u201Cfix(typesafe): keep the catalog browser order in descriptor metadata\u201D; \u201Cfix(typesafe): import cookies from all supported browsers\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/TypeSafe/TypeSafeProviderDescriptor.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/CodexBarCore/Providers/TypeSafe/TypeSafeProviderDescriptor.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d99165ee823bc5f241ed2b9fa11dc67e2e2a407590188c154adeeaa478c7817"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Cursor/CursorSandUsage.swift: Sources/CodexBarCore/Providers/Cursor/CursorSandUsage.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 CursorSandUsageStatus.extraRateWindow at line 43), 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): use the X Subscription weekly pool as the main meter (#4695)\u201D; \u201Cfix(cursor): keep Grok Bot weekly pace when currentPeriodStart lands mid-week\u201D; \u201Cfix(cursor): restore paid and trial Grok Bot usage\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Cursor/CursorSandUsage.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/CodexBarCore/Providers/Cursor/CursorSandUsage.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a23d8e58008e015a854f4a4848e0176090519bb9698f7612b66e5c0b0d19e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/KeychainSecurity.swift: Sources/CodexBarCore/KeychainSecurity.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 4 (its worst body is KeychainTestSafety.resolveShouldBlockRealKeychainAccess at line 40), 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(keychain): recover cache ACLs and respect Claude prompt policy (#3816)\u201D; \u201Cfix(test): isolate app-group migration from user state (#3365)\u201D; \u201Cfix: prevent unexpected Keychain prompts (#2986)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/KeychainSecurity.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/CodexBarCore/KeychainSecurity.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99e0ee071bae3e5e48557bbac46ff9a5ee72a45a15a40aefab6e58590588946"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBar/CostHistoryIdentity.swift: Sources/CodexBar/CostHistoryIdentity.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 5 (its worst body is ProjectRow.displayIdentity at line 25), 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(spend): distinguish independent Codex chats from projects\u201D; \u201Cfix(spend): preserve session metadata and calendar context\u201D; \u201Cfix(spend): name and rank session rows\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/CostHistoryIdentity.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/CodexBar/CostHistoryIdentity.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"26216f480886f1a4338bc1f8a96c4c4ed2f323c056de79a0c5a5b58691da7ad9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Resources/Plugins/typesafe.js: Sources/CodexBarCore/Resources/Plugins/typesafe.js changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is typesafe._optionalChain at line 1), 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(typesafe): send same-origin headers for the billing overview\u201D; \u201Cfix(typesafe): read billing from the overview JSON endpoint\u201D; \u201Cfix(typesafe): send a browser User-Agent so Cloudflare does not block Linux (#4648)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Resources/Plugins/typesafe.js\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/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae09b10f9cf19c8a1f57a6682586f5a06299ca5b0553bb4a8ccb5d81aa0054bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Host/Process/ProcessPipeCapture.swift: Sources/CodexBarCore/Host/Process/ProcessPipeCapture.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 14 (its worst body is ProcessPipeCapture.handleLinuxReadableData at line 216), 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(cli): close pipe captures once and resolve Auto web support (#4749)\u201D; \u201Cfix(cli): bound shell discovery output\u201D; \u201Cfix(antigravity): recover Linux port discovery after lsof failures (#3364)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Host/Process/ProcessPipeCapture.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/CodexBarCore/Host/Process/ProcessPipeCapture.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3eaab78b6fbd4dd977012a088c365480c1693e6d7f8b3d05b9985c60f36163e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBar/Providers/Claude/ClaudeUIErrorMapper.swift: Sources/CodexBar/Providers/Claude/ClaudeUIErrorMapper.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 ClaudeUIErrorMapper.userFacingMessage at line 6), 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): explain how to recover from an unavailable Keychain cache (#4576)\u201D; \u201Cfix(menu): separate provider errors from stale-usage notices (#4496)\u201D; \u201Cfix(claude): preserve historical account usage and explicit repair (#3452)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBar/Providers/Claude/ClaudeUIErrorMapper.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/CodexBar/Providers/Claude/ClaudeUIErrorMapper.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"48096eedd48bcbce1e558b6aff3614d2ece32e486ed80fa44be0d2d17721d78d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift: Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.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 15 (its worst body is OpenAIDashboardFetcher.fetchWorkspaceRemainingBalanceIfNeeded at line 931), 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(openai): contain dashboard work within refresh deadlines (#4645)\u201D; \u201Cfix(codex): show scoped workspace credit balances\u201D; \u201Cfix(codex): recover subscription dates safely (#3373)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.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/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ea907abee83eb9bfd18b505d7969ebaa294205e9a6ad65fc6f20dd830d0e4a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/ProviderAccountSnapshot.swift: Sources/CodexBarCore/ProviderAccountSnapshot.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 1 (its worst body is ProviderAccountIdentity.init 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(claude): show session forecasts on claude-swap cards (#4566)\u201D; \u201Cfix(claude): preserve historical account usage and explicit repair (#3452)\u201D; \u201Cfix(claude): disambiguate claude-swap accounts that share an email (#3082)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/ProviderAccountSnapshot.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/CodexBarCore/ProviderAccountSnapshot.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d131a47f6831b6651749571ed97ab667d5352650764058a5fcf4e58ca8d55750"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Muse/MuseCredentials.swift: Sources/CodexBarCore/Providers/Muse/MuseCredentials.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 9 (its worst body is MuseCredentials.keychainAccessToken at line 102), 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(muse): earn the Keychain grant on manual refresh (#4489)\u201D; \u201Cfix(muse): prevent blocking Keychain reads (#3916)\u201D; \u201Cfix(muse): preserve windowless subscription identity (#3812)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Muse/MuseCredentials.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/CodexBarCore/Providers/Muse/MuseCredentials.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"122c7a4dbcfa3fbf0ac3a5bece29f1321cf8b4d6c0892ca11a94774d1ce51e9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCLI/CLICookieCommand.swift: Sources/CodexBarCLI/CLICookieCommand.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 13 (its worst body is CodexBarCLI.cookieRefreshFailure at line 157), 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(keychain): bound browser cookie prompts per refresh (#4464)\u201D; \u201CFix selected browser refresh compatibility\u201D; \u201Cfix(cli): report classified cookie refresh failures instead of missing cookies (#4249)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCLI/CLICookieCommand.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/CodexBarCLI/CLICookieCommand.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bddc848553b4a4b358cfab0f0d584c8bea1cea9a2cb69859ed25296b7364bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageSnapshot.swift: Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageSnapshot.swift changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is CommandCodeUsageSnapshot.makeLoginMethod at line 112), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(providers): preserve unknown plans and mark estimated quota (#4423)\u201D; \u201Cfix(providers): recover Command Code grants and Kimi web sessions (#3941)\u201D; \u201Cfix(commandcode): preserve monthly usage during subscription timeouts\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageSnapshot.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/CodexBarCore/Providers/CommandCode/CommandCodeUsageSnapshot.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"58129418bb4193c2ff3484704c04e47fe2f244d6df7e0d6f471b5e9744590907"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Kimi/KimiDesktopAuthToken.swift: Sources/CodexBarCore/Providers/Kimi/KimiDesktopAuthToken.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 10 (its worst body is KimiDesktopAuthToken.read at line 56), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(providers): recover Command Code grants and Kimi web sessions (#3941)\u201D; \u201Cfix(kimi): support regional usage and dashboard hosts (#3826)\u201D; \u201Cfix(kimi): show membership and recover rejected sessions (#3414)\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Kimi/KimiDesktopAuthToken.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/CodexBarCore/Providers/Kimi/KimiDesktopAuthToken.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"296bf60ddba532aaf5d3f82e96732121c9211b2662d919a81d8a9cfd014bda7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/CostProvenance.swift: Sources/CodexBarCore/CostProvenance.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 12 (its worst body is CostProvenance.forWindow at line 19), 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: preserve merged cost report details (#3307)\u201D; \u201Cfix: add bounded Antigravity local token history (#3212)\u201D; \u201CFix spend cache timezone, provenance, and windowed metered totals.\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/CostProvenance.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/CodexBarCore/CostProvenance.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7964ddac4736ae1c873fb74444e15bde31af8adbb1b5f7de1419ec49171b6ada"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/CodexBarCore/Providers/Grok/GrokCLISettingsFetcher.swift: Sources/CodexBarCore/Providers/Grok/GrokCLISettingsFetcher.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 6 (its worst body is GrokCLISettingsFetcher.subscriptionTierDisplay at line 19), 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: drop stale Grok settings-tier cache on failure\u201D; \u201Cfix: keep Grok settings tier on the auth-file principal\u201D; \u201Cfix: hoist Grok settings awaits and enrich every web path\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 00:21:47 -08:00\u0027 --until=\u00272026-11-14 00:21:47 -08:00\u0027 --full-history --no-merges -- Sources/CodexBarCore/Providers/Grok/GrokCLISettingsFetcher.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/CodexBarCore/Providers/Grok/GrokCLISettingsFetcher.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a8a19bf292c481baf925cc79fd27e3ef0cc0863fe34cc4546005146c8c3779"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 66 significant file(s) lose their only recent owner: Sources/CodexBar/Providers/Codex/OpenAICreditsPurchaseWindowController.swift, Sources/CodexBar/Settings/PreferencesPluginsPane.swift, Sources/CodexBar/Menu/MenuSwitchFlickerProbe.swift, Sources/CodexBar/Providers/OpenAI/OpenAILiveUsageView.swift, Sources/CodexBarCore/Resources/Plugins/chutes.ts, Sources/CodexBarCore/Resources/Plugins/bifrost.ts, Sources/CodexBar/UsageStore/UsageStore\u002BUserPlugins.swift, Sources/CodexBarCore/Resources/Plugins/huggingface.ts (\u002B58 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1ee08f7621d2338703cc157487c7ae72e37ba08679ffeb56f33fcd66e5abba3a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 7 significant file(s) lose their only recent owner: Scripts/ci_swiftpm_cache.py, Sources/CodexBar/SpendDashboard/SpendSessionPerformanceView.swift, Sources/CodexBarCore/SessionToolActivityStore.swift, Sources/CodexBarCLI/CLICodexAccountsCommand.swift, Sources/CodexBarCLI/CLIConfigSourceCommand.swift, Sources/CodexBarCore/CostUsageTurnPerformance.swift, Sources/CodexBar/Menu/CostHistoryMenuScrollView.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"38f4b37af21df636071abacd9f429fa84ba4a62e1995015fa01d25b451ba76f3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 5 significant file(s) lose their only recent owner: Sources/CodexBarCore/Providers/QwenCloud/QwenCloudUsageFetcher.swift, Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleSECTokenResolver.swift, Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieImporter.swift, Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleCookieRouting.swift, Sources/CodexBarCore/Providers/QwenCloud/QwenCloudCookieImporter.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1a5836a015be8b402ba8a676e77be39170ea6788fe4d38d004f919089c345cbf"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 22 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (104 single-owned of 993 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 993 of the 1460 production source files in this repository met that bar). They are anonymized user #4 (2 file(s)), anonymized user #5 (2 file(s)), anonymized user #6 (2 file(s)), anonymized user #7 (2 file(s)), anonymized user #8 (1 file(s)), anonymized user #9 (1 file(s)) (\u002B16 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: Sources/CodexBarCore/CodexLocalProjectUsageModels.swift, Sources/CodexBarCore/CodexThreadCatalogReader.swift, Sources/CodexBarCore/Plugins/ProviderBrowserProfile.swift, Sources/CodexBar/Providers/Shared/PluginCookieProviderImplementation\u002BProfile.swift, Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeSubscriptionMetadata.swift, Sources/CodexBarCore/OpenAIWeb/OpenAISubscriptionMetadata.swift, Sources/CodexBarCore/Providers/Kimi/KimiDesktopSessionDiscovery.swift, Sources/CodexBarCore/Providers/Kimi/KimiWebCredential.swift (\u002B18 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Confirm usedRatio contract (0.0-1.0 vs 0.0-100.0) and tighten this fallback. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"940fcb28edabb9cb371a084757b286c3444bdbb474ab92beaf9cc8f931af4e15"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/predictive-refresh-policy.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/predictive-refresh-policy.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7152cfa060011f26f8990758b041ef1dbdc8ddc5489fcbbbcb5e7e5f4a7dd2"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060webDebugDumpHtml\u0060 spells \u0060Html\u0060 where 23 names in the project spell it \u0060HTML\u0060: 23 of 24 names in project AdaptiveRefreshCore spell the token \u0060HTML\u0060 (23 of 24; unit: names in project AdaptiveRefreshCore containing \u0060HTML\u0060). Peers: CLIServeWebUI.renderedHTML (Sources/CodexBarCLI/CLIServeWebUI.swift:32); UsageCommandContext.webDebugDumpHTML (Sources/CodexBarCLI/CLIUsageCommand.swift:11); OpenAIDashboardFetcher.loadLatestDashboard(debugDumpHTML) (Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:221); OpenAIDashboardFetcher.loadLatestDashboard(debugDumpHTML) (Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:242); OpenAIDashboardFetcher.fetchDebugHTML (Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift:535). Rename to \u0060webDebugDumpHTML\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIOptions.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3c2cde8ad8a26eb0d182f3f358cc463a0c4d314b12ed405ab130aa1451afa1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060minimaxApiTokenRegex\u0060 spells \u0060Api\u0060 where 205 names in the project spell it \u0060API\u0060: 205 of 210 names in project AdaptiveRefreshCore spell the token \u0060API\u0060 (205 of 210; unit: names in project AdaptiveRefreshCore containing \u0060API\u0060). Peers: LegacyStores.minimaxAPITokenStore (Sources/CodexBar/Config/CodexBarConfigMigrator.swift:14); CodexBarConfigMigrator.bindLegacyMoonshotAPIKeyRegion (Sources/CodexBar/Config/CodexBarConfigMigrator.swift:253); Model.providerCostFollowsSummaryStyle(isClaudeAdminAPI) (Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift:116); Model.providerCostSection(isClaudeAdminAPI) (Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift:469); Model.sub2APILocalizedDetails (Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift:616). Rename to \u0060minimaxAPITokenRegex\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Logging/LogRedactor.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db0bf43b471c4b1a13b058712da63dd997ef22e8c428693cb9bdd88bca3d8bf"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060claudeAiOauth\u0060 spells \u0060Ai\u0060 where 206 names in the project spell it \u0060AI\u0060: 206 of 207 names in project AdaptiveRefreshCore spell the token \u0060AI\u0060 (206 of 207; unit: names in project AdaptiveRefreshCore containing \u0060AI\u0060). Peers: MemoryPressureCacheTrimSummary.openAIWebDebugLines (Sources/CodexBar/MemoryPressureMonitor.swift:11); CodexBar.AzureOpenAIProviderImplementation (Sources/CodexBar/Providers/AzureOpenAI/AzureOpenAIProviderImplementation.swift:4); SettingsStore.azureOpenAIEndpoint (Sources/CodexBar/Providers/AzureOpenAI/AzureOpenAISettingsStore.swift:19); SettingsStore.azureOpenAIDeploymentName (Sources/CodexBar/Providers/AzureOpenAI/AzureOpenAISettingsStore.swift:28); CodexUIErrorMapper.looksOpenAIWebTimeout (Sources/CodexBar/Providers/Codex/CodexConsumerProjection.swift:158). Rename to \u0060claudeAIOauth\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentialModels.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"da510ccf1de78c72f4c847f8f14d56a3e943bedd71f94a0d8ef5485ea9bb132f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060isApiOnly\u0060 spells \u0060Api\u0060 where 205 names in the project spell it \u0060API\u0060: 205 of 210 names in project AdaptiveRefreshCore spell the token \u0060API\u0060 (205 of 210; unit: names in project AdaptiveRefreshCore containing \u0060API\u0060). Peers: LegacyStores.minimaxAPITokenStore (Sources/CodexBar/Config/CodexBarConfigMigrator.swift:14); CodexBarConfigMigrator.bindLegacyMoonshotAPIKeyRegion (Sources/CodexBar/Config/CodexBarConfigMigrator.swift:253); Model.providerCostFollowsSummaryStyle(isClaudeAdminAPI) (Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift:116); Model.providerCostSection(isClaudeAdminAPI) (Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift:469); Model.sub2APILocalizedDetails (Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift:616). Rename to \u0060isAPIOnly\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"9316f0992b6cff6becbaaa95532da27ad839bb9faab9fdeb4fbc8b680d35a23b"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060librariesApi\u0060 spells \u0060Api\u0060 where 205 names in the project spell it \u0060API\u0060: 205 of 210 names in project AdaptiveRefreshCore spell the token \u0060API\u0060 (205 of 210; unit: names in project AdaptiveRefreshCore containing \u0060API\u0060). Peers: LegacyStores.minimaxAPITokenStore (Sources/CodexBar/Config/CodexBarConfigMigrator.swift:14); CodexBarConfigMigrator.bindLegacyMoonshotAPIKeyRegion (Sources/CodexBar/Config/CodexBarConfigMigrator.swift:253); Model.providerCostFollowsSummaryStyle(isClaudeAdminAPI) (Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift:116); Model.providerCostSection(isClaudeAdminAPI) (Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift:469); Model.sub2APILocalizedDetails (Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift:616). Rename to \u0060librariesAPI\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Mistral/MistralModels.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab7fa3da1fc76a5537a605f5bd166d988cca364cc131f4e0d871748da898922"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060VibeJson\u0060 spells \u0060Json\u0060 where 110 names in the project spell it \u0060JSON\u0060: 110 of 111 names in project AdaptiveRefreshCore spell the token \u0060JSON\u0060 (110 of 111; unit: names in project AdaptiveRefreshCore containing \u0060JSON\u0060). Peers: AdaptiveReplayCLI.renderJSON (Sources/AdaptiveReplayCLI/main.swift:123); SpendDashboardPane.copyJSON (Sources/CodexBar/Settings/PreferencesSpendDashboardPane.swift:555); SpendDashboardPane.exportJSON (Sources/CodexBar/Settings/PreferencesSpendDashboardPane.swift:561); CodexBar.SpendDashboardJSONExporter (Sources/CodexBar/Settings/PreferencesSpendDashboardPane.swift:1310); CodexIdentifiedResult.localLedgerJSON (Sources/CodexBarCLI/CLICodexIdentifiedUsage.swift:18). Rename to \u0060VibeJSON\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Mistral/MistralUsageFetcher.swift"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"093eafd4ef699bb72bc70b1ae90f8f968783cd8e555dfbee24f3ac0eabd49176"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060modifiedUnixNs\u0060 spells \u0060Ns\u0060 where 29 names in the project spell it \u0060NS\u0060: 29 of 31 names in project AdaptiveRefreshCore spell the token \u0060NS\u0060 (29 of 31; unit: names in project AdaptiveRefreshCore containing \u0060NS\u0060). Peers: ClickToCopyOverlay.makeNSView (Sources/CodexBar/ClickToCopyOverlay.swift:36); ClickToCopyOverlay.updateNSView (Sources/CodexBar/ClickToCopyOverlay.swift:40); MenuBarLayoutPreviewText.makeNSView (Sources/CodexBar/Menu/MenuBarLayoutEditor.swift:1085); MenuBarLayoutPreviewText.updateNSView (Sources/CodexBar/Menu/MenuBarLayoutEditor.swift:1091); SessionUsageMenuAction.makeNSView (Sources/CodexBar/Menu/SessionUsageMenuAction.swift:9). Rename to \u0060modifiedUnixNS\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeSourceCheckpoint.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9d7a4c99b44f044df033dc8545501f9c3468fc87220a3a32fdb0229e1e766b"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060walModifiedUnixNs\u0060 spells \u0060Ns\u0060 where 29 names in the project spell it \u0060NS\u0060: 29 of 31 names in project AdaptiveRefreshCore spell the token \u0060NS\u0060 (29 of 31; unit: names in project AdaptiveRefreshCore containing \u0060NS\u0060). Peers: ClickToCopyOverlay.makeNSView (Sources/CodexBar/ClickToCopyOverlay.swift:36); ClickToCopyOverlay.updateNSView (Sources/CodexBar/ClickToCopyOverlay.swift:40); MenuBarLayoutPreviewText.makeNSView (Sources/CodexBar/Menu/MenuBarLayoutEditor.swift:1085); MenuBarLayoutPreviewText.updateNSView (Sources/CodexBar/Menu/MenuBarLayoutEditor.swift:1091); SessionUsageMenuAction.makeNSView (Sources/CodexBar/Menu/SessionUsageMenuAction.swift:9). Rename to \u0060walModifiedUnixNS\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeSourceCheckpoint.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b832d6cb704cadb0eeadb89adb4518a4adcd0d745b7f6f0fac88e3cf4077df21"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060TinyApiProviderDescriptor\u0060 spells \u0060Api\u0060 where 205 names in the project spell it \u0060API\u0060: 205 of 210 names in project AdaptiveRefreshCore spell the token \u0060API\u0060 (205 of 210; unit: names in project AdaptiveRefreshCore containing \u0060API\u0060). Peers: LegacyStores.minimaxAPITokenStore (Sources/CodexBar/Config/CodexBarConfigMigrator.swift:14); CodexBarConfigMigrator.bindLegacyMoonshotAPIKeyRegion (Sources/CodexBar/Config/CodexBarConfigMigrator.swift:253); Model.providerCostFollowsSummaryStyle(isClaudeAdminAPI) (Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift:116); Model.providerCostSection(isClaudeAdminAPI) (Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift:469); Model.sub2APILocalizedDetails (Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift:616). Rename to \u0060TinyAPIProviderDescriptor\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/TinyApi/TinyApiProviderDescriptor.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d391abffa71f0a5e0090cdb48bf8dd57aba3f09bd7181c81249ef3a9eacd2e"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060TinyApiProviderSettingsKey\u0060 spells \u0060Api\u0060 where 205 names in the project spell it \u0060API\u0060: 205 of 210 names in project AdaptiveRefreshCore spell the token \u0060API\u0060 (205 of 210; unit: names in project AdaptiveRefreshCore containing \u0060API\u0060). Peers: LegacyStores.minimaxAPITokenStore (Sources/CodexBar/Config/CodexBarConfigMigrator.swift:14); CodexBarConfigMigrator.bindLegacyMoonshotAPIKeyRegion (Sources/CodexBar/Config/CodexBarConfigMigrator.swift:253); Model.providerCostFollowsSummaryStyle(isClaudeAdminAPI) (Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift:116); Model.providerCostSection(isClaudeAdminAPI) (Sources/CodexBar/Menu/MenuCardView\u002BCosts.swift:469); Model.sub2APILocalizedDetails (Sources/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift:616). Rename to \u0060TinyAPIProviderSettingsKey\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/TinyApi/TinyApiProviderDescriptor.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d21194e88abfc872846498287d7f83b70356a0b62fbb584b3b415d68bd1727"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (312318 LoC, 3653 module-visible types across 226 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fbdf263205305e1a85d04874b0642eff8428eeeb2c2cf24a4512bbae9f68e5b"},"properties":{"commitSha":"1d3657317eb29ff811dc4d476a84e411ac14bddb"}},{"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":"323a1bc36467f373dc12a7a3336cd30975d67ec9acda7402c495e2388e7a55da"},"properties":{"commitSha":"a27c9b094e618dfaee9ba395fe4715249ec64c0b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"07ab603e75c696f1463853bd89b2d14adf4410c21531f53c78cf4bc91323097f"},"properties":{"commitSha":"a27c9b094e618dfaee9ba395fe4715249ec64c0b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f1fb2eb19f3993219063a45cd3d2903110490ba3c36962bbaa63332cdd5f4948"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86259a0250665886d85f7e0125a0412a4209e3f5209f81c9ead5c152c3d041f0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44d9ae4350597f4ab83bbd310626e19237978da99bec6feae22d30bae62ea0e0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dad21ea57d91a48bab9d28627a6631e6904e15759f12b555c88d24201aa0ca26"},"taxa":[{"id":"CWE-415","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a71f7a533bf659d205787e91ee5974339a1424cd941acffe7f2e209e8eed4d65"},"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":"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":"7bb96cacc65abcea63a11e045fc7ed807dbad457358073f01349d6d725e620dd"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a99cce3646809f4d75dda8a46f7180937952c6432a3541108c7f4f8c84449619"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f74e5c3a47decd1d2b55841d3d40b5884f74c5caa8d77ffa2f1cad87d45532f1"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuViewportRestore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d5bd01defa49335ebf7c6b8f0ec999b5cbdf7a1a72ce06f66df61afe56f0d6"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 20 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: Sources/CodexBarCore/Providers/Groq/GroqConsoleFetcher.swift, Sources/CodexBarCore/Providers/Groq/GroqConsoleSession.swift, Sources/CodexBarCore/Plugins/ProviderPluginSelectedProfile.swift, Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainAccessGate.swift, Sources/CodexBarCore/Providers/Bedrock/BedrockAWSSigner.swift, Sources/CodexBarCore/Providers/Shared/CurlCaptureParser.swift, Sources/CodexBar/Providers/Codex/CodexHistoryOwnership.swift, Sources/CodexBarCore/Providers/Abacus/AbacusCookieImporter.swift (and 12 more) (21 orphaned of 994 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 994 of the 1460 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Groq/GroqConsoleFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d44879624b4cf4b4a2c365bea9bd3618e2056b356585f076d2bd20ea6dbf81c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Groq/GroqConsoleSession.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb4e67636c4b40f6f2c8d70f41662cfdfa485519aa6335ee381e08a77aed990"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginSelectedProfile.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b37e913d0da78eb5bcf75b98cdeb735a16936e6d51ff2de7fd8b4f30e96f3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthKeychainAccessGate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ca59e3eeea15128148ef99baad73c9b3957c2e3eff4cc1795bd8cdccc61ae0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockAWSSigner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4c42e35e1ef2b0d5f8461e693b6711a4ee870fc55cd97a8efdc8030b4443df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Shared/CurlCaptureParser.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab46fc620ac1941a66972349e6a7e43b380ac7ff56c3ba4bbb4d9819f05a8a4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexHistoryOwnership.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7ea4352866292e4ca026f58681fd28c90b2bbff1936c4a2de356fcd5c9e7c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Abacus/AbacusCookieImporter.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce7f34a6f841d4f475fabd6a05444f2260749691cfaf91d24f8fb2d45549888"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Perplexity/PerplexityCookieHeader.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"760f87a0c102f9f6781c68a6c13f35b92fa7cbd2855648c1fa87583eae462a40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageSnapshot.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47006b9dc36cb98a0f5e247df7b1b0998aa66b68feeb12d16d055d366407a39"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Cursor/CursorLoginAccountSelector.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c450e549a0f272614e01e45ecbb0b022111a5e6a5f82933b6ba5fd9736f72f7d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Groq/GroqConsoleStytch.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"746176dee4c067d435ffe64f178a5d2c335b344ce3159f136466f06e20bb1d32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexOpenAIWorkspaceIdentityCache.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"927badf401105f00044484cdfc49f258827877edcebabda14ff39b1ff20092b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Gemini/GeminiLoginRunner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8e706c39b848bb482c2c774210ae404ba35f1e3fc6132fd3107093f2c3feed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d335eb7b28125ce2a96e1977e48666735a96160e94fcd925dd2acb76fdd38972"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockCredentialResolver.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a9f5b19fbe20a23714281606aacc2962a258f34292e19c9f05bc529ba30a5a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexCLIDashboardAuthorityContext.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"566b7fa1d858f80fbcaab3fecb1d43bd2cf9beb7d4877f1e13803a479eca1b35"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexSystemAccountObserver.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff782b003fd39d9489e166ce94f9bb37cb84a6216404e0c4d81b62f413df120"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactorySettingsReader.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34be93a73fd0635530a179d232a02576a0aa3849b3ee10b64f5f371089d52aa6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe\u002BAPIKey.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b31272c1464fa64dbcf421da671898ecea839f75a592f783b46f90bcf20e4de"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: CursorProviderImplementation.swift \u2192 ClaudeProviderImplementation.swift, CodexProviderImplementation.swift, FactoryProviderImplementation.swift, MiniMaxProviderImplementation.swift, OpenCodeProviderImplementation.swift: \u0060Sources/CodexBar/Providers/Cursor/CursorProviderImplementation.swift\u0060 changes together with 5 other files \u2014 \u0060Sources/CodexBar/Providers/Claude/ClaudeProviderImplementation.swift\u0060, \u0060Sources/CodexBar/Providers/Codex/CodexProviderImplementation.swift\u0060, \u0060Sources/CodexBar/Providers/Factory/FactoryProviderImplementation.swift\u0060, \u0060Sources/CodexBar/Providers/MiniMax/MiniMaxProviderImplementation.swift\u0060, \u0060Sources/CodexBar/Providers/OpenCode/OpenCodeProviderImplementation.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Cursor/CursorProviderImplementation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e10954eb5dd94ca1e630b0dbab89b1f43b170779a08073b688a501a31679aae"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ProviderPluginSnapshotMapper.swift \u2194 codexbar-plugin.d.ts: \u0060Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift\u0060 and \u0060Sources/CodexBarCore/Resources/Plugins/codexbar-plugin.d.ts\u0060 change together 80% of the time (8 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) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00600e949181\u0060 feat(plugins): show configurable multi-quota menu-bar summaries; \u0060aa7862ab\u0060 feat(plugins): allow built-in provider branding per snapshot; \u0060aa029218\u0060 feat(plugins): allow detail rows to show a pace marker (#4776) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0f0cb18a2b6acd56e670011fec6f133e5d343ba548e7e1dc8fccff4a9f9703"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SettingsStore\u002BMenuObservation.swift \u2194 SettingsStoreState.swift: \u0060Sources/CodexBar/Settings/SettingsStore\u002BMenuObservation.swift\u0060 and \u0060Sources/CodexBar/Settings/SettingsStoreState.swift\u0060 change together 76% of the time (26 of the 34 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 26 shared commits counted here, the most recent 3 are \u00602f232d6f\u0060 Add color by provider setting and preference persistence (at that commit the files were still \u0060Sources/CodexBar/SettingsStore\u002BMenuObservation.swift\u0060 and \u0060Sources/CodexBar/SettingsStoreState.swift\u0060); \u006039b17af0\u0060 Add spend provenance, pinned day timezone, and Codex fork fail-closed. (at that commit the files were still \u0060Sources/CodexBar/SettingsStore\u002BMenuObservation.swift\u0060 and \u0060Sources/CodexBar/SettingsStoreState.swift\u0060); \u0060afe28dd8\u0060 feat: add automatic low-power preference (at that commit the files were still \u0060Sources/CodexBar/SettingsStore\u002BMenuObservation.swift\u0060 and \u0060Sources/CodexBar/SettingsStoreState.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStore\u002BMenuObservation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1486c58cf0e34c380326cf0095f5188c9e5643cd0ce24e55514d5a51876a8bc5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: LogCategories.swift \u2192 ProviderDescriptor.swift, CodexBarWidgetProvider.swift, CodexBarWidgetViews.swift: \u0060Sources/CodexBarCore/Logging/LogCategories.swift\u0060 changes together with 3 other files \u2014 \u0060Sources/CodexBarCore/Providers/ProviderDescriptor.swift\u0060, \u0060Sources/CodexBarWidget/CodexBarWidgetProvider.swift\u0060, \u0060Sources/CodexBarWidget/CodexBarWidgetViews.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Logging/LogCategories.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b40648d4f8d358ff331131ea0151f9d629534eb2b9eb0d420c6225edaaa905f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: StatusItemController\u002BMenu.swift \u2192 StatusItemController\u002BHostedSubmenus.swift, StatusItemController\u002BMenuCardItems.swift, StatusItemController\u002BMenuReconcile.swift, StatusItemController\u002BMenuRefreshScheduling.swift, StatusItemController\u002BProviderSwitcher.swift, StatusItemController\u002BUsageHistoryMenu.swift, VertexAIProviderDescriptor.swift: \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift\u0060 changes together with 7 other files \u2014 \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift\u0060, \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BMenuCardItems.swift\u0060, \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BMenuReconcile.swift\u0060, \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BMenuRefreshScheduling.swift\u0060, \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BProviderSwitcher.swift\u0060, \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BUsageHistoryMenu.swift\u0060, \u0060Sources/CodexBarCore/Providers/VertexAI/VertexAIProviderDescriptor.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 7 separate couplings, not 7 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 7."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66049d88acff8318b9eeff3f1326d1b0fe864c9c8c68064be71867f934ca3ec4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StatusItemController\u002BActions.swift \u2194 StatusItemController\u002BPersistentMenuActions.swift: \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift\u0060 and \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BPersistentMenuActions.swift\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060e9da0796\u0060 feat: add first-class plugin switcher tabs (#3516) (at that commit the files were still \u0060Sources/CodexBar/StatusItemController\u002BActions.swift\u0060 and \u0060Sources/CodexBar/StatusItemController\u002BPersistentMenuActions.swift\u0060); \u0060dbfd1959\u0060 Fix stranded menu scroll after a manual refresh clears a provider err\u2026 (at that commit the files were still \u0060Sources/CodexBar/StatusItemController\u002BActions.swift\u0060 and \u0060Sources/CodexBar/StatusItemController\u002BPersistentMenuActions.swift\u0060); \u0060e3c2adeb\u0060 fix: scope provider refresh state (#1911) (at that commit the files were still \u0060Sources/CodexBar/StatusItemController\u002BActions.swift\u0060 and \u0060Sources/CodexBar/StatusItemController\u002BPersistentMenuActions.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BActions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d036f8875682d062ec9d6d20c853213e43eed6d79da9d97b18d9e1087e25d303"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: StatusItemController\u002BAnimation.swift \u2192 StatusItemController\u002BCountdownRefresh.swift, StatusItemController\u002BIconObservation.swift, StatusItemController\u002BSwitcherMetrics.swift: \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift\u0060 changes together with 3 other files \u2014 \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BCountdownRefresh.swift\u0060, \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BIconObservation.swift\u0060, \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BSwitcherMetrics.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"067c1c6ce4d0f09b7b08c8844cc5dcc0157c73874f7b8843c96e609d9001e938"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: AugmentProviderImplementation.swift \u2192 ProviderRegistry.swift, ClaudeProviderImplementation.swift, CodexProviderImplementation.swift, CursorProviderImplementation.swift, FactoryProviderImplementation.swift, MiniMaxProviderImplementation.swift, OpenCodeProviderImplementation.swift: \u0060Sources/CodexBar/Providers/Augment/AugmentProviderImplementation.swift\u0060 changes together with 7 other files \u2014 \u0060Sources/CodexBar/ProviderRegistry.swift\u0060, \u0060Sources/CodexBar/Providers/Claude/ClaudeProviderImplementation.swift\u0060, \u0060Sources/CodexBar/Providers/Codex/CodexProviderImplementation.swift\u0060, \u0060Sources/CodexBar/Providers/Cursor/CursorProviderImplementation.swift\u0060, \u0060Sources/CodexBar/Providers/Factory/FactoryProviderImplementation.swift\u0060, \u0060Sources/CodexBar/Providers/MiniMax/MiniMaxProviderImplementation.swift\u0060, \u0060Sources/CodexBar/Providers/OpenCode/OpenCodeProviderImplementation.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 7 separate couplings, not 7 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 7."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Augment/AugmentProviderImplementation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea499fa32d60820a8e4c5e9a2790860b1f5023c572c3cf885f86f3e72a537b4b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: KeychainPromptCoordinator.swift \u2194 SettingsStore.swift: \u0060Sources/CodexBar/KeychainPromptCoordinator.swift\u0060 and \u0060Sources/CodexBar/Settings/SettingsStore.swift\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). 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 \u0060dd54a28d\u0060 Add Chinese (Simplified) localization (#819) (at that commit the file was still \u0060Sources/CodexBar/SettingsStore.swift\u0060); \u00608799099b\u0060 feat: add synthetic provider (at that commit the file was still \u0060Sources/CodexBar/SettingsStore.swift\u0060); \u00607c1d0a2b\u0060 wip (at that commit the file was still \u0060Sources/CodexBar/SettingsStore.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/KeychainPromptCoordinator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ebbc2c632a864f277e6c95af861b8d7187b0c1030a9f2af63ec75e6322a4a6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: FactoryProviderImplementation.swift \u2192 ClaudeProviderImplementation.swift, CodexProviderImplementation.swift, MiniMaxProviderImplementation.swift: \u0060Sources/CodexBar/Providers/Factory/FactoryProviderImplementation.swift\u0060 changes together with 3 other files \u2014 \u0060Sources/CodexBar/Providers/Claude/ClaudeProviderImplementation.swift\u0060, \u0060Sources/CodexBar/Providers/Codex/CodexProviderImplementation.swift\u0060, \u0060Sources/CodexBar/Providers/MiniMax/MiniMaxProviderImplementation.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Factory/FactoryProviderImplementation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac4908a8ef05d6b505a94bc72f2458856103167530804d1c4677fc9e5967622"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: UsageStore.swift \u2192 KeychainPromptCoordinator.swift, ProviderConfigEnvironment.swift, AugmentSessionKeepalive.swift, VertexAIProviderDescriptor.swift, CodexBarWidgetProvider.swift, CodexBarWidgetViews.swift: \u0060Sources/CodexBar/UsageStore/UsageStore.swift\u0060 changes together with 6 other files \u2014 \u0060Sources/CodexBar/KeychainPromptCoordinator.swift\u0060, \u0060Sources/CodexBarCore/Config/ProviderConfigEnvironment.swift\u0060, \u0060Sources/CodexBarCore/Providers/Augment/AugmentSessionKeepalive.swift\u0060, \u0060Sources/CodexBarCore/Providers/VertexAI/VertexAIProviderDescriptor.swift\u0060, \u0060Sources/CodexBarWidget/CodexBarWidgetProvider.swift\u0060, \u0060Sources/CodexBarWidget/CodexBarWidgetViews.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 6 separate couplings, not 6 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 6."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f65c731783cc12875b7e3843b0435bc3b5ab8c95368097c8e2c5f0fb5743e2a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MenuCardView.swift \u2194 VertexAIProviderDescriptor.swift: \u0060Sources/CodexBar/Menu/MenuCardView.swift\u0060 and \u0060Sources/CodexBarCore/Providers/VertexAI/VertexAIProviderDescriptor.swift\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in 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 \u00606838b449\u0060 feat(vertex): add direct token cost tracking with _vrtx_ detection (at that commit the file was still \u0060Sources/CodexBar/MenuCardView.swift\u0060); \u006015dcdbb9\u0060 fix(vertex): disable direct token cost tracking to avoid double-counting (at that commit the file was still \u0060Sources/CodexBar/MenuCardView.swift\u0060); \u00605a04e57c\u0060 feat(vertexai): add token cost tracking for Vertex AI Claude usage (at that commit the file was still \u0060Sources/CodexBar/MenuCardView.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8d0685a10af02682b329daf28af3f9d58f0ba99e6a3c6dfabc27507caa0aff"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ProviderTokenResolver.swift \u2194 CodexBarWidgetViews.swift: \u0060Sources/CodexBarCore/Providers/ProviderTokenResolver.swift\u0060 and \u0060Sources/CodexBarWidget/CodexBarWidgetViews.swift\u0060 change together 62% of the time (16 of the 26 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 16 shared commits counted here, the most recent 3 are \u0060479e1284\u0060 Add Neuralwatt provider; \u00603cb9d0d9\u0060 Add ClinePass usage provider; \u006087b11959\u0060 Add LiteLLM provider (#1542) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderTokenResolver.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cef498b465191d94d9e3c097f88b68f101611204ebc867112f830ffc2e33db3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ProviderTokenResolver.swift \u2194 CodexBarWidgetProvider.swift: \u0060Sources/CodexBarCore/Providers/ProviderTokenResolver.swift\u0060 and \u0060Sources/CodexBarWidget/CodexBarWidgetProvider.swift\u0060 change together 62% of the time (16 of the 26 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 16 shared commits counted here, the most recent 3 are \u0060479e1284\u0060 Add Neuralwatt provider; \u00603cb9d0d9\u0060 Add ClinePass usage provider; \u006087b11959\u0060 Add LiteLLM provider (#1542) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderTokenResolver.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38478efbca54e6389233ffbbf7c93392b404954830e02567f388da068bfa67f0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ProviderConfigEnvironment.swift \u2192 CodexBarConfigValidation.swift, ProviderTokenResolver.swift, CodexBarWidgetProvider.swift, CodexBarWidgetViews.swift: \u0060Sources/CodexBarCore/Config/ProviderConfigEnvironment.swift\u0060 changes together with 4 other files \u2014 \u0060Sources/CodexBarCore/Config/CodexBarConfigValidation.swift\u0060, \u0060Sources/CodexBarCore/Providers/ProviderTokenResolver.swift\u0060, \u0060Sources/CodexBarWidget/CodexBarWidgetProvider.swift\u0060, \u0060Sources/CodexBarWidget/CodexBarWidgetViews.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Config/ProviderConfigEnvironment.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c301c440b774e68068ed622ec1d0ee6422d53f55ce536fd78d6086ae73efde0b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StatusItemController\u002BMenuReconcile.swift \u2194 StatusItemController\u002BMenuSmartUpdate.swift: \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BMenuReconcile.swift\u0060 and \u0060Sources/CodexBar/StatusItem/StatusItemController\u002BMenuSmartUpdate.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 the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060cd49d30f\u0060 Swap SwiftUI payloads across menu tab switches instead of detaching v\u2026 (at that commit the files were still \u0060Sources/CodexBar/StatusItemController\u002BMenuReconcile.swift\u0060 and \u0060Sources/CodexBar/StatusItemController\u002BMenuSmartUpdate.swift\u0060); \u00606d467b6a\u0060 Warm sibling switcher tabs after menu open for flicker-free switches (at that commit the files were still \u0060Sources/CodexBar/StatusItemController\u002BMenuReconcile.swift\u0060 and \u0060Sources/CodexBar/StatusItemController\u002BMenuSmartUpdate.swift\u0060); \u00603adca574\u0060 Flush hosted menu rows synchronously during provider tab switches (at that commit the files were still \u0060Sources/CodexBar/StatusItemController\u002BMenuReconcile.swift\u0060 and \u0060Sources/CodexBar/StatusItemController\u002BMenuSmartUpdate.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuReconcile.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4cc6d8151c371992298d16b3d70e14aaf4f03ce90dc1ca7fba25b26a408e26"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CLIConfigCommand.swift \u2194 CLIHelp.swift: \u0060Sources/CodexBarCLI/CLIConfigCommand.swift\u0060 and \u0060Sources/CodexBarCLI/CLIHelp.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 the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00609f026e03\u0060 feat(cli): add config set-cookie and clear-credential (#4765); \u006073040e26\u0060 fix(cli): accept all|both provider values in hooks watch; \u0060e916f693\u0060 Add CLI command to persist provider source \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIConfigCommand.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f009245ba7f3eacb13772b80557d1597e8ce8c801b05e85eb77180e1ceea0b3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PredictivePaceWarnings.swift \u2194 UsageStore\u002BRefresh.swift: \u0060Sources/CodexBar/PredictivePaceWarnings.swift\u0060 and \u0060Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.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 \u00600ada5de3\u0060 fix(claude): keep warnings for unresolved accounts (#3813) (at that commit the file was still \u0060Sources/CodexBar/UsageStore\u002BRefresh.swift\u0060); \u0060cc244d70\u0060 fix(claude): preserve verified quota warning history (#3813) (at that commit the file was still \u0060Sources/CodexBar/UsageStore\u002BRefresh.swift\u0060); \u0060a9dc8229\u0060 Scope quota warnings to accounts (at that commit the file was still \u0060Sources/CodexBar/UsageStore\u002BRefresh.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/PredictivePaceWarnings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c474494b874c025698626fda16ab18dfd785fecb482a8721bff9b9152837d2f9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ClaudeProviderImplementation.swift \u2194 MiniMaxProviderImplementation.swift: \u0060Sources/CodexBar/Providers/Claude/ClaudeProviderImplementation.swift\u0060 and \u0060Sources/CodexBar/Providers/MiniMax/MiniMaxProviderImplementation.swift\u0060 change together 56% of the time (9 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00601d7ae093\u0060 Memoize cookie cache lookups behind settings picker labels; \u0060b327b14b\u0060 refactor: push menu and snapshot hooks to providers; \u0060be6c18aa\u0060 refactor: move provider settings and token hooks \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Claude/ClaudeProviderImplementation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb6b47c3103260d054612fa8eb34ac67e5028d44935f32fcdc656500fb7728c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CostUsageFetcher.swift \u2194 VertexAIProviderDescriptor.swift: \u0060Sources/CodexBarCore/CostUsageFetcher.swift\u0060 and \u0060Sources/CodexBarCore/Providers/VertexAI/VertexAIProviderDescriptor.swift\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). 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 \u00606838b449\u0060 feat(vertex): add direct token cost tracking with _vrtx_ detection; \u006015dcdbb9\u0060 fix(vertex): disable direct token cost tracking to avoid double-counting; \u00605a04e57c\u0060 feat(vertexai): add token cost tracking for Vertex AI Claude usage \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db80dfaceb118268859cf5eff2b2c8d50d4c41c65600e0cd8b970841591efe22"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ProviderRegistry.swift \u2194 OpenCodeProviderImplementation.swift: \u0060Sources/CodexBar/ProviderRegistry.swift\u0060 and \u0060Sources/CodexBar/Providers/OpenCode/OpenCodeProviderImplementation.swift\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060b327b14b\u0060 refactor: push menu and snapshot hooks to providers; \u0060be6c18aa\u0060 refactor: move provider settings and token hooks; \u0060be490316\u0060 fix: require manual cookies without keychain \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/ProviderRegistry.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caca5df08ee2cd1ee3ac8b82df13319d96bbabe761edb141e8507061af98ad7b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: UsageStore\u002BCodexCostCatchUp.swift \u2194 UsageStore\u002BSpendDashboardCodexCostCatchUp.swift: \u0060Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexCostCatchUp.swift\u0060 and \u0060Sources/CodexBar/Providers/Codex/UsageStore\u002BSpendDashboardCodexCostCatchUp.swift\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060411e4960\u0060 Fix empty Codex cost scan recovery and completed stalls (at that commit the files were still \u0060Sources/CodexBar/UsageStore\u002BCodexCostCatchUp.swift\u0060 and \u0060Sources/CodexBar/UsageStore\u002BSpendDashboardCodexCostCatchUp.swift\u0060); \u0060c0915b58\u0060 fix(codex): continue automatic cost discovery in a bounded burst (#4237) (at that commit the files were still \u0060Sources/CodexBar/UsageStore\u002BCodexCostCatchUp.swift\u0060 and \u0060Sources/CodexBar/UsageStore\u002BSpendDashboardCodexCostCatchUp.swift\u0060); \u006093762299\u0060 fix(codex): exclude queue waiting from catch-up delays (at that commit the files were still \u0060Sources/CodexBar/UsageStore\u002BCodexCostCatchUp.swift\u0060 and \u0060Sources/CodexBar/UsageStore\u002BSpendDashboardCodexCostCatchUp.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexCostCatchUp.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"328c0118c49512a9f4bfb83a0c3fb93fbdf863c776bc046fef22e5e40c87f496"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PreferencesProvidersPane.swift \u2194 SettingsStore\u002BMenuPreferences.swift: \u0060Sources/CodexBar/Settings/PreferencesProvidersPane.swift\u0060 and \u0060Sources/CodexBar/Settings/SettingsStore\u002BMenuPreferences.swift\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060d71d92f8\u0060 feat: add combined Codex usage metric (at that commit the files were still \u0060Sources/CodexBar/PreferencesProvidersPane.swift\u0060 and \u0060Sources/CodexBar/SettingsStore\u002BMenuPreferences.swift\u0060); \u0060c7f38669\u0060 feat: show balance metrics for API-balance providers (at that commit the files were still \u0060Sources/CodexBar/PreferencesProvidersPane.swift\u0060 and \u0060Sources/CodexBar/SettingsStore\u002BMenuPreferences.swift\u0060); \u0060a6b03428\u0060 Add Cursor extra usage menu bar metric (at that commit the files were still \u0060Sources/CodexBar/PreferencesProvidersPane.swift\u0060 and \u0060Sources/CodexBar/SettingsStore\u002BMenuPreferences.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProvidersPane.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3345e6f511cb293ef2ac72a7f5dfaf0281643bbbc3a3be7c14ccf09ffe5ccc03"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ManagedCodexAccountService.swift \u2194 CodexAccountPromotionExecution.swift: \u0060Sources/CodexBar/Providers/Codex/ManagedCodexAccountService.swift\u0060 and \u0060Sources/CodexBarCore/Providers/Codex/CodexAccountPromotionExecution.swift\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). 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 \u0060bcc4c567\u0060 feat(codex-accounts): log redacted registry mutations for account-los\u2026 (at that commit the file was still \u0060Sources/CodexBar/ManagedCodexAccountService.swift\u0060); \u006079a43f74\u0060 fix(codex): retain shared managed homes through cleanup (at that commit the file was still \u0060Sources/CodexBar/ManagedCodexAccountService.swift\u0060); \u00605e9bbaa3\u0060 fix(codex): guard managed home deletion when another record reference\u2026 (at that commit the file was still \u0060Sources/CodexBar/ManagedCodexAccountService.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/ManagedCodexAccountService.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"104dba0d382d0191d8ae43052b1170f6f1c67479d43a5a625a825f7ffe4bf09e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ProviderRegistry.swift \u2194 TokenAccountSupport.swift: \u0060Sources/CodexBar/ProviderRegistry.swift\u0060 and \u0060Sources/CodexBarCore/TokenAccountSupport.swift\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). 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 5 shared commits counted here, the most recent 3 are \u0060aa8977ef\u0060 feat: add Claude Admin API usage source; \u0060f8d7dc39\u0060 refactor: streamline provider registries and snapshots; \u0060e680a09f\u0060 fix: tighten amp provider wiring (#167) (thanks @duailibe) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/ProviderRegistry.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1de9411db59dc50f28be073ff7ab28e4ad47f660b896deed2afea0ae44c5298"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CLIDashboardCommand.swift \u2194 CLIServeWebUI\u002BHTML.swift: \u0060Sources/CodexBarCLI/CLIDashboardCommand.swift\u0060 and \u0060Sources/CodexBarCLI/CLIServeWebUI\u002BHTML.swift\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060d56adeae\u0060 Serve existing accounts with private dashboard defaults; \u006018dd6ffb\u0060 fix(serve): honor usage bar fill preference (#3670); \u00606ed9d98e\u0060 fix(claude): keep at-limit claude-swap cards complete (#3081) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIDashboardCommand.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e657b8a34472dd3007787905d1245f5c84849280357c4dae72b4a8bb90056d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: KeychainPromptCoordinator.swift \u2194 PreferencesProvidersPane.swift: \u0060Sources/CodexBar/KeychainPromptCoordinator.swift\u0060 and \u0060Sources/CodexBar/Settings/PreferencesProvidersPane.swift\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). 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 5 shared commits counted here, the most recent 3 are \u0060dd54a28d\u0060 Add Chinese (Simplified) localization (#819) (at that commit the file was still \u0060Sources/CodexBar/PreferencesProvidersPane.swift\u0060); \u00608799099b\u0060 feat: add synthetic provider (at that commit the file was still \u0060Sources/CodexBar/PreferencesProvidersPane.swift\u0060); \u0060c917fd0f\u0060 refactor: convert MiniMax from cookie-based to API token authentication (at that commit the file was still \u0060Sources/CodexBar/PreferencesProvidersPane.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/KeychainPromptCoordinator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9a14f6c5d7cc9a2803abe4fb1e087a972a0821dbd68fa33aeddee04646b642"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CLICookieCommand.swift \u2194 CLIHelp.swift: \u0060Sources/CodexBarCLI/CLICookieCommand.swift\u0060 and \u0060Sources/CodexBarCLI/CLIHelp.swift\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060fb44dd67\u0060 fix: make cookie refresh non-destructive; \u0060b9089b9a\u0060 fix: preserve scoped cookie caches during refresh; \u0060aa7b3224\u0060 fix: gate CLI cookie refresh \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICookieCommand.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8236c6f567f7cb50c5ab6113b487d6aaaf904adbd9fa9902cfe1f89daa4d08d"}},{"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":"61d9c64c1de88e7edb9c757178d6ec3103868cef4ae7e825aeeac5d15e61fb7d"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DockIconPresentationAttemptTracker.nextRawID: \u0060DockIconPresentationAttemptTracker.nextRawID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/DockIconController.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d093a1c1fb6d5bfe64f21d8fd79274a6abb1567dcfd3824ecec73063fb5e0ba2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Attempt.id: \u0060Attempt.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/HomebrewUpdateNotifier.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f467a4ac4b7fdae23a85b30fa1f159e0d020a0e89ccc0ed625c22bdcaf9ba08"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderUsageItemID.metricID: \u0060ProviderUsageItemID.metricID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/ProviderUsageItemVisibility.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b4e4a93d24175e85d86093c6691adc6db0bec916af90f704884d8f2d020535"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SessionEquivalentForecast.weeklyWindowID: \u0060SessionEquivalentForecast.weeklyWindowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionEquivalentForecast.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf6a5fb4800b8336dea814a2c4254a362d4c0dec81274e948a573d08cbe8024"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SessionEquivalentBurnCacheKey.weeklyWindowID: \u0060SessionEquivalentBurnCacheKey.weeklyWindowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionEquivalentForecast.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3991f1f937262da89da664818eb4cdf787fdbea9048b4349e0a6d5fb5e14a4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: QuotaWarningEvent.windowID: \u0060QuotaWarningEvent.windowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionQuotaNotifications.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9db470972d55ac7e183d8375f08acabfc1f557e36559e2bd42e9ba7df44332"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Request.id: \u0060Request.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionUsageBrowser.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad92cf9bb51dc0afa96e369e6aa7f864a4af7d95e0459b4b4c664463c4cb1f03"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Request.sessionID: \u0060Request.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionUsageBrowser.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"400ed664af9b1e0d4f1912c16a5be22f0e514b9490f57d7c93ac42c7997ea959"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DetailKey.sessionID: \u0060DetailKey.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SessionUsageBrowser.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"66647eba48ce5ea05a50dafa5d929b586f55a3bbc2d3ebb4c68adedd51968829"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ShareStatsCurrencyPayload.id: \u0060ShareStatsCurrencyPayload.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/ShareStatsPayload.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"982f3b2b02e1313fc057299582069dc0da53d1a7d60c19461859432f4b26b4be"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WidgetVerifiedTokenSnapshot.widgetID: \u0060WidgetVerifiedTokenSnapshot.widgetID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/WidgetAccountSnapshotStore.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db884c3fd8a658a168dff620c110bb8a9848ed0de5fb40932f9ce8b4f7de845"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Point.id: \u0060Point.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c749b27e38221584f3ba9a98f13314b488328bf5fab39b9b6d5cd948b5ef615"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DetailRow.id: \u0060DetailRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CostHistoryChartMenuView.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b38e6cea2a657845af93ea76e0e6cc2914e5f83c82af550e70393cefc05b51"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Point.id: \u0060Point.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/CreditsHistoryChartMenuView.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e688c64120867f8a47b9ef24d947f8f52d757290f9d0bb1d9502f4b53af132b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Point.id: \u0060Point.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/InlineUsageDashboardContent.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebba0ec0a0041ab5444e2ae53adf96f3249ebe6b6be23d69d16a78bd5fdfa2bd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: QuotaWindow.id: \u0060QuotaWindow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/InlineUsageDashboardContent.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b82685eb7a1df174f1528a85014c3d3e637034d2b5a8a06018a800733a4f51"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MenuBarLayoutConditional.id: \u0060MenuBarLayoutConditional.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayout.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"9853b4187be843b9a8d1965b347f5efdc8783b5473e7b64539f3e085acad52a0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MenuBarLayoutConditionalDraft.id: \u0060MenuBarLayoutConditionalDraft.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutConditionalEditor.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca2a9f36cfd102152db5c25e478670cfdfa9a87fba9026086a25b0eb34cfdbd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MenuBarLayoutPaletteGroup.id: \u0060MenuBarLayoutPaletteGroup.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutEditor.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3737b243bde69ca67914af5d2d23cd35f0cd7853d1166186be2c8d5ed7c933f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MenuBarLayoutRenderExtra.id: \u0060MenuBarLayoutRenderExtra.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuBarLayoutRenderer.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c664813dca84656b41e31358ef871b1f80d40e4f9571cdcf108ec3f66efb93ec"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Metric.id: \u0060Metric.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuCardView.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f315f3e651842472d6c7c99d2afeb5419e0e1aa948c8566720eea34ca4e7856b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MenuUsageBarPoint.id: \u0060MenuUsageBarPoint.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/MenuUsageBarStrip.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6114a0b590e35bbc753f2c5ef4256ca266e8d829801c546b9c45be0ac1d49a7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SeriesSelection.id: \u0060SeriesSelection.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/PlanUtilizationHistoryChartMenuView.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"87132c03a776a08e3ca682b3effc35db2d2aa9b8c0a08304e71080f090817936"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: VisibleSeries.id: \u0060VisibleSeries.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/PlanUtilizationHistoryChartMenuView.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34c0b948a2f7b09e6f57aec6dc59295eefc2a0477f26da1b1a58617fb7f91da"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Row.id: \u0060Row.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/ProviderAccountUsageOverview.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7efe8f99626459a0f348619d008a1edbc7a46cc4b2198e5da925b1252e84817"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Series.id: \u0060Series.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/QuotaBurndownChartMenuView.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b168217b9a7a3a717e3dcbb16aa454efb9700ed4d5c9b98efccc4eb23ee094fd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Segment.id: \u0060Segment.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/StorageBreakdownMenuView.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde648f85c4ee32dc165bd93cd416ad9c719b9530daab0a6415f2e9307c9cec1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Point.id: \u0060Point.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Menu/UsageBreakdownChartMenuView.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9107e86736c1e85a36ef78a140bf67d7899cdab9bd60d8dc549f88ed66d5c4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Acknowledgement.id: \u0060Acknowledgement.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesAcknowledgements.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f260be2630a4efbffef4a49153e94bce14c390915b183008ab726a0755cbe22d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ArgumentRow.id: \u0060ArgumentRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesHooksPane.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"976e33e9e8167a2ed5964a7420f89f4dab828544aae68e5b9704c70544b3cf29"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PendingPluginApproval.id: \u0060PendingPluginApproval.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesPluginsPane.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e59db9b781b13bf735c3879f855cdce4a615551311491d605663c8b649804e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelLimitsIdentity.id: \u0060ModelLimitsIdentity.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProviderDetailView.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bc85fc73b925f5e04e91d7231b7f38f2d22a7b47dd3e339d3f38755e20c669"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderModelLimitDraft.id: \u0060ProviderModelLimitDraft.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProviderModelLimits.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae85b985caa32688b7bb4c68019d253f6477f68ad56083a2bd75b273c24350b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TeamAccountDraft.organizationID: \u0060TeamAccountDraft.organizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProviderSettingsRows.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc43f2ef3e84f152ce8833d66634b6d084b9644820a482f83d9d07a62cbd586"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TeamAccountDraft.projectID: \u0060TeamAccountDraft.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProviderSettingsRows.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a1427fe55d16568eff4e5d345cd19224c46835261eeae68ce976dcdeb08620"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderSettingsConfirmationState.id: \u0060ProviderSettingsConfirmationState.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesProvidersPane.swift"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"57387278073b4043c7f7fedad1e322c360b0ade0fcd2a096564d685d82aa79d0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Provider.id: \u0060Provider.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesSpendDashboardPane.swift"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fc73afbc5800631625f9b43470944f531c77a7d1244c440b6553ad389e4711"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderOrderUndo.id: \u0060ProviderOrderUndo.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStore\u002BProviderBrowsing.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b946ee65ed29da5b59c04b3c28ab1418b706098bd8657cf7b5e858130b4bb2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SettingsDefaultsState.iCloudSyncDeviceID: \u0060SettingsDefaultsState.iCloudSyncDeviceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStoreState.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"204e635cf51a83cabdec9586d60a522b3ac58e75acb5da0bc0eb4bcdad5cafc2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MonthMarker.id: \u0060MonthMarker.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendActivityHeatmap.swift"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa1fe04f411feb1c99b9e1c3a4411c045df9f31cb7b6bd37d5be34285ffffd1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexSpendScanRequest.id: \u0060CodexSpendScanRequest.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb05c6658befc2ae74673a107ed9b5849b77b2a1a839566cb6ad4f09d865a101"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SpendDashboardModel.openCodexSourceID: \u0060SpendDashboardModel.openCodexSourceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b05a03567566876453c4e6fab721b30c47b0c41ecf40f7450b2cb8ad4b2c07"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderInput.id: \u0060ProviderInput.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"640fd4c1972538d8b61429b94d8d39ee3df8047201041ef0b9928647a62858ee"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SourceFilterItem.id: \u0060SourceFilterItem.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38300ef43f5cbac6afb0fd04e03d104e42f83634cd00a749d4569ccf1f52eb6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderRow.id: \u0060ProviderRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c995081ca10ff3e57e81a0a5cd9a09f5bce662e9e0dd0fd5c018773a8e54751"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelRow.id: \u0060ModelRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f7181e3c28773db11c2521736b5f6d632f9cbb8fb1e8a241bec6c8e088d082"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProjectRow.sourceID: \u0060ProjectRow.sourceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b75373155f770973583031510a2845f630f38f806b612c4a40d9e3ad9c43f0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProjectRow.id: \u0060ProjectRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d690f55390fa75b13883ea9d07c61c5f0e4d752c77d7e8fbff1ba586ebf7888"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DailyPoint.sourceID: \u0060DailyPoint.sourceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9697b9d4ea46ec69458accf6f0faec00bf9d9c12014d5fc2e16e884daf9aa5c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DailyPoint.id: \u0060DailyPoint.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9cdd991b26d2eeceff914af99eb8f544f70f577ea9aa47f372b341b52dc6e8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DailyProviderRow.sourceID: \u0060DailyProviderRow.sourceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfeacfc6da3c0b977561daee539f07420de6b05d03258959b04c1c4a6d5a0f6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DailyProviderRow.id: \u0060DailyProviderRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"447c72db565b9640d918ba782b23d9858d295068268e9d4f16bc4b7dcda3b958"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CurrencyGroup.id: \u0060CurrencyGroup.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81e7a2d8a2a3a02bec18d5c2d1f79e8c3b0b5fa2dfc386bc9ba465dff089fc3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SessionRow.id: \u0060SessionRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8c47de2997f25951dd52b7050a387a3e8af2fc5e67f1574b0786228c8aa818"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SessionRow.sessionID: \u0060SessionRow.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"be41c2797f782f126a04c60d47626cdea48294fdb69a001133d38446a1608c2d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SessionRow.sourceID: \u0060SessionRow.sourceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eaf1eccd517a9aba8bb833d5f8a60b4d1e9c0e75efac006cc0616d114e6abf7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: HourlyPoint.sourceID: \u0060HourlyPoint.sourceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef01b5b1edaea63a45993174858da90ddf683c5e7f0d3b955ba5db5024484d45"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: HourlyPoint.id: \u0060HourlyPoint.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefc2fa85ac2b07fcb186ab4be3dd6b7cbab96d1820ddd379c98a597fb37be3f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DailyKey.sourceID: \u0060DailyKey.sourceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d683eabd5d8afc4c821d4c07d2e9f083fc9d6c985afcff4e665d88281daaad"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Row.id: \u0060Row.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModelRanking.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da12c404b8f0be291aec72121e7cb09c97b3bc2b7764e27febe3ffcc2ad305a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SpendProviderBreakdown.id: \u0060SpendProviderBreakdown.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardProviderBreakdown.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"556a0626f019a98b2fe21feeb3668f0e45e7f6cd79652e78518a8b4a36432d2b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SpendSourcePublication.id: \u0060SpendSourcePublication.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardPublication.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae83d3c5844be81c8db92c5cc0174d0d8bb63177c74dd7ededeeb16c5f5fcb1e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SpendPerformanceMetric.id: \u0060SpendPerformanceMetric.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendSessionPerformanceView.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a31a51e190ba65501bfe1748d639567362079db76bf451a2102673e1623366b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Segment.sourceID: \u0060Segment.sourceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendTrendChartModel.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f476ab90a147fcab3517b147e5b6284413b8ee59f77e14e4bb5931029dc128"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Segment.id: \u0060Segment.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendTrendChartModel.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb5f21ab67f971f38c87e6cfad6b8284c9539ef4fa61eb5ae4c665569a2def1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: HostedSubviewRenderSignature.chartID: \u0060HostedSubviewRenderSignature.chartID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BHostedSubmenus.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae2c9350f001e4535d05740ff37abf8a2e6bfdce1bc3839cf5a805b09fb3de3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MenuRowShape.id: \u0060MenuRowShape.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuReconcile.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e50a8c74c9100b35ad4d6728b27f5bf8d9e9f73494f20f9db7fcc22198f5dd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AccountIdentity.id: \u0060AccountIdentity.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuTypes.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdaf9c6e3af14bb5b874dfaaffe1970581e7f554578e7dc7b72da4f849ca9de"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AccountIdentity.organizationID: \u0060AccountIdentity.organizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuTypes.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9841fd16aedfb012c750643bc6a858a90310f8d4b8840e13b36e0d22d9656e2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AccountIdentity.workspaceID: \u0060AccountIdentity.workspaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuTypes.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9116593c19674a753fd622b3c94f7c93e115e050fcfaed2ebd0b511d19099f0a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SnapshotIdentity.id: \u0060SnapshotIdentity.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuTypes.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7d8e6e776ef30670d2bbbc8dc612b18f060b366f8a04a5e16c815a45ed8f36"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexAccountMenuDisplay.activeVisibleAccountID: \u0060CodexAccountMenuDisplay.activeVisibleAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuTypes.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f471e78ec738cce6e918e9c668e4fe7cd941c20fef11ac205e360bf2974c3865"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SnapshotIdentity.id: \u0060SnapshotIdentity.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenuTypes.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc16fd4bb69eca4ea5064146cf31782d5442bd4bf6b6a98edc14f2dfe586613"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: StatusItemController.persistentRefreshMenuItemID: \u0060StatusItemController.persistentRefreshMenuItemID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e79dd8542544e4d92ed141591b6fc8374e795100fd72728a9a12ff9c2133ea"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: StatusItemController.usageBreakdownChartID: \u0060StatusItemController.usageBreakdownChartID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5c2d6e63734ff73a2245dddebe7801bce50c4a40b41e5529c3b1259bd50213"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: StatusItemController.creditsHistoryChartID: \u0060StatusItemController.creditsHistoryChartID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a60496a98afe7cd5f5b693189aeb3ce0e5db5858469f9c6d6e625b4729be4a2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: StatusItemController.costHistoryChartID: \u0060StatusItemController.costHistoryChartID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"625fcda1f38a8c91041ab7e93008b34f23b473bf8a32d3282240572f955f90dc"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: StatusItemController.usageHistoryChartID: \u0060StatusItemController.usageHistoryChartID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2df81c2f52ba63d55195ab36387d1708a196f1767d136bd9546e23ab79e40b5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: StatusItemController.storageBreakdownID: \u0060StatusItemController.storageBreakdownID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20db2b5843ceceedb6fb3bc92f71eba44c25b8a12dfa7784649704eb8d85932"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: StatusItemController.statusComponentsID: \u0060StatusItemController.statusComponentsID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bdb2dc04eda6eb56337ef25fa940bcba7333dc3bbf9c6d53cad13922f3af4a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Account.tokenAccountID: \u0060Account.tokenAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BMenuCardModel.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac5dbae1876b83b5ceee4190634f3cb0e300b972eae4ca1ee897bca147140f4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MergedOverviewRow.accountID: \u0060MergedOverviewRow.accountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BOverviewAccounts.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd44c854761e3f93b6b2aa38eb929afa9ef139802382afb1c20efc6829b5f87"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MergedOverviewRow.id: \u0060MergedOverviewRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BOverviewAccounts.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dc997c424d12d08a1447aaa0021b35fbe97c9000b43f0f48eb4894eb7b08c2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SessionEquivalentWindowComponent.namedID: \u0060SessionEquivalentWindowComponent.namedID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BSessionEquivalents.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac6727be5e50ea9d99c0ca34ad5fa459b082cb6b1135eab57fe0d1610d3c4af"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TokenAccountUsageSnapshot.id: \u0060TokenAccountUsageSnapshot.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BTokenAccountCacheKey.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a49bdbe6519c3b0fa2842ed60a4387afe488cdc98b894071de116e0e511a21"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexManagedVisibleAccountRuntimeState.workspaceAccountID: \u0060CodexManagedVisibleAccountRuntimeState.workspaceAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStoreSupport.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd6601525f9771c1ffebec6bdd9084df11caa64359b4e78c28dc7b192993c77"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexAccountSwitcherView.selectedAccountID: \u0060CodexAccountSwitcherView.selectedAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1daf79c7155fdabbbd1b047c0103fbba13d219e7c85f41743445824b244813"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexAccountSwitcherView.pressedAccountID: \u0060CodexAccountSwitcherView.pressedAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexAccountSwitcherView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ef02a0aecce8f5e83cc11b13ead2192c309b66cf3d41eaafedbedba9651205"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexAccountUsageSnapshot.id: \u0060CodexAccountUsageSnapshot.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b697452e5b0e0e73bed6332a86a669410b6a37767021d40b338874a4e1b91925"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Record.id: \u0060Record.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ad0df26272d34f7fcc3a1b6ef7c3e3672608a1e767b2ad3eb706e6c9c4ec84"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AccountIdentity.workspaceAccountID: \u0060AccountIdentity.workspaceAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f646189c9a9b21b7ad9649444cd23ac9d0ef9b58e606ad8da8d9f3cbc1b37482"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AccountIdentity.storedAccountID: \u0060AccountIdentity.storedAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexAccountUsageSnapshotStore.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f1372183ff1e31598d6f15d6870e74f753dba46adb9ace67c65c487151027b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AvailableCreditIdentity.id: \u0060AvailableCreditIdentity.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexWeeklyResetConfirmation.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bdc696a45d9f01d405d8699723d84bc1bfbb951a7f7316588e24ed77c43323"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexWorkspacesProjectRow.id: \u0060CodexWorkspacesProjectRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexWorkspacesInspectorPresentation.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"026ec399a94e6e3644489d5a686d60cd6cbd59cca21a0792855b76c94746549c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexWorkspacesSessionRow.id: \u0060CodexWorkspacesSessionRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexWorkspacesInspectorPresentation.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecfa19ff16333c49986e1e68705bf055c1c7320a0b05773f1c646bfe394ae61"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexWorkspacesInspectorPresentation.selectedProjectID: \u0060CodexWorkspacesInspectorPresentation.selectedProjectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexWorkspacesInspectorPresentation.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08423060d9b7288eacedce22f81244743312d1ba60788703954a50e2712ce1b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexAccountsSectionState.activeVisibleAccountID: \u0060CodexAccountsSectionState.activeVisibleAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/PreferencesCodexAccountsSection.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"42efa43135fc73685cab2bb3926283227aad6c92f0a36a1d969a971bfc9a2c8f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexAccountsSectionState.liveVisibleAccountID: \u0060CodexAccountsSectionState.liveVisibleAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/PreferencesCodexAccountsSection.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"021f8adf55ae83b0a21d6f30b11549181f6730f6012c1deb6e28b44a597016ee"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexAccountsSectionState.authenticatingManagedAccountID: \u0060CodexAccountsSectionState.authenticatingManagedAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/PreferencesCodexAccountsSection.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"737dcf978cbe6b1d96845802c3e26668f6b19871f2d6c43ae8d8fd3db7e71d9b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Candidate.selectionID: \u0060Candidate.selectionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Cursor/CursorLoginAccountSelector.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"932e40431be5cd067dd973dacaf73825e2a21afd0dfe198adf16db850404b309"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Choice.selectionID: \u0060Choice.selectionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Cursor/CursorLoginAccountSelector.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c527de604018f92d6067d758ff72ba7cf37533f429fee19720989899befe376"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AccountIdentity.accountID: \u0060AccountIdentity.accountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Cursor/CursorLoginRunner.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b2c255e9f41fa8161a805bf5c0983f042ff89d88eabd01360bc9df6d87e7cb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: KiloScopeSnapshot.id: \u0060KiloScopeSnapshot.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Kilo/UsageStore\u002BKiloOrgRefresh.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5199a436fdb0d73c64672289dea3c97e84d45eab678c7dd76541952c7d2e43"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderSettingsToggleDescriptor.id: \u0060ProviderSettingsToggleDescriptor.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5641434b7b53597f2a4216505ff53f0d4c18ab20d9528caea4a462cef9494a82"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderSettingsFieldDescriptor.id: \u0060ProviderSettingsFieldDescriptor.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"651aca3f045a0518428f64a2cb14f7c04ff720600e3ebedf3b30513932c32298"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderSettingsDirectoryListDescriptor.id: \u0060ProviderSettingsDirectoryListDescriptor.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f040bcc661ec4e2dc9baea453e9c6d432f2f9936cbf574b918fc85704c27e724"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderSettingsModelLimitsDescriptor.id: \u0060ProviderSettingsModelLimitsDescriptor.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49bb22dc3994fb25f42eaa6669a0e61974f8ae90b105194fa4c50403eba2667"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderSettingsActionsDescriptor.id: \u0060ProviderSettingsActionsDescriptor.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d4b7c3d89e27b7bc1446bd0c8062de1f56155d58ddf643290e389ca08f7528"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderSettingsTokenAccountsDescriptor.id: \u0060ProviderSettingsTokenAccountsDescriptor.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a61c44aa2c9fdb933e51d4bfb47780a384211799035e934e98ede0f1a8b2dda"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderSettingsOrganizationsDescriptor.id: \u0060ProviderSettingsOrganizationsDescriptor.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b4f4731de8a28651a4996f309e7a1c23f582f676c42787d1ce277f3d17aae1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Entry.id: \u0060Entry.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"03693853a72a7f5205c3f407aa94684f6fba3e7690b7de20159424e09fabbaa9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderSettingsPickerDescriptor.id: \u0060ProviderSettingsPickerDescriptor.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a48e867a5c3ab5d4b199f8ce2f90582188f5c933825a5f9cd768722543ecc4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderSettingsPickerOption.id: \u0060ProviderSettingsPickerOption.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85f05abc9395fb9cc6f17d20ed30aae1a28bd44c9dedcc513b229ce468d901b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderSettingsActionDescriptor.id: \u0060ProviderSettingsActionDescriptor.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Shared/ProviderSettingsDescriptors.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd40a283b93cd9c17517b757d358b7b445f3b490d861da2a3faa048f35e5b37"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexAccountListRow.id: \u0060CodexAccountListRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICodexAccountsCommand.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"73600b94951725351a53927d96647465ac7c439aec12e1fbf47aefa404c7e246"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexAccountPromotionReceipt.id: \u0060CodexAccountPromotionReceipt.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLICodexAccountsCommand.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d003a56966b21d9441dacf0ea535dc0b901361240dec442c87307f09349b57d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ConfigAPIKeyAccountOptions.organizationID: \u0060ConfigAPIKeyAccountOptions.organizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIConfigCommand.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"11036d8a4b273a5d7bf08ff95145e8c421cc0cf8e6cf49222f00779417863cc5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ConfigAPIKeyAccountOptions.workspaceID: \u0060ConfigAPIKeyAccountOptions.workspaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIConfigCommand.swift"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee15b18abdeb5ce00662648b4e371ecaf9301557907c47eef9478e0697d67fb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: HookTestResult.ruleID: \u0060HookTestResult.ruleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIHooksCommand.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b60e393edbd756b16568fdecd41cfecc82451a64c77c8488706a0b6134b108"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CLIServeAccountPayload.id: \u0060CLIServeAccountPayload.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeAccounts.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"15158e088703a273597b23a12ff7496119a49e3a3719004c66a4b024f922cd4e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: UsageItemKey.accountID: \u0060UsageItemKey.accountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c452fbe2eb90e57eff6dcaef93de93df25d62ba3677cb03900f7350d0f311aa"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Waiter.id: \u0060Waiter.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeOperationCoordinator.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bf08081e2b31c35f7a2f0af6685280aa05bdcb247e3a2f756c7c5eb253c48e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Identity.workspaceAccountID: \u0060Identity.workspaceAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/DashboardManagedCodexAccounts.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6683a52c2f61ab6f00f80a1fd0ba89ace41c63034aaade8d2987e5895de1ee7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Identity.storedAccountID: \u0060Identity.storedAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/DashboardManagedCodexAccounts.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"871371788080e240eb7058a623b2d88e4da788765963931f174a4ffc5480b4c7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DashboardProviderPayload.id: \u0060DashboardProviderPayload.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/DashboardPayloads.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8ea152d6d93ade57f6df98414d62609461705ae926a3f68d9fc76b89b13201"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DashboardAccountPayload.id: \u0060DashboardAccountPayload.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/DashboardPayloads.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b71e15e5a267ed07be81380afa2d6d90277f4022793b51b74d0eb295c8f7f3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderPresentation.id: \u0060ProviderPresentation.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/DashboardSnapshotBuilder.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fde3df8f172ddade4935b5ba2fab2caebed9f3fb5d28780745f1337f3274e2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DashboardUsageAccount.id: \u0060DashboardUsageAccount.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/DashboardUsageAccount.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b2356de55f930481a6f9326a1dcf20993ff6e9c71e3dc4ff948a7abba5a0fc"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindowDetail.metricID: \u0060WindowDetail.metricID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/AccountMenuLayoutPlanner.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"37415b62a88f191468c1ff6706aedb772fd55ead0c3a524072ef83c69e8051b7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AgentSession.id: \u0060AgentSession.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/AgentSession.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2381b38962cd94bdc70608b31c07f83e66ace2a08b371e0d3694d43d4ce98f74"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexRolloutMetadata.sessionID: \u0060CodexRolloutMetadata.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/AgentSession.swift"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9f55eb575284adbf88dc3145e846534fb5b4c552529001e607c5a509c241c6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AsyncOperationGate.ownerID: \u0060AsyncOperationGate.ownerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/AsyncOperationGate.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dac13f7cac3a267076153326efd7cbe962f7adbec9fd737a602c0a54d1fd1e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Waiter.id: \u0060Waiter.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/AsyncOperationGate.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5001e7c8c53404f2dc7a7187e6f7b2914c18347212ec857c63c551066d01ba6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Profile.id: \u0060Profile.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/BrowserLocalStorageAPI.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa1d53d38a6fcac7c15890094746a28db5b29233acd467de54b6555a0941d08"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexLocalProjectUsage.id: \u0060CodexLocalProjectUsage.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageModels.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16205d62fd4ab6cafcc47923b9572c0d8841f8d5a35e3f5e4c2be9c67829c65"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexLocalSessionUsage.id: \u0060CodexLocalSessionUsage.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageModels.swift"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb920735efd1434eb70f7a46a6e31f8aa1ce867fbde739c020c9c262149f065"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexLocalSessionUsage.projectId: \u0060CodexLocalSessionUsage.projectId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageModels.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"05eac64f0744ed38dc1a955224af2d6df785227a4b406cb9cbaedcaea80b20af"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexLocalUsageModelBreakdown.id: \u0060CodexLocalUsageModelBreakdown.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageModels.swift"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ab58af37d5ff89f702eec5705625896a1854a341f649a1046b353fb4bb1654"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexLocalUsageDailyPoint.id: \u0060CodexLocalUsageDailyPoint.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageModels.swift"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"9debcc0da1e7c97a83faa231817a984a50f8257b514a1da8d1a002d18dc36fa9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ManagedCodexAccount.id: \u0060ManagedCodexAccount.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexManagedAccounts.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b361ac3a8b966eeada094c6c8d34cb961c8e00b6d5baf5ccf9dd9dcaa0f4931"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ManagedCodexAccount.providerAccountID: \u0060ManagedCodexAccount.providerAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexManagedAccounts.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d5b286daa1dd01e2a35af44cbee91406ce3eb8653aabbec705cef48c97cf43"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ManagedCodexAccount.workspaceAccountID: \u0060ManagedCodexAccount.workspaceAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexManagedAccounts.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"81774dfa679f7b7d31d9562f7f45eef0fac39c289db813c5abf65d50e21e4f80"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ManagedCodexAccount.effectiveWorkspaceAccountID: \u0060ManagedCodexAccount.effectiveWorkspaceAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexManagedAccounts.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ab98ed96cc866a36e74b8c7f827efdfb2ca49582001793a15f5c7b395fb13a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexModelsUsageFragment.workspaceID: \u0060CodexModelsUsageFragment.workspaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexModelsAnalyticsModels.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f67f5b0453796d2fbcfa52feaefe01c9203aa4e6ac45b3840cb537406d245b4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexModelsUsageFragment.sessionID: \u0060CodexModelsUsageFragment.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexModelsAnalyticsModels.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"127dbe332445f0495dddf761c883f75062c5fb0ab37825cbe05e0094ce123fea"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexModelsUsageFragment.rawModelID: \u0060CodexModelsUsageFragment.rawModelID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexModelsAnalyticsModels.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e710559a04724553060932e23eed2e08f3b9fa9992573912d0f5bfed54ba4709"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexModelsRow.id: \u0060CodexModelsRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexModelsAnalyticsModels.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de0c49d59de7a51fbf586369e044ec529a724cf940f678dee38d23464edfe5f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexModelsAnalyticsSnapshot.scopeID: \u0060CodexModelsAnalyticsSnapshot.scopeID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexModelsAnalyticsModels.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb509f544ec181997d74ff082c6967fdecb41ae668a26f968c1947c13c91d8f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexModelsLegacyModelBaseline.modelID: \u0060CodexModelsLegacyModelBaseline.modelID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexModelsAnalyticsModels.swift"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffca858270041a6cc22ecac1587cdeffaa20910649ff1844c0556f2f8829803f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexModelsLegacyBaseline.topModelID: \u0060CodexModelsLegacyBaseline.topModelID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexModelsAnalyticsModels.swift"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cc7789c6b39fc9f2ea94611e28a2d1f9b5bdcced8a2b1832f40682d5e33b35"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexModelsAnalyticsRequest.scopeID: \u0060CodexModelsAnalyticsRequest.scopeID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexModelsAnalyticsModels.swift"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"b244f39e832b8b2475a41fff882533fd4d42d9a20115f7c50f4ea79e6476e2cc"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Assignment.projectId: \u0060Assignment.projectId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexProjectlessWorkspaceMetadata.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2002f8ba2b22c2d72008ab4ee21a9c9cebc09ea296232f997e82d582ce3cc93b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexThreadCatalogEntry.id: \u0060CodexThreadCatalogEntry.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexThreadCatalogReader.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a6397f78ce81d27f3fc7fb9d534e7dcadb92f70a750cb07e6e64fc1568304a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SessionIndexEntry.id: \u0060SessionIndexEntry.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexThreadMetadataReader.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a0022beaa0612fcfc6b7449109824104b0de8ab3b4add8cee0af574a324a8c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexWorkspaceUsageFingerprintPayload.sessionID: \u0060CodexWorkspaceUsageFingerprintPayload.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexWorkspaceUsageFingerprint.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7d07628a8b6d00990c0f084c019dcd5b313ee0430948bb3654f9de6faca4c6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexWorkspaceUsageFingerprintPayload.forkedFromID: \u0060CodexWorkspaceUsageFingerprintPayload.forkedFromID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexWorkspaceUsageFingerprint.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5290de4dc6988d33e7da7c5f9c135151c215c3ffcee5bc2be70499b6789ec970"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RolloutSourceIdentity.sessionID: \u0060RolloutSourceIdentity.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d1b1a07412568f87b7bb83458e1b551b5aae1db937afee811d4a3245368115"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: QuotaSnapshot.quotaId: \u0060QuotaSnapshot.quotaId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CopilotUsageModels.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ae7dbd38117e6abe781fd2931a83b602f7706b2ee03e7403af1519e42d54d9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageProjectBreakdown.projectRowID: \u0060CostUsageProjectBreakdown.projectRowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"803345c0c5de4616c3014fbdae25a6a0b59a2e15c31f3e647d949389629a8ebf"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageProjectSourceBreakdown.sourceRowID: \u0060CostUsageProjectSourceBreakdown.sourceRowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageModels.swift"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"474e418090772b663298a77b6b86e5376513a6c27aae36a476a2b636a27ddceb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageSessionBreakdown.sessionID: \u0060CostUsageSessionBreakdown.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageSessionBreakdown.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bcd27d258de67754f6ad54885df52ca99fcab52fe4018069f6d66a05e74bba"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageSessionBreakdown.id: \u0060CostUsageSessionBreakdown.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageSessionBreakdown.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"963535cd7cc6fb3945a5adf5bf38934fcd0fcdef69b0d7f75d31bdc7a76183eb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageSessionRequest.id: \u0060CostUsageSessionRequest.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageSessionTurn.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"abac2df65e58a4a1da679277756e95d8dadbb93e90eb3fef00ea945bd9f1363d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageSessionTurn.turnID: \u0060CostUsageSessionTurn.turnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageSessionTurn.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55c20865e12966042860133dff2f818d0d4e52ca3a2f62199234aeaacd7a023"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageSessionTurn.id: \u0060CostUsageSessionTurn.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CostUsageSessionTurn.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2268165e706b198aadf999a22909eb4e8f28ab0e7d6ea87cd7cedf873c107a96"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CreditEvent.id: \u0060CreditEvent.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CreditsModels.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"342f4d2615282e52fc707030c07cc0f6d0f2be1a4e52a87e32d8e8bd415baaf4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexRateLimitResetCredit.id: \u0060CodexRateLimitResetCredit.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CreditsModels.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01978681f79719ca92b9554fcfc7dca813d1af1303b2e38f29bb8a0d52a561d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenAIDashboardSnapshot.accountID: \u0060OpenAIDashboardSnapshot.accountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIDashboardModels.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70a22b12149c251b174ccfa871abf6e2cd9259730fc3be8c54c19b179cff1a0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PiFamilySessionRecord.id: \u0060PiFamilySessionRecord.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4737ac1a131757c2da60720d21c91a8ba4d27baf9fb97c02df859cb552f5b59a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PiSessionFileUsage.sessionID: \u0060PiSessionFileUsage.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostCache.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d98e318e8a94767fe268e9eca1207d04901f48c19169ac8df7e1835da8d6b22"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ParseResult.sessionID: \u0060ParseResult.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"770eb907b69df14164ef72ad58739bed81c2bc7bffdd247100dc36ae9fccc1f6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderAccountIdentity.opaqueID: \u0060ProviderAccountIdentity.opaqueID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderAccountSnapshot.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bcb04ca8724bdb52b16cdcb438f31ffa05848441daab5f30e8f6e95db946ee"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Row.id: \u0060Row.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderDetailSection.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"76147a94f10887f796f5ad392f6183fd3d205af42c02f76da765ffe52f5c5e1b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderIdentitySnapshot.accountID: \u0060ProviderIdentitySnapshot.accountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderIdentitySnapshot.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"337d23a6107935c69f0ee6e4554e9a5142178c8391ab56a4e5a68f729dcadd12"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderIdentitySnapshot.widgetAccountOwnerID: \u0060ProviderIdentitySnapshot.widgetAccountOwnerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderIdentitySnapshot.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1937d430a81eff6b1e72368f7126eb40c95e4a55bd4894f3e1a507a79f3498bb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderMenuBarItem.windowID: \u0060ProviderMenuBarItem.windowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderMenuBarItem.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bf2c5c7ab07bdd2680b23b6faeec094d4bda281a0a38b47164cd3ffc49395d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderStatusComponent.id: \u0060ProviderStatusComponent.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderStatus.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5813d5f6673dc283f60bb916c5d48433e5116923cdfe5486c2047bf39d42a5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GoogleWorkspaceProduct.id: \u0060GoogleWorkspaceProduct.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderStatusFetcher.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"2445bf553d0b726c454e0a667de26f888b7869ff86ec2401d41faa2db4380373"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Component.id: \u0060Component.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderStorageFootprint.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e81bb0c0596c2a03c517b10c3ef2af8379a4c2a44af47e052ba4032c9efda1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderStorageRecommendation.id: \u0060ProviderStorageRecommendation.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderStorageFootprint.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e0cefc48a91919df52078c832b54fc3630994a2531ab034683e692e79bed76"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderThroughputSnapshot.projectID: \u0060ProviderThroughputSnapshot.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderThroughputSnapshot.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1baad9874f3d85ff98ebbc5a0fc4b9907fdb1c3d461028d4461d68b5ae032aa"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RemoteSessionHostResult.id: \u0060RemoteSessionHostResult.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/RemoteSessionFetcher.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f9606857a824cceacc5ed216f32809f29e353508d8f432db8f3e13a795ad1f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SessionToolActivitySource.sessionID: \u0060SessionToolActivitySource.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/SessionToolActivity.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e68cfde5dfe59f649bc684690de51a84739df2d58b9e7d8bc81485a24400a8e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Identity.threadID: \u0060Identity.threadID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/SessionToolActivity.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc835ea132b3307087224835792be70b0fe080d449f7134c7d78e61aae2448e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Identity.turnID: \u0060Identity.turnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/SessionToolActivity.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05095abe230562b65b2188b2b68176259950047b0f44a20b4b0de4e2dcdedce"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Identity.itemID: \u0060Identity.itemID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/SessionToolActivity.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"378f959b99ded8224b27b6ecf8ae3fb93aa75bd70c71bb44854c43b1ba1f7dbc"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderTokenAccount.id: \u0060ProviderTokenAccount.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/TokenAccounts.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"133c1794a63c2e2b37bffcea3bfbc294763cc407366150dd294bc4aab020c7a6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderTokenAccount.organizationID: \u0060ProviderTokenAccount.organizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/TokenAccounts.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dcf70e91d2efdfcdf015b2b1e3f72954f5812d1ccaa913e52146a2f5b62cac"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderTokenAccount.workspaceID: \u0060ProviderTokenAccount.workspaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/TokenAccounts.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d1109bc15d571969688aa0068092655a950621c936914124c684bbb4cb16ef"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderTokenAccount.sanitizedOrganizationID: \u0060ProviderTokenAccount.sanitizedOrganizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/TokenAccounts.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb1d2a934f780608d89764a96212187583f37258dc3b9a8ca39223e537e0be9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderTokenAccount.sanitizedWorkspaceID: \u0060ProviderTokenAccount.sanitizedWorkspaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/TokenAccounts.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7ed430b225db0eb3c9ff6ebee276e6872f673677873f7f5a7de637fc31f15f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NamedRateWindow.id: \u0060NamedRateWindow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/UsageFetcher.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c17e9fd75b1bf0c081030710411ac05247f7692836c8b0cb75eed60e1ea36d7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RPCRateLimitSnapshot.limitId: \u0060RPCRateLimitSnapshot.limitId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/UsageFetcher.swift"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1840196d90d244e1662b942f838549e5f881c856f63f5e72bea778e2ada0c7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexRPCClient.nextID: \u0060CodexRPCClient.nextID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/UsageFetcher.swift"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb6e4d5adc289adaf897c918f461af395afc3ef222690e2eaa06689bf1811aa"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WidgetUsageRowSnapshot.id: \u0060WidgetUsageRowSnapshot.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/WidgetSnapshot.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c684f768208bdf65d5573a944873860b848ba6b586c8403e6901fde32de89e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderConfig.workspaceID: \u0060ProviderConfig.workspaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Config/CodexBarConfig.swift"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d0ce1d38c4b0bffcf2825d8929222278e7373a5bd7a78f50ef266d05f1874e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderConfig.sanitizedWorkspaceID: \u0060ProviderConfig.sanitizedWorkspaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Config/CodexBarConfig.swift"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"68265821068525eb3e85bd2c0b43bd95471b1d976f8abf9018657eab1a94734f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderConfig.browserID: \u0060ProviderConfig.browserID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Config/CodexBarConfig.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef6142222a6ee20fc921719506f1bad864ca3634c6abb9966749488c6a4214e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderConfig.browserProfileID: \u0060ProviderConfig.browserProfileID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Config/CodexBarConfig.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd2b25745aab207b204545b36b01fc15e0e5f0c89383d326c916a441df92afc"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderConfig.deepseekProfileID: \u0060ProviderConfig.deepseekProfileID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Config/CodexBarConfig.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6a39076205f9eca52e5cf85922c228787ab84887f1c0e1fcd5e5cc7b6701eb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderConfig.sanitizedDeepSeekProfileID: \u0060ProviderConfig.sanitizedDeepSeekProfileID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Config/CodexBarConfig.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"de26ce56c045b6c5c24362ec1d3c4ded0fe7ece2f9d24d51095906f8ba6c271c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: HookRule.id: \u0060HookRule.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Hooks/HookRule.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"786216870946a5939496cfac95ab64f805110e682d7ebda2a4723639d8203b27"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: HookQuotaLaneKey.windowID: \u0060HookQuotaLaneKey.windowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Hooks/HookTransitionDetector.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ea32c9835e74bcc9c93478ff3ded7b5dd4219ee499aa8854e48f6d49c53bff"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DashboardSnapshotComponents.accountID: \u0060DashboardSnapshotComponents.accountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31d2db1bda5621c3d866883329cabb9bef64aebbd349a4c6f7d5d241c5a63d4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DashboardScrapeData.accountID: \u0060DashboardScrapeData.accountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardFetcher.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c7a1a386913620c4f90fa6238f17dc88bdda15ddceae094ed6b0e04aef5c86"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderBrowserProfile.browserID: \u0060ProviderBrowserProfile.browserID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderBrowserProfile.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b65cdbaaed8b6068bd63d27d9cad64fc302b187bf4fe73b4196c80bf058353"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderBrowserProfile.profileID: \u0060ProviderBrowserProfile.profileID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderBrowserProfile.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b8585548a7d1754e53b92677c6264dddc6c175f124cf0d5a0ea05bb4d016fb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderPluginCookieSession.id: \u0060ProviderPluginCookieSession.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginCookieBroker.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8bd0449d1b0657a226e16696707322246e0eab1a58721184991ac09fd849d2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderPluginCookieTransport.id: \u0060ProviderPluginCookieTransport.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginCookieJar.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccb0c3460006c503cb4ce2d6c2acb86059db1ac605885e51f81c50557a519a6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CookieRedirectDelegate.id: \u0060CookieRedirectDelegate.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginCookieJar.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d02862dce178facac2219031ac7b028dcb50a30a3e647547b182d7cec407b6e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ScriptFetchStrategy.id: \u0060ScriptFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ScriptFetchStrategy.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc88340803bf8f350564149ca66fda2c786944fa23a7bc34dd7dea63ab9a0d2a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: APITokenFetchStrategy.id: \u0060APITokenFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/APITokenFetchStrategy.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"76533da00bdcc7322479965832bc46ebe317771df104f5b87a5fe091d1a6a9be"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderDiagnosticFetchAttempt.strategyID: \u0060ProviderDiagnosticFetchAttempt.strategyID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderDiagnosticExport.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e082cff16e9d3a3eb8932e574ce6e00d0a6d52d87104fee2a6f129352750eba"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderFetchContext.selectedTokenAccountID: \u0060ProviderFetchContext.selectedTokenAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderFetchPlan.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8e934d32d92c61f532915d4daab97639873f103c4fe2ca05123550e8da4f92"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderFetchContext.codexWorkspaceID: \u0060ProviderFetchContext.codexWorkspaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderFetchPlan.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c6862568428efff550c9028b064396c554ccdebeb6d18653b9af11fd0d8a6b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderFetchResult.strategyID: \u0060ProviderFetchResult.strategyID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderFetchPlan.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1051aa7ed28e4934d7ceac516d267f81813578344c793db33689e862c8d1daf6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderFetchAttempt.strategyID: \u0060ProviderFetchAttempt.strategyID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderFetchPlan.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"befbbf3cddc06aa9d2b31cc36aa598db299d087ef5ab0ef94c9a74eaf5818b66"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Input.id: \u0060Input.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderSetup.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eab669cf702ff0f1a2355feb020d48c13e9a5d5f7f22b177ea53b78b9616327"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Route.id: \u0060Route.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderSetup.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"189ca8c186a6babe3accc5872f320490a038f91ae199cb6605746e4f64c0ddac"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OptionalCapability.id: \u0060OptionalCapability.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderSetup.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"065e24f170413e02d48d7eee3f48f82cbf9557180edd3242266ddffcbe7c969f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderIconWindowContext.secondaryOverrideWindowID: \u0060ProviderIconWindowContext.secondaryOverrideWindowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/ProviderUsagePresentation.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec227d9b15622dc839d676b57467f02e8061543ec3294e1f5e2399acaceddd1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderMetadata.statusWorkspaceProductID: \u0060ProviderMetadata.statusWorkspaceProductID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Providers.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e281bb9e0391f8930e90af2e014214a9d345be9002432a17a232057466fd7e5e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderIntentPayload.workspaceID: \u0060ProviderIntentPayload.workspaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Sync/SyncModels.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09fda785f99999423aed2432ef343422229874d9aef57b7fdbca9c43a00ef7e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProviderIntentPayload.deepseekProfileID: \u0060ProviderIntentPayload.deepseekProfileID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Sync/SyncModels.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d5ba407f7cd436c59295fd4482fd902f4008041a28c6dd02227311de20f046"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DeviceSyncPayload.deviceID: \u0060DeviceSyncPayload.deviceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Sync/SyncModels.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"791ec20daddeea1a6ff369aa50cd026d60ce6bca309191198f8b0f964d26062f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AccountSnapshotSyncPayload.deviceID: \u0060AccountSnapshotSyncPayload.deviceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Sync/SyncModels.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b50387c48895cc02a1147d159aa53302308d4eea336751f6683ede0e438aee"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AlibabaCodingPlanWebFetchStrategy.id: \u0060AlibabaCodingPlanWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b7740c4e6d65a4972bf293aec21a46aff67b80fa12f46da267f1ec91de2338"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AlibabaCodingPlanAPIFetchStrategy.id: \u0060AlibabaCodingPlanAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19c0cde692ceeee777b6b1c5926fd538e92fba1aad6a8f843ae586dd124c4de"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Seat.seatID: \u0060Seat.seatID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanCLIUsageFetcher.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cdb8f16f1a311fb87ee34bea13f0a93b308b3d6da27b550ef3e88c0941fa08"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AlibabaTokenPlanCLIFetchStrategy.id: \u0060AlibabaTokenPlanCLIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c78f3d2b4103effd47ce80404bb7bb3196db9717c22c60b09ced6cb9335446"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AlibabaTokenPlanWebFetchStrategy.id: \u0060AlibabaTokenPlanWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4454a1d18dfb6743c2bf2bc5408871d2afa6c35369a600be5baf13e73aef981d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AmpCLIFetchStrategy.id: \u0060AmpCLIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"81aa49bb07f4507cb6fe9275a4b9374691d67a588a341e73d25bdc5210be73a7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AmpAPIFetchStrategy.id: \u0060AmpAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab316b8b83fd497b5ebd6968c39049678ab90956962559e04a81e3d87e515d7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AmpStatusFetchStrategy.id: \u0060AmpStatusFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpProviderDescriptor.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e426e782e1ac358f5699ee9a43ca751c73bddba02a5a1e018df690df81d718"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AntigravityProcessIdentityProvider.currentUserID: \u0060AntigravityProcessIdentityProvider.currentUserID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea140919119772e863fa1ef5d4adb2bf0c42a085f38eebc9114095fe0741969"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AntigravityOAuthCredentials.projectID: \u0060AntigravityOAuthCredentials.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"352ddbc1b4ef15f0b1f37043cc980f430419ed1ee0e3432daa71cba6fc33f9a4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AntigravityOAuthCredentials.clientID: \u0060AntigravityOAuthCredentials.clientID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a4d4293466b4dc4a87f04aea20c49c03448ad9dee54d962186f1e5d42403c7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AntigravityOAuthClient.clientID: \u0060AntigravityOAuthClient.clientID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityOAuthCredentialsStore.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8edc35df51d4b0920e08eaed171887a2b06a298886911c3be22a089caae5886"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ParsedUsage.responseID: \u0060ParsedUsage.responseID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProtoReader.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"daff08900320192ff961f2d6234b9a84a830532614e8ad8962eafe8e5c47fa32"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ParsedUsage.modelID: \u0060ParsedUsage.modelID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProtoReader.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"34397f3fe4c011585f11af356db193b1e7e8fcc01772b1613ab99ab9219381f4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ParsedUsage.botID: \u0060ParsedUsage.botID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProtoReader.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c949745693e8d8b2463c5e1d643bd00c5b11c280eefc2af9fef8531133d68ba9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ParsedTurn.stepUUID: \u0060ParsedTurn.stepUUID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProtoReader.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed5261f5f1c2b1a2e495e7b7ecd1917b9640bca5ada355529e51a88d10a1d6a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: StepMetadata.stepUUID: \u0060StepMetadata.stepUUID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProtoReader.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"569fa0dfc81bb287bed2b5fb4346b329ff5484dc3df5b88fa9e8eff0b624a9c1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: StepMetadata.botID: \u0060StepMetadata.botID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProtoReader.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d386b1a28fb944c0f7a837ce6770112790066f88aa12a9c9ab9a5de30be0eed7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AntigravityStatusFetchStrategy.id: \u0060AntigravityStatusFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"06491069e9b1367f13c926f8c222676a04d724e39489253ca8fa3f54ff239c62"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AntigravityCLIHTTPSFetchStrategy.id: \u0060AntigravityCLIHTTPSFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc284436fb93b166c321385fa978ecf67d1cf6e7406338b66213a8b46ad30e9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AntigravityOAuthFetchStrategy.id: \u0060AntigravityOAuthFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07014a6c56272669b8248f4aba4936257a99aff8fe1f6f4f11c9bf50e0070d3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AntigravityOfflineFetchStrategy.id: \u0060AntigravityOfflineFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cf2a5d13bedeba431213805d417f9ec3fa03913099c15aecb8192fb7705c9a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AntigravityQuotaSummaryBucket.bucketId: \u0060AntigravityQuotaSummaryBucket.bucketId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityQuotaSummaryParser.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ce7f355ed61e3bed0da890dcd7ee34a463b064224f7879209a56150333d7da"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: QuotaSummaryBucketPayload.bucketId: \u0060QuotaSummaryBucketPayload.bucketId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityQuotaSummaryParser.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35255b5ce4f43d6f97f2157d1f49c507cbc61f80c22ef9166a25a26f983e830"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: QuotaSummaryBucketPayload.id: \u0060QuotaSummaryBucketPayload.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityQuotaSummaryParser.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"144f69d6e53c4e31cc7062ff08216509c065786bab016426e7dd1543826c5bc4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodeAssistResponse.projectID: \u0060CodeAssistResponse.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"342d4e9bf1bbd6280921acb64940a4775ec0593af1b2f252bb90d7c46fe786d1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TierInfo.id: \u0060TierInfo.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6c11740ab8a9e956b5826d28076cd044bccc1241ccf822ae633028e496f0f3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AllowedTier.id: \u0060AllowedTier.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0319c03a5bd1abe48cff972770cdaf04b7065daacf654a8dcc38d16b81a50e4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OnboardResponse.projectID: \u0060OnboardResponse.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb16adbdb9b50f0eb695e85bea358d9b20d3156615e66c4df25461e849c0f9f1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RetrieveUserQuotaBucket.modelId: \u0060RetrieveUserQuotaBucket.modelId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5342e1120397cc6a094b33f9de5ee9ca32c4231e102be60b0c90aa92653364"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: UserTier.id: \u0060UserTier.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe\u002BResponseModels.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ae8d999900d2185b28b6f13a73f0287abf8241f4332f2b929677c0c19c33f8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AntigravityModelQuota.modelId: \u0060AntigravityModelQuota.modelId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"797b0a38348a76da783bb9fdc7bfc3cd06f06d8be64ca189b70eea97e3f17556"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AugmentCLIFetchStrategy.id: \u0060AugmentCLIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7c4eeb34a406e81861f39cd8669352f5ab406e31014de0615aab87650f0fb3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AugmentStatusFetchStrategy.id: \u0060AugmentStatusFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Augment/AugmentProviderDescriptor.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b862af26aa83254719271ba20f86030d95e5c446229d0e70d2fdb10976ac1a2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AzureOpenAIAPIFetchStrategy.id: \u0060AzureOpenAIAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/AzureOpenAI/AzureOpenAIProviderDescriptor.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"954804d143d3b1b1cf3ebd5a80652fe1575ee59acbce946d81c80301401ef1da"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Credentials.accessKeyID: \u0060Credentials.accessKeyID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockAWSSigner.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b546783115f4dad9051950eafa6cc5c725ae0aba51c068272302edf361ea6ccb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: BedrockAPIFetchStrategy.id: \u0060BedrockAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockProviderDescriptor.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"193ba4fcdecf5ad506958aa40d60361f164196f77329d048a6cd9836d9295264"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Key.accessKeyID: \u0060Key.accessKeyID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Bedrock/BedrockUsageStats.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2006b4e23c4ea812a9c586d3ff8f84631f78cd2bb17d610bedb1cc6bf513f32"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostResult.workspaceID: \u0060CostResult.workspaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageFetcher.swift"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"de69724a859d98b2b88546c1ae7fd5473c88d6d284c16483d6e017f9705a9034"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DailyBucket.id: \u0060DailyBucket.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86cbe09fc85191a7fdfe52aa2ce115240798bc5bdf07775d43d1e4bc08d4215"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostBreakdown.id: \u0060CostBreakdown.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"951bf31dadf4c7a36454d7e40653c7fb74b04cd5c00eea8931365d248535f703"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelBreakdown.id: \u0060ModelBreakdown.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeAdminAPIUsageSnapshot.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccca80616945464dcd0368685a65fecd5b732058d4512af1dc920ec8d8a426e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeCLISession.fallbackProbeSessionID: \u0060ClaudeCLISession.fallbackProbeSessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"41828fa3a4f8a5ea2add29ebea6cce1f9eba6ee67dbc31e76a0bba6ca998fc22"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeCloudCreditsSnapshot.detailRowID: \u0060ClaudeCloudCreditsSnapshot.detailRowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCloudCreditsSnapshot.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0e96fbae0ceb8859b5d038c19bb94d01b2a4a7e2480aaf158dd247aea6a1af"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudePlannedFetchStrategy.id: \u0060ClaudePlannedFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ec92dceab122e62c6ffaf404d678c796fc2f1deba173b975a19d0264c1f2b8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeAdminAPIFetchStrategy.id: \u0060ClaudeAdminAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"3794d0d9b3b8057bf2f50182387d29f7d491e50f62fad037ea54586b15d458a0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeOAuthFetchStrategy.id: \u0060ClaudeOAuthFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d82b5bd1ca4ab43bdb7421ef848d11a4e1694dee0cd1a6c8d567c1ee8058bd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeWebFetchStrategy.id: \u0060ClaudeWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"40eae1e486115834c2456be026598bbf38b28742ae3ef7e732228e976f84bb80"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeCLIFetchStrategy.id: \u0060ClaudeCLIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"baec8ba08275c9cf9595da6cecf3055166887e5c0087959f0cc6569229682f13"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeProviderSettings.organizationID: \u0060ClaudeProviderSettings.organizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderSettings.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abe1f60d2b02e237626d35d993849c123dd9a710d0088741b31a0464d78998a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Limit.modelID: \u0060Limit.modelID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeScopedWeeklyLimitMapper.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8428528450e3141afcf8ad3495814736260b356567ecc1efb9f47505892926a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeStatusProbe.modelBreakdownDetailRowID: \u0060ClaudeStatusProbe.modelBreakdownDetailRowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"8607f60026095a9f58fd18f604b2a94db2ee15a9639b117f6f8475c484ec8c10"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeUsageSnapshot.accountID: \u0060ClaudeUsageSnapshot.accountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3a3fd3b659f58e7e421dae7b5f0a5fc56fff805319fd8b55d7a7c4b3183179"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeUsageFetcher.webOrganizationID: \u0060ClaudeUsageFetcher.webOrganizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a6332bf360a552a6c1c65b05e63a4ed9a043a0e6384c05c804b5c2564fb6b4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodeRabbitCLIFetchStrategy.id: \u0060CodeRabbitCLIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/CodeRabbit/CodeRabbitProviderDescriptor.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9f74cc757d3d2a44e536a653cb45d9d191539013f08c59eb8e77717a5c15e8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodebuffAPIFetchStrategy.id: \u0060CodebuffAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codebuff/CodebuffProviderDescriptor.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1319d7c0b46553522c3c056879d4548b5298a9edae138ad2299a9a5ef85938a1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CredentialsProfile.fingerprintId: \u0060CredentialsProfile.fingerprintId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codebuff/CodebuffSettingsReader.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6423be253451d382c324a4e7baf7bd510fe3de528c88c79452fcbacfd32032"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PreparedIdentity.providerAccountID: \u0060PreparedIdentity.providerAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexAccountPromotionPreparation.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"01401e7d8051c064fabe48f94da08838b5c113e410922c39f2038fe50d75e317"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PreparedIdentity.workspaceAccountID: \u0060PreparedIdentity.workspaceAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexAccountPromotionPreparation.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c54b90ff39a13ee40049c51c0d5bf13fe833d7e24ed49bf01c562d25488c1d6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexAccountPromotionResult.targetManagedAccountID: \u0060CodexAccountPromotionResult.targetManagedAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexAccountPromotionTransaction.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fafba4ca2135e9e2e6ff4cc7c7a77af7d6671a208468afeabb781fb39868345"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AccountIdentity.id: \u0060AccountIdentity.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexAccountReconciliation.swift"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"49289803bd621b623e709715e4e5be75902fea6a93a73160df9f6e4abbb44689"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AccountIdentity.providerAccountID: \u0060AccountIdentity.providerAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexAccountReconciliation.swift"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"13321b6f20aaa9c07a4fd2efd7a9e4454347a5b73984cc5017688b31c68d1383"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AccountIdentity.workspaceAccountID: \u0060AccountIdentity.workspaceAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexAccountReconciliation.swift"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"4978b00308360f7133082022d48a9d88375c75a542f052b59efe291a28ae8ca9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexDashboardOwnershipProofContext.dashboardAccountID: \u0060CodexDashboardOwnershipProofContext.dashboardAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexDashboardAuthority.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbf2791860d66c1428e8e905438bcf281961ad702dabc82952b5fdc2f6eed17"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexOpenAIWorkspaceIdentity.workspaceAccountID: \u0060CodexOpenAIWorkspaceIdentity.workspaceAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexOpenAIWorkspaceResolver.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1ace7f334bb2837b60c28e982f8962f451aebd33e52e212380439c73865547"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AccountItem.id: \u0060AccountItem.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexOpenAIWorkspaceResolver.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aef216d7ce71250f1cb713bb4a91dd6764eb07e2a3cd9ff249f4d7544d3ca39"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexCLIUsageStrategy.id: \u0060CodexCLIUsageStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3535b81270b8862caeaf88a83362da5a6d0cab4c6b4be8c8ea6d1b97c98d3670"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexOAuthNativeRefreshCLIStrategy.id: \u0060CodexOAuthNativeRefreshCLIStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7ef4c2510bf9dafd077e2fbebdb67111f72b8a211e552d2860ed47b45fdd7e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexOAuthFetchStrategy.id: \u0060CodexOAuthFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"9deb36092890263f26a35c9584844fb9363366aafffcfe8e308ec50f8ef14bcb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexProviderSettings.managedWorkspaceAccountID: \u0060CodexProviderSettings.managedWorkspaceAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexProviderSettings.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0f731768f76047f82c926add1e42e95e4fc33e1e889aa18417a6511a0938b3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexRequestRecord.id: \u0060CodexRequestRecord.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexRequestLedger.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7d4b993adfd9757617a9c52baef9581802b2058c04dcbc7d098f6bd473be99"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ObservedSystemCodexAccount.workspaceAccountID: \u0060ObservedSystemCodexAccount.workspaceAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexSystemAccountObserver.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"db537a24c1fc7cbce9c78985635d730f78726ad0d91c52673c36706fa4851340"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexVisibleAccount.id: \u0060CodexVisibleAccount.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"562876948f300d1323c7145c915ed66c1263ac847bcf12b3729166361322c6bb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexVisibleAccount.workspaceAccountID: \u0060CodexVisibleAccount.workspaceAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde52b6e7f1cdab98b5ce64f73f4260a0c0fffdb482674386200c5524be6dc04"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexVisibleAccount.storedAccountID: \u0060CodexVisibleAccount.storedAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53d518002930daf7b502be788f117cff44bd2e9b6e775a3da1b9ad0c37ecfba"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexVisibleAccountProjection.activeVisibleAccountID: \u0060CodexVisibleAccountProjection.activeVisibleAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"72637c4e6312abc9c7db72880867b41c904c0c783d9f2aea5f788f24021dc185"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexVisibleAccountProjection.liveVisibleAccountID: \u0060CodexVisibleAccountProjection.liveVisibleAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f38a58a2fa8adee70f59d363a40f5c7d3084d2175aebf9ae7e640999c53f30c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: VisibleAccountDraft.workspaceAccountID: \u0060VisibleAccountDraft.workspaceAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb96674a5d4b03c42a1434fde66f4a78dc578957311833da7e64f1dbe35385d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: VisibleAccountDraft.storedAccountID: \u0060VisibleAccountDraft.storedAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexVisibleAccountProjection.swift"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"3945c574f1c9d109c874aa4d26f12b60bdc4da476bf6b7d5d36d9854fc16b330"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexWebDashboardStrategy.id: \u0060CodexWebDashboardStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexWebDashboardStrategy.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ce084194b74b2984737d9b8cb5a27ba5b3e95d04454b74370bd1b7e3fccb55"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NativeCodexAccessSnapshot.nativeDefaultAccountID: \u0060NativeCodexAccessSnapshot.nativeDefaultAccountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/ManagedCodexAccountCredentialResolver.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7183f03f49e613cb46f1dd92dd5fdf0fa4cb3fdefde0c4c1b8c88adbb32df6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Plan.id: \u0060Plan.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/CommandCode/CommandCodePlanCatalog.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8e994f1d1938d9d90485d5c16e5096927befe7600bb1402c54edfc47559499"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CommandCodeWebFetchStrategy.id: \u0060CommandCodeWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/CommandCode/CommandCodeProviderDescriptor.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f4fa23abf889c5acf08a7a95327c7b293a63141922194a3286d429fe95a15a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SubscriptionPayload.planID: \u0060SubscriptionPayload.planID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edbbf046e7f795a1bdb1b21d0807c3d1872b42954812c798c831bb2520a01c0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CopilotBudgetWebFetcher.copilotProductID: \u0060CopilotBudgetWebFetcher.copilotProductID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"855e4d97cb3bc1972f7e73048dd7c15e333a3054a7c859245b9679774cbd8513"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Budget.id: \u0060Budget.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4497c4e3fbabfc70b1b90a6c06b7bbdca0161e05724d306c5c8dd015ad9a9b7f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GitHubWebIdentity.id: \u0060GitHubWebIdentity.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotBudgetWebFetcher.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9880223a86a72c3fc7d3efef8d68200a975286cab036af4b58c14ec7ef643893"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CopilotDeviceFlow.clientID: \u0060CopilotDeviceFlow.clientID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotDeviceFlow.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd5febfc5949aa3a07eceb67fc94c8d0102d49d67ab86ae07613ce8f66752d8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CopilotAPIFetchStrategy.id: \u0060CopilotAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotProviderDescriptor.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1101dce69b8f0e2496cf38e415160846d9da24642562e7acd15eca2074d8f28b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GitHubUserIdentity.id: \u0060GitHubUserIdentity.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Copilot/CopilotUsageFetcher.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcaa23820e2957b634bfb4d9ed93bec5b46bfd1ca56b4af42c927b6c7d3c134c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CursorSessionIdentity.requestUsageUserID: \u0060CursorSessionIdentity.requestUsageUserID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorAppAuth.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16747a2209c6cc54616442f1d7bf4813afb9ef4718e48386f704686fb9176f3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CursorStatusFetchStrategy.id: \u0060CursorStatusFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorProviderDescriptor.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4f0234bb42d21c4e3a12e8952369335a1d5a6c4624fe5127915529c9213b1e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CursorSandUsageStatus.extraWindowID: \u0060CursorSandUsageStatus.extraWindowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorSandUsage.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8913cf787732c5a35bc183153a87c7188d4e6b7d619f019e0d145970f6604ba7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CursorStatusSnapshot.accountID: \u0060CursorStatusSnapshot.accountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2517f40f07eb90ab36402231fde9174d0b8382b66b1a4cfd55f72030ac264d6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Team.id: \u0060Team.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorTeamSpend.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"344132a18d7c2dd50c7203df97f10dfed54f9c8a56dade7307401c592cada73b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DeepSeekPlatformBalanceOwner.profileID: \u0060DeepSeekPlatformBalanceOwner.profileID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekPlatformBalanceOwner.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bec56292b57528fed64969509f47c3c4f937d5d388f7cb9276a70fecd05c29"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TokenInfo.id: \u0060TokenInfo.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekPlatformTokenImporter.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c7eafca4346c5bccd88f4ea45934a62ae5d7924776efbab8d27db83645a320"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DeepSeekAPIFetchStrategy.id: \u0060DeepSeekAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekProviderDescriptor.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f724ef1b1f286a446f42ef889307754cda912b39474a9745371b8adbf42c72"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DeepSeekPlatformFetchStrategy.id: \u0060DeepSeekPlatformFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekProviderDescriptor.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f69f9154d23d3ecb7babd2a8f881eb4a320d77a8e471eb1a7cfd2eb920e350"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProfileSelection.profileID: \u0060ProfileSelection.profileID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekSettingsReader.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5bc2c0e70d9fd72c2f4fece6557198b131988f33b7330dbea02383341440e0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ByAPIKeyIdentity.trackingID: \u0060ByAPIKeyIdentity.trackingID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd7f25ab3668ec1b7f69ee1760f4ae512ba0f3748ff94e7892bb29d9df3b270"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ByAPIKeyIdentity.id: \u0060ByAPIKeyIdentity.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageCostParser.swift"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"46127ead31cab9097908ac3ebd0aaa138a4c034259157471eeb5a9682397da07"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DeepSeekPlatformProfile.id: \u0060DeepSeekPlatformProfile.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/DeepSeek/DeepSeekUsageFetcher.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"666b815dd0c1332bcdce4dae192432caaf07dbc2babbe7f47c23a5bb0479c949"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DevinWebFetchStrategy.id: \u0060DevinWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Devin/DevinProviderDescriptor.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e890aba0e5325be102c5a829a65cc1ed40c611492bceccb88a4f51e20f56213a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SessionInfo.internalOrganizationID: \u0060SessionInfo.internalOrganizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Devin/DevinSessionImporter.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29c2129846edc69862f661a8a79c63b50b04dc9dad5a26bd9c5039a9df99dbf"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OrganizationCandidate.internalOrganizationID: \u0060OrganizationCandidate.internalOrganizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Devin/DevinSessionImporter.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7568726ddd718ef25f97df4f91b8cae3a477cfe2a443eb597fdcfbc395b1ee5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RequestAuth.internalOrganizationID: \u0060RequestAuth.internalOrganizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Devin/DevinUsageFetcher.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86a3210c9904e4a400b60144019b0e95f5500a3570bb54b87be3073d824bcc8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DoubaoCLIFetchStrategy.id: \u0060DoubaoCLIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Doubao/DoubaoProviderDescriptor.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb828a909557e1969a6b7d69cb0f63199bcd6efcdca5c3b2b6667e9d76519ea3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DoubaoAPIFetchStrategy.id: \u0060DoubaoAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Doubao/DoubaoProviderDescriptor.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46fd45ad31940d780f5a85e9476576521ce1f2d52838c994b3bd14f06701b58"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DoubaoCodingPlanCredentials.accessKeyID: \u0060DoubaoCodingPlanCredentials.accessKeyID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Doubao/DoubaoVolcengineSigner.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d3a2a423fcf6020db17cdfad992aa663e43048c5ec8a1ebd3221ebd5246402"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TokenInfo.organizationID: \u0060TokenInfo.organizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryLocalStorageImporter.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c1cdba715f6f42de5240cbd64b532e0889c2d44ff9f5f2539d170a60dc61f3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WorkOSTokenMatch.organizationID: \u0060WorkOSTokenMatch.organizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryLocalStorageImporter.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacc59c12586792b1ffd4062976c0b44b9dc321d9a184276d3cf5c33703f3830"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FactoryAPIFetchStrategy.id: \u0060FactoryAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8239a6e349bbd4d708239aeb86dd67bff240d86f312c155633a1dc2e1b7f28b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FactoryStatusFetchStrategy.id: \u0060FactoryStatusFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3bb52bdfad4bbc94b2a2eba3ea5e42dba9935490eb1bec682e2aaf0a034849"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FactoryUserProfile.id: \u0060FactoryUserProfile.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f903bcdd7db5f9f0f0274ec87c7cac35cb3009693be109b8de916c6deb322da7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FactoryOrganization.id: \u0060FactoryOrganization.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"43206302c0d328e9e769152058a5422e4f1b7f2161d142fb3c03c6e12019d214"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FactoryPlan.id: \u0060FactoryPlan.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbd158f86714e675bf68af335e330084a524042e66c0130a0a480b39f058306"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FactoryUsageResponse.userId: \u0060FactoryUsageResponse.userId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc410ee508b54290cf28670b6c0aedcb4ec119c7ef30249648562749a10984e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FactoryStatusSnapshot.userId: \u0060FactoryStatusSnapshot.userId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"68532aac1b2d2b974e92a932fe1817fbb5ac8b1f8f0b089e132deda49298bdfd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClientCredentials.clientID: \u0060ClientCredentials.clientID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiOAuthConfig.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dab16a723ac6c07e7664468342f8b29f5c5fff1222ffe7f105aa8374607798"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: EnvironmentValues.clientID: \u0060EnvironmentValues.clientID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiOAuthConfig.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c0a8418f3ea739ec8204631f4d92b770e6418064760f3c250b15833c8ea984"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GeminiStatusFetchStrategy.id: \u0060GeminiStatusFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiProviderDescriptor.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20abd8db163bbc9ecfc2521ddf9e170b4140b824266403c13219dc4c4dd6ac5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GeminiModelQuota.modelId: \u0060GeminiModelQuota.modelId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef086e00df63fe5af45640693b20647588a7135ed4b1b027e3cf7c8cd9c4a95"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodeAssistStatus.projectId: \u0060CodeAssistStatus.projectId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"809765b445066422f99f513244d87c1a0f7f22fcd7656f6f3b7fb4cf006047dd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OAuthClientCredentials.clientId: \u0060OAuthClientCredentials.clientId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"518bc8fa9ddd6b274cd5eb3354d8bd9fe0d58256611a86e98af922c0c7efc179"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: QuotaBucket.modelId: \u0060QuotaBucket.modelId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"f715dbd31134a938814d567098546d61f3c6439acafe9946dc88e505f24ea364"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GrokCredentials.userId: \u0060GrokCredentials.userId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokAuth.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a2d2efadccaaf78e4860e1c2043b76c5503f600ce858e6ea4ef6708cdb0bdb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GrokCredentials.teamId: \u0060GrokCredentials.teamId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokAuth.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a1aec8cb4a1226300228453dbfca9b7cf4f763b93cde891adfd40bdd674ae2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GrokCredentials.oidcClientId: \u0060GrokCredentials.oidcClientId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokAuth.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3c0c0d02a7a7ef7900cdfb79e00e5ae5ed8465452bcdcc1449fdfe1e894b2c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GrokCLIFetchStrategy.id: \u0060GrokCLIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"643cfa5aacb6e57a0c34c1fe7ccd96049b9261af4545aa04e328df51dbf13de1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GrokOAuthFetchStrategy.id: \u0060GrokOAuthFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f284d0294be4bad2df4baf3f6fe0a59cd3400c3aad51548ef432bc54141e0556"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GrokWebFetchStrategy.id: \u0060GrokWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokProviderDescriptor.swift"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a4722c3bd12de6514f41ddef0c2df11d19dba1eb137876c6c4a567c85e0bb7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GrokRPCClient.nextID: \u0060GrokRPCClient.nextID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokRPCClient.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6f3d1381c09f9bde3d174a990186f177c9af6a1e733d34d16627147b776c7b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GrokRemainingReset.tokenID: \u0060GrokRemainingReset.tokenID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Grok/GrokRemainingResetsFetcher.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5583431fe6fa9697cbba7f78e7e856fd7b429e9cfe6f94decd5103b9a1d559b8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelBreakdown.id: \u0060ModelBreakdown.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12810be64c9af5ad7790acc186d6c9c9713382f81ee654700735b63fb834c92"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DailyBucket.id: \u0060DailyBucket.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Groq/GroqConsoleUsageSnapshot.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87428efa7474980102cae6ca5dca02321232d6e72e8da463cb3261b03634287"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GroqConsoleWebFetchStrategy.id: \u0060GroqConsoleWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Groq/GroqProviderDescriptor.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"008665fcf3d21cc9abf3971b18faf60ddabc6f214298358c2f0c0bdb601c33c6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: HuggingFaceScriptFetchStrategy.id: \u0060HuggingFaceScriptFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/HuggingFace/HuggingFaceProviderDescriptor.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b814ba435fee91014f3eacd4653b831e05e49ba932502ca7531c718e47071492"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Instance.instanceID: \u0060Instance.instanceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/IBMBob/IBMBobUsageFetcher.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff18de1be24b143e8fa0cdb01e862a735b2909d7d917d66748f0f1d78f999aae"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Instance.userID: \u0060Instance.userID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/IBMBob/IBMBobUsageFetcher.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"29402a82aa5b18959b79fd8ad1db0773005cf154756ea3f543665c1f65a6b948"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Team.id: \u0060Team.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/IBMBob/IBMBobUsageFetcher.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"017390a0503eddbbda68f3148afd4ed4776428d4d9d5bae65e646ca47a6d95da"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: JetBrainsStatusFetchStrategy.id: \u0060JetBrainsStatusFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/JetBrains/JetBrainsProviderDescriptor.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e91684fdc7a9d6f080acf645a4bdf4ec42dcab3d9c07e1a8f0385f4fd52889"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: KiloOrganization.id: \u0060KiloOrganization.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloOrganization.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5231389fc487cc094d6d9f052753e93017ed60c113f6743fdf4b5008171f7906"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: KiloAPIFetchStrategy.id: \u0060KiloAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloProviderDescriptor.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35ab0093f7230e11d0f9ecf6433954f8a8291e673d8c0277e220f74f7c3a072"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: KiloCLIFetchStrategy.id: \u0060KiloCLIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kilo/KiloProviderDescriptor.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32a506c89222e12c89b81eb1ef4a9e32305b6bd08bbf81243768efbc1dabac4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: KimiAPIFetchStrategy.id: \u0060KimiAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2efc5a10a5b49699b1ecccb3cdcc266b9bd7d8fb6ff88179334f0575bd4d29"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: KimiCLICredentialFetchStrategy.id: \u0060KimiCLICredentialFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7aad6ce0647038e340aa32b1b464038c0a72f03d1532d31485faa8e94bf69f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: KimiWebFetchStrategy.id: \u0060KimiWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kimi/KimiProviderDescriptor.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2003bdba66ea450479e98d9d498ad969b64e5c13aeb59076053266d3c26defb1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SessionInfo.deviceId: \u0060SessionInfo.deviceId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kimi/KimiUsageFetcher.swift"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"96321bcce5f178f241c91bfeeceed01ffdd4e32d8cf63ec00758c1dc1b3ca555"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SessionInfo.sessionId: \u0060SessionInfo.sessionId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kimi/KimiUsageFetcher.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"6816da883da3aced5562157d76f50ed5ca5e76035851927ae2ffa6b76ce41de4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SessionInfo.trafficId: \u0060SessionInfo.trafficId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kimi/KimiUsageFetcher.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfb6b2a72e74b27c5546ed5fe34c17fa95b21465ec6b917fb24b7b479596215"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: KiroCLIFetchStrategy.id: \u0060KiroCLIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kiro/KiroProviderDescriptor.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9ff3b891af401b840e045165e6db9e516b137845be364f3de5b9934df6d5a9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MiMoWebFetchStrategy.id: \u0060MiMoWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiMo/MiMoProviderDescriptor.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f153e59a14afd764ce15fb0acb07ad3c5516997089a2cfa6fff9f437889be8a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MiMoLocalFetchStrategy.id: \u0060MiMoLocalFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiMo/MiMoProviderDescriptor.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"32569037c291db687bdb34aafceaf6a095f21a0ab1d7a02222cfe353a8d5df98"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MiniMaxCookieOverride.groupID: \u0060MiniMaxCookieOverride.groupID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxCookieHeader.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc622a044b67d027267d05beddea1b23384dd34d64ae7f9f9f989e2dfeffd40"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TokenInfo.groupID: \u0060TokenInfo.groupID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f9f5c9922a9dee2a1f7e9c6485d11de04bffbd419b9275821a68c61a2fee55"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: LocalStorageSnapshot.groupID: \u0060LocalStorageSnapshot.groupID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxLocalStorageImporter.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f2511d00c6750235c7a5a94c01b87a4b9554fba1f86358f08618748310bcfe"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MiniMaxAPIFetchStrategy.id: \u0060MiniMaxAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7da976b5e2b48acf7fd67e5c1a6c12a0fa87e38df89ff93ffc4bc05d0c08ab"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MiniMaxCodingPlanFetchStrategy.id: \u0060MiniMaxCodingPlanFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89cb3980556bb26aaebf0136ec6e8bb731dfed4529fea8a5fde5d409f6096cf"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MistralDailyUsageBucket.id: \u0060MistralDailyUsageBucket.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Mistral/MistralModels.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bfb9f2b3fd52f826ef701a4496f702056c3b6f554d20284ed44f9124755002"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelBreakdown.id: \u0060ModelBreakdown.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Mistral/MistralModels.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"851f7fc19524aa36f75bde262db015855e049b6886bc946c3e9f5a9316fb0c47"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MistralWebFetchStrategy.id: \u0060MistralWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Mistral/MistralProviderDescriptor.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"271617fb9079f792d146d230811a767918a32dd01b3e532b2bd332599242043a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Event.id: \u0060Event.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Muse/MuseLocalUsageCache.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7007ef776c039ac33632e1e4e78a5888e5c1f9576740ba435e6da23ff74a05"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Event.id: \u0060Event.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Muse/MuseLocalUsageReader.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"26faece8f50415f148da089b3200679769850588d2d9daa3c36947c1887a78a9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MuseOAuthFetchStrategy.id: \u0060MuseOAuthFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Muse/MuseProviderDescriptor.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc034b3de4f53b568c68c8afe201000270244bc3739e8223d555bc857b211c9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MuseProviderSettings.webTeamID: \u0060MuseProviderSettings.webTeamID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Muse/MuseProviderSettings.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbab6f8ac5ac308172c145f8edc69aaef9ef275085d1b647fa87ebc330d0d9f8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NotionProviderSettings.workspaceID: \u0060NotionProviderSettings.workspaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Notion/NotionProviderSettings.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bfe468992abedbe62564199e4eece36ba59baa36d4dcaf021d420b5ca479b1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NousAPIFetchStrategy.id: \u0060NousAPIFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Nous/NousProviderDescriptor.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3011e03705bc102c66ce300b52191bc11fb3bdc3e61f96e81c802bf857c0c3cd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OllamaStatusFetchStrategy.id: \u0060OllamaStatusFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Ollama/OllamaProviderDescriptor.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef920cc6589cadfe175f014903d2eb37859bff2ec4ee69cd967ff95fff99643"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenAIAPIUsageCredential.projectID: \u0060OpenAIAPIUsageCredential.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIProviderDescriptor.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce78e59e678e3b15bb332c2bcc99e4e70dea06533f3bdff90a3640d761d9c7ae"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenAIAPIUsageSnapshot.projectID: \u0060OpenAIAPIUsageSnapshot.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"653aa7d7d04f720d5337efe5952019b12d74de52884d32b1ec64656d67111536"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DailyBucket.id: \u0060DailyBucket.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced175390be3bc443a1e0cc01f0dc0b34a6a2243dff3c894ab6cde1703c983a0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: LineItemBreakdown.id: \u0060LineItemBreakdown.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb31a861e78b4891084b094bcaee28839cbc5f9e1f5cb6177fc5e237cf7c974"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelBreakdown.id: \u0060ModelBreakdown.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenAI/OpenAIAPIUsageSnapshot.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4386284195e2e2f54b02d3399059e15e83871a42cbca82ac721cf43679123f26"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenAILiveUsageSnapshot.projectID: \u0060OpenAILiveUsageSnapshot.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenAI/OpenAILiveUsage.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4f88719ea4dec1b459eb92bbbcf0360e2ec54fd04e2a0584f1815921287d32"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenAILiveUsageScope.projectID: \u0060OpenAILiveUsageScope.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenAI/OpenAILiveUsageFetcher.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee456444d77380b2c028379ca33d073f08aa2afdf4bab2a89c2561b2dba56ade"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Project.id: \u0060Project.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenAI/OpenAIOrgRateLimitsFetcher.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cea7703cc1a7e3b45bf6168a31c30f1d5eb35212b4fa4399fbe08e5c3b40e6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Page.lastID: \u0060Page.lastID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenAI/OpenAIOrgRateLimitsFetcher.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e771ed46187fe3c5967bd8b1c873e6b3953c0109410b4f3d7425396955aaeac0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Turn.sourceID: \u0060Turn.sourceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeLocalHistoryAdapter.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50a523170e1479499befa09924a50de2fd0548395d72e07fcc851bceaf74630"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Turn.modelID: \u0060Turn.modelID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeLocalHistoryAdapter.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f786bdeead2bcc9c0a270b6600dbe5f4972206e34fe601fd289d6fd542da20"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Payload.providerID: \u0060Payload.providerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeLocalHistoryAdapter.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b1d6e70bde3726c08e0e9f6a3110f41811bffdcaae395ae50c7a9e7c106a29"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Payload.modelID: \u0060Payload.modelID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeLocalHistoryAdapter.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcac1d73cd02d2e201dda90b2174a828e3f3ca67cbc091c18c6941762c1ab49"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Message.id: \u0060Message.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeLocalHistoryAdapter.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e3fd32a54187705b093b5acf1f7d09b6403d5ee5161b81deb472cca34d71a3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Message.rowID: \u0060Message.rowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeLocalHistoryAdapter.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe80fd146393c2e27c068c3de3713ff500a3d5eb7d955425f42d78676cd6cb7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Message.parentID: \u0060Message.parentID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeLocalHistoryAdapter.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"af59a9448d7098f0075c7a412cb0e0dbc49ccd4f347d51b5b5c0ba75de87eab6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenCodeUsageFetchStrategy.id: \u0060OpenCodeUsageFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeProviderDescriptor.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb842b5c31d862c70a367dfdd8e95725bb5579dac0904255ec666ba13b09f5a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenCodeProviderSettings.workspaceID: \u0060OpenCodeProviderSettings.workspaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeProviderSettings.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bb3c7c60e5e0bd8ef90fc71acad023eb68fc649fcab8a6c9a4aa318bcfcddb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Cursor.rowID: \u0060Cursor.rowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeSourceCheckpoint.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c6fbd37f1867195155384b72f6cc1274fc2b5ac5141b50cc294eb9535ecc79"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ParentCheck.parentID: \u0060ParentCheck.parentID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeSourceCheckpoint.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1b6159e74afccbd219f2fe0b73f822b6b2aeb999dac8b7984fac4bf1a6d8d9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenCodeUsageFetcher.workspacesServerID: \u0060OpenCodeUsageFetcher.workspacesServerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32a27e6def6b75352cca098c3b373c83fc77a4ca0e7cf18a48b66470aa787cb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenCodeUsageFetcher.subscriptionServerID: \u0060OpenCodeUsageFetcher.subscriptionServerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c320995c74d77dfc995d0c3b3b261b27f70aec26441233ac500d8ca68cba7ff"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenCodeUsageFetcher.billingServerID: \u0060OpenCodeUsageFetcher.billingServerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71554ce1157c5befcfb2ff861d118e65aac2332859150e8d65621ca5cb04dfc"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ServerRequest.serverID: \u0060ServerRequest.serverID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc27367a81512a15ff12292bdf52418499e5d6307e0e03ecd2ec52ffcfd0a45"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenCodeGoLocalUsageFetchStrategy.id: \u0060OpenCodeGoLocalUsageFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"873634b3288984188276d5ed1aae1644a36f9c7d28627c5f41bb384a8395e47f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenCodeGoAPIUsageFetchStrategy.id: \u0060OpenCodeGoAPIUsageFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31aa285a826eed5abdb61be1f8ad9f65ad76a8588a5c1e34fd85bcd80d50dee"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenCodeGoUsageFetchStrategy.id: \u0060OpenCodeGoUsageFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b6bbfcd4d9a3bde0f9c194ce913e30428d255c5826ac6fcb38f72edb24d1f6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenCodeGoUsageFetcher.workspacesServerID: \u0060OpenCodeGoUsageFetcher.workspacesServerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5dc7f4e706980d26bf8eefa5d6d5ec7c1b79900ed87d9f65af31082688de53"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenCodeGoUsageFetcher.billingServerID: \u0060OpenCodeGoUsageFetcher.billingServerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbaf975aa8c1c7e413bad8108da0b444b45013446bbee23816cd4b66efccfdd4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ServerRequest.serverID: \u0060ServerRequest.serverID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cdd9cc7d89c12cebfb8648d2eeba444f45e391e2bc449a7c26a559f68c777a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ZenBalanceRequest.workspaceID: \u0060ZenBalanceRequest.workspaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa229fa4b26ed11a4dda15ef8239a4d431dbf626b6932b4ff4928ea3c0fc3a8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PiLocalFetchStrategy.id: \u0060PiLocalFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Pi/PiProviderDescriptor.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c63ae7814d8d9aad58701397c47b4874140ec4688f06f7bb423beed8f146c6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: QoderPluginFetchStrategy.id: \u0060QoderPluginFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Qoder/QoderProviderDescriptor.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4355bb77385ffc5336e04691038da04c91d0ebf632ec538f06e237765861e8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: QwenCloudWebFetchStrategy.id: \u0060QwenCloudWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b97ee56523ae0e6a1cf4af9836ebc7ebbe50b3913e2876a928da37bff919ee1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: QwenCloudTeamFetchStrategy.id: \u0060QwenCloudTeamFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/QwenCloud/QwenCloudTeamFetchStrategy.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c14535ec941018a44affcc4535915520e327a6ef931833056beb78aac5e73c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ReplicateWebFetchStrategy.id: \u0060ReplicateWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Replicate/ReplicateWebFetchStrategy.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5137a8f9d9c7d97d2815f0107fad9f1083b9e07a2b5bc6d11722090738a98dfb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindowCandidate.id: \u0060WindowCandidate.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Shared/OpenCodeWebParsing.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ca705f3f374da7971c1a5b8d945a03eea616980363416ab29e64f163145f6f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: StepFunWebFetchStrategy.id: \u0060StepFunWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/StepFun/StepFunProviderDescriptor.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"93171e624db4a3ebcde9d13de15f577159d9d2d828cc4b2103e08a279fd49701"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: StepFunUsageFetcher.defaultWebID: \u0060StepFunUsageFetcher.defaultWebID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"190919e912b15e86c8584d674f2e185ac47f5adb61e9210291478dd9db108c76"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: StepFunUsageFetcher.appID: \u0060StepFunUsageFetcher.appID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/StepFun/StepFunUsageFetcher.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d7bd763884eb696e00d83ee40a0847081b0f8d8dd034e5f1f83ab844129075"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TypeSafeWebFetchStrategy.id: \u0060TypeSafeWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/TypeSafe/TypeSafeWebFetchStrategy.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e57cd2983d79f6dd4fd76a4ddc8a669e8949b619a37684f46e5e533fc86897"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: VeniceWebFetchStrategy.id: \u0060VeniceWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Venice/VeniceWebFetchStrategy.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07d3a809e369d9a28ea23aabca6b6eefbecf0059f9bfd241c68c8e9a86a337b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: VertexAIOAuthFetchStrategy.id: \u0060VertexAIOAuthFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/VertexAI/VertexAIProviderDescriptor.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e982179122d64f586b3b5b9a3ab0b1612d2785dde1514d3942d51fbf429941"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WarpUsageFetcher.clientID: \u0060WarpUsageFetcher.clientID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Warp/WarpUsageFetcher.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e091f20f0d6d3b098a4fe7e907741dee0f015943ca34afbeb691897ff7a2abf4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WayfinderGatewayFetchStrategy.id: \u0060WayfinderGatewayFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Wayfinder/WayfinderProviderDescriptor.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd0734cfa6f5f8f1de9df3d3748c2dff97cda40adf1677aec088c51815dd1a5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindsurfWebFetchStrategy.id: \u0060WindsurfWebFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Windsurf/WindsurfProviderDescriptor.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6cd7e11fe8274e639135c80a6ceb133fefca5b47a818eced9a7997f60554b7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindsurfLocalFetchStrategy.id: \u0060WindsurfLocalFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Windsurf/WindsurfProviderDescriptor.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d3eb1249a4371d59e17bede2b6ff30ee6da0fd912c2dffd8ed1751de23926e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindsurfDevinSessionAuth.accountID: \u0060WindsurfDevinSessionAuth.accountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Windsurf/WindsurfWebFetcher.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbc1ece6ba6c6212fade8fd2dd0088159fe40dab833bdc1f8aeac125c1729b4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindsurfDevinSessionAuth.primaryOrgID: \u0060WindsurfDevinSessionAuth.primaryOrgID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Windsurf/WindsurfWebFetcher.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad16bc5dd7b877ad5b7d5f3057e713c43447df357534a7f5c7a245c4a2e6f222"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ZaiBigModelTeamContext.organizationID: \u0060ZaiBigModelTeamContext.organizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Zai/ZaiProviderSettings.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaca25cd2de013ab778b68601824f15978b94bf939727afba1f672173c1685f6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ZaiBigModelTeamContext.projectID: \u0060ZaiBigModelTeamContext.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Zai/ZaiProviderSettings.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7629ab7c791230a0e827be1b0604de631102ceccc790e9a82a0070581e2fdfc8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ZedLocalFetchStrategy.id: \u0060ZedLocalFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Zed/ZedProviderDescriptor.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"734064b8e9a2e0f89458b4420a848de2b67fbf41cab8f665a357768e70164dcf"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ZedCredentials.userID: \u0060ZedCredentials.userID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Zed/ZedStatusProbe.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"05018609bd23e3b83a6811162bb349aa58b53c17b598328056f7c9bfd460cd78"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FileStamp.fileId: \u0060FileStamp.fileId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageCacheModels.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53e29182e548a467a30f7aa77cbd1a798312dfd33dd93cc759e9d76bfc229d9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageFileUsage.lastCodexTurnID: \u0060CostUsageFileUsage.lastCodexTurnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageCacheModels.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc18641607afe3ae7bbeb8a4ba910e201b961ae5e8934f7d6b6ea8e9bfbadd4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageFileUsage.sessionId: \u0060CostUsageFileUsage.sessionId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageCacheModels.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfa5017f3665340c65dcb42e9a867c1047151f13dd80a9eeb774cc880c09460"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageFileUsage.forkedFromId: \u0060CostUsageFileUsage.forkedFromId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageCacheModels.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f84ff9f82895dd795749eb1816d5f74df40ced7d2aab50c1955987382f0f0e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageFileUsage.codexScanFileId: \u0060CostUsageFileUsage.codexScanFileId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageCacheModels.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"262e6d666e1f7bf86df4e8090ad5da85922c46d2b4d1d04051516bfc571a3694"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageCodexSessionMetadata.sessionId: \u0060CostUsageCodexSessionMetadata.sessionId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageCacheModels.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ac60c01e466e1cf3afabc9cefb08d74e5904f6368d5ca95d58ab59004de863"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageCodexSessionMetadata.forkedFromId: \u0060CostUsageCodexSessionMetadata.forkedFromId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageCacheModels.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"176837b7efd66bfc70c7e2641a351809abf109996e9fd552fed33e186c1ab6be"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageClaudeFileStamp.fileID: \u0060CostUsageClaudeFileStamp.fileID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageClaudeCache.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b92666f5ed4a3b51280e2e3fbb5b99edef32f5619ba04663d7b7f64aeebd30"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageClaudeCache.contentID: \u0060CostUsageClaudeCache.contentID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageClaudeCache.swift"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b5419a0af323994c1a4473f3a352ae3bd357d3f4cff600a583491e80200a55"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: File.sourceID: \u0060File.sourceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageClaudeCache.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"5533821bcae3634f19f689b127be9c5a2c258263b0a8996d84369cbfec8f99bb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Snapshot.contentID: \u0060Snapshot.contentID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageClaudeFragments.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f4cd67b77def45c3b541cc31f1b41c1f701d118ac497518cd7700993656d5c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexParseResult.lastCodexTurnID: \u0060CodexParseResult.lastCodexTurnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"7635eb1c60904536c9390370f66f90eaae7b0e473aa45826b267811cdb29d7e7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexParseResult.sessionId: \u0060CodexParseResult.sessionId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dc5a8f756939b8765b19a4416d95f398476df6dd83b63f8a0a76a87efb3ea4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexParseResult.forkedFromId: \u0060CodexParseResult.forkedFromId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a1153cb9b6cb4801e38200e146f55f50fe48d0f158f5fbb4b9ad23c17f7d7b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexRequestPricingEvidence.turnID: \u0060CodexRequestPricingEvidence.turnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ab081c42a7268cd49c40e0f63f64656ea088e8132959d2893f33de65d209ac"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexRequestLedgerState.activeTurnID: \u0060CodexRequestLedgerState.activeTurnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbc82a33ed64cc6cc7b3579177f61e9eb2e2820cc67100fea1096d9f9cb777f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexRequestLedgerState.sessionID: \u0060CodexRequestLedgerState.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba434903e6059e1969d3d9fe383b03259143db5b192f3b5cb9514e2bf336565"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexRequestLedgerState.pendingLedgerResponseID: \u0060CodexRequestLedgerState.pendingLedgerResponseID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2590ee94155408fb1cc71a0858a9001a18805afb6ea89e578a6965a83eb4369"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexRequestLedgerState.pendingLedgerPricingResponseID: \u0060CodexRequestLedgerState.pendingLedgerPricingResponseID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"d972c2f662affcf8c93222561c65288deceaf3c03624e6fb68d00cbf8de1c619"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexUsageRow.turnID: \u0060CodexUsageRow.turnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"516195d0d1a3b234506dc371975f371345aa623a6fa0c90e3d65b7c1a6cc5fb5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexUsageRow.responseID: \u0060CodexUsageRow.responseID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d4d226d4828f9b3ddabdea691ff7027eb6facbd93e9f4af45574da42b7514f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexScannedSession.id: \u0060CodexScannedSession.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc496784585f9ab4d9ae1d2c1ecb07644ffffa36350c586e02f1b2b2a6a3520"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexSessionIdentifierScanResult.sessionId: \u0060CodexSessionIdentifierScanResult.sessionId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8898118c5f44791f93f9ac858fac236255f99231d6bfd32bcd4ce2c5f231bf"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeUsageRow.sessionId: \u0060ClaudeUsageRow.sessionId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":2144}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcf9c4d58f77c86ea2886afcac62b905a0bf095d86626929a7ad8d44f7fa9dc"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeUsageRow.messageId: \u0060ClaudeUsageRow.messageId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c982782c9db4a67f3e98f4d9cf6b32d46002a2acb34c78495e5640898dd2f5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeUsageRow.requestId: \u0060ClaudeUsageRow.requestId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":2146}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c6e604239f8663b0adf230e650f17aca72176174bc8ef77aeb8f8bc3e61e02"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexSessionMetadata.sessionId: \u0060CodexSessionMetadata.sessionId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":3479}}}],"partialFingerprints":{"codehealthFindingId/v1":"677c2bd8c5492b9292cd7f93dbae80b34618928f19f37f0a56ba3a1c0191d869"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexSessionMetadata.forkedFromId: \u0060CodexSessionMetadata.forkedFromId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":3480}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13ef0df3a54b32aedf195d4a94fefb8f105e995a68265752b2ab744615123ea"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexSessionMetadata.historyBaseThreadId: \u0060CodexSessionMetadata.historyBaseThreadId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":3485}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae37c82276565a68ab9cef25cefb294daae900fe5e0bb816ffa25a894948a7b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexSessionMetadata.requestSessionID: \u0060CodexSessionMetadata.requestSessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":3486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cf4047f490e6358ab04f09e2acdf98b4b1375d07406509130ecf63f051dffa"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexTurnContextMetadata.turnID: \u0060CodexTurnContextMetadata.turnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":3497}}}],"partialFingerprints":{"codehealthFindingId/v1":"193248741799b14c4cbacde88a23b0a0b04be93c5ab545fef4f50aacdcc757aa"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexTokenCountRecord.turnID: \u0060CodexTokenCountRecord.turnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":3504}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d98b1197e67ec4054e029fb42b832883356c93ec18790ae477276ae04629cd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexRequestUsageRecord.threadID: \u0060CodexRequestUsageRecord.threadID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":3511}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed80d00525084e324e2decfbd01271b09588c9ea820298aee80f463b0c42aed5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexRequestUsageRecord.sessionID: \u0060CodexRequestUsageRecord.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":3512}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da4e7ff29e1d384f37b5b9835941b7cbd3dd98a5b1a41d6570ad1256687be28"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexRequestUsageRecord.responseID: \u0060CodexRequestUsageRecord.responseID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":3513}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42d6f3cd95132a92e251620a8a499733fc33e7dd0396aa9ff6499429d60719a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexRequestUsageRecord.turnID: \u0060CodexRequestUsageRecord.turnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":3514}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebf8e2b9eb9379a75628df595316dbc625f2af276c2503b0e11db0bdd16d18c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageStoreScanState.lastTurnID: \u0060CostUsageStoreScanState.lastTurnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageStoreModels.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72071479f28f70bbfce241514232325e51bdc32802e1ff065c6cf24c50c2f89"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageStoreFile.sessionID: \u0060CostUsageStoreFile.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageStoreModels.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea16e7d5c42b7a70d0a885cc125abfcf7e08bb237c2b279b7170e90732c20937"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageStoreForkLineage.sessionID: \u0060CostUsageStoreForkLineage.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageStoreModels.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77e50da9aa3b026f5a69307b0b25c998bd74520ef43957829934a9f641cc7d2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CostUsageStoreForkLineage.forkedFromID: \u0060CostUsageStoreForkLineage.forkedFromID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageStoreModels.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbef910e54c6e553566d797d80d927b9f94cf0d5f871fa3f07e7dc0c7cdac8d2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelsDevPricingInfo.providerID: \u0060ModelsDevPricingInfo.providerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/ModelsDevPricing.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a79708122c954a5c2042918b28f946a5279f9a965fc675e4b2cce8c6abd6d9b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelsDevPricingInfo.modelID: \u0060ModelsDevPricingInfo.modelID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/ModelsDevPricing.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"979f09dd32e4d11e1a211357d5b356ca0765fdec8d71e8bafaada4a24db4fb87"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelsDevPricingLookup.normalizedModelID: \u0060ModelsDevPricingLookup.normalizedModelID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/ModelsDevPricing.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8699d58ee82def3d2017351cefef08dc31e29346b33b137265c8f7b943454502"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelsDevProvider.id: \u0060ModelsDevProvider.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/ModelsDevPricing.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff781740de48b26804e67094b28bec9c81ab44d18b75d7f48f32082a525762a1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelsDevModel.id: \u0060ModelsDevModel.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/ModelsDevPricing.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9339e33aeaee2cf0b24909aad767e7d4c2bcc92f4639c913cf7552a9a22cc7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelsDevModel.normalizedID: \u0060ModelsDevModel.normalizedID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/ModelsDevPricing.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4de3424a18619c6e059d158c2793217a6ba10f5e074177510de975e8c0a1b8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: InFlightRefresh.id: \u0060InFlightRefresh.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/ModelsDevPricing.swift"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"7785b6efa33acd6ba85cdb789da07dcde4803c924ec99982911a56762329a5ca"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelsDevPricingTarget.providerID: \u0060ModelsDevPricingTarget.providerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/ModelsDevPricingTargetResolver.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c852b96f05b27207f45e24eefdb8514651604d6178141468167d145649c5bc6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelsDevPricingTarget.modelID: \u0060ModelsDevPricingTarget.modelID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/ModelsDevPricingTargetResolver.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"532fcd232bd9de58a004d5c0da853d494339bae89ec03df774f19bf4f99746a3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenCodexUsageEntry.requestID: \u0060OpenCodexUsageEntry.requestID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/OpenCodexUsage/OpenCodexUsageModels.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8346cd10a51074fe560baefedc63df6efe6a6f335cffea307c44eb47a815adeb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OpenCodexUsageEntry.conversationID: \u0060OpenCodexUsageEntry.conversationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/OpenCodexUsage/OpenCodexUsageModels.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"789df72581fa9224701d11e6a9f5dc7729cd1ced96b00f59903aaca640a836d6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PromptAttemptOutcome.requestID: \u0060PromptAttemptOutcome.requestID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de0ae6862a0fd9b43f8da7d8860369ecb5f8566b3cfea933c41b5fdfb10b7f0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AttemptStateStorage.inFlightAttemptID: \u0060AttemptStateStorage.inFlightAttemptID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b672489817e6e8ad1b229effc075e4edcd4fbcff910e3326a62543cb15df0cd8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AttemptStateStorage.nextAttemptID: \u0060AttemptStateStorage.nextAttemptID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0aff6ede3139e4b7d4a3b631a706cb5fd4a83948249a5947917bac6150280ec"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Record.opaqueID: \u0060Record.opaqueID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapRetainedUsageStore.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ffeafb32d8ddd6e0c9e4d9a9e3b74655cae33600ffa1fe0ec021d7c9acb760"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OrganizationInfo.id: \u0060OrganizationInfo.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8db1b9f2162199a52d2cb24c8e80440736c4a72765dd5c0e813d91e7a2e8d9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WebUsageData.accountOrganizationID: \u0060WebUsageData.accountOrganizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"447ccace120e19fc9cbd5f05e06712f9d83e0dcf6eb4288696af3d98fbcf7fa8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FetchOptions.targetOrganizationID: \u0060FetchOptions.targetOrganizationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aa55d639056ac6c46b59e00cba763973b6aebbd5206a52facc455885a9721c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexOAuthCredentials.accountId: \u0060CodexOAuthCredentials.accountId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthCredentials.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b90ba3928d6beeaad9a601a993d31fcbc35f6d4d26ea739aed537fe87dc7b7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexUsageResponse.accountId: \u0060CodexUsageResponse.accountId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f603a6ccb0eb0c92619c0f91f94a8337a34a47d3c141f5a3958f630c2ae5a71"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RateLimitResetCreditResponse.id: \u0060RateLimitResetCreditResponse.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1f6bb2041821225c6e252ae81d03de67eedaccd59def2345d0ce0b67c2b364"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexPATFetchStrategy.id: \u0060CodexPATFetchStrategy.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATFetchStrategy.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddd0a6db0474976acb0520a4d1b7c8a17d0fa0e396be7f6c242fd3cc0b2ecbb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexPATWhoami.accountId: \u0060CodexPATWhoami.accountId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATUsageFetcher.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41c87566a1883b1cb0ed940e251f44e5ffbb73edf1faa2020290590ddb9812c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WhoamiResponse.chatgptAccountId: \u0060WhoamiResponse.chatgptAccountId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATUsageFetcher.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1609f718b78c5050a918aa9d47e9192266a845b24fdd64d5caf946200b83f57f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: VertexAIOAuthCredentials.clientId: \u0060VertexAIOAuthCredentials.clientId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAIOAuthCredentials.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"200ce3ff2d81fc240dfd00ed42a02309d32c3f8bf19c101c691d41051c8cbc0a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: VertexAIOAuthCredentials.projectId: \u0060VertexAIOAuthCredentials.projectId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAIOAuthCredentials.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac1e017f231b4e9b148922ea3be30c12de2142394086296c36d4d9f7aff5d68"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ServiceAccountMetadata.projectId: \u0060ServiceAccountMetadata.projectId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/VertexAI/VertexAIOAuth/VertexAIOAuthCredentials.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5b35dfad098e7a76005512378f23513f45d20cbf426d5b4210646a481a9012"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexBarAccountWidgetEntry.accountID: \u0060CodexBarAccountWidgetEntry.accountID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/CodexBarAccountUsageWidget.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a05c5a15c73c76f70ee4aed5765574c7ed37dbace939a5fea881782c5b053c8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Row.id: \u0060Row.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/CodexBarAccountUsageWidget.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccce2291ed5a4dd1c302c31d9f4ba7614680fd7b0319c9325aacfa47505b884"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WidgetUsageRow.id: \u0060WidgetUsageRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/CodexBarWidgetViews.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5ece3810d235dd3b28572fd8c67f17c902acdfd5e3c9656fef4e6481f9a0db"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WidgetAccountEntity.id: \u0060WidgetAccountEntity.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/WidgetAccountEntity.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4924f39038afe7acc5ff74d31a5d71c7fa337cdf7006bdeb12a5394dc20a643"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WidgetTileLane.id: \u0060WidgetTileLane.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/WidgetTilePlan.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"375507f62671788b29b58f6dbea01b05fb5259d6a7b89ebd48b863ebbb91ba5d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WidgetMetricRow.id: \u0060WidgetMetricRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/WidgetTiles.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a27836f13984511f3f9407afacb17318992423ea47a1d778ba05245bbaae8b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WidgetFallbackHeroContent.consumedMetricID: \u0060WidgetFallbackHeroContent.consumedMetricID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarWidget/WidgetTiles.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82012b269d2036d2a19b8d170602f34835e889289aea95bff6085cd08e81856"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: T3ChatSubscription.productId: \u0060T3ChatSubscription.productId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TestsPlugin/T3ChatReference.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"55161c2ddc96c3dbbc5c95c111364739fc321e801ba4a5c5da93495d5ac3bb8d"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: Entry: \u0060Entry\u0060 is a data-only reference entity whose behaviour is DELEGATED to a foreign utility (static methods that take it as their first parameter and hold its logic) \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6ea70ec7cce6569977952a8088c3a69a48f5a73f4b01baaa5733c6d20cccbd"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: MetadataReadRecorder: \u0060MetadataReadRecorder\u0060 is a data-only reference entity whose behaviour is DELEGATED to a foreign utility (static methods that take it as their first parameter and hold its logic) \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/ModelsDevPricing.swift"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c280afd8b7391d387ffde1b2ea6673e1093f15a6cab80e7c0d8bddcedc1d5f"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: String: \u0060String\u0060 is a data-only reference entity whose behaviour is DELEGATED to a foreign utility (static methods that take it as their first parameter and hold its logic) \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexThreadCatalogReader.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaee914e700a7d50f6fdb4333ea12dee71e97a682f683b86492065979bacfe5"}},{"ruleId":"M2","level":"note","message":{"text":"ADRs not easily discoverable: 1 ADR-shaped document(s) detected by content \u2014 \u0060docs/predictive-refresh-policy.md\u0060. They are not under a conventional ADR folder (docs/adr/) and are not named NNNN-title.md, and this check found them by their decision signature rather than by where they live \u2014 so a reader who does not already know these paths has no route to them. Detected by content signature only: records kept outside the repository, or written without a Status/Decision/Consequences shape, are not visible to this check and are not counted here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea921cf64dae701abd877090b3279ff10d03c2e3250e26c8c299d7c5665e0d3f"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 7 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060sleep\u0060 is async and calls sleep \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/CodexBarCore/Providers/ProviderFetchPlan.swift"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"683f5c4c1a74db07172ce709a28e9770f6bcbb64f7bf8796392b0bac3f731a6b"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 45 typed \u00B7 98 plain JS \u2014 the untyped files are Integrations/Linux/Shared/Notifications.js, Integrations/Linux/Shared/Usage.js, Integrations/Omarchy/notifications.test.mjs, Integrations/Omarchy/test.mjs, Scripts/check-app-locales.mjs, Scripts/check-documentation-links.mjs (\u002B92 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (276 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/chutes.js:90 \u00B7 Sources/CodexBarCore/Resources/Plugins/chutes.ts:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 2370 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f739119601a83a330b7cc5c5b483c7b676479bbcf4ccd037eb24ef0c0d8544a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (221 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/litellm.js:40 \u00B7 Sources/CodexBarCore/Resources/Plugins/litellm.ts:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 2237 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"24156d1782a236ec98dc6e9559b178fe63a3c818c6b54909719ecd52bc88e9a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (219 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/muse.js:39 \u00B7 Sources/CodexBarCore/Resources/Plugins/muse.ts:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 2198 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0dc16be07d5a1138af73d1a8afc1d75a0df317517cf1e635e392d5a677643c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (214 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/huggingface.js:37 \u00B7 Sources/CodexBarCore/Resources/Plugins/huggingface.ts:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 1862 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"409acdaa3082d70cf4806416e3e1fb5ef6df9428e8dd27de4bd4f5468d33a7f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (166 identical lines \u00D7 2 files): Sources/CodexBarCore/Resources/Plugins/aixy.js:22 \u00B7 Sources/CodexBarCore/Resources/Plugins/aixy.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 166 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"69485c480c6a3a856afc9f9a5a732b21afc944979dd5da31a15baf37947698e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (152 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/chatbox.js:40 \u00B7 Sources/CodexBarCore/Resources/Plugins/chatbox.ts:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 1301 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3de2170a68b0aa638337d10de443b11938f2257f5880ee95b309efa74803cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (149 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/bifrost.js:39 \u00B7 Sources/CodexBarCore/Resources/Plugins/bifrost.ts:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 1403 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f498b80685622f421e5fe09f9974aa137afecd4833fa6352d328d100d954501"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (139 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/munito.js:15 \u00B7 Sources/CodexBarCore/Resources/Plugins/munito.ts:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 1200 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadded22c46760444c48b7660e3b646342328afe9951c09c69217340953e0ffc"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (138 identical lines \u00D7 2 files): Sources/CodexBarCore/Resources/Plugins/claudeplatform.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 138 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0840e2fb3a90b1e32c75fd66648b7568f0dfa8af46e546e04a5eeb66acea30c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (131 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js:37 \u00B7 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 1160 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc3ee0b9467ab7a73ce675ad35edd3430c8224ddc636b92ae3b2849f3c14927"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (127 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/v0.js:52 \u00B7 Sources/CodexBarCore/Resources/Plugins/v0.ts:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 1111 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/v0.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ca27ce245577effd4249b085ecb5bc97fec4c41981348a3b50a0eaae3ebe61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (123 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/helmcode.js:58 \u00B7 Sources/CodexBarCore/Resources/Plugins/helmcode.ts:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 1176 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae094aa13ae9a6edce2b723f55ffb2c3b6f85a7526f5301e422e3eb9542444ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (109 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/typesafe.js:23 \u00B7 Sources/CodexBarCore/Resources/Plugins/typesafe.ts:3 \u2014 the two spans are one implementation copied and then locally edited \u2014 1017 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d1e8fca430fc39d601b4ab3dd33a811e72105d16ad3686aa769b5715871d72"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (104 identical lines \u00D7 2 files): Sources/CodexBarCore/Resources/Plugins/raycast.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/raycast.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 104 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/raycast.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9346e9b16a2b4be896538fe9a702daf7e88f48434c85340ea5afcd5645c8e4a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (98 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/clinepass.js:33 \u00B7 Sources/CodexBarCore/Resources/Plugins/clinepass.ts:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 624 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clinepass.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e998cf0849f06060d78bb1a8a6d3237d593702d0b97d3158a53470e512d3475b"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (93 identical lines \u00D7 2 files): Sources/CodexBarCore/Resources/Plugins/llmproxy.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/llmproxy.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 93 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmproxy.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"472e5f19c789cee8abdc80d370ad62e3ff01123eb54c8234572940592c03a4e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (93 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/nous.js:18 \u00B7 Sources/CodexBarCore/Resources/Plugins/nous.ts:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 945 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"83630550b92bfc9997fd65504d8958a5ff2f87cd1c6ad1f34f01d4462d853723"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (91 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/gitkraken.js:41 \u00B7 Sources/CodexBarCore/Resources/Plugins/gitkraken.ts:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 809 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39ae1d2a9d1e280a0d476b2df87884678b8ba43d6335604909aa75d46f4d54d"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (89 identical lines \u00D7 2 files): Sources/CodexBarCore/Resources/Plugins/abacus.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/abacus.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 89 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"56875690f2f024629b41845ab92ae0ce81ef8cc352881fc65ae377d1900b2c6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (86 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/workbuddy.js:219 \u00B7 Sources/CodexBarCore/Resources/Plugins/workbuddy.ts:222 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"453b5a4387f10f2c5a3d05c0b3313db001f69830a20fd6ed7a6e066822dc79c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (85 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/futureagi.js:39 \u00B7 Sources/CodexBarCore/Resources/Plugins/futureagi.ts:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 675 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/futureagi.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"179aaa1a70a8c43a197d347bcf9e0a595b97ebc4ccdf9c343f514e47609ea9f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (85 identical lines \u00D7 2 files): Sources/CodexBarCore/Resources/Plugins/lithosai.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/lithosai.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 85 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/lithosai.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bdf1c489b4cc90f00734277b9cc462aee995ead969a20dd3bcb08423c16a9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (82 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/llmman.js:31 \u00B7 Sources/CodexBarCore/Resources/Plugins/llmman.ts:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 863 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmman.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9610fb69a1a8b1fa8374c28cd4cd5ed838730ce2224b9763b0f04a70741539e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (77 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/bifrost.js:276 \u00B7 Sources/CodexBarCore/Resources/Plugins/bifrost.ts:237 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a32ca88c5bb7164b2fcf2fc271cef231236dff7d03542e07183f779d024d5d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (77 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/devpass.js:36 \u00B7 Sources/CodexBarCore/Resources/Plugins/devpass.ts:8 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/devpass.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82d1433326b8badda85da2e53f8c865037d810ad404a86396cf7c9d621499ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (76 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/gemini-web.js:47 \u00B7 Sources/CodexBarCore/Resources/Plugins/gemini-web.ts:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 643 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gemini-web.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"108b557ec24764ddf6f498bbcf30d700d99671b78ca91468d95e7ecaf3af7077"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (73 identical lines \u00D7 2 files): Sources/CodexBarCore/Resources/Plugins/elevenlabs.js:1 \u00B7 Sources/CodexBarCore/Resources/Plugins/elevenlabs.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 73 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4afb439e61149aa23e0eb703ea0943447777d98b19529e7037bf53b8d163f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (69 identical lines \u00D7 2 files): Sources/CodexBarCore/Resources/Plugins/langdock.js:1 \u00B7 Sources/CodexBarCore/Resources/Plugins/langdock.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 69 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/langdock.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25328905400a9313d35d4f90e98a550bcc17e07e3ed61aafbc0363f73de3628e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/workbuddy.js:81 \u00B7 Sources/CodexBarCore/Resources/Plugins/workbuddy.ts:80 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"160127a2d4bad50784a821097e303b67daa6b5d379f6cb2d6f023923db5c268f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/ollama-api.js:37 \u00B7 Sources/CodexBarCore/Resources/Plugins/ollama-api.ts:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 595 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/ollama-api.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e42e8c9da0009f64147c15f2795c5fbd46d8fe9a05242fb7abec9ba82d2496"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (62 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/parallel.js:15 \u00B7 Sources/CodexBarCore/Resources/Plugins/parallel.ts:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 522 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/parallel.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2a80ffdb03834b0e1366e882f137848a372da794dd7c34c0ea91c4e064ddb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (58 identical lines \u00D7 2 files): Sources/CodexBarCore/Resources/Plugins/sofya.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/sofya.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 58 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sofya.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4ab924c3cfbd12424ce34ca71f16f58b2db353e55dcdcc0fc314be02847a8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (57 identical lines \u00D7 2 files): Sources/CodexBarCore/Resources/Plugins/soniox.js:1 \u00B7 Sources/CodexBarCore/Resources/Plugins/soniox.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 57 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/soniox.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e09e09840845a9d05e97d6bf0a10ae4d690ad35c3a3f430ca42b3d923aacf2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (56 identical lines \u00D7 2 files): Sources/CodexBarCore/Resources/Plugins/siliconflow.js:1 \u00B7 Sources/CodexBarCore/Resources/Plugins/siliconflow.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 56 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/siliconflow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdcba5934f0fa76393e21672d7ba104b6819680da17a5c4bc0e99e6604f705a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/xkiro.js:36 \u00B7 Sources/CodexBarCore/Resources/Plugins/xkiro.ts:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 549 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xkiro.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c702213625a16c1d8a83ded5a4ac2e5a2ac8510ce087731d6f48574ae0fb48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/moonshot.js:11 \u00B7 Sources/CodexBarCore/Resources/Plugins/moonshot.ts:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 438 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/moonshot.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd73f07dd81acc10b45762ccf42bba626be03309e675a27419e514289598eecd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/hyper.js:46 \u00B7 Sources/CodexBarCore/Resources/Plugins/hyper.ts:25 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/hyper.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6e4e48e4f78d20a75cdb9f4ebf781b13e211fb779400d26d98789b31986f0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/zoommate.js:261 \u00B7 Sources/CodexBarCore/Resources/Plugins/zoommate.ts:204 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"9472d52ed10f8f2794a24833f5f540e3eb82e68fd25385fedadfb6484808057e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/workbuddy.js:167 \u00B7 Sources/CodexBarCore/Resources/Plugins/workbuddy.ts:170 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dd98f26618c641488874a1573eba6b819838179cd2d7a6138a46c5eaf3925b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/aiand.js:67 \u00B7 Sources/CodexBarCore/Resources/Plugins/aiand.ts:27 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab3e5c1d1eb3629c01145721a2caf1fbd783c045c746e773b273c42f5f3437f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/nous.ts:24 \u00B7 Sources/CodexBarCore/Resources/Plugins/raycast.ts:74 \u2014 the two spans are one implementation copied and then locally edited \u2014 340 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d361512a27f84df7ef416edd892f4cdfc94a80e6aacb23488e0804dd314fffa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/sailresearch.js:65 \u00B7 Sources/CodexBarCore/Resources/Plugins/sailresearch.ts:33 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sailresearch.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3977fb58b762c9c4a7fa141d684494a15e64b61eb69d1fd57aee58f2ce158a7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/bifrost.js:234 \u00B7 Sources/CodexBarCore/Resources/Plugins/bifrost.ts:195 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"629c516708b2a5ab395dabaf631a58bf5bc000190a24aa1266b22df7366a09c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/replicate.js:85 \u00B7 Sources/CodexBarCore/Resources/Plugins/replicate.ts:66 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"42159c3332f7b1b35282d97e4a0dbe8f8085bb20ce61a425847f0d3f09c9f155"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/notion.js:123 \u00B7 Sources/CodexBarCore/Resources/Plugins/notion.ts:71 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cec9c09c696ef2372b65675decef71fe072d5d5f002f62d44423947e236d0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/zoommate.js:210 \u00B7 Sources/CodexBarCore/Resources/Plugins/zoommate.ts:153 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96b1a77d25572967e5b86adc8d9c2752ab9c621ac910c2b2467050f5af85a41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3 locations): Sources/CodexBarCore/Resources/Plugins/atlascloud.js:5 \u00B7 Sources/CodexBarCore/Resources/Plugins/linkup.js:5 \u00B7 Sources/CodexBarCore/Resources/Plugins/vercel.js:5 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/atlascloud.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb2524891f79fa0cd4704acdba2b78f53fa4934ff5bf7a65e071c30a5bc9856"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/hyper.js:107 \u00B7 Sources/CodexBarCore/Resources/Plugins/hyper.ts:78 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/hyper.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ee3b48bdd447c10ac183753b221d027b5052d54a90cad605c1bdf75a80bf21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/abliteration.js:60 \u00B7 Sources/CodexBarCore/Resources/Plugins/abliteration.ts:41 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9adca633d3f0a5db9656aeeb9d3b6f46f6aba7cde269156f1b23db3f8669229"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/aerostack.js:34 \u00B7 Sources/CodexBarCore/Resources/Plugins/cosmic.js:54 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02830a23632bcd4b09445ad0e015247aa2c40230ca97284d64545973eba67f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/sailresearch.js:29 \u00B7 Sources/CodexBarCore/Resources/Plugins/sailresearch.ts:1 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sailresearch.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74152af3039cdffc519e715bc17c17875a87e6d1aeddc00b044f57d7aace6ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/zoommate.js:62 \u00B7 Sources/CodexBarCore/Resources/Plugins/zoommate.ts:29 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb3afae55b0702c7ba3295c6e5531a4682fb4e49c2524a3a49fe99e5e2ba9c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 16 locations): Sources/CodexBarCore/Resources/Plugins/abliteration.js:1 \u00B7 Sources/CodexBarCore/Resources/Plugins/aerostack.js:1 \u00B7 Sources/CodexBarCore/Resources/Plugins/chatbox.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/clinepass.js:1 \u00B7 \u002B12 more site(s) not listed \u2014 the 16 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 16 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aaea29e59ab452cb2a8d06761c2a701022e24c4fd8fe4b329239e94b5f7f090"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 17 locations): Sources/CodexBarCore/Resources/Plugins/aiand.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/bifrost.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/chatbox.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/chutes.js:8 \u00B7 \u002B13 more site(s) not listed \u2014 the 17 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 17 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"783e01c30994f98081bdfe2ff1a4f73460642134ba85ee1790a0a34943c9a7d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 6 locations): Sources/CodexBarCore/Resources/Plugins/aixy.js:1 \u00B7 Sources/CodexBarCore/Resources/Plugins/bifrost.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/litellm.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/llmman.js:1 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 6 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4668982f2cccc8949c0ee4a138bf5908329d5d245340782b15225bb1589ed48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/helmcode.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/muse.js:8 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba84fe92ddf7ec99612072835f9214e5b98238a1641765ed3a320ec36e31eee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/notion.js:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/zoommate.js:15 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd45f7d63ab7095806452aa78092ade3cd3c9bd7d5ba79a71e53742dd4a877d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/devpass.js:29 \u00B7 Sources/CodexBarCore/Resources/Plugins/devpass.ts:1 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/devpass.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa24a9f5fc6ba3c3536c816af4f7b94a8846ffed80f0acf323e02b887c153c7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/longcat.js:95 \u00B7 Sources/CodexBarCore/Resources/Plugins/longcat.ts:62 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f33a3037bee27c08055f3819544887541fe4bfaff0c74261e686c33854ff9c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/longcat.js:195 \u00B7 Sources/CodexBarCore/Resources/Plugins/longcat.ts:145 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7b22b43eb492fda6421f33607c1a3b02be3c8eeecafb67a7d81f9ae5fb280a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/sailresearch.ts:5 \u00B7 Sources/CodexBarCore/Resources/Plugins/sofya.ts:5 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sailresearch.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf0642030c89dd83a3b0132770cc5e0c29a067f7f1666ed7b05815ea1dc1f6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/longcat.js:49 \u00B7 Sources/CodexBarCore/Resources/Plugins/longcat.ts:23 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c0f5e812664542c62b6b3350cb9797e578561ddb89f35f99d0cc5077676dfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/longcat.js:118 \u00B7 Sources/CodexBarCore/Resources/Plugins/longcat.ts:85 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a2b0ce723f9341c36141f8cbf03f168ac1aa2ad362e122099bb9d71c0721db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/notion.js:215 \u00B7 Sources/CodexBarCore/Resources/Plugins/notion.ts:137 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2e9075ca3990d80ca5e649cfda277927892fafdbf8b8dcf355b645e4b1b23b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/tripo.js:15 \u00B7 Sources/CodexBarCore/Resources/Plugins/tripo.ts:15 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tripo.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3ad65484d5b6be2feec393a180d6ca8d9ff29411a8c73fa55b0ec62a9450fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/tripo.js:35 \u00B7 Sources/CodexBarCore/Resources/Plugins/tripo.ts:35 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tripo.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b973da45e74107278f83e668f8c60bd03fb06ff86455115a3e36ac8b134531e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/zoommate.js:184 \u00B7 Sources/CodexBarCore/Resources/Plugins/zoommate.ts:127 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c531a41012765c7c9158fe698e194c932fd9654fd170a2e5b23994da46c6ceb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/aerostack.ts:13 \u00B7 Sources/CodexBarCore/Resources/Plugins/cosmic.ts:21 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b9ab42bd4e8d8ba133d38940f541e62075b72a787da6425d7a3a35b5903cbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/cosmic.js:29 \u00B7 Sources/CodexBarCore/Resources/Plugins/v0.js:48 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/cosmic.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9c5189d23d912c329e10a71ace2d09ed67dc8a922ca47ef46b1a8446c5e5b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/notion.js:68 \u00B7 Sources/CodexBarCore/Resources/Plugins/notion.ts:34 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2dc94f4141f0901250800b3ef461709a766b9428d7abfedbd4e0369bf313f07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/abliteration.js:30 \u00B7 Sources/CodexBarCore/Resources/Plugins/tavily.js:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 149 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"171981505e21581ea166c5b93a09d23300aff6eca3c795958566cbaaec940cf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/abliteration.ts:22 \u00B7 Sources/CodexBarCore/Resources/Plugins/siliconflow.ts:34 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8896902538724c4cf297ff5eacc9198f0381a0945735be9ceca88d48ee93c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/clawrouter.js:21 \u00B7 Sources/CodexBarCore/Resources/Plugins/sub2api.js:26 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clawrouter.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6eee28390622edd00362a5b9a33d2c814bb169a1ac20de3543a9656b3864b30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/hyper.js:22 \u00B7 Sources/CodexBarCore/Resources/Plugins/hyper.ts:1 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/hyper.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6c7ae69b55a2a2a69bc563a964bed001aa0efe3b50138dbea8fc65dec4729c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/aerostack.js:73 \u00B7 Sources/CodexBarCore/Resources/Plugins/aerostack.ts:45 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba9cd45c8a09b327d6174090a03574edc64cf2f36b36c3e660c82407fd4cbd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/futureagi.ts:16 \u00B7 Sources/CodexBarCore/Resources/Plugins/xkiro.ts:9 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/futureagi.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db8238bd79fd2a3c094f381b3e195f76a3230b627bf568383e925156e036b5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/poe.js:5 \u00B7 Sources/CodexBarCore/Resources/Plugins/synthetic.js:5 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/poe.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4d48bc2109a1914b3269b92823b6ce68e925f5a012499144e4dbd8131c9e6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/workbuddy.js:17 \u00B7 Sources/CodexBarCore/Resources/Plugins/workbuddy.ts:10 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d6c924c2d361a76864a98d915014a258377cd34506ce605c7edf01dd08966e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/devpass.ts:9 \u00B7 Sources/CodexBarCore/Resources/Plugins/gitkraken.ts:30 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/devpass.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff723f1509e98ea85e89b1fbbc141b716c395341585df2407de2c0158a152d52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/replicate.js:122 \u00B7 Sources/CodexBarCore/Resources/Plugins/replicate.ts:97 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abdbfefce70369135e5bb8d8566b50a705cd8fe1979a18b1b0bf79b00d451b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/zoommate.js:104 \u00B7 Sources/CodexBarCore/Resources/Plugins/zoommate.ts:72 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a394132e9153eb7677d3de8b1e7aed4cfbfb5c6ee6e9c6b32a220ca3a21a48c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/zoommate.js:134 \u00B7 Sources/CodexBarCore/Resources/Plugins/zoommate.ts:99 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcb08dc96147bbd009968eb8a7a69d037c4621e7568500d9114d88932e0e681"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/ollama-api.ts:14 \u00B7 Sources/CodexBarCore/Resources/Plugins/sofya.ts:19 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/ollama-api.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2a4167edc02a8938b0e7fcca7af016307768a03a7684f9f018a5624b8014f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/replicate.js:56 \u00B7 Sources/CodexBarCore/Resources/Plugins/replicate.ts:37 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf11b9d24c08edc4b661fc7b8960e8f1a745ebd8fa2859df98b1b31047ee07c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/replicate.js:151 \u00B7 Sources/CodexBarCore/Resources/Plugins/replicate.ts:117 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56a9220113da55147c6978042ffefd31b7e07c0403a80a9025f61ebf1adfe3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/workbuddy.js:67 \u00B7 Sources/CodexBarCore/Resources/Plugins/workbuddy.ts:60 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cddc2f5796bae39690f4b8ad1870a70ceb90f1158a5c799fd8c5e5882efb42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/zoommate.js:242 \u00B7 Sources/CodexBarCore/Resources/Plugins/zoommate.ts:185 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"01620aa83e70f4639b761fb086fc96389cde77b4c6c941620ced6390a5a2a91e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/aiand.js:51 \u00B7 Sources/CodexBarCore/Resources/Plugins/aiand.ts:11 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"37517e4ca48cce51ff77825df51eaffec703da1225e713a057c1b4fcad84b5fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): Sources/CodexBarCore/Resources/Plugins/aixy.ts:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/bifrost.ts:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/litellm.ts:9 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3e39b9826a5eb38a06906c9dc054d28d98ce081b758ac93733f3eb8b5dcc59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/aixy.ts:59 \u00B7 Sources/CodexBarCore/Resources/Plugins/bifrost.ts:108 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e1e90f90f8ffb0474405e352c106b00b92fff93921ee01fac445e2e84f4546"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): Sources/CodexBarCore/Resources/Plugins/exa.js:28 \u00B7 Sources/CodexBarCore/Resources/Plugins/munito.js:22 \u00B7 Sources/CodexBarCore/Resources/Plugins/munito.ts:15 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/exa.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c2c5f05b1e9787df6e08b80f7af3f7d8857b371a7aeb4cb2cfd726493c6b2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/tripo.js:1 \u00B7 Sources/CodexBarCore/Resources/Plugins/tripo.ts:1 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tripo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba6fd7cc88854fb04f5741e4a078cf7e1f23bd05e5e089ef62e07a8ce62e0f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/cosmic.js:103 \u00B7 Sources/CodexBarCore/Resources/Plugins/cosmic.ts:55 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/cosmic.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"88360766959210cd8e1891fdb0eee0b973cbf645c6629b85ed4ad37789658e40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/deepgram.js:26 \u00B7 Sources/CodexBarCore/Resources/Plugins/deepinfra.js:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepgram.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89edf14d70688135f42fa07af7b630452cd1b9b3dcdbd96ada9764e43e46234"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): Sources/CodexBarCore/Resources/Plugins/fal.js:9 \u00B7 Sources/CodexBarCore/Resources/Plugins/munito.js:17 \u00B7 Sources/CodexBarCore/Resources/Plugins/munito.ts:10 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/fal.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e7cb0906ee3202109cc798880106a86b6eff9e7538a5746785552f8f57ad1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/manus.js:41 \u00B7 Sources/CodexBarCore/Resources/Plugins/perplexity.js:79 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/manus.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c747bf923207e1bd5989343dfb253cad40fdc72525bac141e8029037ed005e27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/nous.js:31 \u00B7 Sources/CodexBarCore/Resources/Plugins/raycast.js:81 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d8c33df56816ccfacf9ddaaa1741a49eec6536f40d105d52ea50e07c36cf00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): Integrations/Omarchy/test.mjs:150 \u00B7 Integrations/Omarchy/test.mjs:657 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Omarchy/test.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"958d7a6514b33f8e2a5488edc5da4bd40cd36b59b54ca0d794383435fb121d99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/bifrost.js:223 \u00B7 Sources/CodexBarCore/Resources/Plugins/bifrost.ts:183 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9d5aaf58d92e2703d8ddf56ced6301f524329cd1a8fc9daf1b0c358a837355"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/flora.js:32 \u00B7 Sources/CodexBarCore/Resources/Plugins/sailresearch.ts:14 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/flora.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8077975d5d1608ee594e85d7394ca6ed0ed884090be805e2035bae57c16093"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/notion.js:263 \u00B7 Sources/CodexBarCore/Resources/Plugins/notion.ts:167 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded8e2ee81fa77ae87e3d6820b97d94d386f49c6c47cffe52fe724ede2be49d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): Scripts/check-documentation-links.mjs:128 \u00B7 Scripts/docs-list.mjs:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/check-documentation-links.mjs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4c238fd1b07d4191cd30a29dbe7c5b465e3730e44403339b1d9f6f24aba180"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/aixy.js:33 \u00B7 Sources/CodexBarCore/Resources/Plugins/zed.js:38 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8079a805db725b42bf5fe6ef9eecfaacebd0de9dccd49e233782b83dd717785"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/fal.js:27 \u00B7 Sources/CodexBarCore/Resources/Plugins/sub2api.js:36 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/fal.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00ebffc45bf74f12923f26457976d042a4b9178174bdf0785762f09cbafc00c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/huggingface.ts:17 \u00B7 Sources/CodexBarCore/Resources/Plugins/muse.ts:28 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f33868bd13553c82e09d7524ad66395d255dce09dbfaa96419d517cd70be78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): Sources/CodexBarCore/Resources/Plugins/lithosai.ts:44 \u00B7 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts:29 \u00B7 Sources/CodexBarCore/Resources/Plugins/zoommate.ts:83 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/lithosai.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"760ad002ef4ae5a4744a3780369c380b4ac8e7ea6db8dd321059dfd38dbcc66b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/longcat.js:40 \u00B7 Sources/CodexBarCore/Resources/Plugins/longcat.ts:13 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"135af1c633a908f00a82d6ae36b58d9f90f7ec83c1e51d5e0718c574ea856b42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/longcat.js:74 \u00B7 Sources/CodexBarCore/Resources/Plugins/longcat.ts:48 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2c4ef3d624fed2abf1a7df039d73f31c215bf8acca5b4be0f3a994a2110400"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/notion.js:90 \u00B7 Sources/CodexBarCore/Resources/Plugins/notion.ts:56 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00f32e4f051f7362870fe396c734e1274af530203ff8df49377c1befed44c5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/notion.js:175 \u00B7 Sources/CodexBarCore/Resources/Plugins/notion.ts:114 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0818a28f7594fff1c891e3c5847cdb536a827e4f539f90a7bed82cebec1de916"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/poe.js:24 \u00B7 Sources/CodexBarCore/Resources/Plugins/venice.js:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/poe.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"581986d101ebb641779e6c7aa847070b6f9dd1993e9ce3d835020018b68a2082"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/replicate.js:70 \u00B7 Sources/CodexBarCore/Resources/Plugins/replicate.ts:51 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a2523c7458608de642440bdbd0831ac7fd7c6c107f04ffc633b69818dfe8e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/zoommate.js:171 \u00B7 Sources/CodexBarCore/Resources/Plugins/zoommate.ts:115 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"307f00b3318fc563ec68f81a2575a3f313aa9bf0986aa6c1eba61c4f1ec21174"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/aerostack.js:59 \u00B7 Sources/CodexBarCore/Resources/Plugins/aerostack.ts:31 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ccdd3cdbfbb7a371cd7fb292bfcbcb9a54a5cc778b55ad3269bad7186fadc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): Sources/CodexBarCore/Resources/Plugins/helmcode.ts:17 \u00B7 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts:11 \u00B7 Sources/CodexBarCore/Resources/Plugins/replicate.ts:9 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"43aa83c21ac76f8250eb0db085df0265d11a43bb22e0916657e979fe995b7697"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): Sources/CodexBarCore/Resources/Plugins/opendesign.js:42 \u00B7 Sources/CodexBarCore/Resources/Plugins/traecn.js:21 \u00B7 Sources/CodexBarCore/Resources/Plugins/vercel-budget.js:31 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/opendesign.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b5d496c42d3f3799440f2f002dfec2f454ab87fba14ebc5b22b03c64804826"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): Integrations/Omarchy/test.mjs:484 \u00B7 Integrations/Omarchy/test.mjs:803 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Omarchy/test.mjs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec3cf68d034b21bb19d1fcf24e653d8b8ae72c854e8fb8017b592d3de353c37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): Scripts/regenerate-provider-docs.mjs:15 \u00B7 Scripts/sync-provider-catalog.mjs:12 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/regenerate-provider-docs.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3beb8e6aee97559ea3bbc4e9bfc17dd8cdd2d8f682674d8ee65feed35046943"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): Scripts/regenerate-provider-docs.mjs:2 \u00B7 Scripts/sync-widget-locales.mjs:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/regenerate-provider-docs.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac40605a363c088571100b4e685353929c8e97bc1d9809026d7dd0ff7eb38ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/abliteration.js:35 \u00B7 Sources/CodexBarCore/Resources/Plugins/xapi.js:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"376b026076d40dce4a4780b13c530e1159519621e2ab0bde2c7496bb90ff087a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/abliteration.ts:14 \u00B7 Sources/CodexBarCore/Resources/Plugins/xapi.js:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe785e272c65b44deb8ebc797b68ad36ba65729057ed686bd8da54134b1eedb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts:29 \u00B7 Sources/CodexBarCore/Resources/Plugins/workbuddy.ts:43 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b21eb1bc5c9e8d717b6a7f027a1768f20e96067fb05b950624559f649bba038"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/cosmic.js:91 \u00B7 Sources/CodexBarCore/Resources/Plugins/cosmic.ts:43 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/cosmic.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce0bd88b547a23b03688d5abdeb6e0f80dcc5b89af9609fca35d62c45295a78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/cosmic.ts:7 \u00B7 Sources/CodexBarCore/Resources/Plugins/vercel-budget.js:7 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/cosmic.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb7c9c49403f54c98679c5cfa2bad237100b329e966f0f3803f8d97fea12551"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): Sources/CodexBarCore/Resources/Plugins/litellm.js:42 \u00B7 Sources/CodexBarCore/Resources/Plugins/llmproxy.js:37 \u00B7 Sources/CodexBarCore/Resources/Plugins/neuralwatt.js:32 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88e613d04f04b1abe47214c24255395f8cddf8ba811a7b5f6f288bb4f0958bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): Sources/CodexBarCore/Resources/Plugins/manus.js:6 \u00B7 Sources/CodexBarCore/Resources/Plugins/parallel.js:13 \u00B7 Sources/CodexBarCore/Resources/Plugins/parallel.ts:6 \u00B7 Sources/CodexBarCore/Resources/Plugins/perplexity.js:6 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/manus.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d0736aa090ad551c9351ebc52b7d723ada9f1c48304a3604ea45ec20623b21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/moonshot.js:25 \u00B7 Sources/CodexBarCore/Resources/Plugins/neuralwatt.js:28 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/moonshot.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"785fd0452887f8939372cc8c65cc5c366a5a7529e480c7c9b004bac07d2a58ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/neuralwatt.js:28 \u00B7 Sources/CodexBarCore/Resources/Plugins/sakana.js:28 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/neuralwatt.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"938b6497515ccae87a47494b54c3b90502a8f871b5164d5fc322a1f01dca1dfc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/openai.js:164 \u00B7 Sources/CodexBarCore/Resources/Plugins/openai.js:271 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bea9ef74f59e0076f86638c33843e85f4277f81ecda181649ee20169b5fcbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): Integrations/Omarchy/test.mjs:142 \u00B7 Integrations/Omarchy/test.mjs:148 \u00B7 Integrations/Omarchy/test.mjs:592 \u00B7 Integrations/Omarchy/test.mjs:653 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Omarchy/test.mjs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3a05ee3364dbae74a158b13fa508e8d200fcb3fa300636645f74dc36575475"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): Integrations/Omarchy/test.mjs:242 \u00B7 Integrations/Omarchy/test.mjs:289 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Omarchy/test.mjs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1ce9dc6daee52e0e12acaa798e542932a187c8d00e1dd193dbebded8cdb05e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): Integrations/Omarchy/test.mjs:502 \u00B7 Integrations/Omarchy/test.mjs:627 \u00B7 Integrations/Omarchy/test.mjs:730 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Omarchy/test.mjs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e97857be08e7f9d2f7efdb79055689b7487d3ec8c33cd22fe73decc5caee7e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): Integrations/Omarchy/test.mjs:539 \u00B7 Integrations/Omarchy/test.mjs:552 \u00B7 Integrations/Omarchy/test.mjs:566 \u00B7 Integrations/Omarchy/test.mjs:687 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Omarchy/test.mjs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cca9645b78451258982a45bcf748cfa42169f367baad16c6de5ccbcb9696a76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): Integrations/Omarchy/test.mjs:636 \u00B7 Integrations/Omarchy/test.mjs:719 \u00B7 Integrations/Omarchy/test.mjs:737 \u00B7 Integrations/Omarchy/test.mjs:813 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Omarchy/test.mjs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"237d141d54f17aa443adb95ae743a6d843f381251b5e3b41e252a9f8c2e5e9e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): Integrations/Omarchy/test.mjs:757 \u00B7 Integrations/Omarchy/test.mjs:830 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Omarchy/test.mjs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbe573bb0716db53f33172b59f56551aff6109da8e4c2507a59fc87305963fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): Scripts/check-documentation-links.mjs:2 \u00B7 Scripts/check-package-resolved.mjs:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/check-documentation-links.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32fe7299454804b60260731991501d7a461f192da339ef78990e974c418c821"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): Scripts/check-package-resolved.mjs:2 \u00B7 Scripts/generate-llms.mjs:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/check-package-resolved.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c819164a2ffeb99a7ff96061e350f3389191666408089672ac461f1a5e75d344"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): Sources/CodexBarCore/Resources/Plugins/abliteration.ts:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/chatbox.ts:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/siliconflow.ts:9 \u00B7 Sources/CodexBarCore/Resources/Plugins/tripo.ts:8 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"18242520e3c73e0a75157c58f5e2fe77931840daf1b318525de6eb4c3a37e392"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): Sources/CodexBarCore/Resources/Plugins/clawrouter.js:79 \u00B7 Sources/CodexBarCore/Resources/Plugins/nous.js:57 \u00B7 Sources/CodexBarCore/Resources/Plugins/nous.ts:51 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clawrouter.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cb9a3f90eeabc5fdcc9213628ecdea94e1f1c1a1b1212b8472c1382ff3c8b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): Sources/CodexBarCore/Resources/Plugins/gemini-web.ts:23 \u00B7 Sources/CodexBarCore/Resources/Plugins/helmcode.ts:18 \u00B7 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts:12 \u00B7 Sources/CodexBarCore/Resources/Plugins/replicate.ts:10 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gemini-web.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"673e0322b1dfa813ed2db9e5bb8fd98eb5f5900c94ecde1a1a45feae3d0639f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/gemini-web.ts:45 \u00B7 Sources/CodexBarCore/Resources/Plugins/lithosai.ts:43 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gemini-web.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"199b1aed2f5c262ade6c200cb465248bc3086b4be751cac6005d4c5f0ffba8b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/langdock.ts:19 \u00B7 Sources/CodexBarCore/Resources/Plugins/lithosai.ts:23 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/langdock.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"63de0921f5c692a633fba108feadea37e6c16b6561fd841b7416615c1e5a2bdc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/longcat.ts:8 \u00B7 Sources/CodexBarCore/Resources/Plugins/notion.ts:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf56d7349aab02e3a88cd2bee1f3a64f12b9eca23f2a2fbaaddd7340145b48a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): Sources/CodexBarCore/Resources/Plugins/moonshot.ts:27 \u00B7 Sources/CodexBarCore/Resources/Plugins/muse.ts:27 \u00B7 Sources/CodexBarCore/Resources/Plugins/nous.ts:22 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/moonshot.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b496e468e376968a8ac12b75d7ac39896faa52a47599a7fb3c7bd590b4e53a4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/notion.ts:49 \u00B7 Sources/CodexBarCore/Resources/Plugins/zoommate.ts:28 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f846acf32f76886e87773a0a71746af9eb48dfb0bf02c712cfeba1ee0318e50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/openai.js:32 \u00B7 Sources/CodexBarCore/Resources/Plugins/poe.js:29 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fb692a972a837b37a8d6a2593f2ec501dc7811b9abb83a68d4dba5cb9776cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/raycast.ts:92 \u00B7 Sources/CodexBarCore/Resources/Plugins/workbuddy.ts:53 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/raycast.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc991f396c77a45b6990b41fd7550757621ad703c56744f0b78797e5883f137"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/tinyapi.js:32 \u00B7 Sources/CodexBarCore/Resources/Plugins/zed.js:32 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tinyapi.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"079b8bca834f59b4046d298c24fed9a6d658abb25a458ea385e5582779121b49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/workbuddy.js:46 \u00B7 Sources/CodexBarCore/Resources/Plugins/workbuddy.ts:36 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4210202e1fda743cd88025df999478b6a5e3a0d3ba9be6bdbe4606e0cd31444"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): Integrations/Omarchy/test.mjs:34 \u00B7 Integrations/Omarchy/test.mjs:620 \u00B7 Integrations/Omarchy/test.mjs:636 \u00B7 Integrations/Omarchy/test.mjs:669 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Omarchy/test.mjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"42108cce866832b1a6bdc47e0677ef2670b60e6e735df3a5e256572a04fbc20f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): Integrations/Omarchy/test.mjs:168 \u00B7 Integrations/Omarchy/test.mjs:458 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Omarchy/test.mjs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b3e66fa81df15e7479445fdbb1d17946e8f319a0d2dd4166e44f02eb056b1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): Integrations/Omarchy/test.mjs:213 \u00B7 Integrations/Omarchy/test.mjs:298 \u00B7 Integrations/Omarchy/test.mjs:307 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Omarchy/test.mjs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f06926e6196bd58b7fe374e4e26b23bc49d1cb4866528d93198ebd549406d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): Integrations/Omarchy/test.mjs:414 \u00B7 Integrations/Omarchy/test.mjs:576 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Omarchy/test.mjs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9b405b69d3c42e5a03c58d88b32b18fb7cbbd2c50e6e7700f8c98d84196555"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): Sources/CodexBarCore/Resources/Plugins/aerostack.ts:31 \u00B7 Sources/CodexBarCore/Resources/Plugins/chatbox.ts:79 \u00B7 Sources/CodexBarCore/Resources/Plugins/cosmic.ts:39 \u00B7 Sources/CodexBarCore/Resources/Plugins/xkiro.ts:36 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50262bedf46b6fc33275c8688c4b8e5d738ada546dbc7ae0681d8576aa81734"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/deepinfra.js:55 \u00B7 Sources/CodexBarCore/Resources/Plugins/zenmux.js:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepinfra.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a06c467df8e6a747c2529a625962df6e74657c254fb1da11a78ca29a8e32a03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/openai.js:32 \u00B7 Sources/CodexBarCore/Resources/Plugins/venice.js:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e41434cfccc6cb932d6917574f2595fbfdc0d29e80dedc9cd5c6984517c69ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/replicate.js:44 \u00B7 Sources/CodexBarCore/Resources/Plugins/replicate.ts:25 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad6057b6467b5f5915f5eb198ef1d05ad3b9f9a7ee7bad6388e8e0972a5abbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): Sources/CodexBarCore/Resources/Plugins/workbuddy.js:60 \u00B7 Sources/CodexBarCore/Resources/Plugins/workbuddy.ts:52 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"71018638fc071ff6f24c21a12fcb4f2fa579342f6464ea968fae19cd2dbb1579"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 116, cognitive 202): fetchUsage has cyclomatic complexity 116 and cognitive complexity 202; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openrouter.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a03a12a14ca448903ed1a82c58bd7203d0e38bfbb0b7bd288f7aea7754b7aa3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 75, cognitive 96): fetchUsage has cyclomatic complexity 75 and cognitive complexity 96; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d71b7607b94169bde4dcb7960f5d952040643e2bc16cd409b0b5a23ecc7681"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 62, cognitive 87): fetchUsage has cyclomatic complexity 62 and cognitive complexity 87; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0464c9b06ff45c9b78857944ba005dc6348ad2db0caf6474076348fe0eeac467"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 60, cognitive 114): fetchUsage has cyclomatic complexity 60 and cognitive complexity 114; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f086c23bff05bf6c6430961efea3484bffdec0c254dbf0b23cf576516cff61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 59, cognitive 64): fetchUsage has cyclomatic complexity 59 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a43fe9641ea94989bcdfa9619c3a60c73394f4d46a5c6ce29814dc4eb03fcc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 58, cognitive 87): fetchUsage has cyclomatic complexity 58 and cognitive complexity 87; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7063ce7416fc174dba71af017147675b05bf5b53d0638e345ee1e04375ef803"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 57, cognitive 74): fetchUsage has cyclomatic complexity 57 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/poe.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4455b2e6154faaf0247752fde073da803c2e228881be05b289dae3872f16b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 55, cognitive 60): fetchUsage has cyclomatic complexity 55 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8d965b318f9a414128badca3be75264687e72057692c3b876810f66cb9d3c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 54, cognitive 108): fetchUsage has cyclomatic complexity 54 and cognitive complexity 108; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"87aef3475b568efa14a032bad776e5d3bcfe4b66944c1fc13421a6b6fcd17a09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 54, cognitive 84): fetchUsage has cyclomatic complexity 54 and cognitive complexity 84; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"754525e8517ce59941b7bfdabe7d5583134ca81e8039e1d83e0d30c618be6ac2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 52, cognitive 55): fetchUsage has cyclomatic complexity 52 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sub2api.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f9d90fafc6d0bda062828f9bd7d8742b5e2faeb8a0261f3777155858b67e96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 50, cognitive 79): fetchUsage has cyclomatic complexity 50 and cognitive complexity 79; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7f595d4d4da61f5f0789dbfdce7bf595eab25b99ec3db56dbdec3e34fb6509"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 50, cognitive 58): fetchUsage has cyclomatic complexity 50 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f4d0de14ec08217a0c4a630b7fdef0099f397c8b15a6433d389636f7b94c06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 45, cognitive 54): fetchUsage has cyclomatic complexity 45 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c232b49210f19395df991d27064c09ea9fe2f0c5e3bffb01cc541fac98d40e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 44, cognitive 60): fetchUsage has cyclomatic complexity 44 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9f5a85980d1b257284bced5fb985c1ef442b47295a71280651a827b8cbb749"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 44, cognitive 60): fetchUsage has cyclomatic complexity 44 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d3106e972247e02d9bfc146d948b7e2b54c3eecc5fedab369273829b0904be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 44, cognitive 51): fetchUsage has cyclomatic complexity 44 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xai.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d513b757c2d31cd3a54af399908e8782d9d4f942f9856542b4307c45cf41144"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 43, cognitive 38): fetchUsage has cyclomatic complexity 43 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/neuralwatt.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"075fe0c19365a35056fe96d609046566ce241bc4d661eda29eee4c7eb95453b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 41, cognitive 73): fetchUsage has cyclomatic complexity 41 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"655782a3bb8b479a52cbd302fda5112627207d86da57e95ada1fa5e2d915e21d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 41, cognitive 70): fetchUsage has cyclomatic complexity 41 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9393d605560c87776fded9611b2ac584459acb0f90c22a57fa1e981b65e8eaab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 41, cognitive 50): fetchUsage has cyclomatic complexity 41 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/t3chat.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"60868b19c8760adff1b160823af6d82f67dcc844359da499d6e406924104ae09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 41, cognitive 45): fetchUsage has cyclomatic complexity 41 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/perplexity.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bca3e9a2e895d237b7987de8086c8cdb7bd3376101dfd5c45f9ca26a174c0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 39, cognitive 53): fetchUsage has cyclomatic complexity 39 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb47787306832fc45fbcfb5000b3091b7496ff1274bb5229fcc90ef361fd9c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 39, cognitive 53): fetchUsage has cyclomatic complexity 39 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zed.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ab3c76cf404fda1ed2f40774016855fbba6bb00285253c5a8d1ab916bd8d80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 39, cognitive 47): fetchUsage has cyclomatic complexity 39 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/vercel-budget.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6d48981707aeb2f07ff030703188152048a6d52bc7cc06df18a763ec626e47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 38, cognitive 72): fetchUsage has cyclomatic complexity 38 and cognitive complexity 72; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71e6c7d15b0faca85af7d2e36226de5daa95b474379abfd0a6b309d2e269f34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 38, cognitive 40): fetchUsage has cyclomatic complexity 38 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/synthetic.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a714cdc0208951d9790a726bc147b6412b891b4f180f277df98de977bc3190a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 37, cognitive 69): fetchUsage has cyclomatic complexity 37 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f1c5bc8cc62e54ead5f69b5b97caee85bc152f95d6d3e6a40dac9e3c486108"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 37, cognitive 51): fetchUsage has cyclomatic complexity 37 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"96eabbb7ed709bbaffa4c4802ce9a36ceb4979559416553fcff5b8bc5f8764cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 37, cognitive 44): fetchUsage has cyclomatic complexity 37 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/raycast.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8b749530a77d7f6b374d9a938d089ee9f5f90b295fcdd749a942d102c39c06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 32): (anonymous) has cyclomatic complexity 37 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6803f11434b0a962c77fd9e9f705fa52518fd8675a21f12836df8d21202c13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 32): (anonymous) has cyclomatic complexity 37 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83a73b7d283b583d24f5dc6c5b54cb4d612063d8f39053f24bcf8ded248a93b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 35, cognitive 45): fetchUsage has cyclomatic complexity 35 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f394cecaafc5ce91b727c7b4f352ef0fe4ee91c80e570ab4ed12e9d989d07b0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 35, cognitive 42): fetchUsage has cyclomatic complexity 35 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/raycast.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"086c1bb7014e726420d1176fe263f2882c8dfb8bb3077d406678c40bbcbb428f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 33, cognitive 64): fetchUsage has cyclomatic complexity 33 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ab2ba8d3246ada1e4298095bd990b58fa66793690ff7d497ac601041756444"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 33, cognitive 34): fetchUsage has cyclomatic complexity 33 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0716af34aecc75fb6a0d1d0de517c306b54e88acde92a6ef726d4a5c843ac1f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 32, cognitive 48): fetchUsage has cyclomatic complexity 32 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e9a9498dd81b83649589103946e3bb129c51e204d14b80d9bb7dd3a948af18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 32, cognitive 48): fetchUsage has cyclomatic complexity 32 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f82255d714fafd6eb7438f0323a2870ac7516ee6154a35ce97f51b3defc88d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 32, cognitive 46): fetchUsage has cyclomatic complexity 32 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/hyper.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"360c35b8c2b1f6dbf64b6dd4f040e231303c5c93d81d2c941095624e36f70d4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 32, cognitive 46): fetchUsage has cyclomatic complexity 32 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/hyper.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3cbd2d12fd17d580cf2acbaac63680f2c73ad3eb14b7ec2cca7a43ae16f52d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 32, cognitive 41): fetchUsage has cyclomatic complexity 32 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddfb7b2970972dceb4693c87a53f71040b37516647c04c303824494871fafd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 32, cognitive 36): fetchUsage has cyclomatic complexity 32 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sofya.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d46210bcc3dd359064490c0eab0e0b889f749f61d0f441ee222858ac44c3322"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 35): (anonymous) has cyclomatic complexity 32 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcc667a8349fdf4ae30d9fea294cd757639654fe296aca08e9e04a9f3f9bd21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 31, cognitive 40): fetchUsage has cyclomatic complexity 31 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clinepass.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31ce630b110642c701455c52f4a5f23f542705fb654dbe793cf18ad69894a1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 31, cognitive 40): fetchUsage has cyclomatic complexity 31 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clinepass.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf9bf631b11bbc1dc6a6a2cae097a4285c8e348a4ae5cfc8a18477a23b8ebd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 31, cognitive 40): fetchUsage has cyclomatic complexity 31 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"690bbc72217c5fccf9f691530581609b501bc1e8fce7b7002631c0b1bcff76b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 31, cognitive 35): fetchUsage has cyclomatic complexity 31 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sofya.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b73f912750e22cba8d1607de80aff0abfbb3ac1a5e6abfd57346ad663e313a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 31, cognitive 32): fetchUsage has cyclomatic complexity 31 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/flora.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4696d00f027c9503968666678f6adeb309a960b42542f800d740defcd406768"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 30, cognitive 51): fetchUsage has cyclomatic complexity 30 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5f0f5d11a59470beadf30f08a60f5cf4084a4ce4fef5d3123800a6d0370b6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 30, cognitive 32): fetchUsage has cyclomatic complexity 30 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clawrouter.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab452892171706eab19d5d99ed0ead5a6b0a916c8a19532baba1a1a67229e6cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 53): (anonymous) has cyclomatic complexity 29 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f500d346624763a63de79d76e0d6585ce8e2e285262d535d3196e0847f55d60d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 29, cognitive 30): fetchUsage has cyclomatic complexity 29 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d651850bd2b9c15c7f8b6bfbdd1744f4788d233e259516b5a946a277ecd11c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 29, cognitive 30): fetchUsage has cyclomatic complexity 29 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/siliconflow.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d85c3bf0f1bc86b4bf01d2dd855f00a2524a608a16460bb24b01e709e5c161"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 29, cognitive 30): fetchUsage has cyclomatic complexity 29 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/siliconflow.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a7ca368418932ee02faecebcd87a1a8730613947edd56f898a48aa6eb236f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 29, cognitive 30): fetchUsage has cyclomatic complexity 29 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/venice.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6f092be1ce12474afbe05482156b73a524a8e42cf0bf65c30bbbeffcce53f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 29, cognitive 28): fetchUsage has cyclomatic complexity 29 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fba0395bad6bf9faea4ebc651d900395deda11b16c611852cc1609b011b2c91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listings (cyclomatic 28, cognitive 52): listings has cyclomatic complexity 28 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb5445b3ce98ab6419e5470ab6e76628b21de8f990f32a11255064a74d4a83f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 28, cognitive 44): fetchUsage has cyclomatic complexity 28 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"336382d58113c70f96adad4626d08e8c85f58fa318f7ab111f92e3e94ea76f05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 28, cognitive 44): fetchUsage has cyclomatic complexity 28 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ec654292df1a33dc88b2b60dfe54ac9b7943389899f733e67c425d912fef96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseQuota (cyclomatic 28, cognitive 37): parseQuota has cyclomatic complexity 28 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/synthetic.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d061519a37484af07bd428352b94a2c7749b42a37f47a698ef2ee9e354bd3c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 28, cognitive 30): fetchUsage has cyclomatic complexity 28 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbd5edf9f8662b5f993b810722d0a31a3b8b7e3e865066f1d1c24b9c00df353"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 28, cognitive 30): fetchUsage has cyclomatic complexity 28 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad859c46d1556336c62aaffc7c61eaeae2d391b67ea6fb622791d3e6568c4725"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 28, cognitive 28): fetchUsage has cyclomatic complexity 28 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"08700fd8974787ea75d511c90694d5b5eb0dbcc10dfb3f4b270941cfb365c73e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 28, cognitive 28): fetchUsage has cyclomatic complexity 28 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be1e33a075fccf760c9111710b9d96645671bc1519211b7d4a3b9eee92e2a99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 28, cognitive 27): fetchUsage has cyclomatic complexity 28 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d69791f42037e03c1e964ae3da6a91e274c727b7766f9e928e90044bb66eb92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function teamQuota (cyclomatic 27, cognitive 33): teamQuota has cyclomatic complexity 27 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"493c2e421433e114e850e54bca39b2dbe34febc627d6451137e5d88af5eabcdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 26, cognitive 47): fetchUsage has cyclomatic complexity 26 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dce5b82fbc0d6860ba3e7a5d62cf3e081071ab3b4c54a9531cd1cd9c435bb2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 26, cognitive 28): fetchUsage has cyclomatic complexity 26 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/fal.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca6d05dd2e402588d7ca17ff9ebae9d06159f3a7f44003b9f001799f416c3f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 25, cognitive 36): fetchUsage has cyclomatic complexity 25 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2784df83dc8d8f1f3cc10ef31fd40ab2aa8d7e3e8ceafa7490a72617c27415b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function teamQuota (cyclomatic 25, cognitive 31): teamQuota has cyclomatic complexity 25 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f425c5dc48fb5e641581fa7cb3ea35dd97a33687a3fd9d76710b5dfd96675e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summary (cyclomatic 25, cognitive 30): summary has cyclomatic complexity 25 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/fireworks.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8cd442b78bb3ab51d528766e340e435fc81eb1674d70bf21d3d7b7f8f0a63d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 25, cognitive 29): fetchUsage has cyclomatic complexity 25 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepgram.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"604a273369981a7ea8ce60a54e7cff93acf88861f2300dec5ed5898ee2bd4f8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 25, cognitive 25): fetchUsage has cyclomatic complexity 25 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee06745330d7e7ce139f9791dd72ac7d282813887fe883fc6bb89d1f572f090"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 25, cognitive 25): fetchUsage has cyclomatic complexity 25 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af3a86b5af1867d279cb98a04fb9f102b5ee407efc4c854814cd4cfa4c47c14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 25, cognitive 23): fetchUsage has cyclomatic complexity 25 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/futureagi.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb714953a98e6ea23bebbee3ec5549ac61f04dbebedbc1136c3a9d4967788eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 25, cognitive 22): fetchUsage has cyclomatic complexity 25 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/manus.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"600d63af6a1946fda05730f7cece0637dfd620a0bbce1b9d5aecd50ebccb2eee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modelActivity (cyclomatic 24, cognitive 40): modelActivity has cyclomatic complexity 24 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b75dde8e7ada7c94050fc368cc2957337e2049e899dacf9ecca5e6612109234"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 24, cognitive 40): fetchUsage has cyclomatic complexity 24 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/lithosai.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ff1137ca98de8f2912c615016a95457a1ac6fac109b253429d28fc5379e85a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 24, cognitive 28): fetchUsage has cyclomatic complexity 24 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"485ad3b89488dd146fa30c95f15398c4a03b594715825a80a06db3f58c1872a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 24, cognitive 28): fetchUsage has cyclomatic complexity 24 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/parallel.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d34fb72ecba2fdab70d12628357d49ee7ddd9cf4c2c939599906cd42570cf2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 24, cognitive 28): fetchUsage has cyclomatic complexity 24 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc298fd62d3140c23f645318f3aed150d883950277eacc8f833c5156a3607283"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 24, cognitive 28): fetchUsage has cyclomatic complexity 24 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0a2ac615c94b09a3df01d218808c7d944d30cea742289fe3d3891541ddf58d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 24, cognitive 26): fetchUsage has cyclomatic complexity 24 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/ollama-api.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"150da56b75f3fd940e9780406f22355e2157db5545e032e111d7cd5774cdc016"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 24, cognitive 26): fetchUsage has cyclomatic complexity 24 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/ollama-api.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"120347aff125a4e22e2f66784816b5708df9cfae0161b33231a208ec92794921"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function imageDimensions (cyclomatic 24, cognitive 23): imageDimensions has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/social-card.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8352bd7b4c55b62ea47cba939334ee34df5aef410704ba817856d92ad3fe4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 24, cognitive 22): fetchUsage has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/futureagi.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca989ea28193d0f623eb833bc6b8fef9b26a851f8fb2c1d20b4875a09325a13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 24, cognitive 22): fetchUsage has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xkiro.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fde102f31e1c3ce845ba534d03b01b50fec73bb8438cfc1868fc900a57f6b60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chutesQuota (cyclomatic 24, cognitive 21): chutesQuota has cyclomatic complexity 24 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fc25e1ebceba333387c51cf1179eddb493c3fca9a4afc22e5294e3eb61e0d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 23, cognitive 39): fetchUsage has cyclomatic complexity 23 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/lithosai.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"919822d50e45f746f1f7021c8a2f230f1f7d3dc867af561cfd9d4ae953ca720f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 23, cognitive 37): fetchUsage has cyclomatic complexity 23 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb58231614827d9784b499f3c09d04e58ddf741905060d1ea82032217a157b05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 23, cognitive 27): fetchUsage has cyclomatic complexity 23 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d321485a8631bb87f9bc9e921ef1a1b6a22ee8b26d6cf901992bc3b448b70da9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 23, cognitive 21): fetchUsage has cyclomatic complexity 23 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xkiro.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7006256cc19de926ad5c08a398f7424b7a9afb6f56663ddca1302033bfa015ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 22, cognitive 36): fetchUsage has cyclomatic complexity 22 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2be74df16e6c16bc3ddfddc82b378b89e0494d77dd0d721e2ba60bb865bfb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 22, cognitive 33): fetchUsage has cyclomatic complexity 22 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gemini-web.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"677cc2404e5df4a5a1b2751f262bfffb9d7e7002220e89dae9e5d2b05053552c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 22, cognitive 33): fetchUsage has cyclomatic complexity 22 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gemini-web.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7493000ecd3bdced0e4274fe6ff150a83c8045b150ade380684a1bbe54ec081e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 22, cognitive 26): fetchUsage has cyclomatic complexity 22 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/parallel.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51a9dc0eea1b5a3f1632c13513d9b077612b9b864bd0668b94eff83e6fa689e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parse (cyclomatic 22, cognitive 22): parse has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qoder.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fc24fec845917e2ed381ed1eeab02e23c3e22e405172be08de406590a2c9a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLimit (cyclomatic 22, cognitive 22): parseLimit has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4fa912e63268d54ee2dd5b7111a3a08770073e08d94d42c0acc78c4c4d950d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modelActivity (cyclomatic 21, cognitive 37): modelActivity has cyclomatic complexity 21 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a50199979f508ee3976fb568f2980c3c25aa2fe90cfb9ceaa833ebbc108cdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function accounts (cyclomatic 21, cognitive 36): accounts has cyclomatic complexity 21 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/fireworks.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"270a9911a075cbfae655af6699fd8b8b31d7f1079a08476ded21b95ce2cac93d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 21, cognitive 24): fetchUsage has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/museai.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c599cf6e6d1bdad1a3aad28fce8e11843257078253b29fbbb41ac002503e71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 21, cognitive 23): fetchUsage has cyclomatic complexity 21 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/devpass.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"baeb594534bda4d105b9702a275bad7a980ab398c5f0354f7a4d5bf3c86d6d04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 21, cognitive 22): fetchUsage has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmman.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d993148b6cc5e237f042aaed205a33f0daeb28d148d07491ef6e1e9abba7a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 21, cognitive 22): fetchUsage has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmman.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e854bd6a200ff3d56b2b0a0ae83820ad334a1f5ff41e24574546d2e273e1a26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 21, cognitive 21): fetchUsage has cyclomatic complexity 21 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sailresearch.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c206690aa6ec9a5b2ed77e37eeab99c1233c5594158652e8338e89b15b779c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 20, cognitive 33): fetchUsage has cyclomatic complexity 20 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/langdock.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"75462f06fafd87990701468716fa11605c51896fc8ea8089e785233854376809"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 20, cognitive 33): fetchUsage has cyclomatic complexity 20 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/langdock.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a2d9e9024725f73511d22ac60709d237b0a74cfaa90d561d90029a8b3356ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 20, cognitive 22): fetchUsage has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/devpass.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f670a0195f0bea5001abeb254e0de9db306cf85b2d8b96dc293b5282d11107"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 20, cognitive 20): fetchUsage has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sailresearch.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b078229fc596d2c3e18e76afcd6cbcd92bbe45bc3c531d69e7c6db8c768996"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 17): (anonymous) has cyclomatic complexity 20 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Linux/Shared/Usage.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0b28af48f2c026db41fe6fdc8405321648f24cfb01f0293b6c442a4e9e6002"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pages (cyclomatic 19, cognitive 35): pages has cyclomatic complexity 19 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"23259973da9357c522ac9b6ba84548dd9e0a4abf3f77e9c3c72ab6a555708c5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 19, cognitive 26): fetchUsage has cyclomatic complexity 19 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/traecn.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e5242c86bfeee3af99930329c66eccae4b133162b167743ec6eccd29819f8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 24): (anonymous) has cyclomatic complexity 19 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaca2a92b13b0d3286e4f91c2eb01689b99f3796e3ff3f3cf81a804fff60bbda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 16): (anonymous) has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Linux/Shared/Usage.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3a754920b24fe6e2b72b0a0b4565a4396b5155e34c79bd22998ea766398cfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 19, cognitive 16): fetchUsage has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tavily.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"140291026e04e15a00f311ad83544dce755f3b64c908d2559a8abc77c7bbde5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 19, cognitive 13): fetchUsage has cyclomatic complexity 19 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/exa.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da7d6bcd9ff255d3da0ef74574c193adb1ca85df5874ef919c17ef01e25f9e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 18, cognitive 21): fetchUsage has cyclomatic complexity 18 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmproxy.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dc4f539b800b5d109743ea529f4e04af97c57e78693bc1ca02f6ea1adf36f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 17, cognitive 32): fetchUsage has cyclomatic complexity 17 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9c08a3444de14cc181c5c78a96e2efaa4f1637f21d4be2060b33cacdc3a20a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function window (cyclomatic 17, cognitive 22): window has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc62e7912f72dc7f8ebac5e75b207035456095d9114b744424b3e9b0a22f7c49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 17, cognitive 22): fetchUsage has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sakana.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c437ee7e623e8e9033a9ec0479c14b527affef1a05783fa2dc3947b8de41cf89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 17): (anonymous) has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a625592eb410642aa3dc4c094cd00ea4c7e7e7598bbcbcd535958c4cd03647e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 17, cognitive 16): fetchUsage has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepinfra.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b78f8bef4d508156e8c7d771992cb97a033bdfe5c6b71fe310d5221e57d704"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pluralCatalogErrors (cyclomatic 16, cognitive 36): pluralCatalogErrors has cyclomatic complexity 16 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/localization-formats.mjs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf434f53945e17b601648d345f3ce11b07b8225985f010d875e2397bd18ae1d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractMetadata (cyclomatic 16, cognitive 32): extractMetadata has cyclomatic complexity 16 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/docs-list.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f080ae04cebb1da5ab37f407742b935027702429360f6438d449b94b9d4e361"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 27): (anonymous) has cyclomatic complexity 16 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b40d9303d7dd2726be4f50a29fcf32e95f725017bb78f6b0b7598134388892"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cookies (cyclomatic 16, cognitive 26): cookies has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/perplexity.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c465739db06b5576e0103c56ce381c33b4e4fd0bfbdee7a56547327f4bd8386b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function webQuota (cyclomatic 16, cognitive 25): webQuota has cyclomatic complexity 16 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"547db02898f230ee3dedc2267010ef49e87c84477450d997dcff1ea3f5c3fd99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 16, cognitive 24): fetchUsage has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qoder.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f3ad9fe65aa779630ced7342709cf9799ee4a08106839d48b2e27329e32d6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 16, cognitive 22): fetchUsage has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/opendesign.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"548722eca6a1dfd7b9b76c4d9d610d3c8de439c6ead5ea6c99ef2b4e8c4a5ad9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 16, cognitive 18): fetchUsage has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tinyapi.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf9235f576c5afc993ac4d027e3ca6316858d0ad70f1e6b8f926fc1c58f83eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 16, cognitive 14): fetchUsage has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/atlascloud.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"22562bfb9eb1319646b78da5c4f8618a1844ace4225076faaacb7b95004e969c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chutesSnapshot (cyclomatic 16, cognitive 14): chutesSnapshot has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"d644974e368d0d27ef530f3aa77e5669b9781ec6c6dfc5ae587921b0c2d54ab8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 16, cognitive 14): fetchUsage has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tripo.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc1fb5489bc9d37d647c19408d13de6f9a96a1a1747a2c6f27c8c6522968207"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 16, cognitive 14): fetchUsage has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tripo.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b74360212464dd0ee872e83abbde545eb4a4dd31d7f8b940b5837a7818ab1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseWebQuota (cyclomatic 16, cognitive 13): parseWebQuota has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3a471543cb0ec7274c6d366ebb2ce51362e8610fd5ea7f07cc8abc49074b0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseWebQuota (cyclomatic 16, cognitive 13): parseWebQuota has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"821cdea51eb75cde8944260c6f31480ac4155c525e6362591dc225e318ab2fca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 15, cognitive 31): fetchUsage has cyclomatic complexity 15 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fe84649950930002c4b8bac8b1673dce253b739dc0895ddc1f21d2db944210"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function webQuota (cyclomatic 15, cognitive 24): webQuota has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e33573c71940fc4fb5809601468dfc3d0f80da108ceb850bd50ed76b649c80e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function window (cyclomatic 15, cognitive 18): window has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32879e5dcc7e5493bad1a942af7e7c5f787ca4f7b66b9cd8941b60a7d12e7dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 15, cognitive 15): fetchUsage has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/moonshot.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0fe0c09071cebd4bb79ed98a52c196081cce63d6769083d3da3c1c613863c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 15, cognitive 15): fetchUsage has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/moonshot.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"60527f404b92532ba9c1e9b4c37ad4d501e6f2bade35ced568eb3ccaf56b31c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 15, cognitive 14): fetchUsage has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/v0.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1395916d0c1747348529cd6b4964ad091a45e3bfc1829e592ff174431584c833"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 25): (anonymous) has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7581d333b31bd2bcacc729fd21569c3d3d3380cf0b9d21e063481c56687d2000"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate (cyclomatic 14, cognitive 20): validate has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/neuralwatt.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a4e1a35b6a913f0eacfc8a2017b0f960de5f28eef27531c5a7ec3b58b89fc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 14, cognitive 17): fetchUsage has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmproxy.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb62a01d6397bec132863404d6b1b60c4169c4240a8088993071c3d153014f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 14, cognitive 16): fetchUsage has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zenmux.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09e060d71b9194faff76b7d244f54552b979716ed142ad71e12e45f34b4f88e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parse (cyclomatic 14, cognitive 14): parse has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f56181988e85bab2b9f5f38460b46f20a7455b55332e432d47cce9d3d47311b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bb4e4e46563135bcae4dc454f13c370a55c70e9420c101500c3ec26bbc2579"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chutesParse (cyclomatic 14, cognitive 14): chutesParse has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01ecf55ecad2181d0d607a162181b4f7ee14d4de56e15b7f37d7c9f0ba2134e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function usagePayload (cyclomatic 14, cognitive 14): usagePayload has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepgram.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"675285cec0a47f263820e1a6206fc8a70f26efaf95d27fdf0e9114a2bcba5d0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 14, cognitive 13): fetchUsage has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/linkup.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c483053ae5e328602552c3996653419ad8f74bb69933d9726e168cd1a452453"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function budget (cyclomatic 14, cognitive 13): budget has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1b34a595d52319572004ddef36fca0f4259a900b887b50298125d22a280efb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 14, cognitive 13): fetchUsage has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/v0.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b555e2e85bbf844d84573ad3134a25de521455d709bbbb21bbdadc314c8614a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moneyRow (cyclomatic 14, cognitive 11): moneyRow has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7ea5d915043c230a824ef9c58f38c16cb094d9081d8f2f286adb058be6cfee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 11): (anonymous) has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"703c5e094f93ab9bda63908219931ac93c787efa45d52907507c3634ddc45d65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatNumber (cyclomatic 14, cognitive 10): formatNumber has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/provider-plugin-prelude.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbfca26324fd3cfede3b43691b7f00a5e16849119518a83653fdfdff9549f16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chutesMinutes (cyclomatic 13, cognitive 22): chutesMinutes has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ab6909a2904d4724c0a6ed947f22d720a1384d5395d015eb8d6c1a733f8a3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chutesMinutes (cyclomatic 13, cognitive 22): chutesMinutes has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd99b0766e0e6b5a9d2f9bb7565c9c2d718cce70a9eb52f530a3e1a3c779614c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postOptions (cyclomatic 13, cognitive 15): postOptions has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/provider-plugin-prelude.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"da278820892becc129017fc832923d8731831426dfc27ad97b49a96a66f96500"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unwrap (cyclomatic 13, cognitive 14): unwrap has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f17cda2b2f523d779775855b8d48bbe9b8bc8001d6aa729f03f07d9e20ba11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function window (cyclomatic 13, cognitive 13): window has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/cosmic.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0fa3fff908ba41d5a0714d7e2f7805cad114c5747f4d8b1bec839262283816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function window (cyclomatic 13, cognitive 13): window has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/cosmic.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af77a74766f8ad8866ca713d2460ed61aa52ef65297423da281111aa3044d75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate (cyclomatic 13, cognitive 13): validate has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"535d8f3f34cfd3600b6349d15269bf423a500feeefd182b1626e0c8f702cb6e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb8712c2f7ad8c2df41f6bda842f6f5ae0ee81b892592e93ec7eb411096802f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 13, cognitive 11): fetchUsage has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/fireworks.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19fe43fef79df07217125266e9f083e7fab2a19171112b49804c25977ab1129"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quota (cyclomatic 13, cognitive 9): quota has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"180f73df6a96a659dd871ff9b90b02295495ebe96df4fb3ad21258903f3247c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quota (cyclomatic 13, cognitive 9): quota has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a1e7ff15efcce3970bae79393e85f2e36091bb0d8eed7149f3c08bbdf0e55d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 12, cognitive 17): request has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87e008cd5f6a3ca587aa380de1d07a67b4f78205302019d2ba274e9722f1f8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1370be738f5c8bba5eef5fb89e9f257482adac69b7b588c92a883e74192bbc1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPins (cyclomatic 12, cognitive 13): readPins has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/check-package-resolved.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f2ddab9064370b21b126e51b0a18ecf09f36719646408c86744ca34c058002"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a78fdedefbacc728e1641841f02adb4df7626d5dcd9a66b1ff6122241693762"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"740fccca15338078f1a83a8ceb22f4cd7e373654ffdeeb7a78281f50a9717101"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function budget (cyclomatic 12, cognitive 11): budget has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab08d9d370ce7ee541f1ea10d93cdb0e0020d66b0438e4cab88ac58658f6dc55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmproxy.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6b4e14500a533cec7fb36273ff07c86cab011ca65b7d50b91648e55550d061"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function timing (cyclomatic 12, cognitive 10): timing has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3423737d00c8a851634185b145441d5263214c95fe9f4c0eaeafa90b428c347"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function timing (cyclomatic 12, cognitive 10): timing has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8bb1e404b1635e08376d39ca4b2739de90553034de9ff09b150b4d4988b03f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modelUsage (cyclomatic 12, cognitive 10): modelUsage has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fbb64d3d307ba66bbcdaa8e3afc09041cd4716fa691aa61078dfff10523a48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chutesQuota (cyclomatic 12, cognitive 9): chutesQuota has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb875e94a56244349d542f90942a6d15d1451b266da5f2808b5e78774436ca64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 11, cognitive 16): fetchUsage has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xapi.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"783d0dcc5c8ed045a6dce2556d59ea6d468c11df16ed47f0c9f96994bb586635"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function laneSegments (cyclomatic 11, cognitive 13): laneSegments has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Linux/Shared/Usage.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbce374a9c6514f72e21f3ca45c6d58648435108933a94baf3898fc4be53f1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function command (cyclomatic 11, cognitive 11): command has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Linux/Shared/Usage.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"330605e6fc9951e71d81ed9e318c32cc978ff3d90348f2704a222b649ea0e228"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsage (cyclomatic 11, cognitive 11): fetchUsage has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/vercel.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"460ea64655933f671d442e945dd42d1e4dc3ebb2554c273c11fa9a01a73c8e9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate (cyclomatic 11, cognitive 10): validate has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"588604bb80cc791bd958eb8acb00ce0d71e69eb54a287e1332d11b460cc30b80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd02e5d33469d963596d0d219f689b4a7fb5252dbae34c8305fbf5bc55173c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function totals (cyclomatic 11, cognitive 10): totals has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sub2api.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12f249f71f87e7dc58a7d6e569927306509e64ecbb5c8c62255fa73b701d250"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 11, cognitive 10): request has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xapi.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eea6bd7189d440a4d326994cd689d684645909aa996502d33f85e4dc07a4b95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quotaRateRow (cyclomatic 11, cognitive 10): quotaRateRow has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34ee16586272af7ae2051f2b279c820fc44d7806c89522079699ddddfb64c64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function liveUsage (cyclomatic 11, cognitive 9): liveUsage has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e49ec872291e8945a77b8925fc03757253e8c5e0624846b6551fd8e860df431"}},{"ruleId":"R3","level":"warning","message":{"text":"Integrations/Omarchy/test.mjs: 771 lines of code: Integrations/Omarchy/test.mjs has 771 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Integrations/Omarchy/test.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0b55f27cc6add26248abf5219c3754718c1e2c038015137336ebbac206e47a"}},{"ruleId":"R3","level":"warning","message":{"text":"Sources/CodexBarCore/Resources/Plugins/openrouter.js: 431 lines of code: Sources/CodexBarCore/Resources/Plugins/openrouter.js has 431 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openrouter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c84ae146878fbec523665b46a99754366332a04c366b3f1230da8d8a8338cb"}},{"ruleId":"R3","level":"warning","message":{"text":"Sources/CodexBarCore/Resources/Plugins/openai.js: 409 lines of code: Sources/CodexBarCore/Resources/Plugins/openai.js has 409 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a489fc46a75f6e9336e2e287fb1ff330e96efdce438ab7ccacdba8ca25d996"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44d1ac0cae11a958ca19767993ada682997ffc3b423aee545577151e23edc15"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openrouter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83d400edda65a97f9b303162303d0a0882638f1a94f6b135f010d0f24247ec7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f187a9dc31f4e4ffad4c9b2f1429e53a9d77b158d616505c035047e4ed9fc9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86809e71b97114e5fd763c07e52f4ef124159323bf49917fde0bfab3b07271c6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/synthetic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6fd0f26e2500f97d10bba55bcc2ddba243915d21dc4df40c75b72af674ff98"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a14bd1cdbc1acbf556902b29337ebb31bfef3564f9aec3f8a4ae3d3b4ad7831"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2faaefba97744aebd181193324c852b0f0d911963074ffc2d1eb42dc865dff"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55043ec58547efd79f1aa1dd09897d1be044654f05998eeb43e53dc3369dda8d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdeb8bb66412eaef6335ebf140ef27dff1e56460f6ee8191474f34330fff5d29"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af7bc374aa4032ce76bafb89acdbb56d3a3ee6a3ca423d16246d89ad3ae4ee5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd91b7d3169d119199286a61386ed1a836a030dfd536571909cf0f5d4c09745"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/provider-plugin-prelude.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1547755fa0f2c007f1d19147a639beadc6e769a07713e5ea81875ff98e3ff5e2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fa5fb07e3903b1f0b32cb175f043343b5df1622305c1f745f147fa17348140"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe645b9a52f4886ba3188047c16a4a820db7c9554677ccadaf2fb0ccba5a8d7b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d9031bb77bdf3102e25e31e1667b5041c6ec90cdb82c6e19d6fa2459b7d6b7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a9c21a01e4596149ff4043dbb20557c7fab6c0f29e414157f18fc4cdba09a3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"412503345815896ae37eb001ed8ae1059617eddaea4c7d65371c35e59a8ca5b9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4cb662940d6ff5a00211cc91fa5d4312f62acc074cb1ee1cfe1447f24e2c72"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ec6fdc397bc9abfc36de6d07e906f14b48bde341e5af657cd606c634e84180"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bae440f33fd381aa348cd19b3ae08cec287ec4252927ad1ff333076517b496"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0382ec08cbbf9e9237c5dad61f316f05b019b2cc7e4d52e0984e05537e30c59d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c7f14d9bca213d0326c30340e144d19acda81d9a1e16298c268caa52c9333c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9656794b956143f63495927cc098ff586a5e91cf263d2280c9ba730ca731ba85"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ccabab6d794ccda180dde6b54f8f96994f4069a91f9d04fe96ac2ab300bbf6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3625fb2c20b4a904e836175f7c5b4c906f772bfecd01dc1e8adad041e2ff950"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sub2api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"545e424d598de6bf68392a54fa973fa82336b8a594a17b9153616db88a195da0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/v0.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9214dabfa061f7b4a8283ecef568c3f6091edc1e36baa03917d4ef82031b0a7e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04ffffb8c616e3b70c7434c35117ba039f8da63db64d4e8a93ec0a953a1cf05"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0716fa21490cf08c09fcfc38f9765a972007b67c5b5fb7fc0ebadb6f2f2c7d08"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/perplexity.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bcb74cfedbd8a4534a5326594d481a41e0b3777b0c45538cebd99537f7408f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75fa84da05d0f8a79ae8393bb87a6c34939fef0168454d09de3cf8931b404d5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"581b2f5bb71b5c18e360e78a7b27082a930535e211f9ffde4ea6aaedda7d28b9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/poe.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8761e402b26c6d13d8a1aef01fb64aa87ea080531d7f92cd4fe73e1a14ca13c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e5b75af9e11a47d1ada5a569f618b7a57ebafce23d82030fbce307b3671a28"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/neuralwatt.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ba73231804dd2448ca579a94896dcb4ad5429e441dde969a775efb239cfa8a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"775faa55c0b1e51ada0ee0f39e30bfcba5d23165b54cee95e51c05c8d0e65fcb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clawrouter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e93f573ff22d2398ee17b460d474af3bd6c7b677898c7460667f879987d7579"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/raycast.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7683c36b8bcbbab9099ad976393241ffa52303c3a043e01ebf27b84836ae3c8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/v0.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d48c7cfc2c87bd8a819607f34de9fc311c2d765ddb49123242c72aa58f40a5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31615609cd868de555de5f91624f7efec32e8c01e898f2a3886d56faeeeffca5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"202b6de6c51caa876bbf89f0435e54b7b6884c81079beec26fac4658e04c1d93"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/raycast.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdb8e38908012e0427a145bc743b7a8ea0711483f1887ec8070ad9ab89cb492"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a221905d8a83693280235609891c265c0567f161c081af422544d85be6e023e4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dcaa785866ce176fe88a23f1d825125c1ce7706f53ad2ab9639d7f69041cf4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3e4c8cfe98742d2c9b0fae135fbc483f621d02fc76d339f8a505a599aee226"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/museai.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f49fdf8dcd279babfc5c39e9107ddeec9b374997756f5f23677a681c5fbf70"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmproxy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdeff24db3397cf1fd6f824dd77c10a1ef017cb6770e989e52961e3abd02c1c2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepgram.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6ce5c1c6c565c500d3e1e84ca9cd886876323a7b7bfa2c1d23c2246239ae5d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ccd9f60802f59a6ba234b40d588e7def8cf43be68bd00aea109f1e90c72b35"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zed.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29788df669e3b4f09eb26c52eaef65979cccfba3dfed8d1839aefd7fdb43bee8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4afb193a023a54713910deaf2471993d78909f9818002e5eea13ad89803abd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmproxy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be510827831ff3c06eb1dac94bcf54d7ad79125837c5ecb7c7d5917aedf872df"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f002b7ce7e929278ac09996ee1d83333b34c040f3844703ac5f9126efc475359"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59744882c570cdeb11652d8b283c7c9d19c4cb81b4e76d8aff131e316ec0768c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e73b551141db003f5725497f8d05c9b12e2a6d7c3be89fd67f594994c2a65c6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/fireworks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d4ce3c2495e687f6caa44ca4b51900bc33bb3ac5cf8d270fef0deac50e3943"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sakana.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda546b55e26be06f922c0a6b22546f674af2a556b954eaf12b971404a83e496"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clinepass.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f215115f26601bc3fe06ba5939854bcf4766fbbd0ed289ff9e166c3aea04698"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gemini-web.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09856113716ec4542b80c9e97d19513f0450a672fc737be304493a9d326fb94"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"724ce4b360fbac07a024050e7002d3324aea9de9ae2b2c8888c00baa6f1b8ccc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/futureagi.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60f5569e8cf58472355923de1f29e56dbe6481cce9255496db0b1f384685d4e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xai.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6524e3e2e6192ba8b73ba72b2ce1d730ffb9785e429bc2788e32b2077240ed19"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmman.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fee885763b32bb0d95f35a43a2731127a8756dc59113b6ed5d9f8dd33a739e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/hyper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4483cf8d03c77dd87ea003ef41f2a32978e09ed5f49e30598f1c07d89f3bcecf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qoder.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f155871bfd64db4f817f170646d3988436818a9b22d885da6ef3b165adbbb3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/vercel-budget.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"140d039cc06c1a2454747b9340fb85f31e925d9944c74938d293eda649f7188e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78603e0ba3146dbfa15dc401e36b0494d2873fada08a172157d04ad14c71f13"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/cosmic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e5865f54409c61797742fb21c6e946f35e53877bb72eebf1657d01afc886f0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/t3chat.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88960e9d374bb6b5808885e31c8ba418ab17338dd9190d0b467a07b2bc2de7f9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/lithosai.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e62d99c6e985ff1e0a0e143e66a75c9be0c64f7786b99bea65cd94897ba18d5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clinepass.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"721f551fb89a41f6cb26d5490270002f1cf4b83df9c6dae7d513795e0176fb33"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed58fedcb2fe76881b007377e924039cf0adcf55412b009be4954ee921efaa5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9c32d90d7a825ea0863608876bcbc55178866ac1ba01fd24f0e776120a922b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ffaf4d12d6fae37c917fbcfbae103d081780eb557521ed86b8e48401353fdc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/lithosai.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73613668b6a9aece9c13d96b392fb9fb478ab4d70d936b9d27c117e6b77f74b6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/manus.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d966e94005f598b77900ac9747f615bc727a94c30146aa08de4555499bf41e38"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d7d206410424f55653ea6ad127b76f5f82336a93921a4fac55dec9b76aee7e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/devpass.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f898c12c91d84f3b97904e29db537fa03684b1a1d626f9a65cc2865e9cd5d684"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c951ee8647d106365bfcadc315ade6ffa5dfc986211459a116402cbce54282c1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/ollama-api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc833d42da9ef77f531214c9d52b5f345e8286805013ac1716a12147352228c9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gemini-web.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ac2dc618f8c7fad25855ffcab22e34ab50314c46b571f69a16a1b9ee6a7161"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/langdock.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"528f9048a335d86162d088ed61b79297e740214038d95178f0b1728196fdcef0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/hyper.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5681930a35ac88657cfca858bfeec8443ab912355f1834c77d5c5df14fd2a39c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/opendesign.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75f6ea681a9b33d718d9ba90f1508f9110f37d5fb8863310c915570c2506593"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmman.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa403ee044235603f6d46528bc3f8b5d2833f88a6bf9b3ac82c5ed8e57669b1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/futureagi.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cb7e8b3121065ddcebc185bbcde443a39780c09bebed6cb1850af53c4d1d01"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/langdock.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d142401e39d186c5fea81345df2d64b1b8ca85d6454bd9592fad83e5e302d870"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sailresearch.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6376132f10fa48ea3841564b7fd5b6579e8265dc14a0171e88d3c3297c67d98"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xkiro.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91daffad48c232881da061d64a20eb3b50e1ac639d95940745c5ba6c7b2a97f7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/soniox.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9604bb969e713f1b2d6f281783642a3c6e89a0547a8e9d71c6c5888432b0997d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/soniox.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a198db4eae5d2910143fe3b26df2e58f2a8f65aa7090a94736fe1ea30069f2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/traecn.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2586e41dc480aa9d8bab48864605fc4a51c0b6ddc9d7e2ed7d5ddbcf8e7a84c1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbe44ca59ed3f02c289efd0751b541e8b8b5b1083684a610909abce3fc941b3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zenmux.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af35378017f9ac8aef9229e4fad79c38f2c32736b4a42c22b803cd3e27cfd103"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/parallel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63f7dbe5f4ca82761ac62b8f7b07c2a0983aea4522054c6236501088aa41f12"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc901f9479edc61899dcedba7aafe3d7b90c6d0699f615fba2e2842e7ef4f39e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/flora.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5f718362902c53b670c1f946692149356cbc54fc72d1ceb6b4c2f75abd6723"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/devpass.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7195df29c227417f194a8c29fa280cb36f4713c943eec9d57b0a2067f885913a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepinfra.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf763e1cbbebb787ffe0b67adeba3e15c078d6549de6bd5ada58052d9d8a481e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/ollama-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"992b3f7d1d22d584f10fdfa29253139575c1bede4c75f62cc9c578de3ec214f3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xapi.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27be39010bcc8cf934c8d8ed0d6086a3f1d5826b9a0f20aaa45dceb00d4fef4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1624d049ade776533c8ab8802f72173fde82b4574695be5dc0b05d4d7d69418b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/parallel.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7350ac00bb301cd64f97d283642b0638b9bcb946674e4c0eeed39a7c26197498"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sofya.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b00543b6e478107d680fe9326884f2635c509b1799098d04693f221e612aae7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/siliconflow.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d1d642b7ba15f14d10b02ca90158628dae20b7e0b5e6998db7b96632593015"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/venice.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd84fce5bf1f21322eccdb2722b9c2c88c1cb4f58c786902f59745f99ecbd487"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/siliconflow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"365040e318e31751052df9e4b099b0ed4361ab626f56d76b46896911d7dc487a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sofya.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e3a972e8301329ebb1fdea1d1be6da9ce147ecb638b97210198ce167089eb6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/cosmic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d379cf13b8c38a5c61b411f6868d325049b88bd0dd321d585e81154dbb03772a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xkiro.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95398358489ad3e26901cd30ef1ee268bdcfdd6d73e035c6c1e123916639e113"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/exa.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b33d0235150f1e875884ce303fc1ad48ebe7f720ebc43b45e2657bb5a42575"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/fal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf77303c4001355673f7035164a1fd32415c699637c71c849b2cb0b34dc20183"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tinyapi.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad49878b5b4111a4d6d18e945c762082209c991a9d7331272b760be046b8a282"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sailresearch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf3ed3e1da9cfa01697bc64bdf0161cfcd732c8d0f2ee8e2b3c8c1af3fc5778"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d935e29fed6ffe7e3c3b7c78084355f646c8c4ce6920a450295fba363806e07"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/moonshot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e0cdcce7bdcbc9085c660b7f4e31f239eddd332971ae23dece6b86eacf91a2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/moonshot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a8e339ba2dc88d9a81afe11b4121e1e682b2e5a8f8ea8785187abd1eb4462d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf2490a928acc85b7c85f1b096fdb04e7510c5d46d1ebfe4e00aa20bd2ffc45"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tavily.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d429dff865544d611a0de776b3f92761846a7da0712eec229a298562139d26"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tripo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6c1a1ef85ec027bbc6ad882beec88ddfefbac3595bc56b982784a8f189fc18"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tripo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f45d5c87195ef7f51ee27ce7803c934da7f5263389d0ac00d44315282e52d3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/vercel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"803aaa7def174755d3e1979abcce9f30cd3c49350422c9fe074727326d4721a8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/atlascloud.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3239176de317884198d1b79686a1e1f7a80a20a6835fee85ad5e54fe49a144f6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/linkup.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"230fedb755b5747254d08334e2991629cc031870966de4a142b12165881a1adc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~453 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3854adc5cd05bb66826b84d527e865e54a7265dc5bf59bf9b3436743c9b1e67"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~443 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openrouter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69971ce549d5672261bad7ef4cdba6bc3a9182d13f598c524f41148f97e1707"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~413 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/openai.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc4c232c8b4978e4d18bed39dd3e4ee650a7d40bf46f49cff8305221019ae34"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~386 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c09d2d8ab4c70eab4555c392056594e534c0c6781bdec2c5c48de76c041ff7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~359 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce1c31881b79b4a7faff2030e2469c13f0ff76d5d2d1372a0b0f2f5e3087ca"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~316 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77c4acda4eb71e33c02f1bfc364bc9a7c2c2390e98842d91315d6c4cfa8c6fd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~314 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"722fe11668298294112bf71ca519b810eabb2c1e5c4cbaa6522d0be051c6c824"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~314 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f618b2312b52df473c05aadeeca3a27162cf62e0e279c55e1124720327dd0e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~311 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1882f16c134a2de66b4ebdd7139f81229674b5cae80c2c42ef558256196ea28c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~310 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/provider-plugin-prelude.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a6a0a7b8f29c16056bc1dd72f77c2a7be87de109b6661deec09db30ff1dde6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~298 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8854fd1313898c6c07d77641dabc7e10e0f62edfb98182ad3062af5b779a5f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~291 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"296aecc5a173b52995f720a48f7d270cde7061e4b383f8973db953389ba7a70d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~281 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7247383e8819209a80f588ac443a9168222d31ffac795099b6f72e784264211e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~279 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4195f1dfe3f03fe831478d2ac5933b4f7f0ac79ca70311a347999dd1e1dec8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~259 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4ce8a7f0c84201ca22ec6fef98072926e6e9fd7ffa83d9cc2ce30eb4bc5216"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~259 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2aa802ae387b459ed9f0e3279a048e69e6a9ed177b10efa51571ddd7d5e67f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~245 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2649a52302b5b86e515f204381fd87315dbae9540d2d141b45cfb110fdc2089b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~244 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ceeab77fb742f4694a4c28b01010a63d64d0df88342fc821841b008e9b4dc6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~238 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc415196e1ee791380af0c2fe232bbd59de1c4c118a68ca03b20cf02cc3f816b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~237 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ad535a57b1c75fd2e1baa187be15474b2a4e552b2bf9a0aa0d2e9217db65a6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~237 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"588e9eb1470cb8cd245aead57c8707d0f9b8e0b19f5ffa23570d9f7e1720a050"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~226 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c41dc25d95605006d169383c87213848c4a723a5abfa66916f0cfa9dc7c913"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~222 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sub2api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82803cfc0192749e90caf028267e30b6890a38aa692ce31990137045dab081b6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~212 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/v0.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2e4dccbe762ce37e1330c7f19a4e508fab452fa314d98a76651f836f2c1066"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~201 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac96e575ad85b01344e7462138c1e78d91e067820b770778175c25467238b08"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~189 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"408f7a953ae1c266e4ff39d2633c6ae91b43f05dd64679f5a1cba01c93619ec1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~183 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"503d0255906885bdfe33696f6baf36a0825788d302cf2c5a1e013d071cb05d86"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~181 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd892457931b1ac365757d4cc012bac9767e3af973daa3a91f4c87936301a7af"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~179 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/poe.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e19c6afe52cf85f61402694e79865432c0c71a007bcf29b0dfcef00ff7df83e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~174 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee2d0085b07648eba2ab5320d4fcdc238f9ee169d172fc1d29cb7c9dbe1f3de"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~174 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/neuralwatt.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"303e89497e50380d2494458c5d98d1e1f6a3d368a5a43aab5b08abea6b90c791"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~174 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd9ff65f070bc1d910611b0b705a00ffaf2317c2511430004d6807b16af00a1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~172 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clawrouter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c03ddadbec20fe8db037c8d8f5da6825f1f7d37eb1458b3448dee91df0a0cc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~172 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/raycast.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f352ac932cfb8d38c30d341ba274714bc792d6afb00284fc94c329693ece67"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~172 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/v0.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d5b29c7a25a4a60d139acb1b4f4d429ac2bdbd6c244cd3c3048c35f212b99b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~171 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a7130d8681e38307b1623f52d5f314fc32d5ff81a0d9a265bded073d0fbe43"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~168 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9925eb9e6c1577c512a6f97ec489338391b6df2211b9e6ad02aaa82b2ed3b9ac"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~166 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/raycast.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a06b3dba2bfdcc4042b6b5710c94722fee7b03cbdf64ae07bbfef1ef5683ef"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~164 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b12eef43d23a682916f23cbd6b893fd6570e6075b59d8c35e63650034a1681"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~163 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3704680573bc6c1a59f773c76090a816713bfe8b47a75f7ac923732fb9f9d7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~156 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95f131e152257643ed5ca60a1e3ae6583b9671cf2d02414d4cbf7baed1b6de1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~154 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/museai.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b4382dc9050383ee53232ba69ca952a053e48a8a84f99e19cc5d034dabfba9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~153 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmproxy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc29777aebff8c8c2c616cb24eebd9c61fc8bb6ae6c487f1bd2c4955415af6fe"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~152 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepgram.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2e5735203ad29101d6601efac950249a826bb7af85b1c9c639c61561a0005f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~151 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b235a0002a1906acd124d0b306912896ef0a9ad55215d4dcd09d03fcb9affd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~147 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ffc09c074c2954b8b5d1dcc11fbbc34fb658d8e67a8ad301842e84969454f2"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~142 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmproxy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5be99f38c58e2b7b709ee719b40a4bd8837a7bf85d831d51ece3feaba7a27e6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~142 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c82d49dec1516c2face8cf9d3d6b3aad19a0a68e34914cf7151bad8b609758e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~140 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a8990480fd8620b75bec77b41cfc40bb3f89ff589f5eae52b0e689dd73ea8e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~139 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee13bd6e6d3d3bec2edfd13e005d9d181edba542c8cc31d9469769dda28800c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~135 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clinepass.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1990f45f1fff3ace24c1ed4319afd9db20b26594199249ea59991d1022b920cc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~134 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gemini-web.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1198ccdefb8b5e166c0fbd063ab2c20b7724fa2969a2f1634aca2d7b52da2213"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~132 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecdf845b9bffdcd7b12f7117f36848b24fd0974a2fdddbb3e2ab52fe6b5ab64"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~132 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/futureagi.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0717bf3324587025d8449c65c921958b5039fcac8d46d9ab87380093aecd1883"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~132 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xai.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3b7bcf55ee24700d9076c29fef764d7ca3789e3d39d7df0aca6ec1ac39abfc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~131 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmman.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"389ee5f576603c18cd6f1eada501835ae90b53dcdf8b3ff4ec257df392fd9713"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~130 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/hyper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45a8900b9d5f7585b197b4b0190cff36e30f2ff6f87e0e7a84f9b67925c171c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~130 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/vercel-budget.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d38e31dee223ca67815a5716034e0b567a00df858980aaf79072acd9eb97724"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~129 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1031c70746b4fa8c01eca331bce3fc2b0da94b2b61d8b08267bb848b8f6db634"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~127 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/cosmic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb326b24e6757aec46892bcf4e6d0244a050ea915af6551523ad260100cdf45"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~123 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/lithosai.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1141c68895dbf1b3d2d684c3b97619dc7f96fc88db1bdad49cb7e4369cabbf32"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~122 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d4e3b9c72859228f32c5ab22263a7a900160dcb7f513e2eff2aff697bf1ccf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~122 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01e3285888d17ed46979afdc2dc621d0a18aaf752b4b85a3af74dd64d9d4fdd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~122 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a139e052266160af21fa5990dcedc687f96b41cde36f3e3402b1be66a3468456"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~120 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/lithosai.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d0e683104b032fd80abeb67f016dafd8dd37ab6e6a185f86963c92f778fe6e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~116 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/manus.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0727079c5f668102f5d07d4630a4ab9fb8371daf18c32b2c87d11bc5c68794ad"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~114 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f1350d5a2a1efe7588aec1f7fee8643f78fda5c739c2415922ba68b2dcd486"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~113 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/devpass.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad74af39756c80b065159071519144688a950e16d88dc7fa24e900a3e678bc5a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~112 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"777f7eebb7d81f5bdb8dbe5834ead660f06c66e895399616dfc5d2f599854a09"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~108 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/ollama-api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f044ca59c24248d98e8466e2ae8f457696dab401480e112e85c5f54f1f04d10"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~103 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gemini-web.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6efacc7490b79b247c9e5f8eed25063b8cf4aa6ce7851c9561bec6b88dca78f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~102 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/langdock.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e092b1d40efeb88a29d52761639ce8a98f0a886b06085fb5f5b84262d467c0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~101 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/hyper.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34d06213f55b8165ee36735198b282f9baeb6eba876ac7ea285fcbfc1396156"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~101 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/opendesign.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84459d79b565f094ea95750a63a0fc8824421992574e9e7684ad15f15a1bd970"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~100 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmman.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b3eeedcf7c1fa5cef90a1ada31aebcf42ce533b84206a2f8ee8558f27e0a14"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~99 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/futureagi.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"514a6017e12cd58a6fd0549726153b75bac88c740c2304be7b8947c922407b16"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~99 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/langdock.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1417ac98fe1d9d3635829e4b828e8b09d8cf6cfe3b854e7bab57dbb226f0ac73"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~97 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sailresearch.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f334025ea92da5b7800831e3a902658a4fd084a53ec241b1bceaa696992d2789"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~97 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xkiro.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f95a1aee3279904809e6420df8754456db60be95720d93f5358b52c3749d56"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~96 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/soniox.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1027ad61f371bc638856180ea2dfa6303ce245a5287c5103853839188e18fc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~96 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/soniox.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62733232b1ec3477d57ce798125f5572102ebe4f38825c10d9e19b3fa3691143"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~96 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/traecn.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"909582f80c496127f0a6ac46dadd4693f2d31606f101218d4a03a847ca916e6f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~95 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"681c873d97b3ca58333f828812aa6e056e4a9a7f5cce5bcd5eadec70f564aa3b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~95 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zenmux.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2223425d01c5f9007bd3a72732412466e1bce004a037c28ea5c3c0d8158f3d2f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~90 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/parallel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f63ea18beb7d08150a602744a4be88ca4c718abb4a99623eab98b83a57bd472"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~87 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c01159f63b0e3408f926296304f00e63967bfeec36a5276aba216577fc8f73"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~86 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/flora.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55145000671a67625daa0711ded502011d3a67a33562c2e85d357cda663618bf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~85 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/devpass.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6317dd3a510b9e04dab5e2cf2d3551e9ef21ccaa614cf1824f3a85fc63af119c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~84 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepinfra.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db59e6ff1be2e49b5c0cdb7c091660efcb457eef153cf98c2e63ec9aca93e212"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~84 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/ollama-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64f918a6c668c86af948fc40701761a541a35e036aec154bcb9d572bd12d48f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~83 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xapi.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a805deab60603fd594826b5cf7aad3ed6657056a97f51db1bd04463b1c364ad2"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~82 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f721b1e6fcdec83ee27456cdbf112e5409332a45aaeea9aea94f4ae0cf054a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~80 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/parallel.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5b5d34832f8e8690fb3e588dad9eadc162300eb2297e519ad95c23a9f21322"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~79 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sofya.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f182cc074244ffbc0e59859c7af90b6cae40d5f7abd8c1fd225a2165f21563"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~78 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/siliconflow.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"087c6938ee1923b328c64178d04a6ce28f742680f21c841575f4f4a094713be4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~78 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/venice.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24306965541de8f574084171fb33f12ad56a371c0f664ed5085f7c061a74d714"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~75 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/siliconflow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2ed4f1290e8317f82664b1ebf21967c81891e8667de65f88e768c68632d6cc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~72 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sofya.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1827a22034811c5c63222408e9bfa5933a1e5a88fdb197273db1ebba86e0d64"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~71 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/cosmic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a86a0e04db9cb677434e4b10cb686f3668288b72a93ebd8996d2f55d2a99f3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~71 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xkiro.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6115621ce25fbe6f3127df270ba6c952c14813c5cdda5701217b1d6b4b2ace"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~68 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/exa.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1ad39e6432276199e9de2fc15db2f7263a3318a79f7f2f4ebfffbf496ea1c9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~67 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/fal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89d479558ceb7b6db8cc6afeb875ad7dfd5a0de03037dd0a8c1601bc2e97369"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~66 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tinyapi.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e63b7c39d2d02073a81c4a77878d12143b67ee9f89613c102fe85995ffff04"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~65 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sailresearch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b558bcf5d799ea7e8cccb030f74d2ca624d35ab7fdbb509a2c4d52d3eed02c63"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~63 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f06411ebcff78482210b295829c69f397fd191089681b2a386bc9852c11d7a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~62 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/moonshot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac8a4531711382ebb78ff7feb2aef703abc18083b2c5f7c87c3f095490ab572"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~59 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7929d4fc7cc3d1f3ab3ea65edfeed3148c2e4192cd27d66b8134c928cb80813f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~54 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tavily.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b55cdd9e198b4e928f638474afafef419170d3b579bc41a724780a20b28d45f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~53 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tripo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ef16d549809f64b72a5ff0a48c4aaba680962f204dd07815e03a9f896d6900"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~53 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tripo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69f4aad66f3b61e120e231c74ea1c6608a5b3fba848d9d2794aee3f3dc77bf5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~53 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/vercel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f40c265bec97be1b6048df1ec94bd10326b82eb03f54a05e6102e7e022e93ce"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~47 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/atlascloud.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68b89c6d8bbd057a5c1d14f63cbd7692b9f88e7eb58a6b2f7aae15dda32d373"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~39 LoC): no import path from any entry point (26 application, 14 tooling, 6 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/linkup.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f24fcc46c37bbac55fb1c3b9702802386b8d67fe23b8dbc33b889d953ec0615"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!/\\bid\\s*=\\s*([\u0022\u0027])react-component-props[^\u0022\u0027]*\\1/i.test(match[1]) || !/\\btype\\s*=\\s*([\u0022\u0027])application\\/json\\1/i.test(match[1])\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/replicate.js, Sources/CodexBarCore/Resources/Plugins/replicate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"79316ed06526dd8b4fa98e4cb18ef1560b583532dabfcf42f0f55be59ccd7bd2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(details) || details.length \u003E 100\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chatbox.js, Sources/CodexBarCore/Resources/Plugins/chatbox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"370ec16c900aef9e592d8fa8ed9d07fd48a404a40a861042b2f8ade5256be49f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(root.results) || root.results.length \u003E 31\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3fcdef3292d68752e0237164cb07cefaa743c88b0412c4f10eac4009d6bf4b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(amount) || (!signed \u0026\u0026 amount \u003C 0)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/soniox.js, Sources/CodexBarCore/Resources/Plugins/soniox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/soniox.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0b2c9e9056c6855d2e8496daa6ce429bc837338be65194c8978a86f9169ca1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(date.getTime()) || date \u003C since\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/zoommate.js, Sources/CodexBarCore/Resources/Plugins/zoommate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"2deff0b64c45c867171f5cfeb14c9e5ed9614e82184fb255e28e6114a13c9d5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(date.getTime()) || day \u003E new Date(Date.UTC(year, month, 0)).getUTCDate()\u0060 appears character-identically in 4 files \u2014 Sources/CodexBarCore/Resources/Plugins/ollama-api.js, Sources/CodexBarCore/Resources/Plugins/ollama-api.ts, Sources/CodexBarCore/Resources/Plugins/sofya.js, Sources/CodexBarCore/Resources/Plugins/sofya.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/ollama-api.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3068b08832b0e6fefe44ff68463ef29a3fb4e357eaf65a6fe933273d464c7c27"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(value) || value \u003C= 0 || value \u003E 64092211200\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/huggingface.js, Sources/CodexBarCore/Resources/Plugins/huggingface.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b106adccbe488b84208b52b3ca8258bcee6ed8c3a48a9e96097f26513598f33a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(scalar) || scalar \u003E 0x10ffff || (scalar \u003E= 0xd800 \u0026\u0026 scalar \u003C= 0xdfff)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/huggingface.js, Sources/CodexBarCore/Resources/Plugins/huggingface.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0389eee71db94084a77a273ef24d82b96f4683a1c11e202a2e3c7782dd7b47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(scale) || exponent \u003C -128 || exponent \u003E 127 || scale \u003E 128\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aiand.js, Sources/CodexBarCore/Resources/Plugins/aiand.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b36a43f9d10480887714e3b903bf334fd9d85c68ce50d6b5a7cb08e0bb46603"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(detailRewards.used) || !Number.isSafeInteger(detailRewards.limit)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chatbox.js, Sources/CodexBarCore/Resources/Plugins/chatbox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bb7235c279b996958644ea287d41127d78cf896b18cc3c5e15a47fa55dc08b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(millis) || millis \u003C= 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js, Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1138f7c8afd7a63b4ab3449a2b6f0d215d45531c79e73980523a92e7d4775aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(minutes) || minutes \u003C= 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d09b2102e24d9755b6ddee0b723b57f864fc07bd5823817a0b2a49a79f49f7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(start) || !Number.isSafeInteger(end) || start \u003C= 0 || end \u003C= start\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js, Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ddaaf447959f0e7ba2daeef79555ccf6f2b69e7ef2c0a790573314fee78b05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060![\u0022organization\u0022, \u0022project\u0022, \u0022team\u0022, \u0022user\u0022, \u0022api_key\u0022].includes(scope) || ![\u0022daily\u0022, \u0022weekly\u0022, \u0022monthly\u0022, \u0022lifetime\u0022].includes(interval)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0df44831dabf118e360519f66aeae4650fa95fe5ebad62c877de9462c0c6f71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!body || typeof body !== \u0022object\u0022 || Array.isArray(body) || !Number.isInteger(body.code)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/tripo.js, Sources/CodexBarCore/Resources/Plugins/tripo.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tripo.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f89dfcd4289076803bb40e5ed113333263eece10aef91f264c315526ec19c20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!body.data || typeof body.data !== \u0022object\u0022 || Array.isArray(body.data)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/tripo.js, Sources/CodexBarCore/Resources/Plugins/tripo.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/tripo.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"460d68f97d377a06619e6ead41dbc35ccb04b807ae99ec5a9d573d22e28dce5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!chutesObject(value) \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6db2a457749b6a55e4ac2dec533724cae6ca909712d70f486b7fbb5313a9658"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!credits || typeof credits !== \u0022object\u0022 || Array.isArray(credits)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/fal.js, Sources/CodexBarCore/Resources/Plugins/openrouter.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/fal.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac3941807857dc7bef484b01ed693fe1cc35dcd02e648e4a002b790e8a259f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!data || !Array.isArray(data.data) || (data.has_more != null \u0026\u0026 typeof data.has_more !== \u0022boolean\u0022)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aiand.js, Sources/CodexBarCore/Resources/Plugins/aiand.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a859796d19f777f97a9b50b893130ed2a86801b0fa2d953e21eb829e41542f9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!data || ![\u0022none\u0022, \u0022lite\u0022, \u0022pro\u0022, \u0022max\u0022].includes(data.devPlan)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/devpass.js, Sources/CodexBarCore/Resources/Plugins/devpass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/devpass.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b254fac5fd5b847dda184d63608739f341185d735ae729ab58cdc2854b156e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!data || typeof data !== \u0022object\u0022 || !finite(data.balance)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/parallel.js, Sources/CodexBarCore/Resources/Plugins/parallel.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/parallel.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"199a6c84da748f32b9e0508fd3df406641a5bd99e4a2244d982a4f430bdc608b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!data || typeof data !== \u0022object\u0022 || Array.isArray(data)\u0060 appears character-identically in 13 files \u2014 Sources/CodexBarCore/Resources/Plugins/clinepass.js, Sources/CodexBarCore/Resources/Plugins/clinepass.ts, Sources/CodexBarCore/Resources/Plugins/elevenlabs.js, Sources/CodexBarCore/Resources/Plugins/elevenlabs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clinepass.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"178bbcfb8f85ec7af4e362ec2869a52fb2b69cbdf9a31b7ffac2e03dc12f4388"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!day || !/^\\d{4}-\\d{2}-\\d{2}$/u.test(day) || day \u003C start || day \u003E end\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e405145a66c87c9d18a595cf27671025acfc4990e29016188237387efd6bcc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!identity || now.getTime() - identity.fetchedAt \u003C 0 || now.getTime() - identity.fetchedAt \u003E= 43200000\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/huggingface.js, Sources/CodexBarCore/Resources/Plugins/huggingface.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66dd20c706acf97ddd6af62f3cf46213beb95697202601a37a3652471d9889c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!invoice || invoice.type !== \u0022monthly-usage\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/replicate.js, Sources/CodexBarCore/Resources/Plugins/replicate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7de6e4b773e765b16113922677f0e295a41136cb8de0a985467ff94854d204"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!membership || !Array.isArray(membership.members)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a42c5240380b014f98360ecfa97fc84b6f4694eb27565aff9f07f1eac4812d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!meter || typeof meter.key !== \u0022string\u0022 || keys.has(meter.key) || !ctx.isDetailLabel(meter.display_name) || !ctx.isDetailLabel(meter.display\u2026\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/futureagi.js, Sources/CodexBarCore/Resources/Plugins/futureagi.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/futureagi.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25674053138ddb98d8de56cc8fe926bd2a131f4ffacb6f06611e0c0c4e05dbe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!paidReset || end.getTime() \u003C paidReset.getTime()\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/workbuddy.js, Sources/CodexBarCore/Resources/Plugins/workbuddy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b2e9b7289f13325b97a25261a74775d034fa53c049a1799abbd6df0542ac4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!payload || typeof payload !== \u0022object\u0022 || Array.isArray(payload)\u0060 appears character-identically in 6 files \u2014 Sources/CodexBarCore/Resources/Plugins/clinepass.js, Sources/CodexBarCore/Resources/Plugins/clinepass.ts, Sources/CodexBarCore/Resources/Plugins/huggingface.js, Sources/CodexBarCore/Resources/Plugins/huggingface.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clinepass.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a817577bcb86e01310c40a49208e075bac11b2b4149465b5e5c1fd8c4e2a6e04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!plan \u0026\u0026 !total \u0026\u0026 !rewards \u0026\u0026 !expansion \u0026\u0026 !images\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chatbox.js, Sources/CodexBarCore/Resources/Plugins/chatbox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f00df6ea7b577a3fd905a5a349186c7ac7b740884bdc6fb3c3f43daccecde3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!plan || typeof record.tier !== \u0022string\u0022 || record.tier.trim() !== plan\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e356129dc0e34f07d15dbf92d39c25a11722f152432fa45e8c77cd87d4e5b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!raw || !/^\\d{4}-\\d{2}-\\d{2}T/.test(raw) || !Number.isFinite(Date.parse(raw))\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/claudeplatform.js, Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2eb44f8378ed29e678f1abf434d27e6e4d70085b440c103e0444378a248ccb2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!raw || typeof raw !== \u0022object\u0022 || Array.isArray(raw)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/munito.js, Sources/CodexBarCore/Resources/Plugins/munito.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e4e8e3efd7ddd9093b55f65e986236a6d19003bfcd95c8396a2e6fd0bdf4a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rawLimit || typeof rawLimit !== \u0022object\u0022 || Array.isArray(rawLimit)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/clinepass.js, Sources/CodexBarCore/Resources/Plugins/clinepass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clinepass.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe60eda28fbb93034986ee28513500cf531241cbf81aa6045c46c0ca2b278aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!root || typeof root !== \u0022object\u0022 || Array.isArray(root)\u0060 appears character-identically in 6 files \u2014 Sources/CodexBarCore/Resources/Plugins/abacus.js, Sources/CodexBarCore/Resources/Plugins/abacus.ts, Sources/CodexBarCore/Resources/Plugins/munito.js, Sources/CodexBarCore/Resources/Plugins/munito.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd629242be84c2c149f5a055f2d8b699e4600795933d4cdce9316e5e8f2e1c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!root || typeof root.code !== \u0022number\u0022 || !Number.isInteger(root.code)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/siliconflow.js, Sources/CodexBarCore/Resources/Plugins/siliconflow.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/siliconflow.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8962af3e5555a4270d14c97a9ccda86916d1187bff57bd86b221523a89ff9553"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!row || typeof row !== \u0022object\u0022 || Array.isArray(row)\u0060 appears character-identically in 5 files \u2014 Sources/CodexBarCore/Resources/Plugins/aiand.js, Sources/CodexBarCore/Resources/Plugins/aiand.ts, Sources/CodexBarCore/Resources/Plugins/deepgram.js, Sources/CodexBarCore/Resources/Plugins/openrouter.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4420abb323a01b103d4a3509deb57163ad6e077c479c52e2f5fcf3f164276c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!subscription.rolling || !subscription.monthly\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7271dfb16140eebb86e5bb53be40e6463d5ebb25d621f223220a119b0920975"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!unlimited \u0026\u0026 cycleStart \u0026\u0026 cycleEnd \u0026\u0026 cycleEnd \u003E cycleStart\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/zoommate.js, Sources/CodexBarCore/Resources/Plugins/zoommate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc8649a1f773263297e384f2eea2c7f9d725f99461d7a019a2ec2196dce9d64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || (value.used === 0 \u0026\u0026 value.limit === 0)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chatbox.js, Sources/CodexBarCore/Resources/Plugins/chatbox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ba27d280c47485936e5aa957fbe1d81f6e8063abae055501db82df577bf5a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0022object\u0022 || Array.isArray(value)\u0060 appears character-identically in 24 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts, Sources/CodexBarCore/Resources/Plugins/bifrost.js, Sources/CodexBarCore/Resources/Plugins/bifrost.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a9e054e3aeef5e28347ed143077c3bc6e00e1c9d60943dc2d1311ae704191d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!noWindowReset \u0026\u0026 !windowReset) || (noWindowReset \u0026\u0026 primaryPercent !== 0)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d4cf8680b20a8c30ae5d7f7a484c5097a57f166cc424445c22ed4d872d26f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(b.cost || 0) - (a.cost || 0) || (b.tokens || 0) - (a.tokens || 0) || compare(a.raw, b.raw)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/bifrost.js, Sources/CodexBarCore/Resources/Plugins/bifrost.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"279d1ea269144d6d7f80ed0edd71096569d636a343ad4c34b1f99699efb71f74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(match = scripts.exec(response.bodyText)) \u0026\u0026 !account \u0026\u0026 visited \u003C 4000\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/replicate.js, Sources/CodexBarCore/Resources/Plugins/replicate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"49500ffbbab8fbb51e55a2eaab60049f789131e8ff01b5f256003bef52eefd57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(model.cost || 0) !== 0 || (model.tokens || 0) !== 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/bifrost.js, Sources/CodexBarCore/Resources/Plugins/bifrost.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f440bcc9a1edc12fe400102dc192e8e1b79fdf0373bd16453c0d123cde79fb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(op === \u0022optionalAccess\u0022 || op === \u0022optionalCall\u0022) \u0026\u0026 value == null\u0060 appears character-identically in 29 files \u2014 Sources/CodexBarCore/Resources/Plugins/abliteration.js, Sources/CodexBarCore/Resources/Plugins/aerostack.js, Sources/CodexBarCore/Resources/Plugins/aiand.js, Sources/CodexBarCore/Resources/Plugins/aixy.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9acde7971d9417669a555f8f9c03762351c03050ffb5999dba94855c2407cac8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(response.status \u003E= 300 \u0026\u0026 response.status \u003C 400) || response.status === 401 || response.status === 403\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/helmcode.js, Sources/CodexBarCore/Resources/Plugins/helmcode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9483a2ce69e31bb2472ac9fe4bc7e5551be218dc5e9789c3429bed47bae2c5d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(root.successResponse !== true \u0026\u0026 root.code !== \u0022200\u0022) || !result\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js, Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"652bff52b72418c59c0a981a271ee29f6da331a066ffff859592251b41644b5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(status === undefined || status === \u0022active\u0022) \u0026\u0026 (!expires || expires.getTime() \u003E now)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chatbox.js, Sources/CodexBarCore/Resources/Plugins/chatbox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2089a3132e87a03ef30f590a48a9a145ce288081438634d513aeb7469e105dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060/rolling|4h|4 h|4-hour|four hour|four-hour/.test(label) || window.rate.windowMinutes === 240\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d49b703d7dc06348ad61d26c816b9aa002e67ec9c0118e89c51bca34a243287"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(list) \u0026\u0026 list.some(chutesObject)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"202436ea7c90dec8f4f7aed57c3cb5f9cd2ba7a3a9663edddbbe626600eb7556"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(key) \u0026\u0026 ctx.settings.get(\u0022SOURCE_MODE\u0022) !== \u0022web\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/hyper.js, Sources/CodexBarCore/Resources/Plugins/hyper.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/hyper.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8107dc067521603146c436bf3f7cbb7ed91d873943672e73681f1efc5f382fa0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Math.abs(value - rounded) \u003C 0.0001 \u0026\u0026 Math.abs(rounded) \u003C 9223372036854775808\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c139aaf99c98b949b0ecd6a3ded1286c1d345eb899f690b14da9d75c4c4b0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(parsed) \u0026\u0026 parsed \u003E= 0 \u0026\u0026 parsed \u003C= Number.MAX_SAFE_INTEGER\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js, Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0a2ff48bf4ce45518b970d533c8591cf937b8a68b68b6cc89802e22c879b72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(parsed.getTime()) \u0026\u0026 parsed.getUTCFullYear() \u003E= 1970\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chatbox.js, Sources/CodexBarCore/Resources/Plugins/chatbox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcf255396d4daaa8b710669454891973e7a18712bb8c24ec65b3578a57eb419"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(seconds) \u0026\u0026 seconds \u003E= 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/helmcode.js, Sources/CodexBarCore/Resources/Plugins/helmcode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"11680d59f0fbad9def0abd21ef403c9350658dd63657f929ec41a617afbbb845"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isInteger(value) \u0026\u0026 value \u003E= -(2 ** 63) \u0026\u0026 value \u003C 2 ** 63\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/elevenlabs.js, Sources/CodexBarCore/Resources/Plugins/elevenlabs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"009133834707b05faab76960e356a3e4c6737f00d532f36baa687379e4896678"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isSafeInteger(major) \u0026\u0026 major \u003E 1\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/workbuddy.js, Sources/CodexBarCore/Resources/Plugins/workbuddy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32ad0f2ad00c551f905fd4c2d582c2c153f7ec3d1f7a4cb550c3b8bd337854d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isSafeInteger(minutes) \u0026\u0026 minutes !== 43200\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/notion.js, Sources/CodexBarCore/Resources/Plugins/notion.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e159c1608dafeda45843e4c14e927ba850b69051178f91300bb48df82a36565"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060account.PackageCode !== benefitPackageCode \u0026\u0026 (!freeReset || end.getTime() \u003C freeReset.getTime())\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/workbuddy.js, Sources/CodexBarCore/Resources/Plugins/workbuddy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e0ef221e581805afabf5f532c70cca3f7ea498b594a8af86f72764b2dff069"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060account.PackageCode === benefitPackageCode \u0026\u0026 left !== undefined \u0026\u0026 left \u003E 0 \u0026\u0026 (!rewardExpiry || end.getTime() \u003C rewardExpiry.getTime())\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/workbuddy.js, Sources/CodexBarCore/Resources/Plugins/workbuddy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"911a966d3f0a8d64a49e576c5bb25a1d827f9f73e756e89d8bf02be09ac34405"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060after !== undefined \u0026\u0026 afterID !== undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aiand.js, Sources/CodexBarCore/Resources/Plugins/aiand.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6621848f08cdd6f7f62db6a0ca3d41e76eb4f9f60433cd8e020d4938db2a96d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060after === undefined || afterID === undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aiand.js, Sources/CodexBarCore/Resources/Plugins/aiand.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9c18f4e24a274be6e51c8e0ee11a7a006d9f45e9dd2c251018a2fcb9c2f599"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allowUnavailable \u0026\u0026 [401, 403, 404].includes(response.status)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0a24eaea43e1363532816137a320019a100116117ce369a7e49d32d67a8743"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060amount === undefined || remaining === undefined || remaining \u003C= 0 || !expiresAt\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/typesafe.js, Sources/CodexBarCore/Resources/Plugins/typesafe.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5a583b00eb2edc8f7d00622921ba5b0ab03b7b912fddce8b07b9cbc184686f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060amount \u003E 0 \u0026\u0026 (mode === \u0022forever\u0022 || (mode === \u0022cycles\u0022 \u0026\u0026 cycles \u003E 0))\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/bifrost.js, Sources/CodexBarCore/Resources/Plugins/bifrost.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b763cb2674292467b5f197bacd276020dec138d470f36bb82519fd1532c9e74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attributed \u003E requests || partial \u003E attributed || (spend !== undefined \u0026\u0026 spend \u003E 0 \u0026\u0026 attributed === 0)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6acf35ebbb009dfd7787dd88a6249b1d72bca56cbf704fc61c4fdf4907c45b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b[1][2] - a[1][2] || a[0].localeCompare(b[0])\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d9d10f7851bfc2acc66d16d7ff37814d706242a7ca9703cb07a7ff1941fe23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060balanceResponse.status \u003C 200 || balanceResponse.status \u003E= 300\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/poe.js, Sources/CodexBarCore/Resources/Plugins/xai.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/poe.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfdb438734bb56f8b5af24c54bf7b43ef81ba2350ae7e24b77608c1c319be72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060balanceResponse.status === 401 || balanceResponse.status === 403\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/poe.js, Sources/CodexBarCore/Resources/Plugins/xai.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/poe.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f9e0d0130efe908e109bfab684999881aeff836bad062bd4bd3c62ac726fec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060billingType !== \u0022token\u0022 \u0026\u0026 billingType !== \u0022legacy\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/v0.js, Sources/CodexBarCore/Resources/Plugins/v0.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/v0.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e11d181ee23ab5c0a722d246ef10e3b72ae1bacdac356dc6b14b1202073fea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060budget.enforcement !== \u0022hard\u0022 \u0026\u0026 budget.enforcement !== \u0022monitor\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fee3cdbeef71c9cc112003b8b08f0b36cd52a6670a137cec05b628aa9cd036"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate \u0026\u0026 (candidate.kind === \u0022user\u0022 || candidate.kind === \u0022organization\u0022) \u0026\u0026 typeof candidate.username === \u0022string\u0022 \u0026\u0026 candidate.usernam\u2026\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/replicate.js, Sources/CodexBarCore/Resources/Plugins/replicate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66ed4fdd18afd99dabfa00d4ded60b65aee69954441de67dd0dfa27aa464e98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canonical(w) !== canonical(rolling) \u0026\u0026 canonical(w) !== canonical(monthly)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cc242875641cdc1dbc387ae6a6462ff8aeb84e44814d0749bc3d880a44efc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child !== null \u0026\u0026 typeof child === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/replicate.js, Sources/CodexBarCore/Resources/Plugins/replicate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"182a10627b242e89d2c760b1e383facfe5d0bb80ee74bfb70ee65b7f190aa92d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cleaned === \u0022\u0022 || cleaned == null || ![\u0022string\u0022, \u0022number\u0022, \u0022boolean\u0022].includes(typeof cleaned)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c80783777c19b4fedb1e7e24e43bc748de613db53662214732f3afc58795422"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code \u003C 32 || (code \u003E= 127 \u0026\u0026 code \u003C= 159)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chatbox.js, Sources/CodexBarCore/Resources/Plugins/chatbox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb2e0c200a6abbeec04b63091fd3aa6e339c88110a260bcd0e17eec2dfea303"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code === \u0022INTERNAL_SERVER_ERROR\u0022 || code === \u0022TIMEOUT\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/langdock.js, Sources/CodexBarCore/Resources/Plugins/langdock.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/langdock.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1cd3bb6020c93a9b28ab3e2cfa6f18024d35317650a419dd8cc9350524f1ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code === \u0022missing_permissions\u0022 || code === \u0022insufficient_permissions\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/elevenlabs.js, Sources/CodexBarCore/Resources/Plugins/elevenlabs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4344f739a27646d0bf41f6270d96f664c13f757f248b9433080abcee489223"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060credit.status \u003E= 200 \u0026\u0026 credit.status \u003C 300\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/replicate.js, Sources/CodexBarCore/Resources/Plugins/replicate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b216017388c1b2c427d89601bd4a243e2c9d35e48486d5e7f6518988898c64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060credits.balance !== undefined \u0026\u0026 credits.balance !== null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/claudeplatform.js, Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"12836b575a6d43059c9a0273a24d167f603cc5259819990377a2044e882fb21a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.settings.get(\u0022AIXY_BASE_URL\u0022) || \u0022https://api.aixy-gateway.com\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb11f5c573687ad210356f44d041ce89e2d43ec6cace082a0f2d71d1924bdd9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.settings.get(\u0022BASE_URL\u0022) || \u0022https://api.chutes.ai\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"f756ec796b81ca233fe51490c14954521124cce913930a341fe24a04becc9932"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.settings.get(\u0022BASE_URL\u0022) || \u0022https://api.elevenlabs.io/v1/user/subscription\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/elevenlabs.js, Sources/CodexBarCore/Resources/Plugins/elevenlabs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"10daf82a9e8fe6f9c3966dbb24b92305fe4c7a650f73c052045ae2f9ab035a82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.settings.get(\u0022BIFROST_BASE_URL\u0022) || \u0022\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/bifrost.js, Sources/CodexBarCore/Resources/Plugins/bifrost.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d46ff4fe0f16a12b38ab66fdb01dede14e326c85286d300d7878813e6b9d004"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.settings.get(\u0022CLIENT_VERSION\u0022) || \u00220.0.0\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/gitkraken.js, Sources/CodexBarCore/Resources/Plugins/gitkraken.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"040235d1f22a0cdd69b16d1b01df3547150c14b4fbca7e2e36bc16829f27d686"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.settings.get(\u0022LITELLM_BASE_URL\u0022) || \u0022\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f13fe12f3fb72247bc2f6805b86439f1275c546f1c90b9e7bd3e2a4ad854ea8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.settings.get(\u0022LLM_PROXY_BASE_URL\u0022) || \u0022\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/llmproxy.js, Sources/CodexBarCore/Resources/Plugins/llmproxy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmproxy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf31ab45ca192e5709a4acefc5d747fbb29515e4ec86fd7004fcd38982f73b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.settings.get(\u0022MAX_COOKIE_CANDIDATES\u0022) || 5\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/abacus.js, Sources/CodexBarCore/Resources/Plugins/abacus.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e876287e2f77f58690bc894f42bc5234cbc0b4e74e46711ce0a9d0eae2dcc6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.settings.get(\u0022REQUEST_TIMEOUT\u0022) || 15\u0060 appears character-identically in 3 files \u2014 Sources/CodexBarCore/Resources/Plugins/abacus.js, Sources/CodexBarCore/Resources/Plugins/abacus.ts, Sources/CodexBarCore/Resources/Plugins/qoder.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c940d679c0e3a83d76832fdac8250b16b27de08543bb6084d83b3a48fe0c8000"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.settings.getSecret(\u0022HEADERS\u0022) || \u0022{}\u0022\u0060 appears character-identically in 4 files \u2014 Sources/CodexBarCore/Resources/Plugins/notion.js, Sources/CodexBarCore/Resources/Plugins/notion.ts, Sources/CodexBarCore/Resources/Plugins/zoommate.js, Sources/CodexBarCore/Resources/Plugins/zoommate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0838cb150805dbd714dbb6552a13856c7665360db2266aa217a0bf5bb8d8982b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.aggregated_reward_details != null \u0026\u0026 !rewardRecord\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chatbox.js, Sources/CodexBarCore/Resources/Plugins/chatbox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"146cba75d3a49e939c655555fc2c79900f3fa7e2471323bb6f7e7d83dc1c49f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.balance !== undefined \u0026\u0026 data.balance !== null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/siliconflow.js, Sources/CodexBarCore/Resources/Plugins/siliconflow.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/siliconflow.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bafa9cda4a5ed2cabe2592ddc473c79df28f0bd9d56d72e1c64ac0a3e4fc69c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.chargeBalance !== undefined \u0026\u0026 data.chargeBalance !== null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/siliconflow.js, Sources/CodexBarCore/Resources/Plugins/siliconflow.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/siliconflow.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8952caaa12586bcc03727b15e40b1089590886b9d76ff283dba090d566dca578"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.records != null \u0026\u0026 !Array.isArray(data.records)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/zoommate.js, Sources/CodexBarCore/Resources/Plugins/zoommate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bae5fceb27006c4d819d44a33c9bff7b3b30c6e929515aeb679947325c5eeb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.status \u0026\u0026 data.status.toLowerCase() !== \u0022active\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/elevenlabs.js, Sources/CodexBarCore/Resources/Plugins/elevenlabs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a386ce96f83c0a191468e0acaefdab0da1cb737c427768a389bd581a55c727"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data[key] != null \u0026\u0026 !integer(data[key])\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/elevenlabs.js, Sources/CodexBarCore/Resources/Plugins/elevenlabs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcf0efcb23e2bb351bc4d1dd02d0f4158c759b937d5975293ce2667fec0fd02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060date !== undefined \u0026\u0026 new Date(date).getTime() \u003C start.getTime()\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/zoommate.js, Sources/CodexBarCore/Resources/Plugins/zoommate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a57abe26ee13982399fafebac5ba8dede7ba59df4784e5925f8ed40f318b79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060details !== undefined \u0026\u0026 details !== null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chatbox.js, Sources/CodexBarCore/Resources/Plugins/chatbox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efcc80ef65da881225acb7fc78b575e4ea5e2ae2853f9349d8cb1e1f8866eac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060duration \u003E 0 \u0026\u0026 remaining \u003E 0 \u0026\u0026 remaining \u003C= duration \u0026\u0026 !(remaining === duration \u0026\u0026 usedPercent \u003E 0)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/zoommate.js, Sources/CodexBarCore/Resources/Plugins/zoommate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"0266a7d481de5545a2b22b9daa069f0b3ca581d83da6302162a061c3523dc1e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060eligible !== undefined \u0026\u0026 eligible !== null \u0026\u0026 typeof eligible !== \u0022boolean\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/sofya.js, Sources/CodexBarCore/Resources/Plugins/sofya.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/sofya.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead1dce911d4d5037d71a54e77e803d2c2b10f1e2207d8add82d505850aa5008"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060end \u003C= start || data.dimensions.length === 0 || data.dimensions.length \u003E 16\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/futureagi.js, Sources/CodexBarCore/Resources/Plugins/futureagi.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/futureagi.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"94227f566d42e8384405b860c398d9cb080a617bc599dac7c10e5f5e987b6f1f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entity \u0026\u0026 Object.prototype.hasOwnProperty.call(entity, \u0022currentBalanceUsd\u0022)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/huggingface.js, Sources/CodexBarCore/Resources/Plugins/huggingface.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f00de505ddf23ceb32dbccfa3c32a3589077c2ef3903f32958a05cb42b71d07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.accountLimit != null \u0026\u0026 entry.accountLimit \u003E 0 \u0026\u0026 entry.accountLimit !== entry.limit\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/munito.js, Sources/CodexBarCore/Resources/Plugins/munito.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14a4b4b5c2bf13c42fc78d3e5dd28ace00a35cc24e090a941cdc772aa99419c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isFile() \u0026\u0026 entry.name.endsWith(\u0022.md\u0022)\u0060 appears character-identically in 2 files \u2014 Scripts/check-documentation-links.mjs, Scripts/docs-list.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/check-documentation-links.mjs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa3e33f47982037f60881c08da4509743143710a60ac06c37ff79d508a02cf6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.organizationLimit != null \u0026\u0026 entry.organizationLimit \u003E 0 \u0026\u0026 entry.organizationLimit !== entry.limit\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/munito.js, Sources/CodexBarCore/Resources/Plugins/munito.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb05d590ebebc08377e49765be6180a9fc218b4e1c521eb046c1fc18e22686e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060failure.transportClass === \u0022cancelled\u0022 || error === sessionExpired\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/lithosai.js, Sources/CodexBarCore/Resources/Plugins/lithosai.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/lithosai.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5903e39a92b0592b85806e9f51d92baac6318b9453db47655bae989335c1de9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060finite(data.pendingDebitBalanceCents) \u0026\u0026 data.pendingDebitBalanceCents !== 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/parallel.js, Sources/CodexBarCore/Resources/Plugins/parallel.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/parallel.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f50572c0dbc64a5283f0f55582ddcc7c5552d508e80df25596b679030adaacc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fixed \u0026\u0026 Number.isSafeInteger(minutes) \u0026\u0026 minutes \u003E 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/bifrost.js, Sources/CodexBarCore/Resources/Plugins/bifrost.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"499d3be2f95dabff795fd7b0b8ee670922221bdbbc5057c49a9ea91fb07420ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fraction === 0.125 || fraction === 0.625\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9008011f1668e7ffce117ffc758721b43a120ff83d892704e7e4401df21b06cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fuelTotal !== undefined \u0026\u0026 Number.isFinite(fuelTotal) \u0026\u0026 fuelTotal \u003E 0 \u0026\u0026 Number.isFinite(remaining) \u0026\u0026 Number.isFinite(fuelUsed)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/longcat.js, Sources/CodexBarCore/Resources/Plugins/longcat.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"990b5ee891f3697b0f2f6e4a7ed9ae81b281926a91ba7e0406a2426f8000d8c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gpuResponse.status \u003E= 200 \u0026\u0026 gpuResponse.status \u003C 300\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/huggingface.js, Sources/CodexBarCore/Resources/Plugins/huggingface.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb849c0ec6de1aac3ceeb8083e0755cec32cbac2cb0072a424372a7af710ff0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060grant !== subscription \u0026\u0026 grant !== purchased\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/claudeplatform.js, Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a45728179b5dec731f7b38fb41b2cbe22851fd2fbc06722e370514f3f31678"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060grant.program === \u0022subscription_api_credit\u0022 \u0026\u0026 grant.remaining \u003E 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/claudeplatform.js, Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1871723923476a93e23321e2be29f1e055da89cfe22f587658d89a7431be21cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060granted \u003C= 0 || (expiresAt \u0026\u0026 expiresAt.getTime() \u003C= now.getTime())\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/claudeplatform.js, Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b8fb82294f7edff22d7e760a90bddb0b1c667bd6c4b6a4d9b7cb4d4897c430"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060group.Kind !== \u0022benefit\u0022 || group.CapacityUnit !== \u0022credits\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/workbuddy.js, Sources/CodexBarCore/Resources/Plugins/workbuddy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e2230f93a3fe7518f58d257fe1e5c9bfa443943be972df6567e6ab16d2872e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060group.NextCycleFlushTime !== undefined \u0026\u0026 group.NextCycleFlushTime !== null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js, Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"644afd1f0423b1befccf5b4e0daf9dc34b6608c43e55ed9d33466a13169cfe1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hostname === \u0022typesafe.ai\u0022 || hostname.endsWith(\u0022.typesafe.ai\u0022)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/typesafe.js, Sources/CodexBarCore/Resources/Plugins/typesafe.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a612df26675f7c614a9132310c780825fbbb088d7af4e3f605fdfb16e8cd38e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hours !== undefined \u0026\u0026 (hours \u003C 1 || hours \u003E 525600 / 60)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/helmcode.js, Sources/CodexBarCore/Resources/Plugins/helmcode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"784ac0f6b20e298c26f4d13bfbc654ee44f1ec2c2e8124f227cfe3c9cff3f994"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060identity \u0026\u0026 (identity.username || identity.email || identity.plan)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/huggingface.js, Sources/CodexBarCore/Resources/Plugins/huggingface.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da2169c5a51e7014c8ec4d6fe5fe9d1be9b51da2ac8c375b2660d4294b7a24e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ids.length === 0 \u0026\u0026 Object.keys(spaces).length === 1\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/notion.js, Sources/CodexBarCore/Resources/Plugins/notion.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9292401725e148b752d1ce3cdd293ac888a82d02031d87d82292dd5fc114745f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060invoice.ended_before === null || invoice.ended_before === undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/replicate.js, Sources/CodexBarCore/Resources/Plugins/replicate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1faf40c809fad861a34e21168c1fa4d5a859028752e51003312e4796f8f6355"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060known \u0026\u0026 (spent === undefined || reserved === undefined || remaining === undefined)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1894d028be16320e9cae9f04271bc83c6f6173110533e45967eadb6f8e78f346"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060limit !== undefined \u0026\u0026 limit \u003E 0 \u0026\u0026 describedUsed !== undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d1ef6f08410dbe3d69d0730d8eb6c8e6dc8f8b62152a2536df4dccd1cb3a9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060limit !== undefined \u0026\u0026 limit \u003E 0 \u0026\u0026 spend !== undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95d53b627ec1923e920a878170b8811f31e7e201e27c08a19d6ca315b7c67fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060limit !== undefined \u0026\u0026 remaining !== undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"424a2c4af3c0515cde5c46864f4c5ef18644941053a7524c48d79df207045e4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060limit.resetsAt !== null \u0026\u0026 limit.resetsAt !== undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/clinepass.js, Sources/CodexBarCore/Resources/Plugins/clinepass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clinepass.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e541b20db3db2809741d21ff4ac8c833e2de5d36151d6d70fcbcfd4510557032"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060member \u0026\u0026 numericID(member.user_id) === userID\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6509e670775964515ba8f34b7c4c9c18e7d09324ed1dc86694911bd5fce68e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.has_more != null \u0026\u0026 typeof metadata.has_more !== \u0022boolean\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e308739977978d7e05c73c0cf607b3b7115a838401e9eeeebe1191a244042747"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.has_more !== true \u0026\u0026 page \u003E= pages\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fe955e9f86073f6caff45552308df28cdbf211737eb2ca0f82df363f7335c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.page != null \u0026\u0026 count(metadata.page) !== page\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3428338a84d1a1d8db5620a3c8989f9d40ea494bff048dc26f8f9d48ab140b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060minutes !== undefined \u0026\u0026 Number.isSafeInteger(minutes) \u0026\u0026 minutes \u003E 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6034b3d2da6ae53694800c4575a0aa29d0b7aba144879328935c75370a53ead6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060monthly !== undefined \u0026\u0026 monthly \u003E 0 \u0026\u0026 remaining !== undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/nous.js, Sources/CodexBarCore/Resources/Plugins/nous.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"af055eb663479400200fd87f3a9a6f03b6b34efff7e7ed95bf654d4305533534"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060monthlyPayload \u0026\u0026 chutesQuota(monthlyPayload, \u0022Monthly quota\u0022, 43200)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cadd1a9f5ab4e0edca29b22ed2d656c01823767b14251244ce78516362918f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nbid !== undefined \u0026\u0026 nbid !== null \u0026\u0026 nbid !== \u0022\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js, Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"924dff5d9c29358dfe4ac8ce821405b4a7d941ad3fbee37b0af5059e3240dd64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060number(table.max_budget) === undefined || spend === undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42e0d88813210bf2236cd466838816887bd7a57eceba51d36daffa4f3062761"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060numeric !== undefined \u0026\u0026 numeric \u003E 1000000000\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/longcat.js, Sources/CodexBarCore/Resources/Plugins/longcat.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"98be1d02aff5c8e4267b739a3744eeaff1ef8b99bc928a009dfa80b8e74a24a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060object(item).api_key_id !== keyID || object(item).project_id !== key.project_id\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde0894aa5466709b83fc685e0e0cca755045ee8aa09d004f8ce5e7804e3d488"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060op === \u0022access\u0022 || op === \u0022optionalAccess\u0022\u0060 appears character-identically in 29 files \u2014 Sources/CodexBarCore/Resources/Plugins/abliteration.js, Sources/CodexBarCore/Resources/Plugins/aerostack.js, Sources/CodexBarCore/Resources/Plugins/aiand.js, Sources/CodexBarCore/Resources/Plugins/aixy.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cbcbd6cc246dc8f2b040dda27c64331ed38b85d85a3abb873a80fc62d1ae15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060optional \u0026\u0026 (value === null || value === undefined)\u0060 appears character-identically in 3 files \u2014 Sources/CodexBarCore/Resources/Plugins/clawrouter.js, Sources/CodexBarCore/Resources/Plugins/openai.js, Sources/CodexBarCore/Resources/Plugins/openrouter.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clawrouter.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"50104cd5d49ae577ee9b408fdc81bad606848f7d6c1ef3b00b9e86e81a42748a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060organization \u0026\u0026 !/^[\\x21-\\x7e]{1,256}$/.test(organization)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/gitkraken.js, Sources/CodexBarCore/Resources/Plugins/gitkraken.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"61984d8a75113788f725b3cab508d28a66393f3cc624c1d72e926a7666671b05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060origin !== \u0022https://api.moonshot.ai\u0022 \u0026\u0026 origin !== \u0022https://api.moonshot.cn\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/moonshot.js, Sources/CodexBarCore/Resources/Plugins/moonshot.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/moonshot.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"783e39037d4c15a086c4a9c534c203c217d015c3dfbbdf8e0d1786d210c47a3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed \u0026\u0026 typeof parsed === \u0022object\u0022 \u0026\u0026 !Array.isArray(parsed)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/munito.js, Sources/CodexBarCore/Resources/Plugins/munito.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"80488ea643d85129611c1dd5ba2a3abf66c72a013198d830f6c530c4e4ee1c44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed === null || parsed \u003C= 0 || parsed \u003E 64092211200\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d20473db56a686ca253c995a775b7b60f6e621a8fb1aaddd84a6eadd6004c2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed === undefined || !Number.isSafeInteger(parsed)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6268e9410f8ed00ca409e141caf60a7bac3a804e8e85c99dd6630bd9e13191fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed === undefined || !Number.isSafeInteger(parsed) || parsed \u003C 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"857c653f811b92bf28c6d4514bd7904efdb89ea85069f9270ced9be3df92dcdc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.active === undefined \u0026\u0026 !primary \u0026\u0026 !secondary\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5bbe6fc7b0f8c1958ede4bcc07e98530099addd810beb314df40ba51b01b8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload \u0026\u0026 typeof payload === \u0022object\u0022 \u0026\u0026 payload.kind === \u0022ok\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/parallel.js, Sources/CodexBarCore/Resources/Plugins/parallel.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/parallel.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e844a62ec7eeb744003a9c5401266d21d2d08e759044691c0f8a9a737a1c3fde"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload.hasIncludedUsageLimits !== undefined \u0026\u0026 typeof payload.hasIncludedUsageLimits !== \u0022boolean\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/langdock.js, Sources/CodexBarCore/Resources/Plugins/langdock.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/langdock.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe3d8b16f128a061f0fa23163ebf6b5db8c14ce66b9c8659324ee5ac5492050"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload.hasIncludedUsageLimits === false || payload.planUsage == null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/langdock.js, Sources/CodexBarCore/Resources/Plugins/langdock.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/langdock.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0180cb4085ef8cad9dc0c3136a8160897f692725526a966860c8bfbdea8b4a07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload.onDemand === undefined || payload.onDemand === null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/v0.js, Sources/CodexBarCore/Resources/Plugins/v0.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/v0.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38c3a6bc4aab9ac94068eff44e22ccabab11087e78c06c6b9c228486a91413b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060percentUsed !== undefined || percentRemaining !== undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f668fd25eb153b9ecc6beee4b070c550e9d492fca04424e446a6143696315a45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060period != null \u0026\u0026 (typeof period !== \u0022object\u0022 || Array.isArray(period))\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/ollama-api.js, Sources/CodexBarCore/Resources/Plugins/ollama-api.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/ollama-api.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2787b8e984bd48ec7b2fece322c011419f181cf798689a523064ef7659570b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060personal.limit \u003C= 0 \u0026\u0026 (!pool || pool.limit \u003C= 0)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/gitkraken.js, Sources/CodexBarCore/Resources/Plugins/gitkraken.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad00c6b1c1f5e07a625e99e62b6e648cb2ce2cdbb90bbecaa23c24c2f654142"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060policy !== \u0022manual\u0022 \u0026\u0026 tenant.domain !== tenant.cookieDomain\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/helmcode.js, Sources/CodexBarCore/Resources/Plugins/helmcode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a404427e68b29e053eccc7cad1afca249cbc5abc2b3bea2c31b1188065e01c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060profile.type === \u0022user\u0022 \u0026\u0026 typeof profile.id === \u0022string\u0022 \u0026\u0026 profile.id.trim()\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/huggingface.js, Sources/CodexBarCore/Resources/Plugins/huggingface.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38080974eefb74875a418ccc4e82dfa45c9fb0fe7bd784df483bd1a7bde431a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060quota.window_resets_at === undefined || quota.window_resets_at === null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1156545d09b627de7aac9126d9c838d8ab37b33a1f3302f6c6fe63b8a6f7cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw !== undefined \u0026\u0026 !/[dwMQY]$/u.test(raw)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/bifrost.js, Sources/CodexBarCore/Resources/Plugins/bifrost.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"154d5a1e826b855ef32d728b6d0c8f692afad81980826b9063ed6f7998b666bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw \u0026\u0026 /^\\d\u002B(?:\\.\\d\u002B)?$/.test(raw.trim())\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/typesafe.js, Sources/CodexBarCore/Resources/Plugins/typesafe.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d72d1e987b6672cd45545acb4c9235c0e8bd5f4e6aa1fcf7eb8a6e33d5202d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw .replace(/^(us-gov|us|eu|apac|global)\\./iu, \u0022\u0022) .replace( /^(ai21|amazon|anthropic|cohere|deepseek|luma|meta|mistral|openai|qwen|stabili\u2026\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/bifrost.js, Sources/CodexBarCore/Resources/Plugins/bifrost.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"14edeaa1a71566845bef8d117145dd0f00c3a5626d819dfda3ac937edb270263"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw === null || typeof raw !== \u0022object\u0022 || Array.isArray(raw)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/workbuddy.js, Sources/CodexBarCore/Resources/Plugins/workbuddy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/workbuddy.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b795f8a725069252504712058bf305a9c710819514bd2f0906db0d48e8b07e92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw === undefined || !Number.isFinite(raw) || raw \u003E= 9223372036854775808 || raw \u003C -9223372036854775808\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/longcat.js, Sources/CodexBarCore/Resources/Plugins/longcat.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9380e6c0ec61327a1d86b05d795f281cd6569eaf2cb6b32923a3d061da7536"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rawRetry \u0026\u0026 /^\\d\u002B(?:\\.\\d\u002B)?$/.test(rawRetry.trim())\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/replicate.js, Sources/CodexBarCore/Resources/Plugins/replicate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef682039a1efe611743e4373f2cdda379493a4e84506984b8edf3878dace7c19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.is_deleted === true || cost === undefined || cost \u003C 0 || !timestamp\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/zoommate.js, Sources/CodexBarCore/Resources/Plugins/zoommate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"6964f7733921d0296e9eaafda9087bf9ce3d022482b79d269598b9217ad4b2c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060remaining !== undefined \u0026\u0026 remaining \u003C 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/raycast.js, Sources/CodexBarCore/Resources/Plugins/raycast.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/raycast.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d89735a39e4ef2fd035732201a150adabd5b2ba50d13ebb422fd0f3152db0e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060remaining !== undefined \u0026\u0026 total !== undefined \u0026\u0026 total \u003E 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/raycast.js, Sources/CodexBarCore/Resources/Plugins/raycast.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/raycast.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5046c4a243edf00ee3acd59213a66b1176628349b0cdc4800893f02bbfb929dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060remaining === undefined \u0026\u0026 total === undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/raycast.js, Sources/CodexBarCore/Resources/Plugins/raycast.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/raycast.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ebb19bd58d2c8dbe50373e963ad97c888d44e876cc8316d685a59560fb0550"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060report.start !== start || report.end !== end || !Array.isArray(report.days)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/lithosai.js, Sources/CodexBarCore/Resources/Plugins/lithosai.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/lithosai.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3324a2136ab5d043618809e135dcef5ddb3f0bb8a763beaf7ce711a3a1b0437"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reported !== undefined \u0026\u0026 reported !== null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/claudeplatform.js, Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e431ec1290bc24bdff23322363e46b0c9ce112cb627ed98ab99e2db0cedfce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requests !== undefined \u0026\u0026 !Number.isSafeInteger(requests)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/huggingface.js, Sources/CodexBarCore/Resources/Plugins/huggingface.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"be76ecf0902f1c4013e2596f5357eebfc606300d9cc8ab923dcad26bd445db89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response \u0026\u0026 (response.status === 401 || response.status === 403 || (response.status \u003E= 300 \u0026\u0026 response.status \u003C 400) || (response.status ===\u2026\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/hyper.js, Sources/CodexBarCore/Resources/Plugins/hyper.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/hyper.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b2639306b9dff3bc5c6c76e327c1f5f822ee7fc593aacf9297f756e6ba8fd4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.optional \u0026\u0026 response.optional.status === 200\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/munito.js, Sources/CodexBarCore/Resources/Plugins/munito.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a2207ea5cd5f2821b5319c772aeb32ae59ade0f24a9e367b0f845d785f7657"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status \u003C 200 || response.status \u003E= 300\u0060 appears character-identically in 27 files \u2014 Sources/CodexBarCore/Resources/Plugins/aiand.js, Sources/CodexBarCore/Resources/Plugins/aiand.ts, Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aiand.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bc7badfb909173bf8e943074a5f7c5a335a50c19d4cff02a678ecd54efbd5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status === 401 || (response.status === 403 \u0026\u0026 forbiddenRejectsSession)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"371fba798be557693c39966deb94b14c98b3f9f21688df1d4224ae7cbf307395"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status === 401 || response.status === 403\u0060 appears character-identically in 38 files \u2014 Sources/CodexBarCore/Resources/Plugins/abacus.js, Sources/CodexBarCore/Resources/Plugins/abacus.ts, Sources/CodexBarCore/Resources/Plugins/abliteration.js, Sources/CodexBarCore/Resources/Plugins/abliteration.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ab0106eab38e4fefa22b67f20c5f2db933e09f6acdfbd34fe5d9f14233aaa9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status === 401 || response.status === 403 || (response.status === 200 \u0026\u0026 response.bodyText.trimStart().startsWith(\u0022\u003C\u0022))\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/gemini-web.js, Sources/CodexBarCore/Resources/Plugins/gemini-web.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gemini-web.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2696f00ef5a42f8287f3f4a320c1302d2426fc770b88d7d4e2dfa8b587ea873d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status === 401 || response.status === 403 || (response.status \u003E= 300 \u0026\u0026 response.status \u003C 400)\u0060 appears character-identically in 3 files \u2014 Sources/CodexBarCore/Resources/Plugins/longcat.js, Sources/CodexBarCore/Resources/Plugins/longcat.ts, Sources/CodexBarCore/Resources/Plugins/traecn.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2849e85399333e221dae87ba9bec8826aa92f694ed0b4284bef3cc41227acc6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status === 403 \u0026\u0026 /cross-origin request refused/i.test(response.bodyText)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/typesafe.js, Sources/CodexBarCore/Resources/Plugins/typesafe.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce57928186e3852d06a2f155822926d67214ed98ec7adc00dade59e88c86003"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status === 408 || response.status \u003E= 500\u0060 appears character-identically in 9 files \u2014 Sources/CodexBarCore/Resources/Plugins/helmcode.js, Sources/CodexBarCore/Resources/Plugins/helmcode.ts, Sources/CodexBarCore/Resources/Plugins/parallel.js, Sources/CodexBarCore/Resources/Plugins/parallel.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"686c558d1e990bc300059ff5b74a1a3d87729c6354123f57e135467c3ac7e2b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status \u003E= 300 \u0026\u0026 response.status \u003C 400\u0060 appears character-identically in 4 files \u2014 Sources/CodexBarCore/Resources/Plugins/parallel.js, Sources/CodexBarCore/Resources/Plugins/parallel.ts, Sources/CodexBarCore/Resources/Plugins/typesafe.js, Sources/CodexBarCore/Resources/Plugins/typesafe.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/parallel.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbfb27d82c0b68d83869dff235c00a0bb8706dfef397acf7754aa63fdebf0a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060responseID !== undefined \u0026\u0026 responseID !== teamID\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3862ffc2e0483ccd3fc39a4865f8c7eb71822525819ec2f3128ec27cc9b746"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060responseID !== undefined \u0026\u0026 responseID !== userID\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeefcfcb99ac13fc26f0d731747bb3bb35b1ee339f9817bccb0d40b3863f0d5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.status === 401 || result.status === 403\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/huggingface.js, Sources/CodexBarCore/Resources/Plugins/huggingface.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f9f7a1e733fc8986f5a83a023c8df79e7c3c3a3cb0d86387a0e799ee19d247"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rollingPayload \u0026\u0026 chutesQuota(rollingPayload, \u00224-hour quota\u0022, 240)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ca1b75c8201babb4c4477ed7bad60821fbbd8fc14a10d2ad10abfb2e47c9dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.code !== 20000 || root.status !== true\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/siliconflow.js, Sources/CodexBarCore/Resources/Plugins/siliconflow.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/siliconflow.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bec27463639f954439b09b4b7cd7b93b2a8ee38d346911f6a37355d0df70227"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.is_active != null \u0026\u0026 typeof root.is_active !== \u0022boolean\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/bifrost.js, Sources/CodexBarCore/Resources/Plugins/bifrost.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fb8eb361fa86996b20df4bb9c2babc784ca51f5545fe79f85091d0abed70d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.is_active === false \u0026\u0026 !budgets.length \u0026\u0026 !limits.length\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/bifrost.js, Sources/CodexBarCore/Resources/Plugins/bifrost.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"420b24c2aa7425e4af2d02b74baf412f32fd5c5f95d0a255cc73e58109bbccae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.next_credits_at !== undefined \u0026\u0026 root.next_credits_at !== null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/raycast.js, Sources/CodexBarCore/Resources/Plugins/raycast.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/raycast.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"318255a4be9e5491fad711b17ed8fbef48ef12ea4c2a770e60a691c3000e99b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.object !== \u0022key.usage\u0022 || root.currency !== \u0022USD\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8913a5f6d1c4f2bb7a30673f45c56ff4d49e666dfe82763fd544c809e9bf6543"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.subs_usage === undefined || root.subs_usage === null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a6447786adb8622f4baf0218111042f180a3689e6a957c598f6166f38f1a99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.success !== true || !root.result || typeof root.result !== \u0022object\u0022 || Array.isArray(root.result)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/abacus.js, Sources/CodexBarCore/Resources/Plugins/abacus.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3863bada23b77d6e14ef40518afae4b5ec119946dcfea2ee531f74cbd492b6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.teams != null \u0026\u0026 !Array.isArray(root.teams)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c67a30947625b543edd9fdd681fd7ab68cf6630201e5a5ca7b9e23d3004c7b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root[key] !== undefined \u0026\u0026 root[key] !== null \u0026\u0026 typeof root[key] !== \u0022boolean\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6a5d1cd52512778e34d4f227786974b56f258f97b50bfcb8740c17037b8998"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rounded \u003E 0 \u0026\u0026 rounded \u003C 9223372036854775808\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d354b3ff77921c12db45d77b5ea01c19ff8be740b52f468ab71ead3894c7b807"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.cap \u003E 0 \u0026\u0026 (row.hours === undefined || premium)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/helmcode.js, Sources/CodexBarCore/Resources/Plugins/helmcode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eef27bde91a1c34af76b045aa926400471011813853dcc7af1d68c6871aaeb6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row[field] != null \u0026\u0026 typeof row[field] !== \u0022boolean\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/zoommate.js, Sources/CodexBarCore/Resources/Plugins/zoommate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dee5da27573067f6f86baff562821bf5a147bf521f4fcee6f144001e0f2c88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row[field] != null \u0026\u0026 typeof row[field] !== \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/zoommate.js, Sources/CodexBarCore/Resources/Plugins/zoommate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c22ede8a3b9e4f13599caffe21dac8145aa77ce007ccc95ba45045a0edc58b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060seconds !== undefined \u0026\u0026 Number.isFinite(seconds) \u0026\u0026 seconds \u003E 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/bifrost.js, Sources/CodexBarCore/Resources/Plugins/bifrost.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7510a2af5e139447f90e73205b3fd2373e0f190d1686019c9a81c1d1d02abd84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060seconds === null || !Number.isSafeInteger(seconds) || seconds \u003C 60\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efa4bdd0dab957a5a7f2c7813ea97218d7c2570445c6f97a96e4d9c0a559be3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060spent === undefined || balance === undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/typesafe.js, Sources/CodexBarCore/Resources/Plugins/typesafe.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"93670d574b6ce5732413ef56e39bef19bfd6da3dfedac3d4dc9286c67f7d66d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start \u0026\u0026 Number(start[2]) \u003E= 1 \u0026\u0026 Number(start[2]) \u003C= 12 \u0026\u0026 Number(start[3]) \u003E= 1 \u0026\u0026 Number(start[3]) \u003C= 31\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/helmcode.js, Sources/CodexBarCore/Resources/Plugins/helmcode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f24039cb3f0b9d9c77f02642f1c79bd7c78646dbcf85cbb0d2b542aebd235a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060startsAt \u0026\u0026 resetsAt \u0026\u0026 resetsAt \u003C= startsAt\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f28653cd1011cd0f643ead580cebe03c3b86d75a5827b8d007eba78094d0eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status.includes(\u0022active\u0022) \u0026\u0026 !status.includes(\u0022inactive\u0022)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4548d473dd73f884f26a366e5b35f6a04d6d1fb4d2c0da2b8d345f155ed232"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status.is_unlimited === true || cap \u003C= 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/zoommate.js, Sources/CodexBarCore/Resources/Plugins/zoommate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcda1e2ef98673e839c8535f47187726fd1ca3ec5040be0e0f9be895cc75f8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status[field] != null \u0026\u0026 typeof status[field] !== \u0022boolean\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/zoommate.js, Sources/CodexBarCore/Resources/Plugins/zoommate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"523e2f9357820cf64e9c7f22a05a6d51fe7488043175f618cc4207b0ce6bae95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subscription.current_period_end !== undefined \u0026\u0026 subscription.current_period_end !== null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/nous.js, Sources/CodexBarCore/Resources/Plugins/nous.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c901d027036de22729a24cb1b64730b5a3378675dcdcba4135f3c29e38c0ef54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text(user_id) === userID \u0026\u0026 (team_id == null || text(team_id) === teamID)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36d7fb47ddda80d2ccadf29df715039636e16e37ade571ebebdac0f648d9815"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tier !== undefined \u0026\u0026 tier !== null \u0026\u0026 (typeof tier !== \u0022string\u0022 || tier.length \u003E 120)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aerostack.js, Sources/CodexBarCore/Resources/Plugins/aerostack.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"219919cefe63f46490b8916ff2b65ba32c5bafa329e2f76d828bf8894c59e684"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tokens !== undefined \u0026\u0026 Math.abs(tokens) \u003C 9223372036854775808\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/bifrost.js, Sources/CodexBarCore/Resources/Plugins/bifrost.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4df3dfcaa223d2dfa81e8f05554d79b4aaa25162b180b76c7ff782c0698d153"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060total !== undefined \u0026\u0026 Number.isFinite(total) \u0026\u0026 total \u003E 0 \u0026\u0026 Number.isFinite(primaryUsed)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/longcat.js, Sources/CodexBarCore/Resources/Plugins/longcat.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"605334a57daad87f2bffa504e01429d1bdd14907b776416ed9d6d09636d8c1d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060total !== undefined \u0026\u0026 remaining !== undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"744f7231ac61192ba360a60e1978f33d6089ea30f9b51939c2c95290b2af1b48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060total !== undefined \u0026\u0026 total \u003E 0 \u0026\u0026 consumed !== undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f8b148aaa21945c89d16adae17c91b8135a43abc18bd862df31f4cf08ec460"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof assigned === \u0022number\u0022 \u0026\u0026 typeof seats === \u0022number\u0022 \u0026\u0026 Number.isSafeInteger(assigned) \u0026\u0026 Number.isSafeInteger(seats) \u0026\u0026 assigned \u003E= 0 \u2026\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js, Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f01572c31e594a45f4b1d620f6eccf7c987b4d97b67454d9f57cddeea6d57d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof balance !== \u0022number\u0022 || !Number.isFinite(balance) || balance \u003C 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/hyper.js, Sources/CodexBarCore/Resources/Plugins/hyper.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/hyper.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc9569965a29cab941f2ea7da3e10754de90932215153619ae9a50112c783db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof balance === \u0022number\u0022 \u0026\u0026 Number.isSafeInteger(balance) \u0026\u0026 /^[A-Z]{3}$/.test(currency)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/helmcode.js, Sources/CodexBarCore/Resources/Plugins/helmcode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed86600ab0cf5e12f1071886056b99f2fe5f9ee9e2ef541e34ea32f6ab10ea3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof billing.cycleLabel === \u0022string\u0022 \u0026\u0026 billing.cycleLabel.trim()\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/typesafe.js, Sources/CodexBarCore/Resources/Plugins/typesafe.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dae4873d0d51639cafc29bedbc09321153dc51aabc97921e56fdcdfba6ad13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof billing.nextBillingDate === \u0022string\u0022 \u0026\u0026 /^\\d{4}-\\d{2}-\\d{2}T/.test(billing.nextBillingDate)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/abacus.js, Sources/CodexBarCore/Resources/Plugins/abacus.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9c70f0513c2b7e90d7f5152bb51df1b41daca98d6fbe84098ceb2692607681"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof billing.plan === \u0022string\u0022 \u0026\u0026 billing.plan.trim()\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/typesafe.js, Sources/CodexBarCore/Resources/Plugins/typesafe.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9872d1f63ae264f9bec1d68c711efecda63962fb21d30cbfa93c61d68285718"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof data.resetsOn !== \u0022string\u0022 || !/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d\u002B)?(?:Z|[\u002B-]\\d{2}:\\d{2})$/.test(data.resetsOn)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/gitkraken.js, Sources/CodexBarCore/Resources/Plugins/gitkraken.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"944b6d741eec798ae2e5beaf1dec3f94b5d5bf97655d757dfd75f9e68241849f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof day.day !== \u0022string\u0022 || !/^\\d{4}-\\d{2}-\\d{2}$/.test(day.day) || day.day \u003C start || day.day \u003E end\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/lithosai.js, Sources/CodexBarCore/Resources/Plugins/lithosai.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/lithosai.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"228bac9b9274624f1c799c34fc1029dbdad36d0fee579ec6038c3daa976e6157"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof group.SpecType === \u0022string\u0022 \u0026\u0026 /^[a-z][a-z0-9_-]{0,39}$/.test(group.SpecType)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js, Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bd64684a7f400135aee52c0c70697b21b8f3eaf7754c358adf156558543087"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof invoice.ended_before !== \u0022string\u0022 || !invoice.ended_before.trim()\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/replicate.js, Sources/CodexBarCore/Resources/Plugins/replicate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"330a4bc3fd81eda6e3221dd089ff57cc242267a70c6418d752c42b9390bb1bcb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof item.team_name === \u0022string\u0022 \u0026\u0026 item.team_name.trim()\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c2abae226b49b908b34afda01540814086714c2fe52162c2908a2b7193c937"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof limit.percentUsed !== \u0022number\u0022 || !Number.isFinite(limit.percentUsed)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/clinepass.js, Sources/CodexBarCore/Resources/Plugins/clinepass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/clinepass.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccef77bc7dcfb28cb4a296d929a7fe4d699d3fea66450d03256eac567e78c039"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof location !== \u0022string\u0022 || !location.trim()\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/typesafe.js, Sources/CodexBarCore/Resources/Plugins/typesafe.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/typesafe.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5040aa6d649e827564d73f0f1eafba0da9b5d9fff036e1dbc06c06723ef7c0a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof monthly.month !== \u0022string\u0022 || !/^\\d{4}-(0[1-9]|1[0-2])$/.test(monthly.month)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/soniox.js, Sources/CodexBarCore/Resources/Plugins/soniox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/soniox.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caf2fd577ee171f3bd35e7ef0febfd287b2d61a9a2254af653cf00e35c96f4c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof nbid !== \u0022string\u0022 || !nbid.trim()\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js, Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f4b06e70b373ceb4d17ad6abf0ba99967a5c3f504cdb9caeaa1142db0e268c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof parsed === \u0022number\u0022 \u0026\u0026 Number.isFinite(parsed) \u0026\u0026 parsed \u003E= 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2cd0047bb15d1a9b72c916c2fd7a4f382994ecbcc0568f1a3eaf0450f932d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof percent !== \u0022number\u0022 || !Number.isFinite(percent) || percent \u003C 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/gemini-web.js, Sources/CodexBarCore/Resources/Plugins/gemini-web.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gemini-web.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"37eac5c7d1d14fea8ddd9691d8c7fdebbf18067918314c9d2ebc69463ad0e957"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof quota.periodStart !== \u0022string\u0022 || !Array.isArray(quota.models)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/helmcode.js, Sources/CodexBarCore/Resources/Plugins/helmcode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f87e6c10bbda55bb659890ad64b5782c163a67e6c412250f4bd9365b7f05fbc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof rawLimit === \u0022string\u0022 \u0026\u0026 rawLimit.trim()\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/cosmic.js, Sources/CodexBarCore/Resources/Plugins/cosmic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/cosmic.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdb863e72905e37b74ba9e1080967aa3cfa1b3e65e1087b31010689eb3a3f35"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof rawReset === \u0022string\u0022 \u0026\u0026 /^\\d{4}-\\d{2}-\\d{2}T/.test(rawReset)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/gemini-web.js, Sources/CodexBarCore/Resources/Plugins/gemini-web.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gemini-web.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b71b28048cb0d3b12b3b105053fc3775d8fae8e45da7e901533701da8112dd8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof reported !== \u0022number\u0022 || !Number.isInteger(reported) || reported \u003C 0 || reported \u003E 4\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/claudeplatform.js, Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ddc4d80de289b0a74e2a650369fe4abf539d3fe8f3b6b2419e9c51b3339bf0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof reset !== \u0022string\u0022 || !/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d\u002B)?(?:Z|[\u002B-]\\d{2}:\\d{2})$/.test(reset)\u0060 appears character-identically in 4 files \u2014 Sources/CodexBarCore/Resources/Plugins/devpass.js, Sources/CodexBarCore/Resources/Plugins/devpass.ts, Sources/CodexBarCore/Resources/Plugins/sofya.js, Sources/CodexBarCore/Resources/Plugins/sofya.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/devpass.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da32b99889f934041150451eba665646152049a90ed8f046d15b06438b46e13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof root.code !== \u0022number\u0022 || !Number.isInteger(root.code)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/moonshot.js, Sources/CodexBarCore/Resources/Plugins/moonshot.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/moonshot.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1619a9d7a9652b0e6cab24d59b62ea9e15273498784e5af5fc226c2be5fed9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof root.code === \u0022string\u0022 \u0026\u0026 [\u0022ConsoleNeedLogin\u0022, \u0022BailianGateway.Login.NotLogined\u0022, \u0022NO_LOGIN\u0022].includes(root.code)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js, Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f358b358daaf24652ab1c8969d84dcccb6bd4be035536b7bb2521aa1adfdd65"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof root.period !== \u0022string\u0022 || !/^\\d{4}-(0[1-9]|1[0-2])$/.test(root.period)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aerostack.js, Sources/CodexBarCore/Resources/Plugins/aerostack.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"29778a00e996b95ab3d006a6f6a57e934a0ad86822b12fccf3a12d4b59c0bf76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof row.model !== \u0022string\u0022 || !ctx.isDetailLabel(row.model)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/helmcode.js, Sources/CodexBarCore/Resources/Plugins/helmcode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"875370ef31612157a5a1cab371045f97092cc46c45b7c847780b5d1a80ae7b8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof shared === \u0022number\u0022 \u0026\u0026 Number.isFinite(shared) \u0026\u0026 shared \u003E= 0 \u0026\u0026 shared \u003C= pool.used\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/gitkraken.js, Sources/CodexBarCore/Resources/Plugins/gitkraken.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6a8e789fa2d5eeed7ece2fb30c9b2b774bca6e47ebecb7374e4b06e7b6499b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof status !== \u0022string\u0022 || !/^[A-Za-z0-9_-]{1,32}$/.test(status)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/siliconflow.js, Sources/CodexBarCore/Resources/Plugins/siliconflow.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/siliconflow.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"602b77aef2309d7a683fe506f47703c5d25dae0e488e96fc78c0ecfb41dfe31c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof token !== \u0022string\u0022 || !token.trim()\u0060 appears character-identically in 3 files \u2014 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js, Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts, Sources/CodexBarCore/Resources/Plugins/traecn.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7f3511112e2de4d31759effa4a49b0d2cfa97dea517d40331cb7af9ab0965c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof total !== \u0022number\u0022 || !Number.isFinite(total) || typeof left !== \u0022number\u0022 || !Number.isFinite(left)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/abacus.js, Sources/CodexBarCore/Resources/Plugins/abacus.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abacus.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ddeaa95be8eee91a24d5032240a15c6aed7f6a4d4dc32ed4be3c5a215cb9e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof used !== \u0022number\u0022 || !Number.isFinite(used) || used \u003C 0 || typeof limit !== \u0022number\u0022 || !Number.isFinite(limit) || (limit \u003C 0 \u0026\u0026 limi\u2026\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/gitkraken.js, Sources/CodexBarCore/Resources/Plugins/gitkraken.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/gitkraken.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b49d2cc45c7d1c9e781f8438046196a4648b28d39833024a87a0b7e3079d90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022number\u0022 \u0026\u0026 (typeof value !== \u0022string\u0022 || !/^\\d\u002B(?:\\.\\d\u002B)?$/.test(value))\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js, Sources/CodexBarCore/Resources/Plugins/qwencloud-team.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/qwencloud-team.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c126c9e5a67180f46c358560f70e18aa3a576dcb011e564758db0841851df3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022number\u0022 \u0026\u0026 typeof value !== \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/nous.js, Sources/CodexBarCore/Resources/Plugins/nous.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bc21147ec0f2be51bce2a10ee32ba833920fa61a3ee4841cd553d2bef71f0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022number\u0022 || !Number.isFinite(value)\u0060 appears character-identically in 14 files \u2014 Sources/CodexBarCore/Resources/Plugins/bifrost.js, Sources/CodexBarCore/Resources/Plugins/bifrost.ts, Sources/CodexBarCore/Resources/Plugins/deepinfra.js, Sources/CodexBarCore/Resources/Plugins/moonshot.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/bifrost.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"161ae90efdd1154d0bd55935f0a279078e2b014047060fd9a886933af22b12fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022number\u0022 || !Number.isFinite(value) || (integer \u0026\u0026 !Number.isInteger(value))\u0060 appears character-identically in 3 files \u2014 Sources/CodexBarCore/Resources/Plugins/deepgram.js, Sources/CodexBarCore/Resources/Plugins/llmproxy.js, Sources/CodexBarCore/Resources/Plugins/llmproxy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/deepgram.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b9d7899f7516b1ccfe1855423b545fc8d9be9610650c7d771aa6c6ccb3064f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022number\u0022 || !Number.isFinite(value) || value \u003C 0\u0060 appears character-identically in 6 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts, Sources/CodexBarCore/Resources/Plugins/huggingface.js, Sources/CodexBarCore/Resources/Plugins/huggingface.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fad9d2ae5770a4950f5622221ffd42191f0525b05453d98525419dcf6e0513"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022number\u0022 || !Number.isSafeInteger(value) || value \u003C 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/helmcode.js, Sources/CodexBarCore/Resources/Plugins/helmcode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/helmcode.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cfefb7ca9b9260d4a6504677a1276c883bbf51ab1f6f7fb0854f96f14eafe9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022object\u0022 || Array.isArray(value)\u0060 appears character-identically in 6 files \u2014 Sources/CodexBarCore/Resources/Plugins/nous.js, Sources/CodexBarCore/Resources/Plugins/nous.ts, Sources/CodexBarCore/Resources/Plugins/ollama-api.js, Sources/CodexBarCore/Resources/Plugins/ollama-api.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"81503c855e32fe9472b1257e99ef41916709e732ee06c36f6e70d9d5f5a17c4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || !/^-?(?:\\d\u002B|\\d\u002B\\.\\d\u002B)$/.test(value)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/siliconflow.js, Sources/CodexBarCore/Resources/Plugins/siliconflow.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/siliconflow.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecdf61a0547fc440403894a638ae627cb7e07c1327ab106539a9f29408dbac6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || !/^-?\\d\u002B(?:\\.\\d\u002B)?$/.test(value.trim())\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/soniox.js, Sources/CodexBarCore/Resources/Plugins/soniox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/soniox.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5890e9b96cdefe92fc69a983b7eb885131fd2d97dac4f6d28265206cb7e98f54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || !/^\\d\u002B(?:\\.\\d\u002B)?$/.test(value)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/devpass.js, Sources/CodexBarCore/Resources/Plugins/devpass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/devpass.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"30274a1b2e0eb1c3b9625c5e3cdd6af0324c641588bd74226176bf007f072144"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || !/^\\d\u002B(?:\\.\\d\u002B)?$/.test(value.trim())\u0060 appears character-identically in 4 files \u2014 Sources/CodexBarCore/Resources/Plugins/replicate.js, Sources/CodexBarCore/Resources/Plugins/replicate.ts, Sources/CodexBarCore/Resources/Plugins/workbuddy.js, Sources/CodexBarCore/Resources/Plugins/workbuddy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/replicate.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"474c27b42f3cd94763580fed3a98fb156df6e748eacb817cf811e1436034a5be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || !/^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d\u002B)?(?:Z|[\u002B-]\\d{2}:\\d{2}))?$/.test(value)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/futureagi.js, Sources/CodexBarCore/Resources/Plugins/futureagi.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/futureagi.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f3b0d90978ad1df04a22ba731646db630a20465702936c76edccd31bfce587"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || !/^\\d{4}-\\d{2}-\\d{2}T/.test(value)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chatbox.js, Sources/CodexBarCore/Resources/Plugins/chatbox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c2f2cdc2f07078b6165354c59f6a1547a470b02a8c424f5506d3c681754f7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || !/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d\u002B)?(?:Z|[\u002B-]\\d{2}:\\d{2})$/.test(value)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/ollama-api.js, Sources/CodexBarCore/Resources/Plugins/ollama-api.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/ollama-api.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1463bc4b268d5af80b41ad834454e6561d7465812fbea20feb7c36b97667b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || !value.trim()\u0060 appears character-identically in 4 files \u2014 Scripts/localization-formats.mjs, Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts, Sources/CodexBarCore/Resources/Plugins/zed.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/localization-formats.mjs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e345a1b9ad1f2aff08e0cd9fe6ba617f013bc95cc61624e6b389b935c68b123"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || value.trim() === \u0022\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/longcat.js, Sources/CodexBarCore/Resources/Plugins/longcat.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73df520adbd331548d64847b0201bee63c587680609b8c76400d620ef62af8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 18 files \u2014 Sources/CodexBarCore/Resources/Plugins/flora.js, Sources/CodexBarCore/Resources/Plugins/langdock.js, Sources/CodexBarCore/Resources/Plugins/langdock.ts, Sources/CodexBarCore/Resources/Plugins/litellm.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/flora.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c923cc1be97649cd573866ee06af3493e30151636bffa256aa28e45edd6d1fa2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isFinite(value) \u0026\u0026 value \u003E= 0\u0060 appears character-identically in 5 files \u2014 Sources/CodexBarCore/Resources/Plugins/abliteration.js, Sources/CodexBarCore/Resources/Plugins/abliteration.ts, Sources/CodexBarCore/Resources/Plugins/traecn.js, Sources/CodexBarCore/Resources/Plugins/tripo.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a98edb2e3847cfc2d131249723565c08dcfa961787e0e75b70a93a7134a788a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isFinite(value) \u0026\u0026 value \u003E= 0 \u0026\u0026 value \u003C= Number.MAX_SAFE_INTEGER\u0060 appears character-identically in 3 files \u2014 Sources/CodexBarCore/Resources/Plugins/futureagi.js, Sources/CodexBarCore/Resources/Plugins/futureagi.ts, Sources/CodexBarCore/Resources/Plugins/opendesign.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/futureagi.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bba0336e6aca227f5e647d3078456da564558f7d2c66fd8fedcd3ed4c1269f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isSafeInteger(value)\u0060 appears character-identically in 4 files \u2014 Sources/CodexBarCore/Resources/Plugins/claudeplatform.js, Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts, Sources/CodexBarCore/Resources/Plugins/lithosai.js, Sources/CodexBarCore/Resources/Plugins/lithosai.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a86a565b077d2ecc3fbfa64115a953ecfb7f8bdf620f10f2aa3f6aaaed6869"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isSafeInteger(value) \u0026\u0026 value \u003E= 0\u0060 appears character-identically in 10 files \u2014 Sources/CodexBarCore/Resources/Plugins/aerostack.js, Sources/CodexBarCore/Resources/Plugins/aerostack.ts, Sources/CodexBarCore/Resources/Plugins/chatbox.js, Sources/CodexBarCore/Resources/Plugins/chatbox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0c979961b0747e11e71be7f817da5b93e54425096f9bc25d485a7ce01c6786"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 || (typeof value === \u0022string\u0022 \u0026\u0026 value.trim() !== \u0022\u0022)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a41bef84b45a36fdbf866a4cbb480c87dc37b39f51eb85078493874c561b0d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 || typeof value === \u0022boolean\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/longcat.js, Sources/CodexBarCore/Resources/Plugins/longcat.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/longcat.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e796bc2433bd3a074dc519e199300d5861d924c84b16f3136df52340a04f17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 !/^[\u002B-]?(?:\\d\u002B(?:\\.\\d*)?|\\.\\d\u002B)(?:[eE][\u002B-]?\\d\u002B)?$/.test(value.trim())\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/nous.js, Sources/CodexBarCore/Resources/Plugins/nous.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/nous.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0653f613b8fd34a9e9403345bb625a3e955d18bc0247b79cb62aaa529ee3b973"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 /^-?\\d\u002B(?:\\.\\d\u002B)?$/.test(value.trim())\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/ollama-api.js, Sources/CodexBarCore/Resources/Plugins/ollama-api.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/ollama-api.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"071f6dd04a32e138d42defe1e1b1d8a13b4d8c187243c4013dffd00bbc5165d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 /^[0-9]\u002B$/.test(value)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"4022050f6130273b0fe8e7c7c719043ed3ecc747625ca42db1d1b8d55ea40199"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 /^\\d\u002B(?:\\.\\d\u002B)?$/u.test(value)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8196570822b49b437e0353c807a9f400690086883752d98e3398fad1bf8ebd9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 /^\\s*-?\\d\u002B(?:\\.\\d\u002B)?\\s*$/.test(value)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/munito.js, Sources/CodexBarCore/Resources/Plugins/munito.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/munito.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ce4790227f63298d5301d11d1136825366be09159d778ea943d3a2f76091b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 ctx.isDetailLabel(value)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/llmman.js, Sources/CodexBarCore/Resources/Plugins/llmman.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/llmman.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"767cd9ea80a60ebcb17744c9fd8cea38b9db5dfdfc8cf7fb00dbe179577b74a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.trim()\u0060 appears character-identically in 9 files \u2014 Sources/CodexBarCore/Resources/Plugins/claudeplatform.js, Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts, Sources/CodexBarCore/Resources/Plugins/lithosai.js, Sources/CodexBarCore/Resources/Plugins/lithosai.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/claudeplatform.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c51290b35a385c7aaa1b1f9faa99e9ce1f5d782205b98bbc58bf2f2e106c1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 || typeof value === \u0022number\u0022\u0060 appears character-identically in 4 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts, Sources/CodexBarCore/Resources/Plugins/longcat.js, Sources/CodexBarCore/Resources/Plugins/longcat.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a47db1cb3209af0ad4b9a5c4db121acb8e31a3d03bf05139e3c180e7685e6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usablePlan \u0026\u0026 plan \u0026\u0026 plan.limit \u003E 0 \u0026\u0026 next \u0026\u0026 next.getTime() \u003E now \u0026\u0026 (!expires || next.getTime() \u003C expires.getTime())\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chatbox.js, Sources/CodexBarCore/Resources/Plugins/chatbox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chatbox.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fc8f4be5940150a7a87f399b9a2658c00708feba73dafad452182ae3e43d41"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usage.window == null \u0026\u0026 usage.billingPeriodWindow == null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/notion.js, Sources/CodexBarCore/Resources/Plugins/notion.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e7d5b51c13ac9a32beb87ed8884f7c7f0a2c89b522bb49bafcb2a30cfa0630"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usage[field] != null \u0026\u0026 typeof usage[field] !== \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/notion.js, Sources/CodexBarCore/Resources/Plugins/notion.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6fe57beda06442b40b99badccb5e36d10322ac5ee40d66e74b10662f932c52"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060used != null \u0026\u0026 limit != null \u0026\u0026 limit \u003E 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/elevenlabs.js, Sources/CodexBarCore/Resources/Plugins/elevenlabs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee740d4eb4bdc24a95e1ad1441ccb2b6a52e4cfba18ac7c2eb9d092d6600079"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060used !== undefined \u0026\u0026 !Number.isFinite(used)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aixy.js, Sources/CodexBarCore/Resources/Plugins/aixy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aixy.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a79b54d1eee9562571e2dedc5bd38184656532e01b4a47e5503ad9d36fb5c8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060used !== undefined \u0026\u0026 limit !== undefined\u0060 appears character-identically in 6 files \u2014 Sources/CodexBarCore/Resources/Plugins/aerostack.js, Sources/CodexBarCore/Resources/Plugins/aerostack.ts, Sources/CodexBarCore/Resources/Plugins/chatbox.js, Sources/CodexBarCore/Resources/Plugins/chatbox.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1445cb9939287c0884e28f2252b590edf5acedc9595242cb47c35d4733d730"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060used !== undefined \u0026\u0026 limit !== undefined \u0026\u0026 limit \u003E 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aerostack.js, Sources/CodexBarCore/Resources/Plugins/aerostack.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0a1c3a90cff79747bf2741f1ee00139f3ae0fd90a44660b43508a87d567833"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060used !== undefined \u0026\u0026 remaining !== undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af4d325452daecea56d3c159b52b2c717ff0e1d79e9bb20856f3500c2ab8b5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060used !== undefined \u0026\u0026 total !== undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/cosmic.js, Sources/CodexBarCore/Resources/Plugins/cosmic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/cosmic.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b2cc8b310121b8254a72fe5d27d8b21100bfb6b4b0862322cb2e337fa9ea14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060used !== undefined \u0026\u0026 total !== undefined \u0026\u0026 total \u003E 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/cosmic.js, Sources/CodexBarCore/Resources/Plugins/cosmic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/cosmic.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f49bb5ea7f15b3ea4bd32bac1c0863cff5a305143b5f88ebceb1995cbb5db0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060used === undefined \u0026\u0026 limit === undefined\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/aerostack.js, Sources/CodexBarCore/Resources/Plugins/aerostack.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/aerostack.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"92041fdfe68c904b27d5bc34481c41784d52f930143d58e0e22359dc965117fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060used === undefined \u0026\u0026 limit === undefined \u0026\u0026 remaining === undefined \u0026\u0026 free.limit_per_day !== null\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/xkiro.js, Sources/CodexBarCore/Resources/Plugins/xkiro.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/xkiro.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59119209cf7c04c290831089efbf5b99f4e7d70ccfb7dab96f6d4aeb2e3efaa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060used === undefined || limit === undefined || limit \u003C= 0\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/notion.js, Sources/CodexBarCore/Resources/Plugins/notion.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d87c3a648059c99ee59d8a85835992a14a23787c7574721babfbae153e93a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060userID \u0026\u0026 ctx.settings.get(\u0022LITELLM_MODEL_USAGE_ENABLED\u0022) === \u0022true\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/litellm.js, Sources/CodexBarCore/Resources/Plugins/litellm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/litellm.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d26708c34405aaf9d18add719a88bb46ff0be4c36ba224c73bf8bd4aee56b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value != null \u0026\u0026 typeof value !== \u0022string\u0022\u0060 appears character-identically in 3 files \u2014 Sources/CodexBarCore/Resources/Plugins/elevenlabs.js, Sources/CodexBarCore/Resources/Plugins/elevenlabs.ts, Sources/CodexBarCore/Resources/Plugins/openai.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9def16df42665146089230ae2aeedce19b490710bcdc8f7ee1b81040803205"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== null \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 27 files \u2014 Sources/CodexBarCore/Resources/Plugins/chutes.js, Sources/CodexBarCore/Resources/Plugins/chutes.ts, Sources/CodexBarCore/Resources/Plugins/claudeplatform.js, Sources/CodexBarCore/Resources/Plugins/claudeplatform.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/chutes.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae3c48ea6d765ebc6070d9bbea0921390c7f080e5e4fed13519875a5441192b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== undefined \u0026\u0026 !Number.isSafeInteger(value)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/zoommate.js, Sources/CodexBarCore/Resources/Plugins/zoommate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zoommate.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0b975a4f41fa28505defe77849d13910b1c9ab8ffebed1cadf53957127cfe8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 16 files \u2014 Sources/CodexBarCore/Resources/Plugins/abliteration.js, Sources/CodexBarCore/Resources/Plugins/abliteration.ts, Sources/CodexBarCore/Resources/Plugins/aerostack.js, Sources/CodexBarCore/Resources/Plugins/aerostack.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/abliteration.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4f268ad19b1e9342169e938bec33196dc8eb0b85be46d1dd024f7e43b9ed00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || typeof value === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/elevenlabs.js, Sources/CodexBarCore/Resources/Plugins/elevenlabs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/elevenlabs.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cefd79b40275289dcfb1e162815ff392f5352c7ab9c9cb807fe340bd677a6e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value[field] != null \u0026\u0026 typeof value[field] !== \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/notion.js, Sources/CodexBarCore/Resources/Plugins/notion.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/notion.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5b0f774998399a3f8acd6312f69228e04a46f2a27a6e7937028e1807df7d80"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060weeklyPercent === null || !weeklyReset || weeklyReset.getTime() \u003C= now\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e77408538633e455c129b16778826b74d5fe326a4f79c663bd94c97ea3719a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060whoami.status \u003E= 200 \u0026\u0026 whoami.status \u003C 300\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/huggingface.js, Sources/CodexBarCore/Resources/Plugins/huggingface.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/huggingface.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c215537ce0fca960e2ad903cb0d38ea033801926f731a58a959478d6af6893f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060windowReset !== undefined \u0026\u0026 windowReset.getTime() \u003E now\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Resources/Plugins/muse.js, Sources/CodexBarCore/Resources/Plugins/muse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/muse.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1d04ce959a82cf9e3710a7733c72d6dacf31a8c42c2697ab18025dc9eb435d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.environ.get(\u0022CI\u0022) or os.environ.get(\u0022GITHUB_ACTIONS\u0022)\u0060 appears character-identically in 2 files \u2014 Scripts/ci_swift_test_by_suite.py, Scripts/direct_swift_test_groups.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/ci_swift_test_by_suite.py"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"4327658efb6a1ffb40bd9ce48d3ec0ce8f979474c1dcfdc2f0daf2be388f34aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isOverviewSelected \u0026\u0026 !isPluginSelected\u0060 appears character-identically in 2 files \u2014 Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift, Sources/CodexBar/StatusItem/StatusItemController\u002BMenuSwitcherWarmup.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BMenu.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"638b66a0671d798d0c50bb85c197eb90cdd854671fe01e3265b69a7d34c3c2f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!runtime.dataRoutesRequireAuth || runtime.dashboardAuth.authorize(request)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCLI/CLIServeAccounts.swift, Sources/CodexBarCLI/CLIServeCommand.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/CLIServeAccounts.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4460bcbce5b19574ade99dca5043ca65c4ad3307ee6bd9f5a19f21d363edd210"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.eventIndex != nil \u0026\u0026 $0.timestampUnixMs != nil\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift, Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexLocalProjectUsageIndexer.swift"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43d459939888262c4d25bbb43332d550a868fcdffef0b2864c2c73cb30cb5e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.isASCII \u0026\u0026 ($0.isLetter || $0.isNumber || \u0022-_.\u0022.contains($0))\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/Kimi/KimiCookieImporter.swift, Sources/CodexBarCore/Providers/Kimi/KimiDesktopSessionDiscovery.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Kimi/KimiCookieImporter.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb556e45dc0a141dcd6b2f851b903157cb511ddb762d300d9bcdde916a571f21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.key == key \u0026\u0026 $0.kind == expectedKind\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift, Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ffa16e9b0883005f686b5f8da85f9f1b7bc257f0fe89656a311c0522d03513"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.name == \u0022sessionid\u0022 \u0026\u0026 !$0.value.isEmpty\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/Replicate/ReplicateCookieImporter.swift, Sources/CodexBarCore/Providers/Replicate/ReplicateWebFetchStrategy.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Replicate/ReplicateCookieImporter.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9ea8bce4f11d222cb5ec645c4647052175cbbad5f1dcd66c1b4339cab94628"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.usageKnown \u0026\u0026 $0.id.hasPrefix(\u0022antigravity-quota-summary-\u0022) \u0026\u0026 $0.window.windowMinutes == Self.weeklyWindowMinutes\u0060 appears character-identically in 2 files \u2014 Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift, Sources/CodexBar/UsageStore/UsageStore\u002BSessionEquivalents.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BPlanUtilization.swift"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5ac0e58749d9e54af3ca09df2104e154d5eb07acb72220b667291a9309ad7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(value.hasPrefix(\u0022\\\u0022\u0022) \u0026\u0026 value.hasSuffix(\u0022\\\u0022\u0022)) || (value.hasPrefix(\u0022\u0027\u0022) \u0026\u0026 value.hasSuffix(\u0022\u0027\u0022))\u0060 appears character-identically in 5 files \u2014 Sources/CodexBarCore/Config/SettingsValue.swift, Sources/CodexBarCore/Providers/HuggingFace/HuggingFaceSettingsReader.swift, Sources/CodexBarCore/Providers/IBMBob/IBMBobSettingsReader.swift, Sources/CodexBarCore/Providers/Moonshot/MoonshotSettingsReader.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Config/SettingsValue.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c5bfffb4ebc0b4425eef65d65abda452a4e3c4acf8c8467af1724dad42ee3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Task.isCancelled || ClaudeOAuthFetchError.isCancellation(error)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift, Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeProviderDescriptor.swift"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54a22847aac5cce13f75c1fec2ee1515d2acaaadc280c82b8d008da76a6735e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Task.isCancelled || error is CancellationError\u0060 appears character-identically in 3 files \u2014 Sources/CodexBar/UsageStore/UsageStore\u002BSpendDashboardTokenCost.swift, Sources/CodexBar/UsageStore/UsageStore.swift, Sources/CodexBarCore/Providers/ProviderFetchPlan.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BSpendDashboardTokenCost.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c999a6a77ced789822c962effd6f5ac91eb6c682375bb9791f33bc6d1b32384d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060balance != nil || creditLimit != nil || creditsAvailable == true\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATFetchStrategy.swift, Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATFetchStrategy.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee0c35c3636fb064e41be4fa06bd198da80f971f31f1de02936eae361e0b666"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canImport(SQLite3) || canImport(CSQLite3)\u0060 appears character-identically in 9 files \u2014 Sources/CodexBarCore/CodexThreadCatalogReader.swift, Sources/CodexBarCore/CodexThreadMetadataReader\u002BProjects.swift, Sources/CodexBarCore/CodexThreadMetadataReader.swift, Sources/CodexBarCore/CodexWorkspaceUsageSidecar.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexThreadCatalogReader.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"156855cf3ae12ab27e6f72819db4dea4fe13e21d9093fa8ce5fe4c0564e3cbf4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.sourceMode == .auto || context.sourceMode == .cli\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift, Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1413ddafa5c394f22e9f15b6b14fd9ace09b970bf0c355f3f4d258a60741a7c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060environment[self.isolationEnvironmentKey] == \u00221\u0022 || KeychainTestSafety.isRunningUnderTests(processName: processName, environment: environmen\u2026\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/CodexCredentialFileAccess.swift, Sources/CodexBarCore/ProviderSessionStoreFile.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexCredentialFileAccess.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"312fc361d1a041d3e24fa06b0aa45f1c23011247f7089377cf0c03f3ae7a3bd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err == EINTR || err == EAGAIN || err == EWOULDBLOCK\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift, Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08465aa06126aa951f0fff1695419f6d536b64255fb55623a534e68555a3845"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error is CancellationError || Task.isCancelled\u0060 appears character-identically in 3 files \u2014 Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexResetCredits.swift, Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift, Sources/CodexBarCore/Providers/DeepSeek/DeepSeekProviderDescriptor.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexResetCredits.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77031aa553875f461fa3044555ab1ca0db98cb29471f3bf261e4774e4b78550"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.isCredentialFailure \u0026\u0026 cookieSource != .manual\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift, Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa58647a0df8c5d4eda95e1e152bbd7e394c87d89b2a694f578eb92c2bc428f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host == normalizedDomain || host.hasSuffix(\u0022.\\(normalizedDomain)\u0022)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift, Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieHeaders.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/MiMo/MiMoCookieImporter.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c58b6b433e5a4d461859b3583efce7cc0c52ceaac732beba3676bc20b389efa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060httpResponse.statusCode == 401 || httpResponse.statusCode == 403\u0060 appears character-identically in 4 files \u2014 Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift, Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift, Sources/CodexBarCore/Providers/Ollama/OllamaUsageFetcher.swift, Sources/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoUsageFetcher.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanUsageFetcher.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f049e2343fb337bb0b5b109a956af7df24b0fdfb519caced6083bbe46d8975"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060identity.accountEmail != nil || identity.accountOrganization != nil || identity.loginMethod != nil || identity.accountID != nil\u0060 appears character-identically in 2 files \u2014 Sources/CodexBar/StatusItem/StatusItemController\u002BUserPlugins.swift, Sources/CodexBarCore/Plugins/ProviderPluginSnapshotMapper.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/StatusItem/StatusItemController\u002BUserPlugins.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f437fa643f88ee96e134a3842e85e8c62e3599c5f23442abb291f1f45effb8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lhs.scheme?.lowercased() == rhs.scheme?.lowercased() \u0026\u0026 lhs.host?.lowercased() == rhs.host?.lowercased() \u0026\u0026 self.normalizedPort(lhs) == self\u2026\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/ProviderHTTPClient.swift, Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleCookieRouting.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ProviderHTTPClient.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ea4b8c505dc11b4082c79aab3783eb984c24ead3509830df98e2fe63fd2350"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.contains(\u0022codex account authentication required\u0022) || lower.contains(\u0022account authentication required to read rate limits\u0022) || lower.co\u2026\u0060 appears character-identically in 2 files \u2014 Sources/CodexBar/Providers/Codex/CodexConsumerProjection.swift, Sources/CodexBarCore/Providers/Codex/CodexCLIBackendConfiguration.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/CodexConsumerProjection.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1068cecd4aff289df70ed77a80701558b8067b22ac5f1f5ea53223d03b473b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.contains(\u0022cookie:\u0022) || trimmed.contains(\u0022=\u0022)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift, Sources/CodexBarCore/TokenAccountSupport.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCredentialRouting.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6480a8db171df03f1e4388f6edc783bc10d680a3ee51afa7cacc5569d03d5689"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.contains(\u0022HTTP 401\u0022) || message.contains(\u0022HTTP 403\u0022)\u0060 appears character-identically in 4 files \u2014 Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift, Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift, Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift, Sources/CodexBarCore/Providers/Factory/FactoryStatusProbe\u002BAPIKey.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec162c660c95776f4e956a9510e1085101ae33a1ad3c11895ce2e3ceb74e4c00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.contains(\u0022HTTP 404\u0022) || message.contains(\u0022HTTP 403\u0022)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift, Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanProviderDescriptor.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d4724f10deb58dc7145020f051cf17b3fa521543f9b9df20c929ab826f4571"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name == \u0022Default\u0022 || name.hasPrefix(\u0022Profile \u0022) || name.hasPrefix(\u0022user-\u0022)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/BrowserDetection.swift, Sources/CodexBarCore/ChromiumLocalStorageDiscovery.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/BrowserDetection.swift"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"1177d6e5404fdc40997a636e566494d549eaf3fe1c02b93a98adc5cbe24ab2b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.contains(\u0022chatgpt.com\u0022) || name.contains(\u0022openai.com\u0022)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift, Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardWebsiteDataStore.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c0fcc7f368144103520ba94598249298265a41c0996d1ca429ba7e60530c19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nsError.domain == NSURLErrorDomain \u0026\u0026 nsError.code == NSURLErrorTimedOut\u0060 appears character-identically in 3 files \u2014 Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift, Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardWebViewCache.swift, Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe\u002BDataLoader.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BOpenAIWeb.swift"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebef6a560d7d9fdb7ab619dd282ca2aaecf11d1f03cf261d9c33fc905045acce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060provider == .claude \u0026\u0026 result.strategyKind == .oauth\u0060 appears character-identically in 2 files \u2014 Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift, Sources/CodexBarCLI/CLIUsageCommand.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"a240a4790fad1202af46e3352bb3ec43bbb29dd949efe87d485875b05fade897"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060provider == .claude || provider == .codex\u0060 appears character-identically in 3 files \u2014 Sources/CodexBar/SpendDashboard/SpendDashboardController.swift, Sources/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift, Sources/CodexBarCLI/CLICostCommand.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"e454342b9466c80507d86c8879b8ebcb97bc8a15bb46eb77b2849d1e863fc2a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060provider == .codex || provider == .claude\u0060 appears character-identically in 4 files \u2014 Sources/CodexBar/PredictivePaceWarnings.swift, Sources/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift, Sources/CodexBar/UsageStore/UsageStore\u002BHighestUsage.swift, Sources/CodexBarCore/CostUsageFetcher.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/PredictivePaceWarnings.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ff235b6dd58327702b686f5bc5918ebd3c65bdad0afd123f4dc302cde2286c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.statusCode == 401 || response.statusCode == 403\u0060 appears character-identically in 15 files \u2014 Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift, Sources/CodexBarCore/Providers/Amp/AmpUsageFetcher.swift, Sources/CodexBarCore/Providers/CommandCode/CommandCodeUsageFetcher.swift, Sources/CodexBarCore/Providers/Copilot/CopilotUsageFetcher.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaCodingPlanUsageFetcher.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d720fc51c4e3e91b2f5a10202fd7bb85712719119f603b5ad958914a06cb6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.containsHistorySource || source.containsHistorySource\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalJSONL.swift, Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalSQLite.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityLocalJSONL.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8695cf6c90ea037388725e5945308008a9550f78719f08a031ba448aee5e69cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.strategyID == \u0022codex.pat\u0022 || result.sourceLabel == \u0022pat\u0022\u0060 appears character-identically in 2 files \u2014 Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexPATRefresh.swift, Sources/CodexBar/UsageStore/UsageStore\u002BRefresh.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Providers/Codex/UsageStore\u002BCodexPATRefresh.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b6bad353b54d5a72f41fe8b689a4e1e6f847f695c2506780c85464c42192f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.costUsageEnabled || (provider == .codex \u0026\u0026 self.codexLocalSessionCostLedgerEnabled)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBar/Settings/SettingsStore\u002BMenuPreferences.swift, Sources/CodexBar/Settings/SettingsStore\u002BTokenCost.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/SettingsStore\u002BMenuPreferences.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90c1ffc25a0e40bcadf6c058ebf4b0c21dca0c16ca2c9ea7437dd378ee5a9b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.enforcesUserResponsePolicy \u0026\u0026 !self.manifest.capabilities.contains(.httpStatus)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift, Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aded01ab4c8d5acd6b473a6c68a948cfe085e8d9ee66b7b26343f09061dc627"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060setpgid(pid, pid) == 0 || getpgid(pid) == pid\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Host/Process/SubprocessRunner.swift, Sources/CodexBarCore/Providers/Claude/ClaudeCLISession.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/Process/SubprocessRunner.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dadb9db4eb536e5151af9c4991c0d82117fb120f04cd59757beb438f535b2cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sourceMode == .auto || sourceMode == .cli\u0060 appears character-identically in 3 files \u2014 Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift, Sources/CodexBarCore/Providers/Cursor/CursorProviderDescriptor.swift, Sources/CodexBarCore/Providers/Factory/FactoryProviderDescriptor.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Alibaba/AlibabaTokenPlanProviderDescriptor.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"36df6f2164e898a8c5282f129891dc13b204619788080e49ba904710f75fa8fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sourceMode == .auto || sourceMode == .web\u0060 appears character-identically in 3 files \u2014 Sources/CodexBarCore/Providers/Ollama/OllamaProviderDescriptor.swift, Sources/CodexBarCore/Providers/QwenCloud/QwenCloudProviderDescriptor.swift, Sources/CodexBarCore/Providers/Sakana/SakanaProviderDescriptor.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Ollama/OllamaProviderDescriptor.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc4c071932afbda4b0e1ea97d12b02401ce665bb087925a65371c325d0db828"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status == Int(errSecUserCanceled) || status == Int(errSecAuthFailed) || status == Int(errSecInteractionNotAllowed) || status == Int(errSecNo\u2026\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentialModels.swift, Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentialModels.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c8b3e0238624ff15ebc4fcfa84f2aa5c1471b3c459be5f4b0b3006faff264a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.hasPrefix(\u0022{\u0022) || trimmed.hasPrefix(\u0022[\u0022)\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift, Sources/CodexBarCore/Providers/Shared/AliyunOneConsole/OneConsoleJSON.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/OpenCode/OpenCodeUsageFetcher.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"675c74f4b4bcd4bd20079b8750daeb8f732904a9c1abb0332b177e9c53d4f55c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usageResponse.rateLimit?.hasWindowDecodeFailure == true || usageResponse.additionalRateLimitsDecodeFailed\u0060 appears character-identically in 2 files \u2014 Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATFetchStrategy.swift, Sources/CodexBarCore/Providers/Codex/CodexProviderDescriptor.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Codex/CodexPAT/CodexPATFetchStrategy.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefe6e3082117c691f6d9a85b2e3c2509b358d61e2d669c0e1ddf25fd8e1ebfb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.sawCost \u0026\u0026 !value.invalidCost \u0026\u0026 !value.overflowedCost\u0060 appears character-identically in 2 files \u2014 Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift, Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f8315f6ab9d61b4918434b0acd5271d534373e4775c423d823c5ef40f4d46e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.sawTokens \u0026\u0026 !value.invalidTokens \u0026\u0026 !value.overflowedTokens\u0060 appears character-identically in 2 files \u2014 Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift, Sources/CodexBar/SpendDashboard/SpendDashboardModel.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardModel\u002BModelBreakdown.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4dd64a96ef9963c491cf3f6a230a3f55212441e376d375bd56a7a7acc2b720"}},{"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/CodexBarCore/AppGroupSupport.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68d2e8cc45ea8ca52b03dd0a4a8e4986d98e35f39566fb978f7833accae4d49"}},{"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/CodexBarCore/CodexLaunchPreflight\u002BSignatureIdentity.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64d52eec928685bd2fb1199254d265a06f7605bafcc33d57a8a376e1d415e64"}},{"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/CodexBarCore/CopilotUsageModels.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdba617375f6e8904e14cbafb244a0adea2a275b1e1012fa124b3dca9605da4e"}},{"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/CodexBarCore/PathEnvironment.swift"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"911ea9c191927bda6f9dbd9ba4015ecdb0cb0ebf53f2ae48f92f3098281e85c2"}},{"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/CodexBarCore/PiFamilySessionScanner.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6084a6ac2f08c2c62f7d4435dcc84b147b162309443b9790e59c30c28ddae637"}},{"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/CodexBarCore/PiProcessEnvironment.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"af94f6e5a03cc871c9d46e3c12d3ed9ce58049fea07f0fbe2db54dbee7373573"}},{"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/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6e853ef0f8e1e51d527f8b22e7623b1438fd0483972fc03730f141044fe65b"}},{"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/CodexBarCore/PiSessionCostScanner.swift"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b801b3f57ae1a99ab0072bfcf86e7bc1aa63f31854fbe2b5b275bcb49a750c7"}},{"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/CodexBarCore/WidgetSnapshot.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc0190ec030d080e0e5570caafae686f72f7296a222232cfdc7e1d549de6b2e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/museai.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce8455d0d3d856a9bf6a3bcc8301fdd50d21bfab48dabfcde69e1b6233ac708"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/poe.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5b1cc04a5150dbfe827fd6c8d62cbe4a2894addcfda2daf0388a10a73705f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/t3chat.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a9b6216a03a73d7ff88bfb839dc12c3d1f4a16d0ee69c79062c393bf6aef6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc94adb923ed212a92dfdf1295e516ab61f43327a7ab2122b1baad45ec92d99"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Resources/Plugins/zai.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fb200a6c67f79c0bf0b97f5b052cc1d1c2b1e5d270724ccd74d51ae11536f8"}},{"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/CodexBarCore/Providers/ProviderVersionDetector.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf817e03c055011c8c59f1e0ba9884ab1f89c99b1e23642a42a7aaa59c00f69"}},{"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/CodexBarCore/Providers/ProviderVersionDetector.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"930115a0508721771cfebc6dae2f6ebc97abd017a7dcfd8b7a3f2788c9ae7c1d"}},{"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/CodexBarCore/Providers/ProviderVersionDetector.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f42fbf670cf6f545dc7a278aa5dd7dbb3ff6b1669cc850bcadc4390a17b06e"}},{"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/CodexBarCore/Providers/Shared/AliyunOneConsole/AliyunOneConsoleCookieImporter.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f05dea33096d5cf254066908de9ead8c7e38bbf351abcee269e06dd1db00946"}},{"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/CodexBarCore/Providers/Perplexity/PerplexityCookieImporter.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc80442396b045454e19ebbc479b01d4002aeeb3a910aa2e8bb2be5fe76f9a9"}},{"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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoProviderDescriptor.swift"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75ca39588e0faeb3440f2245f01fb1a3240d160f84c1fc183d77121636294fc"}},{"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/CodexBarCore/Providers/OpenCodeGo/OpenCodeGoZenBalanceFetcher.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d2ed33d7fdcc34a6ca5253ebd665f812942e22c4efab04622cf875c62e29d2"}},{"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/CodexBarCore/Providers/OpenCode/OpenCodeCookieImporter.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22115dd0617e2ff8a83047364cc71a99cc2e539f827f491aca9103817cc84e8"}},{"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/CodexBarCore/Providers/Nous/NousProviderDescriptor.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"379c4c7622a8a26961c3412c9e1dcc6e3a90a7ee2b7e33c6a6d2350b17a04e43"}},{"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/CodexBarCore/Providers/Mistral/MistralCookieImporter.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"721500d959aeac5ea1e885af981006d2b109f214863bece3a1b25d6d34d5d42e"}},{"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/CodexBarCore/Providers/Kimi/KimiCookieImporter.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"709a2ae434e4df13b1c36ffe761a336193f9c8d82559d6087bb34894f8e3739f"}},{"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/CodexBarCore/Providers/Kimi/KimiDesktopAuthToken.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4358b247441dfc68ff7977bb26267308ff95125af79170f7fde27b25eb235c"}},{"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/CodexBarCore/Providers/Kimi/KimiDesktopAuthToken.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"53148519058fab0f40b423ff4a5e8f639e982575d8dac2a3b32548e2b9a7ccde"}},{"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/CodexBarCore/Providers/Kimi/KimiModels.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d266c0f93e665867b28c0e928774042a1b98a1a13a5d51e4cbf6b4f1614b92"}},{"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/CodexBarCore/Providers/Grok/GrokCLISettingsFetcher.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85aab20dd072a108a43c2ace436b06a08dc30367e53d7143c90cbda3562d97b"}},{"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/CodexBarCore/Providers/Grok/GrokCookieImporter.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbd13bb3a4a29c0a4a4bd6d8a56411860dfe2cfc427e0e2dab89b7ce5c00d14"}},{"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/CodexBarCore/Providers/Factory/FactoryStatusProbe.swift"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df29db30f95ad806a7dd4d3a39fe9d33b3d093472ce69f2c9a16d6ab0c4411f"}},{"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/CodexBarCore/Providers/Cursor/CursorStatusProbe.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bb0472cf989802e88162ecf0af40f19687894ceb2b8c5c71755cec1e3589f4"}},{"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/CodexBarCore/Providers/CommandCode/CommandCodeCookieImporter.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b268ca5b990dbaf837d238e98669cb9c84c2b4a3af5647bf936c33e99c62894"}},{"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/CodexBarCore/Providers/Codex/CodexAccountReconciliation.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d3cf014469cd72182ac70898b135efebc4306a37297383b7b2dd8e7d7eeaa3"}},{"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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74f9b0df1f83e6ecdf009937ef8710da5c023ddc3a2e7dbaba4806f64a105e6"}},{"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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"237900de7ccd7b1312426b8b6b95e57a2d090864f2b9eca7ea5bae2b4ccb6de2"}},{"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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6687d8364d2ae6d983d63090ee1e85ecef22c894e1fce0125ad38091855d942f"}},{"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/CodexBarCore/Providers/Codex/CodexOAuth/CodexOAuthUsageFetcher.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"d297c9df56d7abacc90a31534ace48cab8664402df3b77e978811a724ba50709"}},{"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/CodexBarCore/Providers/Claude/ClaudeCLIAuthStatusProbe.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a19350258af41dadee69d65291c3751c7aa35f55a41d508bf5c86d3568abad8"}},{"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/CodexBarCore/Providers/Claude/ClaudeStatusProbe.swift"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f86f18e3ae0b8dd8d60ca729523baea8184a1c84205cdaa8a2bbfd43c0af119"}},{"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/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeSubscriptionMetadata.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f337739e7b2ae0e4074ec7e3ba584bb969e8ea90944327285339f874b2dd8cd"}},{"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/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a6b38b063a9a59f9ee351ea4d4a42a99ad8dfd916e44b53844f4f20d270682"}},{"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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d92ba8086d9cef4502cac57bee131021532e4be558a8b985285f4bfa8e1751"}},{"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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthCredentials.swift"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba5001157d2a83b6a7e672b26a5f3b5f21cef19b322615fe70c1fd917bc56c0"}},{"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/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthDelegatedRefreshCoordinator.swift"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1a1d5dfdacdbce1f16c6370a107b4133c5e0e222c7b2d21dc77a1966d12141"}},{"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/CodexBarCore/Providers/Augment/AugmentSessionKeepalive.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac891260f3d15c22c2971375bf5bb3842fceab8a9d9f5d59cdc50d4098ca384"}},{"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/CodexBarCore/Providers/Augment/AugmentSessionKeepalive.swift"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ad3bf4d93b311f0267f7e61ac0090f0e4dafe99963b746ca14cf0de2ba7091"}},{"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/CodexBarCore/Providers/Augment/AugmentStatusProbe.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb1ca4e5ceb8eee8bf533193e0118c995f77011b6a3b72e454546e39524f8f9"}},{"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/CodexBarCore/Providers/Antigravity/AntigravityCLISession.swift"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc800ffd405bbba8e37b27b701e0c55475bb587ea546703013dcf4367b0fc6c"}},{"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/CodexBarCore/Providers/Antigravity/AntigravityLocalJSONL.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac44fe204f01e916921dc1b020224929b067c5d24b0885ab65cd34a5efec439"}},{"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/CodexBarCore/Providers/Antigravity/AntigravityLocalJSONL.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ab07a53608366157a22cc5b5a8838f5b8c74ae7a37eab830eee05292b620a9"}},{"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/CodexBarCore/Providers/Antigravity/AntigravityLocalScan.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6efea6ef712d9cfdbb54a32da7f3da23ed635faeab15191c3a4c59bf1bf398"}},{"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/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da4036e8d121b9ff9baa150177a1a02bb7a8229add5bac67ed8b827c2f5cdab"}},{"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/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf7b587cee206ffe1850f2cc175c49dae29fb33f08fc55d7ded691da77fa24c"}},{"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/CodexBarCore/Providers/Antigravity/AntigravityProviderDescriptor.swift"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5d2b0341525e514faba87d08c58eb585ce4468f49abf6e5176d077d3a00b6e"}},{"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/CodexBarCore/Plugins/ProviderPluginCookieJar.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"458fcc58abd73183fd77d66f1290f0ffe38d88ae1de3417c630623a94215825e"}},{"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/CodexBarCore/Plugins/ProviderPluginResult.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba46242c74ccd2e09a9e6b44bf04a3ece023cbc60cb0829588fd477e02d0153"}},{"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/CodexBarCore/Plugins/ProviderPluginRuntime.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dd1e4f27a1e164f03f525e547ce8ae2278e341fe8d7ada21c8e1b54faf8f03"}},{"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/CodexBarCore/OpenAIWeb/OpenAIDashboardWebViewCache.swift"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca60d8559ec6890768dfca316736373351b214e10738f32cfa42c90bb9fb200"}},{"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/CodexBarCore/Logging/FileLogHandler.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a328c70da90a87803a361bce8e4d47dd44609a94999a7b078608fde0335a4d97"}},{"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/CodexBarCLI/CLIServeCommand.swift"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b69e03942f4690b00d574ef13528e5315f485f7ade07a7c837ee0a0c4018232"}},{"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/CodexBarCLI/CLIServeOperationCoordinator.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4d899c6213b3e0bdeb2eabe0924117707354e859cf2a03748817d18b4fc18b"}},{"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/CodexBarCLI/DashboardAccountCollector.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"da50d69c17094f2d8ce45b8b92dd349fa35e640626d95180808022b8e28ba57a"}},{"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/CodexBarCLI/ToonFormatter.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a75ffa132cca022cdd04371008c3511a33698a3f32921d3c9564a1401ec418"}},{"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/CodexBar/AgentSessionsStore.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"03af07dbb60126b9a7c5a615e984c50e098476d8e2cd5905f0f8e11d9668f519"}},{"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/CodexBar/AgentSessionsStore.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7583b7f13eae5d7c0184ebaa4bd0184136460a60ff44e6bbbbe49247dd1598"}},{"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/CodexBar/CLILoginRunner.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfd49a7c7bbc9d22d0234868f4b6539ce53ada54e41a559a43a6305467db1d8"}},{"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/CodexBar/DockIconController.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abe22ee54ab2a4120fea3d1c5e17250ff2d9cb1a35a695ba7fd74c1b952c8cb"}},{"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/CodexBar/HTTPServerController.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b50cbfa1fb637ffdedcfeec422cba456033ed779fb89d0f93996b21cf03e9d"}},{"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/CodexBar/HTTPServerController.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fbb4b8311e0de1a510499d2b921919d850d2bd103ed62ebd01b826479f1d02"}},{"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/CodexBar/HTTPServerController.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04e20f0275a2e5c9302f6d01bc8212baca9dca7e24cba6176418f074b900cd1"}},{"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/CodexBar/UsageStore/UsageStore\u002BAdaptiveRefresh.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"72920895665edc0bc6ea080d1a2a87cdf0483554c104dcb842671767111184b1"}},{"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/CodexBar/UsageStore/UsageStore\u002BRefreshEnrichment.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"63feef68840b5b955bc0fad41161f99da53ac737314c851117d11be6546ad0c2"}},{"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/CodexBar/UsageStore/UsageStore\u002BStartupConnectivityRetry.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d318ed977d40c5fcc9f0ed062011cfc9d1048abdfb33b63d99dc1c29219098d"}},{"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/CodexBar/UsageStore/UsageStore\u002BTokenCost.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08ffdc06e171a08300dea41c3cd8187a68c73e9c0238433730195098ab84152"}},{"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/CodexBar/Sync/CloudSyncCoordinator.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c18fd6b3645681238f43bbdcd1dbcd03152ba8bf0314597089f3e2bf9169dd"}},{"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/CodexBar/Sync/CloudSyncEngine.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"4050c234b30d5e69089c1682756d685387b14a10497f52a537b227436a4779f1"}},{"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/CodexBar/Sync/CloudSyncEngine.swift"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbba0174751a7923b7c545062ca7e6961f473773987324cc8ecbe4f802976f6"}},{"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/CodexBar/StatusItem/StatusItemController\u002BAnimation.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c36f53095edcad009808882eef75e3e80a7ac973d39f2e53ff27345a1e8d1c"}},{"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/CodexBar/StatusItem/StatusItemController\u002BCountdownRefresh.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1e404d88e230eea66467047af0368ddc9225a3e41d11d000093876d10de4ee"}},{"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/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f9a3d5969eca1dbe1a5b735452e481950bc899f10e18642151695d7e65dac0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/SpendDashboard/SpendDashboardController.swift"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"9004b6a64ec8517315d24dd1080209d20b8a9d39a790f50bcacb331b18804744"}},{"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/CodexBar/SpendDashboard/SpendSessionToolActivityView.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f37208263012ba3d1149d95165b5feb256b95a4194bbfca555a41f8f5ada0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/Settings/PreferencesAboutPane.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b1b9f5bd4fb0fa65e26ac1ebe91e73b26ba2fe1edc3846489924f8231a0a2b"}},{"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/CodexBar/Settings/SettingsStore\u002BConfigPersistence.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffea0217f1eb7fa718a2294fb7a7b92b22235af5883679cc061acc55ace1368"}},{"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/CodexBar/Settings/SettingsStore\u002BConfigPersistence.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"267e85a9d17a429887d7f639bf08950d243b4b6b2ea2001e445c244acc4afb6b"}},{"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/CodexBar/Settings/SettingsStore\u002BConfigPersistence.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d623beb876652c644aae3bd2159617cc3ba7f867e670dce4e58b79eb7cd4202a"}},{"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/CodexBar/Providers/OpenAI/OpenAILiveUsageModel.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"786e480a42a90a41e49ed2f18d277985932048142e6ce222d643670cb3fc8c2c"}},{"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/CodexBar/Providers/Cursor/CursorLoginRunner.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"9484241f8bbf3a2eff3d6d4564f7dfa18d3786d74ee1ce7ca655323d73617f51"}},{"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/CodexBar/Providers/Codex/CodexSettingsStore.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbe77cda53208f9db9753a783c5e7cc0d7b724f31a654a1ed73279ba3cd0d17"}},{"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/CodexBar/Providers/Codex/ManagedCodexAccountService.swift"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"da46b423e434d7d9812e1707ac1bc17f7e8f475cca25d135f02acc64b5015c01"}},{"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/CodexBar/Providers/Codex/UsageStore\u002BCodexWeeklyResetCandidatePersistence.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d728cfbc10b7766b043c33744939476ddbc5d9bfb4bfe92a62aeec555839968e"}},{"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/CodexBar/Providers/Antigravity/AntigravityLoginRunner.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"817b0abb774e6835572ec5e73407aefd238bbaa9333e2869e197ef70ef954cee"}},{"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/CodexBar/Menu/MenuBarVisibilityWatcher.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d043fdb71177257a84dc2aa4ddd2ed90820bcfa54db153f5579ba8e9f17505c0"}},{"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/CodexBar/Menu/MenuBarVisibilityWatcher.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f564899afcc4bd1f52692a68a96556361cb08848bd09aa7e3094f968ac2180"}},{"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/CodexBar/Menu/MenuCardView\u002BModelHelpers.swift"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c24bdbc48948060807efe47f12937c4b88e1a399f185347403bc301e4be50f"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~2.3 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 15 assertion(s) across the 6547 source line(s) of the 45 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: Sources/CodexBarCore/Resources/Plugins/aixy.ts (7), Sources/CodexBarCore/Resources/Plugins/litellm.ts (3), Sources/CodexBarCore/Resources/Plugins/bifrost.ts (2). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Swift code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Shared/OpenCodeWebParsing.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"731a955ece070467a0de1a2c11b5ad5befce86854a1c5fb97294fb66831ba2d0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadManagedCodexAccountsForStorage\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBar/UsageStore/UsageStore\u002BProviderStorage.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1eab6a7d6fddf26bfa1cfb1a7306ae570a05b64752e8044787983c1dee64690"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060encode\u0060 turns every thrown error into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCLI/ToonFormatter.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40a88e6bc42ea906584e8e9eb905fa87ad0e5334d780f637e794aed9a9d394a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060profileCandidates\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/ChromiumLocalStorageDiscovery.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd9a6f4dab9cf5f7c0a1f00be561f1480634d8f6261f0690d2748421332468b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060make\u0060 turns every thrown error into \u0060\u0022unavailable\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/CodexWorkspaceUsageFingerprint.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"016ed4cd0ce72e5ffc81c118f5943c65ed0778d574b6bbec63938e4cfd84508f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060stringValue\u0060 turns every thrown error into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Plugins/QuickJSProviderPluginEngine.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa0743a308c70e0a7131051839fcf5c502d94f89c368b861cf6fbbf7cee637d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060currentChildPIDs\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/PTY/TTYCommandRunner.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e2570265d818aa3302b90fddc1ef0fc16f454e8c15016facca38d1149e2a11"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060allProcessIDs\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Host/Process/SpawnedProcessGroup.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45d1bbab977697037d14298c029bcef5933b872e97413b05bcc389c06864d85"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060allCaptures\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Amp/AmpUsageParser.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5608dcdeec08dccc2b83dafcbe4341bac751fd6088f28e1ec9e5931bb32449"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060countDBFiles\u0060 turns every thrown error into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityOfflineStore.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"34048651ff11e8b6bb9f0a1104bc55592e75203a5ef18d8410ffecffc73e67d8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060countJSONLFiles\u0060 turns every thrown error into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityOfflineStore.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a8a8f758751d1e5cdcaa368069728dc3ba93d2952f695f19d2f648271c4cc2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseListeningPorts\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe\u002BPortDetection.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e0c51e6f8dc322b40bc9f6eac2a1f2766787e6b93aef454b502457639ab216"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060socketInodes\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe\u002BPortDetection.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fceb0bc7bbe75c08b974dd1ece3966022ba3f57c544e2a3088141ade648b38"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060render\u0060 turns every thrown error into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeCLIScreen.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1343066d7252bd9d524f204c875754bfbf64809ceba8e4a900899709466e28"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060cachedCSVPaths\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Cursor/CursorLocalCSVReader.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2b09954176ffecbf72e64e136e249f91f0c65efe252a2316de9079fb93e38f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseModelUsageTable\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Gemini/GeminiStatusProbe.swift"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd70788a02880c2232b1ebb4875fc888c80c506562918e7ebe3d56abefc29abe"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseWorkspaceIDs\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Shared/OpenCodeWebParsing.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c7e9f9c62dfb2bc496d2df3b550945a006a7da6d58707e78800a731acd5796"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listCodexSessionFilesFlat\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift"},"region":{"startLine":3421}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7844500b721d0482f104a975b6f41dd5f4f7e7684c7b088600c73304b5a4fa0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decode\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeSwap/ClaudeSwapRetainedUsageStore.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a297b6fc25c6d46ad13132f10b5171dea1de9f9386dc39024d59a9bb8c02013"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractEmails\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"3581176909b033201f2fee4cc2f2281efa0c5cec07d1563f0242591d764c2ca3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractPlanHints\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0437bbd9c6503e884c1c05143fbe25a61abf1398ba19ca18a40c66f1380091b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractNotableFields\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodexBarCore/Providers/Claude/ClaudeWeb/ClaudeWebAPIFetcher.swift"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ddba7a0c7edfa439e0a1f5dd224d47c0bce78e76e595bc183166e7a52cd628"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060descriptorCount\u0060 turns every thrown error into \u0060-1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/StoreStress/main.swift"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"8002048a91dd9fa412795aae6d0320b6a21b34f288ca45b6a7bb2c5466638c1f"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-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-415","guid":"5d94f4b3-d3aa-0c5c-a4f9-897bc66edcd7","name":"CWE-415","shortDescription":{"text":"CWE-415"},"helpUri":"https://cwe.mitre.org/data/definitions/415.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-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":39,"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."]}]}