{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"HermesREST.request (cyclomatic 197): HermesREST.request has cyclomatic complexity 197 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Hermes/HermesREST.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12654c5495e07b572ac1b9cc254850e918fe585ba0611b07e44cbd26f7407a7"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesCall.admit (cyclomatic 135): HermesCall.admit has cyclomatic complexity 135 (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":"HermesMobile/Networking/Hermes/HermesCall.swift"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fad062e6b1a5cfe57408f644abdfd96c5e066ff94364be4f65624d460c810c7"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesCall.params (cyclomatic 122): HermesCall.params has cyclomatic complexity 122 (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":"HermesMobile/Networking/Hermes/HermesCall.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc320aac89a2ef68b68c5568df2e2e05bb634306e8daa21692b9bdab7f83541c"}},{"ruleId":"D1","level":"warning","message":{"text":"Endpoint.queryItems (cyclomatic 58): Endpoint.queryItems has cyclomatic complexity 58 (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. This is NOT this file\u0027s highest cyclomatic complexity: Endpoint.path (cyclomatic 129) 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":"HermesMobile/Networking/Endpoints.swift"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b8270a6f1c7211aa96e29b7af5b55b9b2dee58952c4aad2149c5fbbf6f5723"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesChatTurnCoordinator.apply (cyclomatic 58): HermesChatTurnCoordinator.apply 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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a9a83595fada5a90b9c2273ea7221b3a0d7e3b107b532b7c5e22991e04fabe"}},{"ruleId":"D1","level":"warning","message":{"text":"BotChatControls.apply (cyclomatic 53): BotChatControls.apply has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotChatControls.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"542eff449b0eceaca535b99ec2384c132da725472b4306239b1b79a138a74bfe"}},{"ruleId":"D1","level":"warning","message":{"text":"BotRoomView.body (cyclomatic 50): BotRoomView.body has cyclomatic complexity 50 (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":"HermesMobile/Features/Bots/BotRoomView.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f829121bb675066c36e77d35eb03f6d6cfbd7ea18ac1d5f85fdf04268b76119"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatStreamCoordinator.handle (cyclomatic 44): ChatStreamCoordinator.handle 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":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d96314c207e4f8adc850a824b23b3065512d83ed88db3cd2eb94f413e071d67"}},{"ruleId":"D1","level":"warning","message":{"text":"MoveToHermesProgress.report (cyclomatic 41): MoveToHermesProgress.report has cyclomatic complexity 41 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"HermesMobile/Features/MoveToHermes/MoveToHermesRunner.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"de60b400e79a78d36680985c7781cd8453bf886da93d2d151793e273fd2c4544"}},{"ruleId":"D1","level":"warning","message":{"text":"BotAvatarPathData.parse (cyclomatic 40): BotAvatarPathData.parse has cyclomatic complexity 40 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 5 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":"HermesMobile/Features/Bots/BotGeneratedAvatar.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbdbadbf40de9ed8516528fa2d1903ef49e69837bd84a956b76c4ddd31a4c3b"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatViewModel.submitHermesPrompt (cyclomatic 40): ChatViewModel.submitHermesPrompt has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"228d2d62bd513a0803be972c9d5a5e168c04fd269c6270305c88bdc4fa041a27"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesChatTurnCoordinator.submit (cyclomatic 39): HermesChatTurnCoordinator.submit has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d99dd6be6829a6a2203536b15f355962f5517638251fd2bd49f299e175e738"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageComposerView.composerWithLifecycle (cyclomatic 38): MessageComposerView.composerWithLifecycle has cyclomatic complexity 38 (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":"HermesMobile/Features/Chat/ChatComposerView.swift"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50e41c3b041120445b05cb1258573fe9ee3872cd429599ee062400f9cd833f6"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesSessionListView.body (cyclomatic 37): HermesSessionListView.body has cyclomatic complexity 37 (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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"819d8cec7c1491a1240c3ae35423f7bfc2e522a05627102b6bb53fe6961bfd32"}},{"ruleId":"D1","level":"warning","message":{"text":"BotRoomReader.open (cyclomatic 34): BotRoomReader.open 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":"HermesMobile/Features/Bots/BotRoomReader.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d34a1bc98b4668166df5aeddf84869a5130cf00d10627edf1d90c052631820"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatStreamCoordinator.performReconnectIfNeeded (cyclomatic 33): ChatStreamCoordinator.performReconnectIfNeeded 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":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"375b19a4be07b7e6cce716139853fe9b02c2d42b95208a60bb859b102e3138a8"}},{"ruleId":"D1","level":"warning","message":{"text":"BotHistoryCache.appendRoom (cyclomatic 32): BotHistoryCache.appendRoom 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":"HermesMobile/Features/Bots/BotHistoryCache.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e385eb8ca4a1b56792cf9f7021f342cc064d7084d4d78a19ae4ce6f52f084c1"}},{"ruleId":"D1","level":"warning","message":{"text":"BotInbox.open (cyclomatic 32): BotInbox.open 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":"HermesMobile/Features/Bots/BotInbox.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d273161987768218e7ce5f6888fa216f67df47ffdc8d6f00525cf64cac043a62"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionListViewModel.reloadHermes (cyclomatic 30): SessionListViewModel.reloadHermes 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b75001e5df666d938d3a819842e003cabb47809ba2ac0c0ef53c5f9dff8ea88"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposerChipTokenizer.tokens (cyclomatic 29): ComposerChipTokenizer.tokens 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":"HermesMobile/Features/Chat/ComposerChipToken.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e049825187e1ddc7f33486c0f9b07dadc10c24adab74da017ea5b676f2c2d4"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesChatTurnCoordinator.reconcile (cyclomatic 29): HermesChatTurnCoordinator.reconcile 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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae81dd9b66a2c97e494b4d4c0257f27dd95c7769877522de042f4d267c3a74e4"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCallSummaryFormatter.kind (cyclomatic 29): ToolCallSummaryFormatter.kind 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":"HermesMobile/Features/Chat/ToolCallSummaryFormatter.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ead62018b921448ce8cbf2c65afb4fb00a42e9dc7ef793116d2cef1cc6a1e52"}},{"ruleId":"D1","level":"warning","message":{"text":"BotConnectionView.body (cyclomatic 28): BotConnectionView.body 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":"HermesMobile/Features/Bots/BotConnectionView.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b6fbde0950e8d71848bd7fbf6db9c83ca0ebaaa042ac3ecca23c2ed623f9db"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatView.sendDraftMessage (cyclomatic 28): ChatView.sendDraftMessage 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":3065}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf9fc32bec5f55690ed31319b71bd835293baeb61eb5a409cfc15c2983c47e0"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionListViewModel.openHermes (cyclomatic 28): SessionListViewModel.openHermes 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"b853759b5c232dbf4d577317b8b4ed3b9929cbc401607e48bd7bb5e089f1965a"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentLiveActivityManager.update (cyclomatic 27): AgentLiveActivityManager.update 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":"HermesMobile/LiveActivities/AgentLiveActivityManager.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c029fe2e197b8570f1e11df421dbc45f3db41ad08a0f5fdbbbc160af04980cd"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatDraftStore.stageAttachment (cyclomatic 27): ChatDraftStore.stageAttachment 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":"HermesMobile/Persistence/ChatDraftStore.swift"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e904869c273017eeb3abb02867233280ab5e8b23bfebf70b49eeeecf6e442f6"}},{"ruleId":"D1","level":"warning","message":{"text":"BotConnectionSetup.connect (cyclomatic 27): BotConnectionSetup.connect 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":"HermesMobile/Features/Bots/BotConnectionView.swift"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6088e938f24489f853d72d7e6adc892112beaebb590c261a25b23fa63c857a"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesTranscriptProjection.project (cyclomatic 27): HermesTranscriptProjection.project has cyclomatic complexity 27 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 3 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":"HermesMobile/Features/Chat/HermesTranscriptHistory.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e566acde65668272b9f22df093d2b9caed89b6829f8cc84d3ad1c7702458bf2"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesConversation.answer (cyclomatic 27): HermesConversation.answer has cyclomatic complexity 27 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 6 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":"HermesMobile/Features/Hermes/HermesConversation.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31b4e54c81be9a9dc5ca4138c819408a1cfd95907d3e164bcc8314a950e460a"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanCardEditorState.save (cyclomatic 27): KanbanCardEditorState.save 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":"HermesMobile/Features/Kanban/KanbanCardEditorState.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff07b5ba3236d858834f5ec55fed315829e35c72383d345a853f1d5256c2beb"}},{"ruleId":"D1","level":"warning","message":{"text":"FilePreviewViewModel.load (cyclomatic 27): FilePreviewViewModel.load 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":"HermesMobile/Features/Workspace/FilePreviewViewModel.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4944bbbe3fa192b5d100588f9b77687782ed42ce13a48bd8982aa62affa345"}},{"ruleId":"D1","level":"warning","message":{"text":"BotRoomReader.command (cyclomatic 26): BotRoomReader.command 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":"HermesMobile/Features/Bots/BotRoomReader.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b27bd5828fb9096060936ffa69bd445d69c59c25a30366eb49d2a523746042"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatAttachmentPreviewViewModel.load (cyclomatic 26): ChatAttachmentPreviewViewModel.load 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":"HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc35300832043cbbb01779afc143c776f789115772ad0d46e5ef7947396c1b45"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatTranscriptMessageBlock.== (cyclomatic 26): ChatTranscriptMessageBlock.== 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":"HermesMobile/Features/Chat/ChatTranscriptView.swift"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"744c34ea1d5f5ca1e3348c9a78416d6b924cdd594c32261e82d20ead0c0097c0"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanFeatureState.refreshBoard (cyclomatic 26): KanbanFeatureState.refreshBoard 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"d105316e211d9807923e5bccb6fdf1172dd02fd73c98ef0aeed53bf93b0340ee"}},{"ruleId":"D1","level":"warning","message":{"text":"MoveToHermesJournal.decode (cyclomatic 26): MoveToHermesJournal.decode 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":"HermesMobile/Features/MoveToHermes/MoveToHermesJournal.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3cc66f02a8fc000e8d1eadca3f5cb13e5928fa066856c85e0400af07a4a329"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesUpdateMachine.handle (cyclomatic 26): HermesUpdateMachine.handle 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":"HermesMobile/Features/Settings/HermesUpdateMachine.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f258846b2fb67ec65e8d3cf250f3a92900b8336f13db5568eaa89f4c3e2e58"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesGateway.send (cyclomatic 26): HermesGateway.send 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":"HermesMobile/Networking/Hermes/HermesGateway.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e3012b245ae567e976071170ee83dfd4d0470ac163b9991f7659551b147fdf"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatView.messageComposer (cyclomatic 25): ChatView.messageComposer 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4c86dbe8469721d4c4370a4510c195222de2a31285c0e5a22618b1109b037c"}},{"ruleId":"D1","level":"warning","message":{"text":"MoveToHermesReconcile.apply::send (cyclomatic 25): MoveToHermesReconcile.apply::send has cyclomatic complexity 25 (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":"HermesMobile/Features/MoveToHermes/MoveToHermesReconcile.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbd251cbf57d1eb1737c2396bb47f70688ba56231b7cc1e98778aa0d012cfe2"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionListView.body (cyclomatic 25): SessionListView.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":"HermesMobile/Features/SessionList/SessionListView.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"833bc626bff59f032f6b907cf3eb5a609b28c3d1b0007088b0e1cd975d540b8d"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageAttachment.hermesTitle (cyclomatic 24): MessageAttachment.hermesTitle 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":"HermesMobile/Models/MessageAttachment.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a952d035373f7b5ffe1fe993ccbe5bd9b7af2339cda47755871fbb8f1a5a3c"}},{"ruleId":"D1","level":"warning","message":{"text":"BotRoomCreator.create (cyclomatic 24): BotRoomCreator.create 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":"HermesMobile/Features/Bots/BotRoomCreator.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ef1c2f002c708ef22914918fd2930c436932ba8f90efc2e2a5b2f4bfd977db"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatViewModel.restoreDraftSettings (cyclomatic 24): ChatViewModel.restoreDraftSettings 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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe5eef60f36dba82f702f6c500d17056d063462f3b172fab5e49443c354690e"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatViewModel.loadMessages (cyclomatic 24): ChatViewModel.loadMessages 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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dd955d0bbae4864aafb8e1a276883e3d2bcd571d73da8dd726b4ce0aa100d5"}},{"ruleId":"D1","level":"warning","message":{"text":"BotConnection.address (cyclomatic 23): BotConnection.address 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":"HermesMobile/Features/Bots/BotConnection.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cf36a3a893c92aa351fbcd1d7025d76263d95e8dd838991a93012e33de6985"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatTranscriptView.transcriptScrollContent (cyclomatic 23): ChatTranscriptView.transcriptScrollContent 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":"HermesMobile/Features/Chat/ChatTranscriptView.swift"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"050ff464ae6ab1e3589387b64b2b545ab2e6c1e75b11aa27df44c026862ed133"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatViewModel.performChatSend (cyclomatic 23): ChatViewModel.performChatSend 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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":3794}}}],"partialFingerprints":{"codehealthFindingId/v1":"de900901049381f26c6d6daac082940019b42bf83b4d260a607872f02f6c419b"}},{"ruleId":"D1","level":"warning","message":{"text":"ScreenView.content (cyclomatic 23): ScreenView.content has cyclomatic complexity 23 (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":"HermesMobile/Features/Screen/ScreenView.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f711add91eab3862a2e64ca5321ab27e7e37608560c1883bb4ff31c5f4b5ba89"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionListViewModel.loadSessionForDeepLink (cyclomatic 23): SessionListViewModel.loadSessionForDeepLink 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30f844ae3975b6ff8256f2ca3380fc4a0d032a06051096348e38d4a8ef005f0"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesConnection.beginSignIn (cyclomatic 23): HermesConnection.beginSignIn 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":"HermesMobile/Networking/Hermes/HermesConnection.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d46bb9de817e2fc5990aa86b9e205a756cd4b83e718a825e190708819e3a0e"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatView.chatContent (cyclomatic 22): ChatView.chatContent 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"11014b6a0fcebb2829765e37aa424e754c176c7fbde2d8644abb1cecf302f3bb"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatView.handleSlashExecutionResult (cyclomatic 22): ChatView.handleSlashExecutionResult 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":3317}}}],"partialFingerprints":{"codehealthFindingId/v1":"29579911f64f9053e38fe3baf0d5d202c4bb6c82a7d1dd32f2938234edbc7ba7"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptMediaPreviewViewModel.load (cyclomatic 22): TranscriptMediaPreviewViewModel.load 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":"HermesMobile/Features/Chat/TranscriptMediaPreviewViewModel.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae393a903d8a8acaafab09c69a60c011f0deddfc7cc98da3562214e146f0542e"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanFeatureState.dispatcherAvailability (cyclomatic 22): KanbanFeatureState.dispatcherAvailability 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"724a9ab50c71fbf4ec74192ef21e9f906a46237909aed3804c6224aceca9d176"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesSessionListView.isQuietSessionListVisible (cyclomatic 22): HermesSessionListView.isQuietSessionListVisible 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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dcfc24ad6875f889ca6f3c9ff276dbbe4da8fb6f0adddcf732638afd745a0d"}},{"ruleId":"D1","level":"warning","message":{"text":"ReviewDiffLoader.load (cyclomatic 22): ReviewDiffLoader.load has cyclomatic complexity 22 (threshold 15). Of this number, 20 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":"HermesMobile/Features/Workspace/GitDiffView.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b605ff637ca240f460264dd924c982a84e7ad5a9397fc93cbbfe1c233d4376fb"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentView.handleOpenURL (cyclomatic 21): ContentView.handleOpenURL 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":"HermesMobile/ContentView.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e786ab9141d0edcd0ccfa3d67af02f57dd395c2c39bc2b6d58637ba92c5e56c2"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentLiveActivityManager.requestOrUpdateActivity (cyclomatic 21): AgentLiveActivityManager.requestOrUpdateActivity 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":"HermesMobile/LiveActivities/AgentLiveActivityManager.swift"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc840662f9a57499cf79c1954cb59dfc21ef5a7fa9598cddd20e746a39a19bc"}},{"ruleId":"D1","level":"warning","message":{"text":"Record.draft (cyclomatic 21): Record.draft 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":"HermesMobile/Persistence/ChatDraftStore.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fda63ff78e95b071e088fa30907853013be75ba919afb4408f9a66c15dc750"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatDraftStore.appendShare (cyclomatic 21): ChatDraftStore.appendShare 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":"HermesMobile/Persistence/ChatDraftStore.swift"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a7d70f1e268493b2785b294e63f351988f0ca6c0f076b318a83a23edc97042"}},{"ruleId":"D1","level":"warning","message":{"text":"PushActivityRegistrar.reconcile (cyclomatic 21): PushActivityRegistrar.reconcile 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":"HermesMobile/Push/PushRegistrar.swift"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"027ecd58d1a11e8cc0c6ac22c857cd83ee5342a7db0ce371dd5cdf287d4927bc"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatViewModel.send (cyclomatic 21): ChatViewModel.send 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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":3100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3db568b0508c6ea9cc2238ee92cce87b35e00b5b49f2d4f8c8ae299f85360d"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesChatRequests.respondToConnection (cyclomatic 21): HermesChatRequests.respondToConnection 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":"HermesMobile/Features/Chat/HermesChatRequests.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b444e39beaf0c96f54f97e8f3b042b5aa2a8e52e18de95ef13fcb48c2ce6fd2"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesDelegatedWork.loadTail (cyclomatic 21): HermesDelegatedWork.loadTail 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":"HermesMobile/Features/Chat/HermesDelegatedWork.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"051d9f2cff207252801d9dd4dd83238bdfd9f57bab1222d4deddcf426ad0ebfa"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesDelegatedWork.interrupt (cyclomatic 21): HermesDelegatedWork.interrupt 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":"HermesMobile/Features/Chat/HermesDelegatedWork.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5917d1394377d3a1c6d344fa2120cdb3dd31251f4510898f53aa9e4ac175462"}},{"ruleId":"D1","level":"warning","message":{"text":"ReasoningSummaryFormatter.stripInlineMarkup (cyclomatic 21): ReasoningSummaryFormatter.stripInlineMarkup 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":"HermesMobile/Features/Chat/ReasoningSummaryFormatter.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90a9d56a360adfd3d0c88d1671cccea2b7f2183cb43b0e35fa2ef0c75f66fc1"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanCardEditorState.intendedValuesAppear (cyclomatic 21): KanbanCardEditorState.intendedValuesAppear 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":"HermesMobile/Features/Kanban/KanbanCardEditorState.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"6874da1215a6ac885b4cf6e2bcf4ec05744fae1d8f115d9d9e3818b2842dc079"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanFeatureState.checkUncertainMutation (cyclomatic 21): KanbanFeatureState.checkUncertainMutation 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b200133704c29a2afd7fd94bb0fb3d44dca0cced620740879fc8acdac6e1fc3"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingViewModel.addHermesServer (cyclomatic 21): OnboardingViewModel.addHermesServer 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":"HermesMobile/Features/Onboarding/OnboardingViewModel.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a81de5ba118ea290127f3c25f734b95734d2949eb9b6c45bf1b455d3dbde64"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionListViewModel.sessionForOpening (cyclomatic 21): SessionListViewModel.sessionForOpening 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b7237f80d78ab6a276af84ab08210a3b7cb07c6a788384a9c0ea51e7aa4415"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanCompatibilityValidator.validate (cyclomatic 20): KanbanCompatibilityValidator.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":"HermesMobile/Models/Kanban.swift"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74d66b1e34c8f48c4bbf0d3526aeb80a68c0dbfca2f874a550e27ca51590128"}},{"ruleId":"D1","level":"warning","message":{"text":"BotArtifactReference.path (cyclomatic 20): BotArtifactReference.path has cyclomatic complexity 20 (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":"HermesMobile/Features/Bots/BotArtifact.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d98d17d651e2d921856b195290c9510f2e8d912eab07e74cf24802f6d38e61"}},{"ruleId":"D1","level":"warning","message":{"text":"BotInbox.reload (cyclomatic 20): BotInbox.reload 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":"HermesMobile/Features/Bots/BotInbox.swift"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b3366356eb3c5387878140fa52acc9e9054a463f42644268e43feea06d33f1"}},{"ruleId":"D1","level":"warning","message":{"text":"BotRoomProfileView.body (cyclomatic 20): BotRoomProfileView.body 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":"HermesMobile/Features/Bots/BotRoomProfileView.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e96b4d846194e1b2609b07fd9718d380512889d8ce958fdb100eb66e3707ca4"}},{"ruleId":"D1","level":"warning","message":{"text":"BotSearchView.body (cyclomatic 20): BotSearchView.body 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":"HermesMobile/Features/Bots/BotSearchView.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b9f483925d47540d61bfc361c0837a83dfb6674248286923d7d1094fddd23f"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatStreamCoordinator.recoverStaleStream (cyclomatic 20): ChatStreamCoordinator.recoverStaleStream 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":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75b39043e891f3705ec8bc55b6d85869a9abf138881adacc5154c7b58cf4e3f"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatViewModel.runHermesSlashCommand (cyclomatic 20): ChatViewModel.runHermesSlashCommand 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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":4590}}}],"partialFingerprints":{"codehealthFindingId/v1":"541c6e0f09631db077a4844e3357474c053f4e5dd0da0dd5659eb385f4d49f5b"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesChatRequests.setApprovalBypass (cyclomatic 20): HermesChatRequests.setApprovalBypass 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":"HermesMobile/Features/Chat/HermesChatRequests.swift"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"b598c849e1f014503664db37c98251e1f01ab2a2a576eaef72729f0119f895f8"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesSessionLookup.resolve (cyclomatic 20): HermesSessionLookup.resolve 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":"HermesMobile/Features/Hermes/HermesSessionLookup.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57d631ad0c525f7a7211f36df49883eee12a0bbc15be02f9fe4e2b1e25a6040"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionListView.isQuietSessionListVisible (cyclomatic 20): SessionListView.isQuietSessionListVisible has cyclomatic complexity 20 (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":"HermesMobile/Features/SessionList/SessionListView.swift"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7cec51ba495f85b23a2c8532a0f1de1b2ee2702458e2287a89ad3ce48d8774"}},{"ruleId":"D1","level":"warning","message":{"text":"APIError.errorDescription (cyclomatic 19): APIError.errorDescription has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/APIError.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"013ae47ad0ec7e2a08a2ff1332cbcb4a0292a02d648b7065fa58b86cf46e7925"}},{"ruleId":"D1","level":"warning","message":{"text":"BotChatControls.reload (cyclomatic 19): BotChatControls.reload 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":"HermesMobile/Features/Bots/BotChatControls.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eac6c67cf8e75f39d5dbd7bc0210bda6be349b203f85c1ec7916500b6685387"}},{"ruleId":"D1","level":"warning","message":{"text":"BotConnectionSetup.connectThroughBrowser (cyclomatic 19): BotConnectionSetup.connectThroughBrowser 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":"HermesMobile/Features/Bots/BotConnectionView.swift"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebf07ba10c69af5b1b541caf96a96f73b620b755eb2a7e595c035c32b50ae26"}},{"ruleId":"D1","level":"warning","message":{"text":"BotsInboxView.list (cyclomatic 19): BotsInboxView.list 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":"HermesMobile/Features/Bots/BotsInboxView.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4185f3ff8218d07a7269d6aa8f3447f4e27c8544af1f614fc2a5b6153c1c0537"}},{"ruleId":"D1","level":"warning","message":{"text":"HermexAttachmentImageProcessor.prepareSynchronously (cyclomatic 19): HermexAttachmentImageProcessor.prepareSynchronously 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":"HermesMobile/Features/Chat/CustomAttachmentPicker.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafa98bea2eea31038187243d4ac4f8add231be8bb464988ad6b179aee67619e"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanFeatureState.bulkActionsAvailability (cyclomatic 19): KanbanFeatureState.bulkActionsAvailability 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a6b9eba67d4315b976cec13f6bd3611bfe8d05cb422b28c33930e617f5b7b4"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanFeatureState.load (cyclomatic 19): KanbanFeatureState.load 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae29192f73e66733fffb4ee55c51d6e7a40c44e02f43ef73b178cca7c52c30f"}},{"ruleId":"D1","level":"warning","message":{"text":"WebuiSessionTransfer.run (cyclomatic 19): WebuiSessionTransfer.run 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":"HermesMobile/Features/MoveToHermes/WebuiSessionTransfer.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5af97f1f04fdb69c56e10a90c5a891f21652115ea87b1e33d1a463420ceac02"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingViewModel.connect (cyclomatic 19): OnboardingViewModel.connect 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":"HermesMobile/Features/Onboarding/OnboardingViewModel.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2c56b208a06a2dd3b673cb1be2a02d1a216568d60ed72dac0e24cebaf55f3a"}},{"ruleId":"D1","level":"warning","message":{"text":"ScreenSession.settleHost (cyclomatic 19): ScreenSession.settleHost 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":"HermesMobile/Features/Screen/ScreenSession.swift"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee302b8dd088177b72f43d97e44b0e68c419ec786a88593d88b08cf8d42e420"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionListViewModel.searchSessions (cyclomatic 19): SessionListViewModel.searchSessions 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"107c1b9c39cc6eb1b2bc84e86341b7f05c7118e4ff17e8a2178a51058a8f8bd6"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesGateway.consume (cyclomatic 19): HermesGateway.consume 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":"HermesMobile/Networking/Hermes/HermesGateway.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea2ee8912a1cf081f24290b0a5f0bcdd95878b0fe231021b4e7aff8b3cefd42"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesPluginSetting.parse (cyclomatic 19): HermesPluginSetting.parse 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":"HermesMobile/Networking/Hermes/HermesPluginsClient.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedacc0ae1f22ab5994149d2d74a4ed1c072a01e9dc67b0ac94a6c470a24cfbb"}},{"ruleId":"D1","level":"warning","message":{"text":"LeftoverLiveActivitySettlement.actions (cyclomatic 18): LeftoverLiveActivitySettlement.actions 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":"HermesMobile/LiveActivities/AgentLiveActivityManager.swift"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3fde64b326f612376a5f8cdf1260ccc25d175a665bb6d5de4974f96e5ac7f9"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentRunActivitySanitizer.toolKind (cyclomatic 18): AgentRunActivitySanitizer.toolKind 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":"HermesMobile/LiveActivities/AgentRunActivityAttributes.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce11aeabd28a788a9b5aa08e9efe9ba0dccc37b3abd7d7ebeadbbedf16cc9a58"}},{"ruleId":"D1","level":"warning","message":{"text":"BotCreateView.body (cyclomatic 18): BotCreateView.body 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":"HermesMobile/Features/Bots/BotCreateView.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b34996fb1d6f36c15f7f2c7e43e434032f4dffe15609dd40c01e68de46fbacf"}},{"ruleId":"D1","level":"warning","message":{"text":"BotPromptMode.outcome (cyclomatic 18): BotPromptMode.outcome 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":"HermesMobile/Features/Bots/BotPromptMode.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"431c0eeffe6b07185bf5fd84029f09e5f418f56ee17a40e63742050ea4889ac6"}},{"ruleId":"D1","level":"warning","message":{"text":"BotSlashCatalog.skills (cyclomatic 18): BotSlashCatalog.skills 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":"HermesMobile/Features/Bots/BotSlashCommands.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2168d0a6242f1025936625b9231fb5a29e297af0579cb327bada2a8a68a4f4b7"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatMessageActionMenu.items (cyclomatic 18): ChatMessageActionMenu.items 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":"HermesMobile/Features/Chat/ChatMessageActions.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e18577d0a3959af794c61be86aee35ea131947a871e558d5c180f8d08fbbaa9"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatView.chatLifecycle (cyclomatic 18): ChatView.chatLifecycle 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1769c1eb8c70559f9ad93f28bb9aeccfb64f6ce02ccbe4891044f5ff3a0bb1"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptMediaThumbnailView.body (cyclomatic 18): TranscriptMediaThumbnailView.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":"HermesMobile/Features/Chat/TranscriptMediaView.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe51c9bca735d59ab17da36a9f3b72606607ddefc080203206c13fbd38cb508"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptTurnFolds.derive (cyclomatic 18): TranscriptTurnFolds.derive 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":"HermesMobile/Features/Chat/TranscriptTurnFolding.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"616532f471a53f9b10d0f10fe501ab3ea3a989e84137229fde0cece70cb80aca"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesConversation.reconcile (cyclomatic 18): HermesConversation.reconcile 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":"HermesMobile/Features/Hermes/HermesConversation.swift"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"877943cc6486b131e75a5ea7a0bd900541f4e49e935ddf0a3adfb2680dc30b9b"}},{"ruleId":"D1","level":"warning","message":{"text":"InsightsViewModel.loadLimits (cyclomatic 18): InsightsViewModel.loadLimits 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":"HermesMobile/Features/Insights/InsightsViewModel.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"498d25b72c88283e7750aacf2bf7a678bedc148f8cdb1cebb0ae793ca06448ec"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanFeatureState.performBulkAction (cyclomatic 18): KanbanFeatureState.performBulkAction 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"59973705fd052be0cb83f05b72422a03a70e88e7fb0a78d7c473e500e949c7d1"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanStatusFocusView.body (cyclomatic 18): KanbanStatusFocusView.body 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":"HermesMobile/Features/Kanban/KanbanLabView.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"571bbb746b4adb031971143a6653a52a626626107aecaec56aee76b896b83e40"}},{"ruleId":"D1","level":"warning","message":{"text":"MoveToHermesSheet.pausedDetails (cyclomatic 18): MoveToHermesSheet.pausedDetails 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":"HermesMobile/Features/MoveToHermes/MoveToHermesView.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f03dc37048cad4fad8f2a1573c42ed0964d0c349699b94b6b48fe9c9a9b1cf"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionRowContextMenu.body (cyclomatic 18): SessionRowContextMenu.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":"HermesMobile/Features/SessionList/SessionListComponents.swift"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"677506c23695fbe89b13aabe78d0ee148769780ffaffe2114cbea6933f276f4b"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionListViewModel.readHermesStatuses (cyclomatic 18): SessionListViewModel.readHermesStatuses has cyclomatic complexity 18 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7521b0d81cfc48b49e1870de63cda4020de2bbee0ad220fa9469a0761a04931"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskDetailViewModel.followRunNow (cyclomatic 18): TaskDetailViewModel.followRunNow 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":"HermesMobile/Features/Tasks/TaskDetailViewModel.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ae5a1fe7fd2f4700dad6dc0c9291a26a54d4eb45c8095fa40657395f4f2ae8"}},{"ruleId":"D1","level":"warning","message":{"text":"FileBrowserView.content (cyclomatic 18): FileBrowserView.content 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":"HermesMobile/Features/Workspace/FileBrowserView.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3150bf05f87b186463daef685134827c715e181a830e964675e199c7d2569077"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentLiveActivityManager.observePush (cyclomatic 17): AgentLiveActivityManager.observePush has cyclomatic complexity 17 (threshold 15). Of this number, 15 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":"HermesMobile/LiveActivities/AgentLiveActivityManager.swift"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"105c9bbb4a4a3ca5114ccdb3cbf544dc049b49ec8a22a660c513369f99672ae7"}},{"ruleId":"D1","level":"warning","message":{"text":"CachedMessage.matches (cyclomatic 17): CachedMessage.matches 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":"HermesMobile/Persistence/CachedMessage.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1437a8b8c7679f69907886c9fdaba4cccb23fdedf031b583fc5e0471b36341"}},{"ruleId":"D1","level":"warning","message":{"text":"BotFaceBit.pose (cyclomatic 17): BotFaceBit.pose 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":"HermesMobile/Features/Bots/BotFaceMotion.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"407ba05f5946feb1dc9c64d65762a9d6f812a9437b734bcbc5b17d8a979716ad"}},{"ruleId":"D1","level":"warning","message":{"text":"BotInbox.refreshRooms (cyclomatic 17): BotInbox.refreshRooms 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":"HermesMobile/Features/Bots/BotInbox.swift"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"8364ccc200335cb88cb321ad71c93fecbf815c5f2a1e7580a21fca1d4eb8e224"}},{"ruleId":"D1","level":"warning","message":{"text":"BotProfileEditorView.body (cyclomatic 17): BotProfileEditorView.body has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotProfileEditorView.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed07d9724f45a5ac2e43c9984081f9d427ef37d0135e91c565fff4f3f385043d"}},{"ruleId":"D1","level":"warning","message":{"text":"BotsInboxView.attachPresentations (cyclomatic 17): BotsInboxView.attachPresentations 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":"HermesMobile/Features/Bots/BotsInboxView.swift"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"148584d40e713b3d5532c365df3c7da0c747c18305bbf0e41b9ee4e717b0a53b"}},{"ruleId":"D1","level":"warning","message":{"text":"HermexPushProvisioner.setUp (cyclomatic 17): HermexPushProvisioner.setUp has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: HermexPushProvisioner.message (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":"HermesMobile/Features/Bots/HermexPushProvisioner.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a7849af8084337f3466222d1cdef0f49a4f7561efe68c1be5fc4eb977571cb"}},{"ruleId":"D1","level":"warning","message":{"text":"HermexPushProvisioner.restartHermes (cyclomatic 17): HermexPushProvisioner.restartHermes has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: HermexPushProvisioner.message (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":"HermesMobile/Features/Bots/HermexPushProvisioner.swift"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efe1255d8228de01d0a8b8eae503e7e4576211520f8cd81b81e1bf92b350b70"}},{"ruleId":"D1","level":"warning","message":{"text":"Coordinator.syncFocus (cyclomatic 17): Coordinator.syncFocus 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":"HermesMobile/Features/Chat/ChatComposerTextInputView.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79117c63a57c0bc6b00b6e8cddecc8f044ea5fe5153acee634f76ffdebd9fb8"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageComposerView.body (cyclomatic 17): MessageComposerView.body 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":"HermesMobile/Features/Chat/ChatComposerView.swift"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b04c16c92cf9fce9beef3b7f41f1bb47b9e225350ab011f2e162f625348181"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageComposerView.composerStatus (cyclomatic 17): MessageComposerView.composerStatus 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":"HermesMobile/Features/Chat/ChatComposerView.swift"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d33129ab250b3970debb0fb49a06aa1889261624d4045fb1f009c369fe3c7b"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatViewModel.toggleListening (cyclomatic 17): ChatViewModel.toggleListening 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. This is NOT this file\u0027s highest cyclomatic complexity: ChatViewModel.executeServerSideSlashCommand (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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":6642}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b0ac6e64a1f79e0043fcb663c7cf869ca80e4016065be6b5f4eb5e4c719c1f"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposerChipTextView.canPerformAction (cyclomatic 17): ComposerChipTextView.canPerformAction 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":"HermesMobile/Features/Chat/ComposerChipTextView.swift"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"736f75ba4d37be63dc4f93054c049ca18213046ee670145499ff4242f70c50f9"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCallGroupSummary.init (cyclomatic 17): ToolCallGroupSummary.init 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":"HermesMobile/Features/Chat/ToolCallGroupSummary.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5d4e35b11fee90e05a11a860d7809345087fe0ec24421cda8609eabb85f822"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderLimitCard.init (cyclomatic 17): ProviderLimitCard.init 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":"HermesMobile/Features/Insights/InsightsModels.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde852335824aaa88f1cbdd95ad6696176725ede309569afda6e951306d96866"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesSessionListView.openPendingLink (cyclomatic 17): HermesSessionListView.openPendingLink 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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeeed7c8af08f160ff247c9bd0f8ce85f3d392f452366bbfa690ba7a223375c4"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionListViewModel.load (cyclomatic 17): SessionListViewModel.load 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ddd66d8234ad4742a456264a1912574b1912ae0903d0e5b132084b91940f26"}},{"ruleId":"D1","level":"warning","message":{"text":"BotProfileEditor.save (cyclomatic 16): BotProfileEditor.save 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":"HermesMobile/Features/Bots/BotProfileEditor.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8accb11c3746a1e181a94d77a3cc07a28f57c6ac93ad5e73498e4f7990257d"}},{"ruleId":"D1","level":"warning","message":{"text":"HermexPushSettingsPage.pushSettings (cyclomatic 16): HermexPushSettingsPage.pushSettings 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":"HermesMobile/Features/Bots/HermexPushSettingsPage.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3411bd862183ad9d216e90585dc0388cf66f062d72d2c74add517436c235aa13"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposerVoiceInputController.finishServerRecording (cyclomatic 16): ComposerVoiceInputController.finishServerRecording 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":"HermesMobile/Features/Chat/ComposerVoiceInputController.swift"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"03afebae0d0046d39d780d063d8017f51c37da5c73cb63b9fc0b7cc7f0a24f1a"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineMathTextRequest.parsed (cyclomatic 16): InlineMathTextRequest.parsed 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":"HermesMobile/Features/Chat/DisplayMathView.swift"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b9c6b41973271f71c28e36d254aa4a135dc5966ae04dcd313d6f871cc810d9"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesChatTurnCoordinator.compress (cyclomatic 16): HermesChatTurnCoordinator.compress 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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82c82d0a3b1d5173d8de04b3e214a8d50b4a147f908a65d99c94f188522e93b"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesChatTurnCoordinator.branch (cyclomatic 16): HermesChatTurnCoordinator.branch 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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3e2dd761f4a56f9f814629257b80c4adea4d5a073e911bb8a4350b8d65c043"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownDiffFormatter.parse (cyclomatic 16): MarkdownDiffFormatter.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":"HermesMobile/Features/Chat/MarkdownDiffCodeBlock.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1c327e33a60bf670ae8e52cf913b738b55e54b46e381800edde1ffe9a2f525"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseSelectionInput.document (cyclomatic 16): ResponseSelectionInput.document 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":"HermesMobile/Features/Chat/ResponseSelectionInput.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91b82060846672868cc787e493d552a2b3fd9c2a0c6d9116a8f44caa1183182"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptMediaParser.appendMediaSegments (cyclomatic 16): TranscriptMediaParser.appendMediaSegments 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":"HermesMobile/Features/Chat/TranscriptMedia.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c2125d4181fa74e478c349880ec07bdb43285f4886019b0f9016c10054e1f9"}},{"ruleId":"D1","level":"warning","message":{"text":"InsightsViewModel.load (cyclomatic 16): InsightsViewModel.load 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":"HermesMobile/Features/Insights/InsightsViewModel.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"36586c524fde72affce00593439bbc54cb083946d7d5b539680a9b68155640b3"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanFeatureState.handleStreamFrame (cyclomatic 16): KanbanFeatureState.handleStreamFrame 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2617}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2f646f6986d0333f045b6f5b3d20e4d982e97b0f293fcd3b98f71245138202"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanFeatureState.scheduleCoalescedReconciliation (cyclomatic 16): KanbanFeatureState.scheduleCoalescedReconciliation 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d91f852f80552d716cf669c0ca3a0ea120d46798033e5856d0b1b0f04e2815"}},{"ruleId":"D1","level":"warning","message":{"text":"MoveToHermesRunner.reconcile (cyclomatic 16): MoveToHermesRunner.reconcile 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":"HermesMobile/Features/MoveToHermes/MoveToHermesRunner.swift"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad32e7e396326e71dcbd440d9bc82b1397783aa44fa357a40fd6ca51fe4ee484"}},{"ruleId":"D1","level":"warning","message":{"text":"GitWorkspaceAvailabilityViewModel.quickCommit (cyclomatic 16): GitWorkspaceAvailabilityViewModel.quickCommit 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":"HermesMobile/Features/Workspace/GitWorkspaceViewModel.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedfea81bae19ae108f202a0001b2a821f8f68e4751578ec834257b4c7e48b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesREST.request (cognitive 150): HermesREST.request has cognitive complexity 150 (threshold 15). Drivers by points: if/else 56 (112 pts), boolean chains 19, ternaries 9 (18 pts), match/switch 1 (nesting depth added 65). 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":"HermesMobile/Networking/Hermes/HermesREST.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bec8366b68f12dfa221a4bd9147cb189cfb9a140702b1229c10522ce298102e"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesCall.admit (cognitive 83): HermesCall.admit has cognitive complexity 83 (threshold 15). Drivers by points: boolean chains 74, match/switch 3 (5 pts), if/else 3 (4 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":"HermesMobile/Networking/Hermes/HermesCall.swift"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"266abd7d2ecfcaf56aba023c85b89f082acbe530468bc4948ce9fe41f2dc9f6d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatStreamCoordinator.performReconnectIfNeeded (cognitive 81): ChatStreamCoordinator.performReconnectIfNeeded has cognitive complexity 81 (threshold 15). Drivers by points: if/else 20 (59 pts), boolean chains 9, error handling 3 (7 pts), ternaries 1 (5 pts), loops 1 (nesting depth added 47). 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":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"030c74628e000ffc1c4f069bead57a9436ebe687b1dbefed4de008c7b7401f48"}},{"ruleId":"D2","level":"warning","message":{"text":"BotChatControls.apply (cognitive 80): BotChatControls.apply has cognitive complexity 80 (threshold 15). Drivers by points: if/else 25 (45 pts), boolean chains 20, ternaries 3 (11 pts), match/switch 2 (3 pts), error handling 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotChatControls.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b8f5a291275b0150f5352f9c456c60ac15e402ead6a72e7b535b2127b3f427"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesCall.params (cognitive 67): HermesCall.params has cognitive complexity 67 (threshold 15). Drivers by points: if/else 25 (48 pts), ternaries 4 (10 pts), match/switch 4 (7 pts), boolean chains 2 (nesting depth added 32). 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":"HermesMobile/Networking/Hermes/HermesCall.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f481df04bbf4b4a97d2e012019ed61b8135f08e1b2c57f2cc3321fc47dd55b"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatTurnCoordinator.apply (cognitive 64): HermesChatTurnCoordinator.apply has cognitive complexity 64 (threshold 15). Drivers by points: if/else 22 (45 pts), boolean chains 16, ternaries 1 (2 pts), match/switch 1 (nesting depth added 24). 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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0ebe5a024850a16297dea407d6b7ef2a700a57337862bbb51625109def0853"}},{"ruleId":"D2","level":"warning","message":{"text":"BotInbox.open (cognitive 58): BotInbox.open has cognitive complexity 58 (threshold 15). Drivers by points: if/else 22 (48 pts), boolean chains 9, error handling 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":"HermesMobile/Features/Bots/BotInbox.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f756fe74d7ddd1c56c2b51f16f19290eefef97531b81c57e70e1fc2a247fe47"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesTranscriptProjection.project (cognitive 58): HermesTranscriptProjection.project has cognitive complexity 58 (threshold 15). Drivers by points: if/else 12 (28 pts), ternaries 6 (18 pts), boolean chains 5, loops 2 (5 pts), match/switch 1 (2 pts) (nesting depth added 32). Of this number, 55 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":"HermesMobile/Features/Chat/HermesTranscriptHistory.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4294c7a918d82b79795f75c428db80421c770ba88dee78055281a3bceaf1d0"}},{"ruleId":"D2","level":"warning","message":{"text":"BotAvatarPathData.parse (cognitive 55): BotAvatarPathData.parse has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (33 pts), boolean chains 17, loops 2, match/switch 1 (2 pts), ternaries 1 (nesting depth added 19). Of this number, 50 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":"HermesMobile/Features/Bots/BotGeneratedAvatar.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a1884c1b41d10cc8728179c49ffa037c5231874a7725f80721589bcfb3cdd8"}},{"ruleId":"D2","level":"warning","message":{"text":"BotRoomReader.open (cognitive 54): BotRoomReader.open has cognitive complexity 54 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 14, loops 3 (7 pts), ternaries 2 (6 pts), error handling 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotRoomReader.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13a032ea64b7365d40a6c121c63666ef373869ca92e26dcf587235c386095a6"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.loadMessages (cognitive 53): ChatViewModel.loadMessages has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (40 pts), error handling 4 (10 pts), boolean chains 3 (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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbecba79c70f28524257ced834f6006783181db4eed5061b0a0c43459055dd1"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePreviewViewModel.load (cognitive 53): FilePreviewViewModel.load has cognitive complexity 53 (threshold 15). Drivers by points: if/else 19 (36 pts), ternaries 2 (8 pts), boolean chains 7, error handling 2 (nesting depth added 23). 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":"HermesMobile/Features/Workspace/FilePreviewViewModel.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dc9ee29b8067c49231feae692bb87ad9497ad63efc82dfae95fbc7f03d201a"}},{"ruleId":"D2","level":"warning","message":{"text":"BotRoomView.body (cognitive 51): BotRoomView.body has cognitive complexity 51 (threshold 15). Drivers by points: if/else 26 (27 pts), boolean chains 17, ternaries 5, error handling 1, 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":"HermesMobile/Features/Bots/BotRoomView.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1301b5f7d2bac8958ded625be589502af69ce0105fa719462b8c9daf915e28be"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatTurnCoordinator.submit (cognitive 50): HermesChatTurnCoordinator.submit has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 13, error handling 5 (7 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42d5a9ff100105264f682aa4a7cc2d34969ea25bf9967d11cbbf281d355f14e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.submitHermesPrompt (cognitive 49): ChatViewModel.submitHermesPrompt has cognitive complexity 49 (threshold 15). Drivers by points: if/else 21 (34 pts), boolean chains 11, ternaries 2, error handling 1, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a9ea7c26aba37d57baa1916243c4b3d37bb2b458daa6d4b6d07d45819faece"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesConnection.beginSignIn (cognitive 48): HermesConnection.beginSignIn has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (38 pts), ternaries 1 (4 pts), match/switch 1 (3 pts), boolean chains 2, error handling 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":"HermesMobile/Networking/Hermes/HermesConnection.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5461e69210c619dfecaffbafa58aaa8cf2bf7d56584c1edd13d41576c90675a"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageComposerView.composerWithLifecycle (cognitive 47): MessageComposerView.composerWithLifecycle has cognitive complexity 47 (threshold 15). Drivers by points: if/else 28 (31 pts), ternaries 6 (9 pts), boolean chains 7 (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":"HermesMobile/Features/Chat/ChatComposerView.swift"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d251ce358796f0a53ac11f0449acece4d3cf702a007df4ce4eb5834ad71288"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatDraftStore.stageAttachment (cognitive 46): ChatDraftStore.stageAttachment has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 7 (15 pts), boolean chains 6, 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":"HermesMobile/Persistence/ChatDraftStore.swift"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf05078f4e8d9fcf2fd598afea5d82caf753b483dfcafd246037490ba83f25c1"}},{"ruleId":"D2","level":"warning","message":{"text":"BotRoomCreator.create (cognitive 46): BotRoomCreator.create has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (30 pts), boolean chains 8, error handling 2 (5 pts), ternaries 1 (3 pts) (nesting depth added 22). 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":"HermesMobile/Features/Bots/BotRoomCreator.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e2288000df86b489f227d5511a627a2fc0abad12465c04dd1f6388b9df37e0"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveToHermesJournal.decode (cognitive 46): MoveToHermesJournal.decode has cognitive complexity 46 (threshold 15). Drivers by points: if/else 8 (28 pts), loops 3 (7 pts), match/switch 2 (6 pts), boolean chains 5 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/MoveToHermes/MoveToHermesJournal.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83f79ee5767bb14113b247f7678f719524a663b6a66d371e6b8ee8a06739b44"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.reloadHermes (cognitive 46): SessionListViewModel.reloadHermes has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 10, loops 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"763e109a5114ffeaad87c26fe30c0c3953b5d0b4cafc7a6581fe6b0f3c4bc464"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatView.sendDraftMessage (cognitive 45): ChatView.sendDraftMessage has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 8, match/switch 2 (5 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":3065}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed9bf9a5966244784709ff1604e5f305ac7ca6711748c627bc58e393c5bad4d"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesConversation.answer (cognitive 45): HermesConversation.answer has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 4, ternaries 2 (4 pts), loops 1 (2 pts), match/switch 2 (nesting depth added 22). Of this number, 37 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Hermes/HermesConversation.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"229e9db32605228306d239e4aaad7cf4da86d398747bb36093954f8bc28cef8a"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerChipTokenizer.tokens (cognitive 43): ComposerChipTokenizer.tokens has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 15, loops 3 (5 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":"HermesMobile/Features/Chat/ComposerChipToken.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"625d8fdb630ae10e4e64f934fc562a137a8128e6638d1463a4531c956bd018fc"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveToHermesProgress.report (cognitive 43): MoveToHermesProgress.report has cognitive complexity 43 (threshold 15). Drivers by points: match/switch 5 (13 pts), ternaries 3 (12 pts), if/else 5 (11 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 24). 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":"HermesMobile/Features/MoveToHermes/MoveToHermesRunner.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a795f82871459a8db3088252c640eee188cb99faf708a59a6746b558564bcaac"}},{"ruleId":"D2","level":"warning","message":{"text":"WebuiSessionTransfer.run (cognitive 43): WebuiSessionTransfer.run has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 4 (7 pts), match/switch 1 (4 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 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":"HermesMobile/Features/MoveToHermes/WebuiSessionTransfer.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de34a70ce982c56a8ce20563c2c39db2cc7694c4c829fc55801b3ab716a167e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatAttachmentPreviewViewModel.load (cognitive 42): ChatAttachmentPreviewViewModel.load has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 8, error handling 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":"HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b8024d1b39e3f061355fd0e88805204671386ec594365485dc0c14778e3b95"}},{"ruleId":"D2","level":"warning","message":{"text":"BotRoomReader.command (cognitive 41): BotRoomReader.command has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 10, error handling 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotRoomReader.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"536cb605eb407103339dbdd0bcbe27e8d8bd2699252f93c4bc27c71e7e11b5c2"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanFeatureState.refreshBoard (cognitive 41): KanbanFeatureState.refreshBoard has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 8, ternaries 1 (3 pts), error handling 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"3395562e66fed75a471010605779a57ce5060de212a370956257334f478142a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatStreamCoordinator.handle (cognitive 40): ChatStreamCoordinator.handle has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"028f5bc8e58905126506b588df16184cbba585aed52f11b002a23c7a38782436"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptMediaPreviewViewModel.load (cognitive 40): TranscriptMediaPreviewViewModel.load has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 8, error handling 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":"HermesMobile/Features/Chat/TranscriptMediaPreviewViewModel.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb319e4c41ac613c50f86badff8411e939bfad966b026f234d0d4fd88efa7e3"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanCardEditorState.save (cognitive 40): KanbanCardEditorState.save has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 4, error handling 2 (3 pts), match/switch 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Kanban/KanbanCardEditorState.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da0178541db529db221b65205488715e6a81981e6e4fa752564394a9148d843"}},{"ruleId":"D2","level":"warning","message":{"text":"BotConnectionSetup.connect (cognitive 39): BotConnectionSetup.connect has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 8 (13 pts), boolean chains 9, 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":"HermesMobile/Features/Bots/BotConnectionView.swift"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"17181a4fd6bc4153e5265c74062a19a3680bc980a5a9aa6747badd0a33ca245b"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.openHermes (cognitive 39): SessionListViewModel.openHermes has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 8, 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"50055b332cae6daaebc1813c1d54d3016e7f7e87d26373a1f14596a972d7a5df"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewDiffLoader.load (cognitive 38): ReviewDiffLoader.load has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 5, loops 3, match/switch 1 (2 pts) (nesting depth added 17). Of this number, 36 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":"HermesMobile/Features/Workspace/GitDiffView.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f255f7af9a5d5d53449aea12e1c2bbf40854f8e9609bcfd9f67d97288662d4"}},{"ruleId":"D2","level":"warning","message":{"text":"BotSearchView.body (cognitive 37): BotSearchView.body has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 4 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotSearchView.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b299b43b5496fa4ecdfcadc757f61cbc759d7a24839637d90d27ffa82cd130"}},{"ruleId":"D2","level":"warning","message":{"text":"HermexAttachmentImageProcessor.prepareSynchronously (cognitive 37): HermexAttachmentImageProcessor.prepareSynchronously has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 5 (16 pts), if/else 6 (13 pts), boolean chains 5, 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":"HermesMobile/Features/Chat/CustomAttachmentPicker.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"af780a64eded16a025ad9d5e3cda3d899d4b7e6227a1ced9bc89216b0f12fde8"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesSessionListView.body (cognitive 37): HermesSessionListView.body has cognitive complexity 37 (threshold 15). Drivers by points: if/else 24, boolean chains 9, 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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f201abc636d3c1467d3e44b74dccdcb7e3af92585021195e281245f8487044"}},{"ruleId":"D2","level":"warning","message":{"text":"Endpoint.queryItems (cognitive 36): Endpoint.queryItems has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (29 pts), ternaries 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 16). 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":"HermesMobile/Networking/Endpoints.swift"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"378245bf32ee1b7fcf03e96bd29d56b9ed63e2579750e42d01beedbfa1d328c7"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.loadSessionForDeepLink (cognitive 36): SessionListViewModel.loadSessionForDeepLink has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 7, error handling 3 (6 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae93e8b83b70d9cfcef04fa1ca0eb9fd5aec3dbf1b47a7c329413c402b46d08"}},{"ruleId":"D2","level":"warning","message":{"text":"BotsInboxView.list (cognitive 35): BotsInboxView.list has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (24 pts), ternaries 2 (6 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotsInboxView.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf1d24745e9d2486562b830d1a84be28ce2682a1142925e2589f3638d392e75"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.performChatSend (cognitive 35): ChatViewModel.performChatSend has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 8, error handling 1, ternaries 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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":3794}}}],"partialFingerprints":{"codehealthFindingId/v1":"734f48b5e45d696694cc6e9f142fa0d76ec9903ad61882c083ae583c6933cc0c"}},{"ruleId":"D2","level":"warning","message":{"text":"BotInbox.reload (cognitive 34): BotInbox.reload has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 6, loops 2 (4 pts), error handling 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":"HermesMobile/Features/Bots/BotInbox.swift"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"c520a897f6c289c334e20b9ebce19cc30536e83d568cdc60a5cfb1aab953eb3d"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanFeatureState.load (cognitive 34): KanbanFeatureState.load has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 2 (5 pts), boolean chains 2, error handling 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52c709508f5e4d5c65c6389bca5a8cfdda06e5be6c5ce3699dd8c590d57e188"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.readHermesStatuses (cognitive 34): SessionListViewModel.readHermesStatuses has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (18 pts), ternaries 2 (6 pts), loops 2 (5 pts), boolean chains 4, error handling 1 (nesting depth added 15). Of this number, 32 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f274656f0daae4b20cb3fe9deaa7c1d93f0bd3605f4780a17ead8ca7425a82fe"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentLiveActivityManager.requestOrUpdateActivity (cognitive 33): AgentLiveActivityManager.requestOrUpdateActivity has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 7, ternaries 2 (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":"HermesMobile/LiveActivities/AgentLiveActivityManager.swift"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fa7c8d0e511c703f97c0a6bf6c6ee37f4e0938b0edbdd04472130f4ddbae10"}},{"ruleId":"D2","level":"warning","message":{"text":"BotHistoryCache.appendRoom (cognitive 33): BotHistoryCache.appendRoom has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 21, if/else 5 (6 pts), ternaries 4 (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":"HermesMobile/Features/Bots/BotHistoryCache.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f0f75bc6e2e46f6e76cc31d16fc82beceb4e9fbf881f614585fb77876f336d"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatRequests.respondToConnection (cognitive 33): HermesChatRequests.respondToConnection has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 9, ternaries 1 (4 pts), 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":"HermesMobile/Features/Chat/HermesChatRequests.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4d2dacb86498ae665d2763eec529c1058183b698e4a8e70db2c3fe0ec0dbad"}},{"ruleId":"D2","level":"warning","message":{"text":"ReasoningSummaryFormatter.stripInlineMarkup (cognitive 33): ReasoningSummaryFormatter.stripInlineMarkup has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 10, ternaries 2 (6 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ReasoningSummaryFormatter.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c473237df32bdd46ba9821283a51ccd8038c4a91f8d6c762c4d51ef34ffd71f2"}},{"ruleId":"D2","level":"warning","message":{"text":"BotConnectionView.body (cognitive 32): BotConnectionView.body has cognitive complexity 32 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 2, match/switch 1, ternaries 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotConnectionView.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b226292f968b2210b9e8e7d80e56925b7a9f94cecd4750df38e41489d675cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatView.handleSlashExecutionResult (cognitive 32): ChatView.handleSlashExecutionResult has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (31 pts), match/switch 1 (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":3317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8791da479b7a4005e925a14121091c8124e81153c7b8b83330c942cae9f40e"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatTurnCoordinator.reconcile (cognitive 32): HermesChatTurnCoordinator.reconcile has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 14, if/else 10, ternaries 5 (8 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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf539b1f67e6cd5259babf4a2e696c92740e11053362479d91387b09a8803ed"}},{"ruleId":"D2","level":"warning","message":{"text":"BotInbox.refreshRooms (cognitive 31): BotInbox.refreshRooms has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 4, loops 1 (2 pts), error handling 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":"HermesMobile/Features/Bots/BotInbox.swift"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8b84f2df7958e4718ba05715eb98da91e3d0b542566eda81cff0b4fe83e066"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesDelegatedWork.interrupt (cognitive 31): HermesDelegatedWork.interrupt has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 9, 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":"HermesMobile/Features/Chat/HermesDelegatedWork.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f9b05675a3a26d5b9f220872a6d5159000f81b29b3298c1a227155a6620ef2"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.sessionForOpening (cognitive 31): SessionListViewModel.sessionForOpening has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 8, error handling 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec10535746473bd4e59e139c8c626b76e6bc6767f6f90feb0e0c7e2c35ccd00"}},{"ruleId":"D2","level":"warning","message":{"text":"PushActivityRegistrar.reconcile (cognitive 30): PushActivityRegistrar.reconcile has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 9, error handling 3 (7 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Push/PushRegistrar.swift"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e93537c7848cc4095687efbd65455b78f230e762b767c074b5601ce1cf03465"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.restoreDraftSettings (cognitive 30): ChatViewModel.restoreDraftSettings has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 10 (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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"4324caa50ba595f899661bc13fac7030ffa55b6b9a4a070e87d83d178b5a2376"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.load (cognitive 30): SessionListViewModel.load has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 3 (7 pts), boolean chains 4, ternaries 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b22f35d075a5b077c4d9d6d8468c8c89b221fe6d747044dcd5c3b99a65e1e89"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.searchSessions (cognitive 30): SessionListViewModel.searchSessions has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 6, 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"451944a3cc314a395be87503042b3571782815e707a4cee66520f7c823b5757e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatDraftStore.appendShare (cognitive 29): ChatDraftStore.appendShare has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 3 (4 pts), boolean chains 3, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 9). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Persistence/ChatDraftStore.swift"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7225b5e4afe3beec8d38bafa2d6c964f13b4dc5d3e1630b2261db7f6b4cd41"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatView.chatContent (cognitive 29): ChatView.chatContent has cognitive complexity 29 (threshold 15). Drivers by points: if/else 22 (27 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"793f82031a68aa46a05ae2d446aaacd915a3d6e454eff6bc60372e200ac55b34"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesUpdateMachine.handle (cognitive 29): HermesUpdateMachine.handle has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 8, match/switch 2 (3 pts), 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":"HermesMobile/Features/Settings/HermesUpdateMachine.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a01b137d8af1d02a0abf16358bb40a0e31eb7822b85c53a6ad4d97468e98c1c"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesGateway.send (cognitive 29): HermesGateway.send has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 11, error handling 3, 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":"HermesMobile/Networking/Hermes/HermesGateway.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68949f70f41d437e58931a2cd0e66fd41ffd4d1a137f16b511adf59fb1398f3"}},{"ruleId":"D2","level":"warning","message":{"text":"String.strippingANSIEscapes (cognitive 29): String.strippingANSIEscapes has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (7 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Models/ANSIEscapes.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8d82d1a104efaf6e5b064485ab019fa177d0f4402d3411928d47bf4093ec31"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatStreamCoordinator.recoverStaleStream (cognitive 28): ChatStreamCoordinator.recoverStaleStream has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 10, 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":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39cc44860276885be1743b0a2148f01a5e9943cff11b2c948e66ff5e281bb50"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallSummaryFormatter.kind (cognitive 28): ToolCallSummaryFormatter.kind has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 18, 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":"HermesMobile/Features/Chat/ToolCallSummaryFormatter.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"773e7bb41d3993890345026f06812cae7b02e5241f0c2bd6cafd71e25422dd30"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesSessionLookup.resolve (cognitive 28): HermesSessionLookup.resolve has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 3, loops 1 (2 pts), match/switch 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":"HermesMobile/Features/Hermes/HermesSessionLookup.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"746080548a4bd2cc25ad41ea4d2020389db873f3cabb9993ea5cc5ba573c080c"}},{"ruleId":"D2","level":"warning","message":{"text":"BotRoomProfileView.body (cognitive 27): BotRoomProfileView.body has cognitive complexity 27 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 1, match/switch 1 (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":"HermesMobile/Features/Bots/BotRoomProfileView.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70810797b8286379d8fe80d758593612a4685af3ba0af8dac902f474eedc05f"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatRequests.setApprovalBypass (cognitive 27): HermesChatRequests.setApprovalBypass has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 9, 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":"HermesMobile/Features/Chat/HermesChatRequests.swift"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba96f3fbe2733810139b5cf20e5aa4bf8ce175b6b0b3d9b8a2c0d5470950fbc"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptMediaThumbnailView.body (cognitive 27): TranscriptMediaThumbnailView.body has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 5, ternaries 1 (3 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":"HermesMobile/Features/Chat/TranscriptMediaView.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66b1fb54b67d129fd26c217ea6c5b071bf0cd1b60045716c54609cf50184c4f"}},{"ruleId":"D2","level":"warning","message":{"text":"InsightsViewModel.load (cognitive 27): InsightsViewModel.load has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 4 (6 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":"HermesMobile/Features/Insights/InsightsViewModel.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d04a700af408d496b787b637baadd489ebeceee48dc1458a558d74440ea241"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentLiveActivityManager.update (cognitive 26): AgentLiveActivityManager.update has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 5, ternaries 2 (5 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":"HermesMobile/LiveActivities/AgentLiveActivityManager.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1fc46982f4542e83c7d9d2614e31663f0d440e5bac6e2db6670873deac639a"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageAttachment.hermesTitle (cognitive 26): MessageAttachment.hermesTitle has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 9, loops 2, 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":"HermesMobile/Models/MessageAttachment.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b52e791987e53f7fad0d7c0718ec55737d0edc86484bafac5eb7a06de15daea"}},{"ruleId":"D2","level":"warning","message":{"text":"BotConnectionSetup.connectThroughBrowser (cognitive 26): BotConnectionSetup.connectThroughBrowser has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 8, if/else 4 (7 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":"HermesMobile/Features/Bots/BotConnectionView.swift"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f47a0989330a9514808939d6e6830d71f01b6d7df4f136d2d01e3ad7b2d8692"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.send (cognitive 26): ChatViewModel.send has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 5, ternaries 3, 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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":3100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d90623df3425703e8ffbf546b4d392d5e56fb51a043e2daa0ca62c26b1a4823"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesDelegatedWork.loadTail (cognitive 26): HermesDelegatedWork.loadTail has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (11 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/HermesDelegatedWork.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"674dd78646a2fc6a366b0488a976f9d90908595dd267b7c935fc0a4c133cf345"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseSelectionInput.document (cognitive 26): ResponseSelectionInput.document has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (6 pts), loops 3 (5 pts), boolean chains 4 (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":"HermesMobile/Features/Chat/ResponseSelectionInput.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43230cde516654fa308cd48b91129b21320a9fdbd816830774235a6c6b218dd"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanCardDetailContent.mutationSection (cognitive 26): KanbanCardDetailContent.mutationSection has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 1 (4 pts), boolean chains 2, match/switch 1 (2 pts) (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":"HermesMobile/Features/Kanban/KanbanCardDetailView.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabf11df30989c1da3ac50713772187ade26e993e3f79235698563caa1c41f54"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanCardEditorState.reconcileAmbiguousOutcome (cognitive 26): KanbanCardEditorState.reconcileAmbiguousOutcome has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 3, match/switch 1 (2 pts), 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":"HermesMobile/Features/Kanban/KanbanCardEditorState.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20b940b6d6ad9dd3c7982475ecef2aca2d8987c735fb37ddc894465568c4927"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveToHermesRemoval.sourceMessage (cognitive 26): MoveToHermesRemoval.sourceMessage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/MoveToHermes/MoveToHermesModel.swift"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc64a6300f45000ea44dcf71e7cb197d35ee1aec030d7d632296315a051fbac0"}},{"ruleId":"D2","level":"warning","message":{"text":"FileBrowserView.content (cognitive 26): FileBrowserView.content has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 6, ternaries 3 (5 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":"HermesMobile/Features/Workspace/FileBrowserView.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01a30cbc38d7575b4d766e84e5065b15df13f1fa0c47aa256bb47187500661e"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesPluginSetting.parse (cognitive 26): HermesPluginSetting.parse has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 5 (9 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Hermes/HermesPluginsClient.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"6519c2621244d3a016c06b3e38eda093cb959af487150445f4edb0c600d053ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatTranscriptMessageBlock.== (cognitive 25): ChatTranscriptMessageBlock.== has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 24, if/else 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":"HermesMobile/Features/Chat/ChatTranscriptView.swift"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e30d4c4d4dc1a5fc8621df4a69e6746adf03dfcfa08dfe4f596292f5070567"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatTurnCoordinator.branch (cognitive 25): HermesChatTurnCoordinator.branch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, error handling 1 (2 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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7ef3fa38451013cc42dcb2e064e1e997dc576bb60fd08497d8ecad810a9dbd"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptTurnFolds.derive (cognitive 25): TranscriptTurnFolds.derive has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 5 (7 pts), boolean chains 5, ternaries 3 (5 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":"HermesMobile/Features/Chat/TranscriptTurnFolding.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab11632b5526815ac42112f858f78fdf69cf9250980ff93ec9500e2ef2fdde6"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingViewModel.configureWebui (cognitive 25): OnboardingViewModel.configureWebui has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Onboarding/OnboardingViewModel.swift"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"538a1ec12b9272270906796b8f666ff67181417b1d4135d7859da943a022938d"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListView.body (cognitive 25): SessionListView.body has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 6 (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":"HermesMobile/Features/SessionList/SessionListView.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3040e400104de7b5e5da939d6abacebadc3895d7e7a3ea04ce378d5d250392b"}},{"ruleId":"D2","level":"warning","message":{"text":"GitWorkspaceAvailabilityViewModel.quickCommit (cognitive 25): GitWorkspaceAvailabilityViewModel.quickCommit has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (20 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Workspace/GitWorkspaceViewModel.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"002aa35edbd69411f0298e234688137936fa2052a1ce3ade07f571203182ffe4"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatAttachmentCoordinator.performUpload (cognitive 24): ChatAttachmentCoordinator.performUpload has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 1, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b0c1841120025d16bce7c087f373f51ef31425a84ba87fca12e953644de6a6"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatView.messageComposer (cognitive 24): ChatView.messageComposer has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, if/else 7, ternaries 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9586dc080aed825b08ccdd718e4a55ba7bf8630421e52a8744384004d71e470"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatRequests.deliver (cognitive 24): HermesChatRequests.deliver has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, ternaries 1 (3 pts), 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":"HermesMobile/Features/Chat/HermesChatRequests.swift"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6fb288998cb5769bad2f17a12553055571600f77ff5cbfdc8b8697a0c3f17d"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingViewModel.addHermesServer (cognitive 24): OnboardingViewModel.addHermesServer has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), ternaries 5 (6 pts), error handling 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":"HermesMobile/Features/Onboarding/OnboardingViewModel.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"346d89e9410186863291884a1d7a02aa5c17e190e779c3638b5fca7048a0e8fb"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionToastView.toastBody (cognitive 24): ActionToastView.toastBody has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 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":"HermesMobile/Features/Shared/ActionToast.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9384d0ca8ccbdd96fcbc21f34696111f2670ea3d758453c5bc5b715b9ffd950"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewWordDiff.annotate (cognitive 24): ReviewWordDiff.annotate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (7 pts), boolean chains 6 (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":"HermesMobile/Features/Workspace/ReviewDiff/ReviewWordDiff.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f2be12bf7b9892eaa926ab2056eb5e6275fa5fab26f38dc5157e42f0ccd2d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.handleOpenURL (cognitive 23): ContentView.handleOpenURL has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (19 pts), match/switch 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":"HermesMobile/ContentView.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ccc9bc3dc2cb8ee40b3f5b715ee17d755b707d447612496f63d65aaacb1ff4"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanCompatibilityValidator.validate (cognitive 23): KanbanCompatibilityValidator.validate has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (9 pts), loops 2 (3 pts), ternaries 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":"HermesMobile/Models/Kanban.swift"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3504cb40ba703914f0cbc3f3bc5b1bace69ddb50047c4718abb8cdc6189f0c7"}},{"ruleId":"D2","level":"warning","message":{"text":"BotChatControls.reload (cognitive 23): BotChatControls.reload has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 8, 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":"HermesMobile/Features/Bots/BotChatControls.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"65631931576442f8b9066d1f0e97ccd4ad479f454cf6e5be14653ddff2ea2163"}},{"ruleId":"D2","level":"warning","message":{"text":"BotConnection.address (cognitive 23): BotConnection.address has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 10, loops 1, 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":"HermesMobile/Features/Bots/BotConnection.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9976862605c2c15eeb200991b8bb9fedd1974e0408bd645b74a95be0487f3bb"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatTurnCoordinator.upload (cognitive 23): HermesChatTurnCoordinator.upload has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, ternaries 1 (2 pts), error handling 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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"72008adbac41bb6e415673a3892eac2deb00ee4d54f303cd35f840446e76afbc"}},{"ruleId":"D2","level":"warning","message":{"text":"ThinkingSliderLook.drawDataPackets (cognitive 23): ThinkingSliderLook.drawDataPackets has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 6 (9 pts), ternaries 1 (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":"HermesMobile/Features/Chat/ThinkingSliderLooks.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7a8ed0f7b72c42f148f476c771cff07beb0423264423cb5b408ddddc39a406"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallGroupSummary.init (cognitive 23): ToolCallGroupSummary.init has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 2 (4 pts), boolean chains 2, 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":"HermesMobile/Features/Chat/ToolCallGroupSummary.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3189bf7036f86980c21d740a411c56255b9fc3158196b47d07706c7020a6f274"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanFeatureState.scheduleCoalescedReconciliation (cognitive 23): KanbanFeatureState.scheduleCoalescedReconciliation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, error handling 2 (4 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12a0e1b29b383c20ba24553d6e94f5bceb82812d33718c1a3e468fd4e999d3c"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveToHermesSheet.pausedDetails (cognitive 23): MoveToHermesSheet.pausedDetails has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 4, if/else 4, 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":"HermesMobile/Features/MoveToHermes/MoveToHermesView.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5ae7bf6102ec529edc4689b4aa3f9159de6b69deb67be75bc7004e234ed1c5"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnFileChangeAggregator.candidates (cognitive 22): TurnFileChangeAggregator.candidates has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Models/TurnFileChangeSummary.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46fce912485393a4cb3473de1c11a25cab45e7af334a6e04b3a0ed6a40a9164"}},{"ruleId":"D2","level":"warning","message":{"text":"Record.draft (cognitive 22): Record.draft has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 8, ternaries 3 (4 pts), 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":"HermesMobile/Persistence/ChatDraftStore.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc7bf5a7092ad029995affd2292bbcb8d6b3d2cd56a27bd15a923868446d00d"}},{"ruleId":"D2","level":"warning","message":{"text":"PushRegistrar.updatePreferences (cognitive 22): PushRegistrar.updatePreferences has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 2 (4 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":"HermesMobile/Push/PushRegistrar.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a937e8a1310fb1abf19554909ea9e02ae76fd1ff0cc96ab355ff63a27be059c5"}},{"ruleId":"D2","level":"warning","message":{"text":"BotSlashCatalog.skills (cognitive 22): BotSlashCatalog.skills has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 7, loops 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":"HermesMobile/Features/Bots/BotSlashCommands.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2af48c3d378d4b870d69778231fecb59b0ba84216021e217fdfa83a142580eb"}},{"ruleId":"D2","level":"warning","message":{"text":"HermexPushSettingsPage.pushSettings (cognitive 22): HermexPushSettingsPage.pushSettings has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/HermexPushSettingsPage.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9674c5e9b8bdfd18dc2aa41ded2fbcf4de410d49058e42902c6348b110c10852"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatTranscriptView.transcriptScrollContent (cognitive 22): ChatTranscriptView.transcriptScrollContent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8, ternaries 8, 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":"HermesMobile/Features/Chat/ChatTranscriptView.swift"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f5df0b4140fcf2c75da7bdf0b4786da557f03da253bcf122187bfdf48ec1f6"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanFeatureState.checkUncertainMutation (cognitive 22): KanbanFeatureState.checkUncertainMutation has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, ternaries 2 (4 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"a882cfac00756be306ea74c12f4a38e3baa5afb7fe457ceb5e8ee92e51010374"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanFeatureState.performStatusMutation (cognitive 22): KanbanFeatureState.performStatusMutation has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 6, 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0552d8ce5808a68ab86bb0f6b1d942d758c704253fbfdac9b72c21225c1fe3"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.createSession (cognitive 22): SessionListViewModel.createSession has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 2 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eed6807413b52316b20b2dc76b7a003d37463b27f2221434cf33557b3f7410"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskDetailViewModel.followRunNow (cognitive 22): TaskDetailViewModel.followRunNow has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 2 (3 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Tasks/TaskDetailViewModel.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"f652457d88331ea793e131ee111c2e952b686ab3881d4fa923d9a3455b5395c8"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRunPalette.init (cognitive 21): AgentRunPalette.init has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 11 (18 pts), if/else 2, 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":"HermesLiveActivityWidget/AgentRunLiveActivityWidget.swift"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3c227ac3ec67e8046dda34557ebc4af8a2ef695c151d2cb93772c6d9daa9c6"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentLiveActivityManager.observePush (cognitive 21): AgentLiveActivityManager.observePush has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, loops 2, ternaries 1 (nesting depth added 5). Of this number, 19 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":"HermesMobile/LiveActivities/AgentLiveActivityManager.swift"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e3c39f51ff576913c89c4603a0e7290a82510003f662c06c3e2615d372f29a"}},{"ruleId":"D2","level":"warning","message":{"text":"ClarifyResult.init (cognitive 21): ClarifyResult.init has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, 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":"HermesMobile/Models/ClarifyResult.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b10ab1f4963713405a534cfd99eb6d31777b2f5eed4726f6ba15b8f13bdcbd"}},{"ruleId":"D2","level":"warning","message":{"text":"PushRegistrar.reregisterAllPairings (cognitive 21): PushRegistrar.reregisterAllPairings has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 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":"HermesMobile/Push/PushRegistrar.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26a8016df1f9504fc640ab000d2b898e15af5143b42c28e052b5e07b37f3931"}},{"ruleId":"D2","level":"warning","message":{"text":"BotArtifactReference.path (cognitive 21): BotArtifactReference.path has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 14, if/else 5 (7 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":"HermesMobile/Features/Bots/BotArtifact.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dfa6ed041e7288128d6fb3162843eb9b58c8609e4a015576a063670e660ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"BotCreateView.body (cognitive 21): BotCreateView.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, ternaries 4 (6 pts), boolean chains 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":"HermesMobile/Features/Bots/BotCreateView.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0c4399f844d19840f6dfdce670a35ea592a41f0aea70d10a3f14fead73ced5"}},{"ruleId":"D2","level":"warning","message":{"text":"BotProfileEditor.save (cognitive 21): BotProfileEditor.save has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, loops 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotProfileEditor.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d8e6414f8fa067cc66eb7652a28b2ced8813e37f30e1eed2515df33ec45a9d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.editMessage (cognitive 21): ChatViewModel.editMessage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 2 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":6108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5995e32267c1ea68d741e7f5aea8e7a48fafc680be44f688888d8c21ed2e3846"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatTurnCoordinator.loadOlderHistory (cognitive 21): HermesChatTurnCoordinator.loadOlderHistory has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 5, error handling 1 (nesting depth added 8). 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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7271df0d335039dc154af682904e254ab5f9e7bc650dcec97c12fa2ce1cb1c"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesConversation.reconcile (cognitive 21): HermesConversation.reconcile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 9, 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":"HermesMobile/Features/Hermes/HermesConversation.swift"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41dc215a21e77f390c4121c3ea63ad7c294a05a513dbb9864c19a0bb083ff53"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanFeatureState.dispatcherAvailability (cognitive 21): KanbanFeatureState.dispatcherAvailability has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 13, 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f10f5ee556d62ed83c5353c9a7535bba73ecf24e2336425affef9aa82278545"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveToHermesReconcile.apply::send (cognitive 21): MoveToHermesReconcile.apply::send has cognitive complexity 21 (threshold 15). Drivers by points: error handling 10, if/else 4 (5 pts), boolean chains 4, match/switch 2 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/MoveToHermes/MoveToHermesReconcile.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b13cfd46fd4d1a6c798e37bae3a67b22e9e03f8f879ca539f6bb64f7cb43ea0"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveToHermesSheet.review (cognitive 21): MoveToHermesSheet.review has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (19 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":"HermesMobile/Features/MoveToHermes/MoveToHermesView.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e750cc948bfddd5c9c42bc17d48b6ab65165a7aa0bb56713d1525d337bebab"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenView.bottomControls (cognitive 21): ScreenView.bottomControls has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 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":"HermesMobile/Features/Screen/ScreenView.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7832b2fec8e95306ea0acef9bc83ea95759d83edfb440ff8b6895f9fca5654"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesSessionListView.isQuietSessionListVisible (cognitive 21): HermesSessionListView.isQuietSessionListVisible has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 21. 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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f482a8df7860e7f9783db4c682373fedf7a33fe80eaf3669648612bfad805fa"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionRowContextMenu.body (cognitive 21): SessionRowContextMenu.body has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (8 pts), ternaries 3 (4 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":"HermesMobile/Features/SessionList/SessionListComponents.swift"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb9eb8623508d6f40c8ac47ea1792f38f51e25b856de16bc02a160b3ecc3de8"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsModel.update (cognitive 21): PluginsModel.update has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 2, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Settings/PluginsModel.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"8daad0afd31d57553d7ffac42dd75a90fbb4f9b34752c749853bc93488d54b51"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderDisclosure.statusLine (cognitive 21): ProviderDisclosure.statusLine has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 4 (7 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":"HermesMobile/Features/Settings/ProvidersView.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfacc2adc5ed910f3d2287f5bc1caad5cd8db24727d4dd47ceecf66393fef046"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesGitClient.commitSelected (cognitive 21): HermesGitClient.commitSelected has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 3 (6 pts), error handling 3 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Hermes/HermesGitClient.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12fe9737bdf772fbbae4c84ee6094739e719fca09790f7de5bebacce4ae8398"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewDiffDefaultCollapse.apply (cognitive 21): ReviewDiffDefaultCollapse.apply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Workspace/ReviewDiff/ReviewDiffDefaultCollapse.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b509bee7b931dc714c499d1c991366356ec7df4a3b7500c7adfcd59269aa2c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatDraftStore.transferDraft (cognitive 20): ChatDraftStore.transferDraft has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 2 (3 pts), boolean chains 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":"HermesMobile/Persistence/ChatDraftStore.swift"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73eaf8964b0492538bd8ec73ab507f3127c532fcdfde2b8b0d94489f80698d2"}},{"ruleId":"D2","level":"warning","message":{"text":"HermexPushProvisioner.setUp (cognitive 20): HermexPushProvisioner.setUp has cognitive complexity 20 (threshold 15). Drivers by points: error handling 6 (9 pts), if/else 6 (9 pts), 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":"HermesMobile/Features/Bots/HermexPushProvisioner.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"972118a89ffe037303b9714a8af00e5744bb298243ad142b35325767ce275776"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.runHermesSlashCommand (cognitive 20): ChatViewModel.runHermesSlashCommand has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (6 pts), match/switch 2 (3 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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":4590}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba12c478aa15b7c7bd1fdc49ae562e68eaf76482b6e3761cd9cd7c9a1ba4a21"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatTurnCoordinator.rewind (cognitive 20): HermesChatTurnCoordinator.rewind has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, error handling 2 (3 pts), 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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"3432207ddadf2f2a9821df0449a33e3281a11ad107f33e8679f51b0205012af8"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownMathFormatter.replacingInlineMath (cognitive 20): MarkdownMathFormatter.replacingInlineMath has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, 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":"HermesMobile/Features/Chat/MarkdownMathFormatter.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3768f8f0a39134ef970c485fbd19313f4c33ddcdd23bc170c12ec14d991887"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesConversation.attach (cognitive 20): HermesConversation.attach has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, ternaries 2 (4 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":"HermesMobile/Features/Hermes/HermesConversation.swift"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c58e516c235f1cc370ff94d4afedaa2c88ac0957472ca09e86da4ba6465c11"}},{"ruleId":"D2","level":"warning","message":{"text":"InsightsViewModel.loadLimits (cognitive 20): InsightsViewModel.loadLimits has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 3, error handling 2 (3 pts), loops 3, match/switch 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":"HermesMobile/Features/Insights/InsightsViewModel.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81f64d61c7d8706ce90352c04a9eda0a7b762bc25dbd3c2f6768197caaccc07"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanFeatureState.performBulkAction (cognitive 20): KanbanFeatureState.performBulkAction has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, ternaries 1 (3 pts), match/switch 1 (2 pts), error handling 1, 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf18c7640b958f027e7c51c084b4f2b9463540d542fd643fef06999c56a82632"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenSession.startIdleTimer (cognitive 20): ScreenSession.startIdleTimer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 2 (5 pts), boolean chains 2, 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":"HermesMobile/Features/Screen/ScreenSession.swift"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c2e60193ece178d5bf7ff404ff7ef04a1d00b2ecc0a7ecc9b171bf4c34bb16"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.refreshActiveSessionStatesIfNeeded (cognitive 20): SessionListViewModel.refreshActiveSessionStatesIfNeeded has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (5 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7ce7a225df1b7476fa8587b6f816441f516e381bf70464e1882fde9abf21a7"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesUpdateCallout.checkCard (cognitive 20): HermesUpdateCallout.checkCard has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (6 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":"HermesMobile/Features/Settings/HermesUpdateCallout.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc797db669e377c8244eeea8fae2706440297e28cf6a806654d4f3cfc586e1a1"}},{"ruleId":"D2","level":"warning","message":{"text":"FileTreeSearch.splitWords (cognitive 20): FileTreeSearch.splitWords has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, 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":"HermesMobile/Features/Workspace/FileTree.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"610018eed8ab2c4a5803c835037e4758986c64c7d5655895bbee20d68e8fbd19"}},{"ruleId":"D2","level":"warning","message":{"text":"BotAttachmentUpload.prepare (cognitive 20): BotAttachmentUpload.prepare has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 7, if/else 3 (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":"HermesMobile/Networking/Bots/BotAttachmentUpload.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c78fd109acbadc242c3e88f48682ed61ba13d0aad5e7f187299a37596913f02"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewWordDiff.diff (cognitive 20): ReviewWordDiff.diff has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 5 (8 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Workspace/ReviewDiff/ReviewWordDiff.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec1f2c5d01fdf02e03958e246696b6a4c603a2990c66ab7aa0cf6df581e7f92"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthManager.commitMove (cognitive 19): AuthManager.commitMove has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 2 (3 pts), boolean chains 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":"HermesMobile/Auth/AuthManager\u002BMoveToHermes.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35054b8cd19e331f3172b8228bfefade3c7b3c4b8e3c3025e2d4724f0b431d6"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryCanonicalizer.canonical (cognitive 19): MemoryCanonicalizer.canonical has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 6). Of this number, 15 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":"HermesMobile/Models/Memory.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2805d95168fea32f2ff16287f198455c35f94a917904cebb42d9cec789fb5c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallGroup.uniqueToolCalls (cognitive 19): ToolCallGroup.uniqueToolCalls has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 2 (4 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":"HermesMobile/Models/ToolCall.swift"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"7488da6dd71e2057698fd738bcfe7a2a8f0d0113e102e03b5d8011540669d6b0"}},{"ruleId":"D2","level":"warning","message":{"text":"BotCreator.createProfile (cognitive 19): BotCreator.createProfile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2, 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":"HermesMobile/Features/Bots/BotCreator.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde440eff588c9e013da85f399a799f47e127acf88509f06159f4a937ddfdfc1"}},{"ruleId":"D2","level":"warning","message":{"text":"BotApprovalRequest.init (cognitive 19): BotApprovalRequest.init has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (4 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":"HermesMobile/Features/Bots/BotPendingRequest.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06d1324e27a616161330b029310b6e04eae752f57fafd8226f1a95c3a41bebb"}},{"ruleId":"D2","level":"warning","message":{"text":"BotProfileEditor.load (cognitive 19): BotProfileEditor.load has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, error handling 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":"HermesMobile/Features/Bots/BotProfileEditor.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5059e0857784f8fcf7de5a2ee41e16f8d518dc79fa939e2e292db3d3338994a"}},{"ruleId":"D2","level":"warning","message":{"text":"BotPromptMode.outcome (cognitive 19): BotPromptMode.outcome has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, match/switch 2 (3 pts), ternaries 1 (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":"HermesMobile/Features/Bots/BotPromptMode.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6015ee2388054bba815b4eb447702ea088e99962a3203967ec65bf125dbb033b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessageActionMenu.items (cognitive 19): ChatMessageActionMenu.items has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 5, ternaries 2 (4 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":"HermesMobile/Features/Chat/ChatMessageActions.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a55b6c2006c2075575e45b812fcac0f7d8ebe39ba91e932767f6e49102f770"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.confirmFileChipReferences (cognitive 19): ChatViewModel.confirmFileChipReferences has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":5276}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f11fde8a6b21c09f7813363363e4e173560c38b0993e0bbee378d47fef5827"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerVoiceInputController.finishServerRecording (cognitive 19): ComposerVoiceInputController.finishServerRecording has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, error handling 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":"HermesMobile/Features/Chat/ComposerVoiceInputController.swift"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"1839a271616d23c826b125cb7fb0f4d6921bcd88794cd11365e7e956dae94056"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatTurnCoordinator.compress (cognitive 19): HermesChatTurnCoordinator.compress has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 2 (3 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a581cdbc654f05934d2668169518dd556370cf7f587a0ea1704a667031df07"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownDiffFormatter.parse (cognitive 19): MarkdownDiffFormatter.parse has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 2 (6 pts), match/switch 2 (5 pts), if/else 3 (4 pts), boolean chains 3, 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":"HermesMobile/Features/Chat/MarkdownDiffCodeBlock.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e990ce07dc46399e6a9b7e70ae7085fdcff1f49740591c0fbd52d37388caf3"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptMediaParser.appendMediaSegments (cognitive 19): TranscriptMediaParser.appendMediaSegments has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (8 pts), loops 1 (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":"HermesMobile/Features/Chat/TranscriptMedia.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cedb1958cfd2aec024cc9398ba3a50f60ff70ba1048a0682bff2f88f348d8b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderLimitCard.init (cognitive 19): ProviderLimitCard.init has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Insights/InsightsModels.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90e0430c076e61bc5260277967c48cf4e1610cccb2cc8fddefb8b2f4a1b3636"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanCardEditorState.intendedValuesAppear (cognitive 19): KanbanCardEditorState.intendedValuesAppear has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 18, match/switch 1. 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":"HermesMobile/Features/Kanban/KanbanCardEditorState.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"636c810d17f85c72959757cf4af0d2511f06fec320ed910c6ee3af28c6850d2a"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListView.isQuietSessionListVisible (cognitive 19): SessionListView.isQuietSessionListVisible has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 18, if/else 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":"HermesMobile/Features/SessionList/SessionListView.swift"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd489038d8c11ddbb564330beefc3b42d98c5884fc2a1bc885e78ebdd4fd968"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.searchHermes (cognitive 19): SessionListViewModel.searchHermes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 7, 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":2460}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d357174e76c58a62eb5c930145172d9f19e2c134566f3b2e63a6ccc60bb8a5"}},{"ruleId":"D2","level":"warning","message":{"text":"GitWorkspaceAvailabilityViewModel.checkout (cognitive 19): GitWorkspaceAvailabilityViewModel.checkout has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (4 pts), boolean chains 2, error handling 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":"HermesMobile/Features/Workspace/GitWorkspaceViewModel.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdc7f82be7fef4eda3b5d6fa276d7c0a6e754dda0a94b4091e2e0aebf5f1083"}},{"ruleId":"D2","level":"warning","message":{"text":"BotArtifactDownload.data (cognitive 19): BotArtifactDownload.data has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, ternaries 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":"HermesMobile/Networking/Bots/BotArtifactDownload.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9020c246d560587cffc63a23eab2d85f783ffa4439b361406c9fda9435d69f7"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesConnection.upgrade (cognitive 19): HermesConnection.upgrade has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2, error handling 1 (nesting depth added 9). Of this number, 11 points are the body\u0027s own statements and 8 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":"HermesMobile/Networking/Hermes/HermesConnection.swift"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3e31e4215e3723f86d3912e7e337f55e71dd5fa90a4ddba531600883e6887e"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesGateway.consume (cognitive 19): HermesGateway.consume has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Hermes/HermesGateway.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a74ed43d197415977e9e175e61e4e045f8caf7ff4fbebd618dab8e54431d81b"}},{"ruleId":"D2","level":"warning","message":{"text":"LeftoverLiveActivitySettlement.actions (cognitive 18): LeftoverLiveActivitySettlement.actions has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 6, ternaries 3 (4 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/LiveActivities/AgentLiveActivityManager.swift"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9efeb2728926a504bc258143e20d702d3e3af8ae9bba17796b6d2638754d1da"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheStore.cacheHermesSessions (cognitive 18): CacheStore.cacheHermesSessions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, 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":"HermesMobile/Persistence/CacheStore\u002BHermes.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"258866e00a61b3372c4a7082f4b3565f107c2a9bf2bf5f22ccfa2aac4f1513ad"}},{"ruleId":"D2","level":"warning","message":{"text":"BotProfileAppearance.merging (cognitive 18): BotProfileAppearance.merging has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (16 pts), loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotProfileAppearance.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"622032528ce2b61e68ddd4ce426554386d55a88f3524ab8fce00c61ea2725417"}},{"ruleId":"D2","level":"warning","message":{"text":"BotRoomAction.init (cognitive 18): BotRoomAction.init has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (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":"HermesMobile/Features/Bots/BotRoomAction.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"880297632d51cc090c3cf082c8c35a92ec48020759d35e796d978b5ada8f0220"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageComposerView.body (cognitive 18): MessageComposerView.body has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (16 pts), match/switch 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":"HermesMobile/Features/Chat/ChatComposerView.swift"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dac1ec1b19e30afa98f3747bdb0083ec725c0e86e7de72a1c04f5dda096958"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.loadOlderMessages (cognitive 18): ChatViewModel.loadOlderMessages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":2415}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ba8b320f656f2420cb934d8156920c47cfabb0db88d4f5b0bdf981712e1f9c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.retryLastTurnFromSlashCommand (cognitive 18): ChatViewModel.retryLastTurnFromSlashCommand has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":5670}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ad39ae2d3b08accd7080b641095fa64191178ce47b99533bf4894f9a4f4d41"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.regenerateAssistantResponse (cognitive 18): ChatViewModel.regenerateAssistantResponse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 2 (5 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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":6225}}}],"partialFingerprints":{"codehealthFindingId/v1":"4002e1029bc532730588642c1ec886aaa1b86fb316d495189c5814155c68f91c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.toggleListening (cognitive 18): ChatViewModel.toggleListening has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":6642}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a856f3bbf74239751fd207af62008d8c627365af9be433f127d1471df8da17"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineMathTextRequest.parsed (cognitive 18): InlineMathTextRequest.parsed has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (7 pts), loops 1, 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":"HermesMobile/Features/Chat/DisplayMathView.swift"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f923692d982fd2c1cfafab8bcd5506e35745de05aae7d342637e0ea63f597b"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatTurnCoordinator.applyInfo (cognitive 18): HermesChatTurnCoordinator.applyInfo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2d193c79d360748f22b8ee7ac4fa2a24bd3c9b8148dbe4b5da01cf92d295d8"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanCardDetailState.submitComment (cognitive 18): KanbanCardDetailState.submitComment has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, 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":"HermesMobile/Features/Kanban/KanbanCardDetailState.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf7876118a7f3b6a1824e8e407b4cadc831a8d21a6154278a4fc9b901ce6297"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanCardEditorState.validate (cognitive 18): KanbanCardEditorState.validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6 (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":"HermesMobile/Features/Kanban/KanbanCardEditorState.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"0525a78364cc680e94e23bd23880cf164784b7f3e912c85596e52e8df23af8b6"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanFeatureState.bulkActionsAvailability (cognitive 18): KanbanFeatureState.bulkActionsAvailability has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7896cb20766ed87e6232bd7fd3b531b56c346b3254d216ff3e868b5a47fb22"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanFeatureState.performDispatch (cognitive 18): KanbanFeatureState.performDispatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1, 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"89de123f59b9da19ac91e0c9fdad0d4c86dc2e2e8dbbbbe82f032f4df28e252b"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanFeatureState.pollEvents (cognitive 18): KanbanFeatureState.pollEvents has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2773}}}],"partialFingerprints":{"codehealthFindingId/v1":"428c9cb80a5ad10bfe062eb1936d9d0ba03fc8a7e7334bab4d2fd227cb3d0443"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveToHermesModel.scan (cognitive 18): MoveToHermesModel.scan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 2, match/switch 1 (2 pts), loops 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":"HermesMobile/Features/MoveToHermes/MoveToHermesModel.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5a9f2484be87b2ee2aa51098eee415ceac5b662e10cff73176bac803ef4bf1"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveToHermesRunner.reconcile (cognitive 18): MoveToHermesRunner.reconcile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, loops 2 (3 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/MoveToHermes/MoveToHermesRunner.swift"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7151e286b4f79e969635d17cc77eac6c01c9f2c2f95bfca57ac337a8099138a"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.loadMoreHermesScheduledSessions (cognitive 18): SessionListViewModel.loadMoreHermesScheduledSessions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c025f111e31fc765f636b92edc0634d5017f56d2e22f91760045b0f4b405ee"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.readHermesPages (cognitive 18): SessionListViewModel.readHermesPages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, loops 2 (3 pts), 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":2018}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fd4cf0fa6431e1fb3c05f69ab4e0be62e2fae2fa85ce0c11de0601583d2d4d"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionRowView.supplementalArea (cognitive 18): SessionRowView.supplementalArea has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 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":"HermesMobile/Features/SessionList/SessionRowView.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"8632ad4208eca4d93a1ce4597d453f99c8d3e5b1dadeae42ff6937cdddefaa5f"}},{"ruleId":"D2","level":"warning","message":{"text":"FileBrowserViewModel.loadRoot (cognitive 18): FileBrowserViewModel.loadRoot has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 1 (3 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":"HermesMobile/Features/Workspace/FileBrowserViewModel.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"da237b71eaa6a5e8b2009a9bbc44ee7e0ba56e6ca94af55d24b2bd050ba37cce"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanWebSocketEventClient.open (cognitive 18): KanbanWebSocketEventClient.open has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (3 pts), loops 2 (3 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":"HermesMobile/Networking/Hermes/HermesKanbanClient.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"153329eeeb948bc9a76b67cd1c9e9d4b1cdb43b927b83a91e61857b5ae0f86d9"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLockSceneDelegate.update (cognitive 17): AppLockSceneDelegate.update has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Auth/AppLockWindow.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3041d88c4bd60ada988135ccbf3b5d9ec42437991925a9324485518d72701dda"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRunActivitySanitizer.toolKind (cognitive 17): AgentRunActivitySanitizer.toolKind has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 14, 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":"HermesMobile/LiveActivities/AgentRunActivityAttributes.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a00f71b607340e1c619bedec7eb9d348e9ccf4e2de701e974fd6d695b637483"}},{"ruleId":"D2","level":"warning","message":{"text":"APIError.errorDescription (cognitive 17): APIError.errorDescription has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (3 pts) (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":"HermesMobile/Networking/APIError.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a161848929e66e04baea49ca8704382ad4c10ae6b334b293f914e28181f1dd55"}},{"ruleId":"D2","level":"warning","message":{"text":"BotWidgetPublisher.renderAvatars (cognitive 17): BotWidgetPublisher.renderAvatars has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, loops 3 (4 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":"HermesMobile/Widgets/BotWidgetPublisher.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e72becda1d422ea89332e1c131595f6abe3cea5104f8f45e45bf5e9ffe1d40a"}},{"ruleId":"D2","level":"warning","message":{"text":"BotsInboxView.attachPresentations (cognitive 17): BotsInboxView.attachPresentations has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 2, 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":"HermesMobile/Features/Bots/BotsInboxView.swift"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"074caf08cd1c8a0a92e72dd3b147ea831806765eea95956cba3b3fdab4f008c1"}},{"ruleId":"D2","level":"warning","message":{"text":"Coordinator.syncFocus (cognitive 17): Coordinator.syncFocus has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 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":"HermesMobile/Features/Chat/ChatComposerTextInputView.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88a8cb1d3c86ac45ca37b6fda20b679e9ceb19941709d472972742cfa2d18af"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatView.chatLifecycle (cognitive 17): ChatView.chatLifecycle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e02df813f845f6b5cbffeba3f65bf807487eac667ffd7124e589d3a5c5290ad"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatView.hydrateDraftIfNeeded (cognitive 17): ChatView.hydrateDraftIfNeeded has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79d3eb46c3acb00894cbffbe3d02e5930de2bedf04bec0a925b73213a874725"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatView.restoreDraftAttachments (cognitive 17): ChatView.restoreDraftAttachments has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 1 (3 pts), error handling 1 (2 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":3518}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5216a50b3eabd3749d5f61ef430ae0835d1f0bbebdb04265cfca724101ce00"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.switchProfile (cognitive 17): ChatViewModel.switchProfile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, 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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ac05c350b905f75af2faa4927b57b6759ad4b6c1a9ebd2e309f4a7810cded7"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.steerResponseFromSlashCommand (cognitive 17): ChatViewModel.steerResponseFromSlashCommand has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (2 pts), ternaries 1 (2 pts), 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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":4261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1910e265e4498e08fe7493b58345e78813c7a77f28034c166620c1105ebad543"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatRequests.setApprovalMode (cognitive 17): HermesChatRequests.setApprovalMode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 7, 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":"HermesMobile/Features/Chat/HermesChatRequests.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b571efc7e8813db919eee0e0c79018d015e2d51a421c08ed8fcbc82a562a33a"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingMarkdownBlockSplitter.split (cognitive 17): StreamingMarkdownBlockSplitter.split has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, ternaries 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":"HermesMobile/Features/Chat/StreamingMarkdownSupport.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ba5b7537f6fab58141d2b31cb8113ec36489265a4af102c7690b92a64f11f9"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesConversation.identify (cognitive 17): HermesConversation.identify has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, match/switch 1 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Hermes/HermesConversation.swift"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"a175fa8af335cee43fff141b8d8cf518b1f4258a0c6d6bbd727f9c3ea0a54b9c"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanFeatureState.mutatePrerequisite (cognitive 17): KanbanFeatureState.mutatePrerequisite has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, ternaries 2 (3 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d432d20678e98132337fb794120673dbeede5e7c329508f3c622b92f6c0de0"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingViewModel.connect (cognitive 17): OnboardingViewModel.connect has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, match/switch 2 (3 pts) (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":"HermesMobile/Features/Onboarding/OnboardingViewModel.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e019bc5e99517a3b5fc0ebf072ab4f7996d179927446d768afc5b963673d43"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenView.toolbar (cognitive 17): ScreenView.toolbar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 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":"HermesMobile/Features/Screen/ScreenView.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50b6b32ed5d2f9b27f5f2b8457bb857dab36714e0f76246312cd6a106957e2b"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesSessionListView.regularWidthDetail (cognitive 17): HermesSessionListView.regularWidthDetail has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4 (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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3978424eb89a1ce509f65135588bff5eded4470ba5dae3bc23b00b975af759a"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionProjectMoveMenu.body (cognitive 17): SessionProjectMoveMenu.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 3 (6 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":"HermesMobile/Features/SessionList/SessionListComponents.swift"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c1310c09ffa536ed13046705b4e53314de2c551b1e2693b9cadedd970349fc"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.refreshAttentionStates (cognitive 17): SessionListViewModel.refreshAttentionStates has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (4 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49cf243c0e53bd4fe80cf48efdc3a070653940b97adfa04c8c6ca7a18c1ed3f"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchivedSessionsViewModel.loadMore (cognitive 17): ArchivedSessionsViewModel.loadMore has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (7 pts), loops 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Settings/ArchivedSessionsViewModel.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6699efde7e6ca8794ba120e646de93d3e71e0c20723b8eeb03cf59338f444a61"}},{"ruleId":"D2","level":"warning","message":{"text":"WebuiServerSettingsModel.waitForServerToReturn (cognitive 17): WebuiServerSettingsModel.waitForServerToReturn has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 1 (3 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":"HermesMobile/Features/Settings/WebuiServerSettingsModel.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba17171324d0e036e0a76335ef2a8c781091ed4dd89a029b8522833d35b89ac7"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffHunk.parse (cognitive 17): DiffHunk.parse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (2 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Workspace/GitDiffView.swift"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b77635c868c512c2bd214cf9b893bf9acf92976f83ae02712861931c559dcb"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesPluginStakes.warning (cognitive 17): HermesPluginStakes.warning has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (5 pts), boolean chains 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":"HermesMobile/Networking/Hermes/HermesPluginsClient.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"860f08c1b1fec441a36a3f5b25542b0d9a083760d97ba25ea0a1d78c1ef54738"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesProjectTree.init (cognitive 17): HermesProjectTree.init has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (6 pts), if/else 3 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Hermes/HermesProjects.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e91eb12451b079e611eebd6d9d1230e08382b9443703a10dd770a8374c9675"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceHighlighter.runsByLine (cognitive 17): SourceHighlighter.runsByLine has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (5 pts), boolean chains 2, 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":"HermesMobile/Features/Workspace/SourceViewer/SourceHighlighter.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bf616b58881cbd4e6298c0046876877971cf9ed2e6f25fb017ff45407976d3"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageAttachment.hermesReferences (cognitive 16): MessageAttachment.hermesReferences has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), loops 2 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Models/MessageAttachment.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc862b47f129ec4c071b79c58f88b88f263d15792efacb49044e3e42e7fbd71"}},{"ruleId":"D2","level":"warning","message":{"text":"CachedMessage.matches (cognitive 16): CachedMessage.matches has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 16. 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":"HermesMobile/Persistence/CachedMessage.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"670619efce088d782cd60f0a8eae0addd34c5676802b8870e50b7de13d540717"}},{"ruleId":"D2","level":"warning","message":{"text":"BotHistoryCache.search (cognitive 16): BotHistoryCache.search has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (6 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":"HermesMobile/Features/Bots/BotHistoryCache.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5062c87c781140550218e6d4c703d1f6677c3a4516c9a95c80aa6079d81ed1"}},{"ruleId":"D2","level":"warning","message":{"text":"BotInbox.configure (cognitive 16): BotInbox.configure has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (5 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotInbox.swift"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf2523e202d482bfc4d15054dadbb5c1b9c72033d095370c0e65834cc1d4955"}},{"ruleId":"D2","level":"warning","message":{"text":"BotRoomList.read (cognitive 16): BotRoomList.read has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotRoomCreator.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bc96256c6b36e575cb3d277fe5ae5331a0e0574427e2196fdcb67736e1eb2c"}},{"ruleId":"D2","level":"warning","message":{"text":"HermexPushProvisioner.disable (cognitive 16): HermexPushProvisioner.disable has cognitive complexity 16 (threshold 15). Drivers by points: error handling 3 (7 pts), if/else 3 (7 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/HermexPushProvisioner.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"8933e7ecc6621eb62ed19d54e3eda337f3e9bd209a0a761f7b6037f7bce9e052"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageComposerView.composerStatus (cognitive 16): MessageComposerView.composerStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 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":"HermesMobile/Features/Chat/ChatComposerView.swift"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"7672812d294dd97fd0f4fe0937a0abecb8418e66c42a23cda172d3cd3b273988"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatStreamCoordinator.recoverStaleStreamIfNeeded (cognitive 16): ChatStreamCoordinator.recoverStaleStreamIfNeeded has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"626d97930d76da23ce39f9bd2f3c76bfb67261a4da055e000968ba2e849558e7"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerChipTextView.canPerformAction (cognitive 16): ComposerChipTextView.canPerformAction has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, 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":"HermesMobile/Features/Chat/ComposerChipTextView.swift"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"b576917a62b1235dd3958a1edd51c2ae2e9032bf80ff755cf90a0c42f79c0527"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerVoiceInputController.fallbackFromServerFailure (cognitive 16): ComposerVoiceInputController.fallbackFromServerFailure has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, 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":"HermesMobile/Features/Chat/ComposerVoiceInputController.swift"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3464ade0089d4f938a0ed0ed700ebb5506c4b3f0f43615f19212f8f3877138"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatTurnCoordinator.undo (cognitive 16): HermesChatTurnCoordinator.undo 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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f22c74593cbf9e8fe7b34be5c8a33d2ba6283513288a7faf45adf19c8f8165f"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesChatTurnCoordinator.complete (cognitive 16): HermesChatTurnCoordinator.complete 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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"426452b4aa81062988f6bade47d182762e971f0c2548a169b094f4271673f961"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesSlashReply.init (cognitive 16): HermesSlashReply.init has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (4 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/HermesSlashCommands.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"456c9dd9d5143fe25897b8046ab939dc4a785f67540fdd933bdbe675ec8f3880"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseSelectionRenderer.draw (cognitive 16): ResponseSelectionRenderer.draw has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 7). Of this number, 12 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":"HermesMobile/Features/Chat/ResponseTextSelection.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"826596337620e43038e9fd150ae40ff906953fd05562e28b3cc22dcb310ea331"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesConversation.scheduleReconnect (cognitive 16): HermesConversation.scheduleReconnect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 6, error handling 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":"HermesMobile/Features/Hermes/HermesConversation.swift"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"3120d290ec35229779d3349fddafe7f2001fb79518fc7a43258d759472afede9"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanCardDetailState.checkPendingCommentOutcome (cognitive 16): KanbanCardDetailState.checkPendingCommentOutcome has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, 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":"HermesMobile/Features/Kanban/KanbanCardDetailState.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2283b3ea7b41fb27ccdfd75abe1da11beac2d208f805a21a583691cd586a8ba1"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanFeatureState.undoArchive (cognitive 16): KanbanFeatureState.undoArchive has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ad7641f14e278c9c74e3182454c7afd657cee34cefba5f154f6b312042eede"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanFeatureState.handleStreamFrame (cognitive 16): KanbanFeatureState.handleStreamFrame has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2617}}}],"partialFingerprints":{"codehealthFindingId/v1":"c572607db49c34075c204a84eda9557a7f6c13188e21c2fdf8a487f77ccc1edf"}},{"ruleId":"D2","level":"warning","message":{"text":"WebuiSessionTransfer.importMessage (cognitive 16): WebuiSessionTransfer.importMessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/MoveToHermes/WebuiSessionTransfer.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0496c59cae3961c392b2ec720408b893802ba0086c73c88e86a0d19fc8d33a"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesSessionListView.sessionRows (cognitive 16): HermesSessionListView.sessionRows has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, ternaries 4 (6 pts), boolean chains 4 (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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca36c7af0134a6db787b5d39ca4c1c8567efadbd5a1862573f67e78c4c84a4cd"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesSessionListView.openPendingLink (cognitive 16): HermesSessionListView.openPendingLink has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, error handling 1, 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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb268eebec69659c03aa35f3947ae30bba47cfeaaf5c7083ceda21c77151d3d1"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.rename (cognitive 16): SessionListViewModel.rename has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ba9e33f727da5bb1f40fd2c5e00a24dba4eb9c41cc2a44250f33cac134e442"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.duplicate (cognitive 16): SessionListViewModel.duplicate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (5 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0fd38a4212538031e3a209f954deb16f7934f00ab7b33b3fccb0eec9e227f7"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionListViewModel.changeHermesSession (cognitive 16): SessionListViewModel.changeHermesSession has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, ternaries 2 (4 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":2562}}}],"partialFingerprints":{"codehealthFindingId/v1":"413a81f8adb27c6642e0ad0919952ed652b7050c3989866fa8a5cd6d13078011"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultProfilePickerView.profileRow (cognitive 16): DefaultProfilePickerView.profileRow has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 6, boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Settings/DefaultProfilePickerView.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01ffd7eff1ac5699624f22ad98d082f28f47393b45507ca7cca63f9625f99ad"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsModel.install (cognitive 16): PluginsModel.install has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (5 pts), error handling 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":"HermesMobile/Features/Settings/PluginsModel.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71c6456ce9995431ba7981121da834da25c6a62ab8f9603b476cb64741a5747"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsModel.apply (cognitive 16): PluginsModel.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), 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":"HermesMobile/Features/Settings/PluginsModel.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfbbabf00bd35faf50ce9f4ca306884051bb577a12412b25294f5da4d8449ba"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsModel.read (cognitive 16): PluginsModel.read has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, 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":"HermesMobile/Features/Settings/PluginsModel.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"05416abb3a6a04601da8ab6865cd8feb9fd79f286512468f4dee3f94b9aa4c56"}},{"ruleId":"D2","level":"warning","message":{"text":"CronJobEditorSheet.body (cognitive 16): CronJobEditorSheet.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 2, 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":"HermesMobile/Features/Tasks/CronJobEditorSheet.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b4fd63a068ef36dce98d4184e213260d45b537d292661663e9eab19fd31b7d"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesGateway.open (cognitive 16): HermesGateway.open has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 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":"HermesMobile/Networking/Hermes/HermesGateway.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"964185f74e7dc60ad24a0b35ae55d75fd5b7d4a5f15406b3ac01fc1982f1ab79"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesGitClient.checkout (cognitive 16): HermesGitClient.checkout has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, ternaries 2 (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":"HermesMobile/Networking/Hermes/HermesGitClient.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb5480b9e75a0267564385a725828debdc600ff2cc0a53458c16c9775dc9a00"}},{"ruleId":"D2","level":"warning","message":{"text":"check_string_catalog.extracted_keys (cognitive 16): check_string_catalog.extracted_keys has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 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":"ci/check_string_catalog.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5f19ab498192e9fa29343796e4bc05790c54b75274083ba4fb62b6f0c06f79"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatViewModel: TooManyMethods \u2014 394 methods. The bar is 30 methods; this is 364 over it, 13.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60eb341d08d2577566c2e34dd30bdc5b77f0dd4206e214607e20dc8e43e408d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatViewModel: ClassTooLong \u2014 4951 significant lines (blank, comment-only and punctuation-only lines excluded), 394 methods. The bar is 400 significant lines; this is 4551 over it, 12.38\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b497b3b0725e900be3a7e4eae6eb4004d814f7adfc02ebb22758e4dc65680ccf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chat/ChatViewModel.swift: FileTooLong \u2014 6096 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: ChatViewModel (277-8181). The bar is 500 significant lines; this is 5596 over it, 12.19\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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfe82c02b4fc91d3638760079a4cf4eb51a83e09182e06fd8ed386de2b1625c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatView: ClassTooLong \u2014 2714 significant lines (blank, comment-only and punctuation-only lines excluded), 121 methods. The bar is 400 significant lines; this is 2314 over it, 6.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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"905c4d0912048039c094d52eed890db6876eedebeacb8efefb9dee88d675a2fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chat/ChatView.swift: FileTooLong \u2014 3111 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: ChatView (288-4567). The bar is 500 significant lines; this is 2611 over it, 6.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c2ca6107a534c61ae98a1ece23747cffdfcf812b0d804f02ba3c1bb1e3f71f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: APIClient: TooManyMethods \u2014 173 methods, declared across 17 files: Networking/APIClient\u002BKanban.swift (26), Networking/APIClient\u002BCron.swift (24), Networking/APIClient\u002BSessions.swift (22), Networking/APIClient\u002BServerPanels.swift (20), \u002B13 more file(s). The bar is 30 methods; this is 143 over it, 5.77\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":"HermesMobile/Networking/APIClient.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d30e91d2952a4615fe52d51b5e460beff3a706cee4e90cb5669191bf502e3c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KanbanFeatureState: ClassTooLong \u2014 1993 significant lines (blank, comment-only and punctuation-only lines excluded), 133 methods. The bar is 400 significant lines; this is 1593 over it, 4.98\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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd64551518d370b8accb348b2d192a75e4b534b7f1a90ab3c4f91ce6f99b884"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SessionListViewModel: ClassTooLong \u2014 1816 significant lines (blank, comment-only and punctuation-only lines excluded), 133 methods. The bar is 400 significant lines; this is 1416 over it, 4.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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"39725344d7f2dadead871cd8b2e5ee63aeaea9b716de1262485726901c3444af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Kanban/KanbanFeatureState.swift: FileTooLong \u2014 2234 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: KanbanFeatureState (355-3040). The bar is 500 significant lines; this is 1734 over it, 4.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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ab911658aff168c3e039af5fc26d11ce41d2b987459b585c9a3282fcb07cfe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KanbanFeatureState: TooManyMethods \u2014 133 methods. The bar is 30 methods; this is 103 over it, 4.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f74d8b8f8b924170cba26217f36e80a50a88bdc205a259096ac9a4f937e3a3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionListViewModel: TooManyMethods \u2014 133 methods. The bar is 30 methods; this is 103 over it, 4.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ceb74291012dc3e80c37f4fea976cab510b251b8823c8df92ecb45acc13ea0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatView: TooManyMethods \u2014 121 methods. The bar is 30 methods; this is 91 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"de679d3d0cd164704d43cd85b35e64b26dae623599a992c284dd0842a61cfed6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SessionList/SessionListViewModel.swift: FileTooLong \u2014 1868 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: SessionListViewModel (81-2916). The bar is 500 significant lines; this is 1368 over it, 3.74\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52061f08366431ad62d00f3a444520c9546b5d527048411fdfbea97f23fac3b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Kanban/KanbanLabView.swift: FileTooLong \u2014 1811 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1311 over it, 3.62\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":"HermesMobile/Features/Kanban/KanbanLabView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3822d9fea29ab874eda8b90abf0477cda01ddcd9193c311c823338554c8d9c5f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HermesChatTurnCoordinator: TooManyMethods \u2014 103 methods. The bar is 30 methods; this is 73 over it, 3.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc56949ed7a4b2ce9f6bd74f4e3db8ceb9bc52c6e656da567497b808e4d089b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SessionList/SessionListComponents.swift: FileTooLong \u2014 1486 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 986 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":"HermesMobile/Features/SessionList/SessionListComponents.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86164bb862c6ca6203dbaed5048f847985c821cbd1d723feda63280852083d8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SessionList/SessionListView.swift: FileTooLong \u2014 1421 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: SessionListView (90-1632). The bar is 500 significant lines; this is 921 over it, 2.84\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":"HermesMobile/Features/SessionList/SessionListView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1d2face0821a76e1b095db370706bb2a6589cbe5a5d74012518ccd9d7e91e7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageComposerView: ClassTooLong \u2014 1119 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 719 over it, 2.80\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":"HermesMobile/Features/Chat/ChatComposerView.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1928c0b76b09971894192f7c50faec219020326dce411576e0f1d0d5417362c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chat/HermesChatTurnCoordinator.swift: FileTooLong \u2014 1302 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 802 over it, 2.60\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e73a3220f017b0e0f5221d9681067981d971bf03daf4859273236ad64d5671d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Endpoint.path: MethodTooLong \u2014 path runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Endpoints.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"073bcfffac36514ae7a8a41affd7a4af7c9acd1df2e9821eea4e284e8e8f831a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SessionListView: ClassTooLong \u2014 1017 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 617 over it, 2.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":"HermesMobile/Features/SessionList/SessionListView.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71eb9cf811f66320364960908354df7d735fb9f85191a96d163254cb1388cdd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KanbanStatusFocusView: ClassTooLong \u2014 1013 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 613 over it, 2.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Kanban/KanbanLabView.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec369b5856b9a74c801c91ce3d6ea1fc82ed0b75b06b2be5a989db0752b5910"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chat/ChatComposerView.swift: FileTooLong \u2014 1219 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: MessageComposerView (152-1960). The bar is 500 significant lines; this is 719 over it, 2.44\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":"HermesMobile/Features/Chat/ChatComposerView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"744703af98b1588629d1dda9c2a4f2bb9df53d3edd5d5d15f204f11918a0d325"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HermesCall.params: MethodTooLong \u2014 params runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Hermes/HermesCall.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8ab34b89587253beb1e9e4042981e542857e080011a0ce28bd377868125332"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReviewDiffCanvasView: TooManyMethods \u2014 66 methods, declared across 3 files: ReviewDiff/ReviewDiffCanvasView.swift (31), ReviewDiff/ReviewDiffCanvasView\u002BDrawing.swift (26), ReviewDiff/ReviewDiffCanvasView\u002BAccessibility.swift (9). The bar is 30 methods; this is 36 over it, 2.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":"HermesMobile/Features/Workspace/ReviewDiff/ReviewDiffCanvasView.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6233db834c9fe8eaea2cd24be1642c8ce71d8973b90446609183086244f3fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chat/ComposerVoiceInputController.swift: FileTooLong \u2014 1028 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: ComposerVoiceInputController (16-1006). The bar is 500 significant lines; this is 528 over it, 2.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ComposerVoiceInputController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63969dc8b210b514523a70e0690c3ebf2f904708ddf332229f9deebb938f65ff"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BotInbox: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.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":"HermesMobile/Features/Bots/BotInbox.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf1851fb5787f2b40b54e69efc7d9ee9682f0281d142b9d3aa254b0143c1ae9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chat/MarkdownRenderer.swift: FileTooLong \u2014 1015 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 515 over it, 2.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/MarkdownRenderer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"928146d0f08408f6b9adfdda3ca361c3d8e50f83815efeb53cb2d52b67d5a5c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SessionList/HermesSessionListView.swift: FileTooLong \u2014 998 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: HermesSessionListView (35-1092). The bar is 500 significant lines; this is 498 over it, 2.00\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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0f0389e4d32f0268808d3d13e9f24cdd2e44d3257515531968642c6479c575"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatStreamCoordinator: ClassTooLong \u2014 776 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods. The bar is 400 significant lines; this is 376 over it, 1.94\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":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d16e16a8048008fc3d9e75b5bc82e0382a3610ef7d939efad10413e22a98a94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chat/ChatTranscriptSupportingViews.swift: FileTooLong \u2014 938 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 438 over it, 1.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1651b688c768e2033704fbe6528235b91c9e32786a926d67e66f0e99f11a7406"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Persistence/ChatDraftStore.swift: FileTooLong \u2014 915 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 415 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":"HermesMobile/Persistence/ChatDraftStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cb02ff97597b71ff15930495b3fcd69e694dfb5f756946e0563845debb499b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Models/Kanban.swift: FileTooLong \u2014 912 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 412 over it, 1.82\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":"HermesMobile/Models/Kanban.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8008ef413cec3d700444a3f8f427c521ed096e2c484c93e7f11d497c9d8689d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SessionListView.body: MethodTooLong \u2014 body runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/SessionList/SessionListView.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9871e934d54356007524fbd97b39c3dadadacd148cef250b722a70d768152c23"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MessageComposerView.composerWithLifecycle: MethodTooLong \u2014 composerWithLifecycle runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatComposerView.swift"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee2deac983d3c6bc211e05f551206141e6c9ac5f4e0a080161ae8f7cc674b5a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatView.messageComposer: MethodTooLong \u2014 messageComposer runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"a494b293046b078e99e1883eae2e3694957dc04ed62f5cf9f88866fe61188ec8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chat/ChatTranscriptView.swift: FileTooLong \u2014 891 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 391 over it, 1.78\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":"HermesMobile/Features/Chat/ChatTranscriptView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a4790df77256af7dcd40947ff50d910d0aa828caeab43910a8d2d1fb829318"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HermesSessionListView: ClassTooLong \u2014 706 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 306 over it, 1.77\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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bde1be0d189bc10366aa3f8b4753cd2ef56813575f836a2f755dd9eceee6e07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: LiveActivities/AgentLiveActivityManager.swift: FileTooLong \u2014 881 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: AgentLiveActivityManager (182-1159). The bar is 500 significant lines; this is 381 over it, 1.76\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":"HermesMobile/LiveActivities/AgentLiveActivityManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c23bdea8238ae7cbf04d0d0b57f80a7294367d4ed3864abfec6ae7392523f0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chat/ChatStreamCoordinator.swift: FileTooLong \u2014 880 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: ChatStreamCoordinator (148-1336). The bar is 500 significant lines; this is 380 over it, 1.76\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":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4370c155f707836419295f2bf64d2b9646ac88c916a88a146a11f8c7963e484d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ComposerVoiceInputController: ClassTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 296 over it, 1.74\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":"HermesMobile/Features/Chat/ComposerVoiceInputController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bd0d9933be9297ace293c624c3ec72646c9a5240a5f1890765ec5463096381"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionListView: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/SessionList/SessionListView.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6708c0160b4e8e705f5f553298a3f35bed0851e15d82d4d4fe59246d4f62c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatViewModel.loadMessages: MethodTooLong \u2014 loadMessages runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e04ad5c285cb61bea0d0df4953a885fe28fd0e7f7749673f11a78404404f7d6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScreenSession: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\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":"HermesMobile/Features/Screen/ScreenSession.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6596bac74b6a3bc8b11ce0eca366b823ed2a81ec8e6568f4af05fb04f22ced6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HermesCall: ClassTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 256 over it, 1.64\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":"HermesMobile/Networking/Hermes/HermesCall.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7ce6116b088558e74f727cbe5ee13a88cc3f24ca55ed8cff70e43c9174a7b4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatStreamCoordinator: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 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":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef9b3de68a42443b17b34f650dc6780d23ef24aec1dc987bf6b274407dab1ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MoveToHermes/MoveToHermesView.swift: FileTooLong \u2014 815 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 315 over it, 1.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/MoveToHermes/MoveToHermesView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcadb0fe604fb2658ac6a01830fab94ae658721437119b4098b0e20d1df0ce5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentLiveActivityManager: ClassTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 242 over it, 1.61\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/LiveActivities/AgentLiveActivityManager.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f3456a5b4dd2f9eef838da91e161e81345778718899a36df6491b54acf3dcd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HermesGitClient: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"HermesMobile/Networking/Hermes/HermesGitClient.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1431bd9fceda10d55d353d97807c1fcd0479ecd87914ecb29b6b3996bdf7242"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: View: TooManyMethods \u2014 46 methods, declared across 24 files: Shared/AdaptiveGlassModifier.swift (7), SessionList/SessionListComponents.swift (5), Chat/PendingRequestSurfaces.swift (4), Chat/ChatScrollPolicy.swift (3), \u002B20 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":"HermesLiveActivityWidget/AgentRunLiveActivityWidget.swift"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"6963d48f775110b516d10868bc4a76c8c4f5e11e15054c74d925d431d9e5cd9e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AuthManager: TooManyMethods \u2014 45 methods, declared across 2 files: Auth/AuthManager.swift (37), Auth/AuthManager\u002BMoveToHermes.swift (8). The bar is 30 methods; this is 15 over it, 1.50\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":"HermesMobile/Auth/AuthManager.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ca1e76f2189639d5510187e9b6ac8fff6281bda0fefb489a91d37c357a3f7e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentLiveActivityManager: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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":"HermesMobile/LiveActivities/AgentLiveActivityManager.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc170608120a9fbbff4142a243e0011da791e313f90f8b8bc356a4b220ae4e03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chat/CustomAttachmentPicker.swift: FileTooLong \u2014 742 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 242 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/CustomAttachmentPicker.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af85552f5566088416c0bcdfe88a1040c49baa04891187c6bd0c083579bf3ba1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Models/Session.swift: FileTooLong \u2014 738 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 238 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Models/Session.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fcce699d27df6ba2cde3cd9c29b60a77473820607d3b9a9a77e551abfbc9d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Screen/ScreenSession.swift: FileTooLong \u2014 737 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 237 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Screen/ScreenSession.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbda44a8ce7a3360f2eed5526017ce34a752bbcd5a70c597b3e198ff729cd7b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Endpoint: ClassTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 185 over it, 1.46\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Endpoints.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4982924b6633b36712271c36cbb3d02321ccfef5327cd63d6ab3670bdfb388"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Endpoint.queryItems: MethodTooLong \u2014 queryItems runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Endpoints.swift"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5f1044e19ad2a55e94dd15e1e9daa106a2798b96dea4df7c476527c277bd5f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatDraftStore: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Persistence/ChatDraftStore.swift"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"2518777d006ac039f1e4216601fa51b3d2961aef9c2612a1ec57d487e7b22840"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chat/TranscriptMediaView.swift: FileTooLong \u2014 716 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 216 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/TranscriptMediaView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5a28895d21fb731fc650dbf9dc1006a7d3b93b882fdbae7b6abb32779aaacd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Hermes/HermesCall.swift: FileTooLong \u2014 708 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: HermesCall (17-1003). The bar is 500 significant lines; this is 208 over it, 1.42\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":"HermesMobile/Networking/Hermes/HermesCall.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a98eecae78a576264a1f37c4fc8b7470509a1904078bad3d05f69494e17431"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ComposerVoiceInputController: 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":"HermesMobile/Features/Chat/ComposerVoiceInputController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaf0432f1256a79986b6b62b01f090f014ab41437da6715e6f5ca799418ba61"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HermesChatRequests: 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":"HermesMobile/Features/Chat/HermesChatRequests.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa83fd2c066dd3ec2ee1ba64a369c150eeda25ad956f4e156ee5b2eae30cf34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: HermesMobile/ContentView.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":"HermesMobile/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d0e075867bca72e6f19d92473c240ee893fc46c5e7edff8dafe1603e79e024"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Bots/BotsInboxView.swift: FileTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 190 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotsInboxView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8746aff4ccc03276cdaadeb7aa1a913e68b9726ac0785a12b43f3649c1f2cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chat/MessageBubbleView.swift: FileTooLong \u2014 689 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: MessageBubbleView (3-687). The bar is 500 significant lines; this is 189 over it, 1.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/MessageBubbleView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f283d8b00663911a1bf1844ca978509cbe23883feb822877013f65936e0370a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatView.messageContent: MethodTooLong \u2014 messageContent runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":2421}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4674ff0bd36e580a777ee5ca1aa1c3174730393e854ca7b7c41c5ef47f09beb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatAttachmentCoordinator: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 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":"HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1558b2b2db53a305e7a45afea69972fd66f37a08ebf2257d059f50dc401abac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatTranscriptView.transcriptScrollContent: MethodTooLong \u2014 transcriptScrollContent 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":"HermesMobile/Features/Chat/ChatTranscriptView.swift"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"999de7201242243c51b6c2839fc1dcb7ef93fae6371aa150b33aad86a6e27f7c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MessageComposerView: 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":"HermesMobile/Features/Chat/ChatComposerView.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c6b236f721a83a61a4dada8a396b216231ef493cc6dfdcf83e1e8c8ea9acc3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HermesShareDraft: ClassTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 116 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Share/SharedDraftStore.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dd7f24f85087d393b23a6df9d0c742e411a61edc236a0ff8a8be8f2c06d9c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HermesSessionListView.body: MethodTooLong \u2014 body 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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"638c3d0a32906360fca7512a9f7dba5663f34607f196c17e6b51ca39c0384c26"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BotRoomView.body: MethodTooLong \u2014 body 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":"HermesMobile/Features/Bots/BotRoomView.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2d143cfbca9fb146172fbae904bee9349013cdd60d181c89890263dcea6674"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Config/AppTheme.swift: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 134 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Config/AppTheme.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a51a99615351ad315da515836b25acd7156fb7849adb59903dd81034fcb2088"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Workspace/GitWorkspaceViewModel.swift: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 134 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Workspace/GitWorkspaceViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a70e6988660e3baba6aebc3c9bcf4c7412d91a3bf284a662a9fb138139a77de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ComposerChipTextView: 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":"HermesMobile/Features/Chat/ComposerChipTextView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bedae563e69b027f075e82584ef50c990f725fb7e3344deeb484e0a422edab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HermesConnection: 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":"HermesMobile/Networking/Hermes/HermesConnection.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81fc23900ac5f7e2783c25c1761713fe01b47b1df0610737090421b7b9adc8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Share/SharedDraftStore.swift: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: HermesShareDraft (198-942). 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":"HermesMobile/Features/Share/SharedDraftStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10c11f090cb0df120fbea7c6c54e1b6a0da9800db92aa1167acec1736938acb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Hermes/HermesREST.swift: FileTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 127 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Hermes/HermesREST.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49ad1d6dc79ae38882b817584b31fa13ad7ea14ce16fa05d1d025db0b7e5d3d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelPickerSheet: ClassTooLong \u2014 491 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 91 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":"HermesMobile/Features/Shared/ModelPickerSheet.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee93bd0f8eb9f63ab269728b04b582875428844d943ee5c65d541fd989abbc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Bots/BotInbox.swift: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 113 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":"HermesMobile/Features/Bots/BotInbox.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b3ef02ab2217da19f1d647f5622b009b7c82ba0a9d139c054ed389a341a33a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ComposerChipTextView: ClassTooLong \u2014 486 significant lines (blank, comment-only and punctuation-only lines excluded), 38 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":"HermesMobile/Features/Chat/ComposerChipTextView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f8b2a796a401131c0e6ace85bbbadbd7418bc003a238287973e4c45333edc7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatDraftStore: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 43 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":"HermesMobile/Persistence/ChatDraftStore.swift"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d3f5e6dfdd769f46ddfbe3b7cb46e8bf821ae00b035d41093d59e77e10a47f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarkdownMathFormatter: TooManyMethods \u2014 36 methods, declared across 3 files: Chat/MarkdownMathFormatter\u002BSupport.swift (16), Chat/MarkdownMathFormatter.swift (14), Chat/MarkdownMathFormatter\u002BEnvironments.swift (6). 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":"HermesMobile/Features/Chat/MarkdownMathFormatter.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cb41815f30f77784714d901605db340fc938c17e490ba1adad0e83a9ad005d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CronJobEditorSheet.body: MethodTooLong \u2014 body 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":"HermesMobile/Features/Tasks/CronJobEditorSheet.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d012e33dbafac8cf538cf2acfe3ff6e9c31137fdb965ac0f92867680d0b94c9f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AuthManager: ClassTooLong \u2014 474 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 74 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":"HermesMobile/Auth/AuthManager.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8199c99dae810d5e0ca359930ad85e3f12def06618da8fa0d5dbb1b6616e33f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatView.chatContent: MethodTooLong \u2014 chatContent 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"599865465ac41c920658e58c1fcdf206b691edb518a9ef5da2cc5c00e5233e08"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatTranscriptView: ClassTooLong \u2014 471 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 71 over it, 1.18\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":"HermesMobile/Features/Chat/ChatTranscriptView.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"69eff4308ad786922141efbe8c0bfd0a9f798c930c1fe171b45808780b5300ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Networking/Endpoints.swift: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Endpoint (3-661). The bar is 500 significant lines; this is 86 over it, 1.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Endpoints.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ffcb181116db1b69a07279b84c2079dc8c45f2fada114be64b1db8c85f5657"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KanbanCardDetailContent: ClassTooLong \u2014 467 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 67 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Kanban/KanbanCardDetailView.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc412a88ea1785ae45627f875ff3178a68de02a389179110f7e6efbd5d844c0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BotRoomReader: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotRoomReader.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95f940a43e90580fbce5b0a907354fface14e052b332b46379149a0dd6c628b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Models/ServerCatalog.swift: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 76 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":"HermesMobile/Models/ServerCatalog.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09548505fa91dc71710b457267edbe6902425e9ae6868781e0f49cb1517742b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KanbanStatusFocusView.body: MethodTooLong \u2014 body 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":"HermesMobile/Features/Kanban/KanbanLabView.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"257a7fd0dd61c58bfdf4436dc09e037a70be1b5131d1fa5601107b4475352e7f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatAttachmentCoordinator: ClassTooLong \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 57 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":"HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2573e3fdef8b26d9133f21518e29340c6732e48ccb3b1f27d7a3de9fd19167"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Bots/BotConnectionView.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":"HermesMobile/Features/Bots/BotConnectionView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25557a51f277cf0f0a0c0dd6ae333eb59adad464d0417ea0f5ba8d10e2c63121"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HermesCall.admit: MethodTooLong \u2014 admit 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":"HermesMobile/Networking/Hermes/HermesCall.swift"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de5b8cdc969be677b30291515a4ab1b4940e036e3cb9dcbf594b130bdcc50f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BotProfileEditor: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotProfileEditor.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ad2ea3dc6c50aaf2556613062b467ce5b93136a51c3d3f23a348406f0f2a26"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ResponseSelectionInput: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ResponseSelectionInput.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3187d2d5841cd63ee132b84715238eaa0fccc9369742e632ba14af4c49fb7d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageBubbleView: ClassTooLong \u2014 439 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 39 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/MessageBubbleView.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd8bd690fdbaa5cee85f5d71246c9ba4d46ce6554c180aced0e445557ec275e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Models/ToolCall.swift: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: ToolCallGroup (119-711). 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":"HermesMobile/Models/ToolCall.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a063fedc994b8e5f70506e0a88d39204684c47d5b3cf5d906e948e9b4dc75f3d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BotConnectionView.body: MethodTooLong \u2014 body runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotConnectionView.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb9aca0509f803d0b1f789b3d23145b4d2c462e154a34ecd0892ec7b731fd38"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HermexPushProvisioner: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/HermexPushProvisioner.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"89120501ab15364bee7a2a47d104edcee933fe887581898677fabce7a4bb1335"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PluginsModel: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Settings/PluginsModel.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"31505b5a939896159ba5688295fe7e3379311ff20d8166ea1837286f1af67e11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Hermes/HermesConnection.swift: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Hermes/HermesConnection.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ddf4a7137021523ee2466bca6f737d31e4fab6dc8b6b48fd65c4f8099e4778"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MoveToHermesModel: 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":"HermesMobile/Features/MoveToHermes/MoveToHermesModel.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e808fe671f9edcd204b240f8d97637c6ea5ece12bab64e97ee383ca0e84c770c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Shared/ModelPickerSheet.swift: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ModelPickerSheet (10-787). The bar is 500 significant lines; this is 14 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":"HermesMobile/Features/Shared/ModelPickerSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0d7b89b33b923106f6f35d0bc18e248d3fd27c10065352da0b96bf80b0200c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatStreamCoordinator.performReconnectIfNeeded: MethodTooLong \u2014 performReconnectIfNeeded 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":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52db91ec45e79b8f6278d122423b122ad1126194572f43b8fb0311b3167eb4f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ToolCallGroup: ClassTooLong \u2014 406 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 6 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":"HermesMobile/Models/ToolCall.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce6528b9d3694d4ffe06bad9a96e0bd86f07ce78b257632537cf80cb66160ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Kanban/KanbanCardDetailView.swift: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: KanbanCardDetailContent (30-673). 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":"HermesMobile/Features/Kanban/KanbanCardDetailView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d307e223f289646fc8d4a503efad96d852b4b96f6227137e9b55525a7a2e8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MoveToHermes/MoveToHermesModel.swift: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4 over it, 1.01\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":"HermesMobile/Features/MoveToHermes/MoveToHermesModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a94091a3668f4474288807ebbff538450cddfb5ec42cd0b378bddad6842771"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): HermesMobile/Features/Settings/DefaultProfilePickerView.swift:167-226 | HermesMobile/Features/Shared/ModelPickerSheet.swift:170-197 | HermesMobile/Features/Shared/ModelPickerSheet.swift:465-524 | HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:260-286 | HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:324-373 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:159-184 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:262-301 \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":"HermesMobile/Features/Settings/DefaultProfilePickerView.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"79729d97c046fef2796c73c4afd14b5d77d2d2f27ff6fe528b57d900b820eca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): HermesMobile/Features/SessionList/SessionListViewModel.swift:1076-1094 | HermesMobile/Features/SessionList/SessionListViewModel.swift:1096-1113 | HermesMobile/Features/SessionList/SessionListViewModel.swift:1118-1135 | HermesMobile/Features/SessionList/SessionListViewModel.swift:1137-1154 \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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14b1813be49f242900dfd1f489d0d04a371a33a34c4a64d22f9e0ab220afcac"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): HermesMobile/Features/SessionList/SessionListViewModel.swift:2900-2914 | HermesMobile/Features/Settings/ArchivedSessionsViewModel.swift:388-402 | HermesMobile/Features/Settings/DefaultProfilePickerView.swift:292-306 | HermesMobile/Features/Workspace/FileBrowserViewModel.swift:362-376 \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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":2900}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd45535070c675966a50b54c63c5896f5bad4d2eea1710028a99c4f6085ffd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): HermesMobile/Features/Settings/APIKeysView.swift:54-102 | HermesMobile/Features/Settings/ConnectedAppsView.swift:44-74 | HermesMobile/Features/Settings/HermesDefaultModelView.swift:235-271 | HermesMobile/Features/Settings/PluginsView.swift:133-175 \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":"HermesMobile/Features/Settings/APIKeysView.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1594e642a0fed8bfb7929c19d21f4676a66d7d65382643ec80b13b1bc4dff11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (97 corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:6108-6223 | HermesMobile/Features/Chat/ChatViewModel.swift:6225-6321 \u2014 These two members are one piece of code written twice and then edited apart: 97 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":6108}}}],"partialFingerprints":{"codehealthFindingId/v1":"904ecf454deb2f01d65420f8e358176e2af0faa66db4627ff05c63d4fc2dc967"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (111 corresponding lines): HermesMobile/Features/Chat/TranscriptMediaView.swift:739-852 | HermesMobile/Features/Workspace/FilePreviewView.swift:65-175 \u2014 These two members are one piece of code written twice and then edited apart: 111 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/TranscriptMediaView.swift"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"57590e76d91575663a1170d54f8bbbb0c687cfcff13122cfa0fb60b8e4589ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): HermesMobile/Features/Bots/BotCreateView.swift:164-188 | HermesMobile/Features/Bots/BotProfileEditorView.swift:207-235 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotCreateView.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8b32028eb27f7787d54067b17ba1e4eb2a8ec3f6460825fe818613345f3a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): HermesMobile/Features/Kanban/KanbanCardDetailView.swift:406-434 | HermesMobile/Features/Kanban/KanbanLabView.swift:1282-1313 \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":"HermesMobile/Features/Kanban/KanbanCardDetailView.swift"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"26104407bf6646c0593c7c85933497599958f32a7fba04513e8fb10d5d83fb4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:4437-4483 | HermesMobile/Features/Chat/ChatViewModel.swift:4485-4524 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":4437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7490756392365cbf7e63cc4a52c7e41ac23f2538c9540f6ceda6a5950c907db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:7622-7670 | HermesMobile/Features/Chat/ChatViewModel.swift:7672-7724 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":7622}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c581070c73406d0c00831fd07d72a71afe16fb3f1458ba8976b17fc2d9dab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): HermesMobile/Features/Bots/BotCreateView.swift:191-208 | HermesMobile/Features/Bots/BotProfileEditorView.swift:237-258 \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":"HermesMobile/Features/Bots/BotCreateView.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6520129dd04ef8419a9b5489b7741273cef4b01f3ea6067ac07abe14455eb3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:4700-4745 | HermesMobile/Features/Chat/ChatViewModel.swift:4763-4804 \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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":4700}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e2c8d65f0f9f35d962c68ce0720f859d7dc8bd932c9cfab6401ba70cbec5b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): HermesMobile/Features/Bots/BotsInboxView.swift:131-145 | HermesMobile/Features/Bots/BotsInboxView.swift:147-169 \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":"HermesMobile/Features/Bots/BotsInboxView.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3acd5f1d7e875b7b6b97ee20fb0122e7793a3ec5d1a572b70114529cf54b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): HermesMobile/Features/SessionList/HermesSessionListView.swift:795-828 | HermesMobile/Features/SessionList/SessionListView.swift:934-973 \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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"303ac6c20a9a7bf6fcacd22beb808f5a650545f15a0fd4bcc39ee0cf1ce2f4aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): HermesMobile/Features/Chat/HermesChatRequests.swift:289-315 | HermesMobile/Features/Chat/HermesChatRequests.swift:445-478 \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":"HermesMobile/Features/Chat/HermesChatRequests.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"048396b9525e11eb9892cb650817bc7fecefad1b6d42013edad44e89e1377a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:190-232 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:83-129 \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":"HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b812046dd107be30dcd069d8c4dd65bf89c74e83b471649faf6b3fe23142c8c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): HermesMobile/Features/Settings/PluginsModel.swift:426-451 | HermesMobile/Features/Settings/PluginsModel.swift:455-483 \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":"HermesMobile/Features/Settings/PluginsModel.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bd686015ad7ef892a015f9db71e8d5f353312cbab63ce1d7160f3bd99cb93a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): HermesMobile/Features/Settings/AddServerView.swift:524-557 | HermesMobile/Features/Shared/SectionCard.swift:33-68 \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":"HermesMobile/Features/Settings/AddServerView.swift"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a4db56cee7c30609fca074348f46502a9f9be57e06420e132779101dc60bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:113-148 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:17-53 \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":"HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"281df5c0f404a7ca0e46e7a1a048fd095c9a51fcb90a4fa808c49e7d1b477ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:1314-1371 | HermesMobile/Features/Chat/ChatViewModel.swift:1527-1583 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bef933ad44f2e91770ce07d8d33620cb1a9c4568264a032d15c7eb61f3522e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): HermesMobile/Persistence/CacheStore.swift:350-387 | HermesMobile/Persistence/CachedSession.swift:73-111 \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":"HermesMobile/Persistence/CacheStore.swift"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb3d8aff4e78005c1438a8ed7d7cc73f7c8715e19cdecfc9401648043d263d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): HermesMobile/Features/Bots/BotSearchView.swift:213-234 | HermesMobile/Features/Bots/BotSearchView.swift:236-253 | HermesMobile/Features/Bots/BotSearchView.swift:281-301 \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":"HermesMobile/Features/Bots/BotSearchView.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f22668e2a3dee10348796569d0fb67e8c45fa272a19090e75b36d44a44fa403"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): HermesMobile/Features/Chat/MarkdownMathFormatter.swift:288-304 | HermesMobile/Features/Chat/MarkdownMathFormatter.swift:306-320 \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":"HermesMobile/Features/Chat/MarkdownMathFormatter.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"25edc49e4c118422a98171cbe25b1c60d89ac496ecb24cbd11517b0d6b315576"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): HermesMobile/Features/SessionList/SessionListViewModel.swift:1343-1393 | HermesMobile/Features/SessionList/SessionListViewModel.swift:1400-1439 | HermesMobile/Features/SessionList/SessionListViewModel.swift:1469-1509 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b7b2d11698271bb88acc8edf5efbcd2159f7d7edfe06419e01d56df57457c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): HermesMobile/Features/Chat/MarkdownRenderer.swift:598-619 | HermesMobile/Features/Chat/MarkdownRenderer.swift:641-662 \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":"HermesMobile/Features/Chat/MarkdownRenderer.swift"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9621e9a505fdf3601ec7ecf8b33f7e6cdc130a55733e033c3e1c1ff3aab334"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): HermesMobile/Features/Hermes/HermesSessionLookup.swift:8-20 | HermesMobile/Push/PushNotificationRouter.swift:176-186 \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":"HermesMobile/Features/Hermes/HermesSessionLookup.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"700fb868df05780f7e249c42577063de50fc012737e0c9addbeeb84cccd205fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): HermesMobile/Networking/KanbanEventStreamClient.swift:104-132 | HermesMobile/Networking/SSEClient.swift:29-68 \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":"HermesMobile/Networking/KanbanEventStreamClient.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ba748a9573c56ff5f8806e75599e347f3250b6f92973063c7cbe1be2d0e2fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): HermesMobile/Networking/Hermes/HermesREST.swift:843-856 | HermesMobile/Networking/Hermes/HermesREST.swift:872-883 \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":"HermesMobile/Networking/Hermes/HermesREST.swift"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c14ad47623475cc98f9fbd98c254999e50e5eb8e9cf064f9a4c4c895515f961"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): HermesMobile/Features/Kanban/KanbanFeatureState.swift:2178-2195 | HermesMobile/Features/Kanban/KanbanFeatureState.swift:2223-2239 \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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"3018d724871cd2f65f4beef793d52bda15c44926f15b647dffd80680bd7211d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): HermesMobile/Features/Settings/PluginsModel.swift:555-567 | HermesMobile/Features/Settings/PluginsModel.swift:569-582 \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":"HermesMobile/Features/Settings/PluginsModel.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"11639d3fdad30f13276b63d46ff008068173fda5e353d7460459be6b8ae9fee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): HermesMobile/Models/JSONValue.swift:11-27 | HermesMobile/Networking/Bots/BotProtocol.swift:8-16 \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":"HermesMobile/Models/JSONValue.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"237172f744d9ba4f15ee403a9f17f71f9e38df0168a619bfeb1b9c9cbcb2f95c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): HermesMobile/Features/Chat/ApprovalRequestInset.swift:58-90 | HermesMobile/Features/Chat/ClarificationRequestCard.swift:556-584 \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":"HermesMobile/Features/Chat/ApprovalRequestInset.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcab400f5f4662e35764b1e6a7d3ed6844f058e12276af846ac62e64d014604"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): HermesMobile/Features/Chat/ChatGoalControls.swift:115-144 | HermesMobile/Features/Chat/ChatMessageActions.swift:204-234 \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":"HermesMobile/Features/Chat/ChatGoalControls.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1386b79a08cee38eecb2d0e64b2a1904617a83c63ab548168fbfa7e9eacc355f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/Features/Chat/ThinkingSliderLooks.swift:269-281 | HermesMobile/Features/Chat/ThinkingSliderLooks.swift:545-552 \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":"HermesMobile/Features/Chat/ThinkingSliderLooks.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3b945908e6a4840ae782618aaff4c0072af459c8e4a11d9127b7c974d78d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): HermesMobile/Features/Kanban/KanbanCardDetailView.swift:467-480 | HermesMobile/Features/Kanban/KanbanLabView.swift:1407-1420 \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":"HermesMobile/Features/Kanban/KanbanCardDetailView.swift"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"986dd319d6103d2ffb459ab5d915c2118c37e91d687da76cd884dd924a95d79b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): HermesMobile/Features/Chat/DisplayMathView.swift:403-415 | HermesMobile/Features/Chat/DisplayMathView.swift:418-428 \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":"HermesMobile/Features/Chat/DisplayMathView.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34e4bcdcb655e4819a90f43ab68fbe177309d3db13b6c715f79d5abc8ef09a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): HermesMobile/Features/Workspace/FileExportSupport.swift:39-59 | HermesMobile/Features/Workspace/FileExportSupport.swift:61-84 \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":"HermesMobile/Features/Workspace/FileExportSupport.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e1a565efdb57272288add1091481e1c32172fdfd9680eba5c9d0be4f642073"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): HermesMobile/Features/Chat/ComposerChipTextView.swift:474-496 | HermesMobile/Features/Chat/ComposerChipTextView.swift:498-521 \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":"HermesMobile/Features/Chat/ComposerChipTextView.swift"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"c609cd4f9022f6f9364baa393baccb155c3d1541d88ee54f99567ca4b725ba94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): HermesMobile/Features/Insights/ProviderLimitsCard.swift:45-64 | HermesMobile/Features/Settings/ProvidersView.swift:102-128 \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":"HermesMobile/Features/Insights/ProviderLimitsCard.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93fb2a34bec85d689ac2f31735712f7d981266a21401240d961e18dea6fb535"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): HermesMobile/Features/Chat/ChatComposerConfigLoader.swift:23-53 | HermesMobile/Models/ServerCatalog.swift:246-274 \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":"HermesMobile/Features/Chat/ChatComposerConfigLoader.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f6ef7d7e5ec4124e33abc9c319d1e8d105dc0fd135f1ca949d601db83fa420"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): HermesMobile/Features/SessionList/SessionListViewModel.swift:1883-1900 | HermesMobile/Features/SessionList/SessionListViewModel.swift:1905-1926 \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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1020cedad886a8b3e9460e460814694e3a3b9cee665b27e12f87d8743502dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): HermesMobile/Features/Chat/ChatTranscriptView.swift:1060-1082 | HermesMobile/Features/Chat/ChatTranscriptView.swift:1092-1109 \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":"HermesMobile/Features/Chat/ChatTranscriptView.swift"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"9274638187d86e83f68706f2cf18dc411fa5f58678f4e211983d747c96793a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): HermesMobile/Features/Chat/MarkdownRenderer.swift:36-64 | HermesMobile/Features/Chat/MarkdownRenderer.swift:119-146 \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":"HermesMobile/Features/Chat/MarkdownRenderer.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c96fdbd59d5f20de5bd23c3d376ab68b1d869bc0cfda50933e0444cfa913085"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): HermesMobile/Features/Bots/BotCreateView.swift:229-242 | HermesMobile/Features/Bots/BotProfileEditorView.swift:288-301 \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":"HermesMobile/Features/Bots/BotCreateView.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbcae025b9da5baf673e9635397c1252479a928fe7d7a30fc7b36894624088f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): HermesMobile/Networking/Bots/BotClient.swift:133-149 | HermesMobile/Networking/Bots/BotClient.swift:280-293 \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":"HermesMobile/Networking/Bots/BotClient.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5ab7cf48601a5b5bd412c7023eecd8f273536c83c810f6cbc5131e830b884c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesMobile/Push/PushNotificationRouter.swift:51-62 | HermesMobile/Push/PushNotificationRouter.swift:70-79 \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":"HermesMobile/Push/PushNotificationRouter.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"366417a741b57d24b72672c4d74bdd7fddb8c0f12f4fd177a00a73d6da2f9c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): HermesMobile/Features/Chat/MarkdownRenderer.swift:1053-1082 | HermesMobile/Features/Chat/MarkdownRenderer.swift:1084-1113 \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":"HermesMobile/Features/Chat/MarkdownRenderer.swift"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc3d8a509c92dd8478c33610b90c8aaa00462604525e413b8a9f924ef216720"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): HermesMobile/Features/Kanban/KanbanFeatureState.swift:2880-2901 | HermesMobile/Features/Kanban/KanbanFeatureState.swift:2903-2927 \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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2880}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf88924563bf577879fc60dd7b9f88379bd9db8be06de124ca4df9f0aa6e8c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): HermesMobile/Features/Chat/MarkdownMathFormatter\u002BSupport.swift:169-192 | HermesMobile/Features/Chat/MarkdownMathFormatter\u002BSupport.swift:194-219 \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":"HermesMobile/Features/Chat/MarkdownMathFormatter\u002BSupport.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"817d2fb87aae69897feeb1ab994abab73713bd751e0e3304871736487533a951"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/Widgets/BotWidgetSnapshot.swift:118-125 | HermesMobile/Widgets/ProviderLimitsSnapshot.swift:166-174 \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":"HermesMobile/Widgets/BotWidgetSnapshot.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c512e22414b82f4ed5d50931f74df4daf4dfc2a48e2d9f909d0394fde5fc0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): HermesMobile/Models/ChatMessage.swift:268-289 | HermesMobile/Models/Session.swift:407-425 | HermesMobile/Models/Session.swift:926-944 | HermesMobile/Models/Session.swift:946-964 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Models/ChatMessage.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a885fa9344a855bde843bf3d744e874f9a7749f3a2ad73182bbb280b0f6fb55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:1205-1230 | HermesMobile/Features/Chat/HermesBtwPanel.swift:261-277 \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":"HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1220e057261f02750f4cba0d190c84b6f9f58280eaad4795d5a5f9d64b679a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): HermesMobile/Features/Chat/HermesChatSideTasks.swift:368-382 | HermesMobile/Features/Chat/HermesSlashCommands.swift:305-316 \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":"HermesMobile/Features/Chat/HermesChatSideTasks.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8394a7ccbd32f44bf40f4ecbb5f7e874a20c988b0b3544ca31e6a9a558e5e7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): HermesMobile/Features/Chat/TranscriptLinkPreview.swift:187-204 | HermesMobile/Features/Chat/TranscriptMedia.swift:696-713 \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":"HermesMobile/Features/Chat/TranscriptLinkPreview.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7590b589a44ff0b7e03b16939df3016b582548dd04116b16a0126d0e3fd283"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): HermesMobile/Features/Tasks/TaskDetailViewModel.swift:615-642 | HermesMobile/Features/Tasks/TaskDetailViewModel.swift:644-676 \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":"HermesMobile/Features/Tasks/TaskDetailViewModel.swift"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae9b578989a2a12170b1f67ee5d8d8307b4f60f777bbea590a59324173ddb28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): HermesMobile/Features/Chat/ChatComposerAttachmentStripView.swift:286-299 | HermesMobile/Features/Chat/MessageBubbleView.swift:911-924 \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":"HermesMobile/Features/Chat/ChatComposerAttachmentStripView.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51ebfc187ec32ac6641a4089111de1c88725f39ef607b6950e5b8bf841fb003"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): HermesMobile/Features/Chat/ChatPendingActionCoordinator.swift:388-411 | HermesMobile/Features/Chat/ChatPendingActionCoordinator.swift:499-521 \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":"HermesMobile/Features/Chat/ChatPendingActionCoordinator.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08e4b3af4551b4680370b4d6416472712c821a51c969e9a517e10025bc918dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): HermesMobile/Features/Chat/ChatView.swift:4822-4839 | HermesMobile/Features/Chat/ChatView.swift:4848-4861 \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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":4822}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a09601b636669ffbed8c94a48b09346cd34ceb6f94026f75df36349b50cd92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): HermesMobile/Models/Approval.swift:121-140 | HermesMobile/Models/Clarification.swift:146-165 \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":"HermesMobile/Models/Approval.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a83aefaa8dd56feba39b56b2b75be078361b899941a963546998cc2e26dcc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): HermesMobile/Models/Kanban.swift:479-491 | HermesMobile/Models/ServerCatalog.swift:170-180 \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":"HermesMobile/Models/Kanban.swift"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bc4bdd352f8b50382ba66eccc38e9067f7894bb5f1a2bbbc3e0fcd610fce94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): HermesMobile/Features/SessionList/HermesSessionListView.swift:1039-1057 | HermesMobile/Features/SessionList/HermesSessionListView.swift:1060-1070 \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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"f961e2fa33d376de583d796bb43042daed15a4b6f0e27f801c2cd5dd5a8dcdc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): HermesMobile/Models/JSONValue.swift:29-46 | HermesMobile/Networking/Bots/BotProtocol.swift:18-28 | scripts/fixtures/HermesFixtureCapture.swift:177-188 \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":"HermesMobile/Models/JSONValue.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a73b5f2f0e0d375aa0119bb977ffcfd15b286320eef574764a30e3a8f6e6a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesMobile/Models/Kanban.swift:396-408 | HermesMobile/Models/Kanban.swift:543-552 \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":"HermesMobile/Models/Kanban.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"719c6fe7cfbf3d578ba948f937b5b6532c64914f084e6efc07444a7a95e0a0b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): HermesMobile/Features/Settings/DefaultProfilePickerView.swift:97-115 | HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:238-258 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:135-155 \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":"HermesMobile/Features/Settings/DefaultProfilePickerView.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6678a82a392d14385de4e42807d7a5501aff15cc3e19fa1d4bf1afeaa87be2f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): HermesMobile/Features/Chat/ChatView.swift:3897-3915 | HermesMobile/Features/Chat/ChatView.swift:3917-3935 \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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":3897}}}],"partialFingerprints":{"codehealthFindingId/v1":"88570499bc8c0fe10ea192606400c70d8b0e8e7d47e8d9568832bc5d99fbb4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): HermesMobile/Models/Approval.swift:32-44 | HermesMobile/Models/Clarification.swift:25-37 \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":"HermesMobile/Models/Approval.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9e66356b27e6bc66997086848f7a1e910e3f2e2d1f8b7216dbac145d7e4c1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): HermesMobile/Features/Chat/TranscriptLinkPreviewView.swift:137-153 | HermesMobile/Models/UploadResponse.swift:101-117 \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":"HermesMobile/Features/Chat/TranscriptLinkPreviewView.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc82b31ecdaae56e6a8d6b9606379dcd044a379ae2e65b1b60e42842e650b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): HermesMobile/Networking/APIClient\u002BKanban.swift:293-307 | HermesMobile/Networking/APIClient\u002BKanban.swift:309-327 \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":"HermesMobile/Networking/APIClient\u002BKanban.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"541399b7352001a1230abc7c89936e4aa117f098f97c4abdb88ba7c003c22a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift:185-204 | HermesMobile/Features/Workspace/FilePreviewView.swift:338-361 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"89757cebf947ec9a45098483d6828c79d47622511c6b11cf420e183268322d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:1381-1397 | HermesMobile/Features/SessionList/SessionListComponents.swift:2252-2269 \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":"HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"69acef29c6c47f8fcf4138a288b51ff6ac299540af2f7df697a7cc47296c13c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): HermesMobile/Features/Kanban/KanbanFeatureState.swift:816-831 | HermesMobile/Features/Kanban/KanbanFeatureState.swift:843-861 \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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ef913beee054ad1f212094ed886e917dbc90942e467a9996192ee160def27d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): HermesMobile/Features/Chat/ChatTimelineAccessorySurface.swift:9-27 | HermesMobile/Features/Chat/ChatView.swift:4632-4656 \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":"HermesMobile/Features/Chat/ChatTimelineAccessorySurface.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb306f20b85f403a3223e598ff8a09c65e7e86b208bfd2ba952badc1e945922"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): HermesMobile/Features/Insights/UsageChartData.swift:346-358 | HermesMobile/Features/Tasks/CronScheduleHumanizer.swift:169-191 \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":"HermesMobile/Features/Insights/UsageChartData.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f44e3f8f60a323e12fc7619bdec570497379fc408e61efdf00d05d2d3024ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): HermesMobile/Features/Settings/APIKeysModel.swift:46-64 | HermesMobile/Features/Settings/ConnectedAppsModel.swift:70-88 | HermesMobile/Features/Settings/PluginsModel.swift:169-183 \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":"HermesMobile/Features/Settings/APIKeysModel.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d2ac85ae842fb12dee918d23707a4c6875d95ce87cd7506fbe0771295f6bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): HermesMobile/Features/Chat/MarkdownMathFormatter.swift:322-331 | HermesMobile/Features/Chat/MarkdownMathSegmenter.swift:157-165 \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":"HermesMobile/Features/Chat/MarkdownMathFormatter.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a238cf7a4d11bc357f6faad9b617a9afd7015b7e31f9991b47d48c76795987"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): HermesMobile/Features/Chat/MarkdownMathFormatter\u002BEnvironments.swift:4-16 | HermesMobile/Features/Chat/MarkdownMathFormatter\u002BEnvironments.swift:18-30 | HermesMobile/Features/Chat/MarkdownMathFormatter\u002BEnvironments.swift:32-44 \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":"HermesMobile/Features/Chat/MarkdownMathFormatter\u002BEnvironments.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ead8d876a1813296847782a9862d18ed5c73923a8404f748002c220f5acb07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): HermesMobile/Features/Settings/PluginDiscoverView.swift:70-85 | HermesMobile/Features/Settings/PluginsView.swift:228-242 \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":"HermesMobile/Features/Settings/PluginDiscoverView.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02917db5f25fd1221dfc948ea099df8160178eebda06c28fbb72aaef56c120f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/Models/Cron.swift:34-42 | HermesMobile/Models/CronRunHistory.swift:198-205 \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":"HermesMobile/Models/Cron.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ddc5863043b5667c476c37a004fbcfb485d3f421be48807f13b00337536201"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): HermesMobile/Features/Chat/ChatComposerAttachmentStripView.swift:301-312 | HermesMobile/Features/Chat/MessageBubbleView.swift:926-937 \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":"HermesMobile/Features/Chat/ChatComposerAttachmentStripView.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10303501e1ce1dd7d8a3e04307ff09d13505692ca6c6439e07d6064a49bb0a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): HermesMobile/Models/Clarification.swift:92-110 | HermesMobile/Models/ServerCatalog.swift:150-168 \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":"HermesMobile/Models/Clarification.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"524dbd452301906a3dd6ef82c76a12d0b0213c23b94c1f55b6c98bee9d4bea6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): HermesMobile/Features/Bots/BotInbox.swift:699-708 | HermesMobile/Features/SessionList/SessionListViewModel.swift:2350-2358 \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":"HermesMobile/Features/Bots/BotInbox.swift"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"3633e12c884dd40c6d6a21d6dbe4d666c983812c1cb13a7c2fbd8b2a2fdcd13b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): HermesMobile/Features/Chat/ChatComposerPresentation.swift:150-161 | HermesMobile/Features/Chat/CustomAttachmentPicker.swift:918-935 \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":"HermesMobile/Features/Chat/ChatComposerPresentation.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4734d5acd62a73c6a98fe7ed0101835a6366b43ca0657008558247f5402c681c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 9\u002B corresponding lines): HermesMobile/Networking/Bots/BotClient.swift:122-131 | HermesMobile/Networking/Bots/BotClient.swift:174-182 | HermesMobile/Networking/Bots/BotClient.swift:184-192 | HermesMobile/Networking/Bots/BotClient.swift:194-204 | HermesMobile/Networking/Bots/BotClient.swift:206-214 | HermesMobile/Networking/Bots/BotClient.swift:216-224 | HermesMobile/Networking/Bots/BotClient.swift:322-330 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Bots/BotClient.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c572a9bfa13ca8ec81c388646cb77f696b0c234551af3b898b8ce09b476abe50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesMobile/Features/Kanban/KanbanFeatureState.swift:1339-1349 | HermesMobile/Features/Kanban/KanbanFeatureState.swift:1351-1360 \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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3dd736b2b0a4a8f92e0bedfbdfc9052aa12128c10a1dedf4045e0dda1fb6f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): HermesMobile/Features/SessionList/SessionListComponents.swift:1715-1732 | HermesMobile/Features/SessionList/SessionListComponents.swift:1743-1763 \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":"HermesMobile/Features/SessionList/SessionListComponents.swift"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6130040bca0fdfeaf0950b626ce0b3b2f186bd5176e88730f249c48d8902fe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/Networking/Hermes/HermesGitClient.swift:287-294 | HermesMobile/Networking/Hermes/HermesGitClient.swift:298-305 \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":"HermesMobile/Networking/Hermes/HermesGitClient.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa10624cf667b82f11f5b2444c6142a50e3a1af8b0ee966e8643298061fdecc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): HermesMobile/Features/Chat/ClarificationRequestCard.swift:618-628 | HermesMobile/Features/Chat/HermesBtwPanel.swift:161-176 | HermesMobile/Features/Chat/HermesBtwPanel.swift:194-204 \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":"HermesMobile/Features/Chat/ClarificationRequestCard.swift"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d8005e746c6dcb6f2d4dccd0a948972a842bbfba69d9c013fcf6f4257dcb70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): HermesMobile/LiveActivities/AgentRunActivityAttributes.swift:452-469 | HermesMobile/LiveActivities/AgentRunActivityAttributes.swift:504-520 | HermesMobile/LiveActivities/AgentRunActivityAttributes.swift:576-592 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/LiveActivities/AgentRunActivityAttributes.swift"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafd6a6e942c5dbba9f707b0d0a049fa44c408d184665565deeb7b6b58a742e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Push/PushRelayClient.swift:58-69 | HermesMobile/Push/PushRelayClient.swift:78-84 \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":"HermesMobile/Push/PushRelayClient.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"295866f979db431830016a0a7e8afa127bd67587ed1549e45f763b2fb3cb7563"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): HermesMobile/Features/Chat/TranscriptMediaView.swift:437-453 | HermesMobile/Features/Chat/TranscriptMediaView.swift:587-603 \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":"HermesMobile/Features/Chat/TranscriptMediaView.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd19a09bdab51344f5d33112f98ba20cab3a7c6d51686c2155a2650b9b8f58dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): HermesMobile/Networking/APIClient\u002BProviderQuota.swift:38-58 | HermesMobile/Networking/APIClient\u002BProviderQuota.swift:123-139 \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":"HermesMobile/Networking/APIClient\u002BProviderQuota.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c9ffaaa8b6cb257aecbd5b17519e71e4cc7d069a73696e1ba14ac19c12e265"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): HermesMobile/Persistence/CachedMessage.swift:37-57 | HermesMobile/Persistence/CachedSession.swift:59-67 \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":"HermesMobile/Persistence/CachedMessage.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37b94a32c20710a6a54bd034d251aa37702b7f965f771fec5f922fc39ebc52b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): HermesMobile/Push/PushPreview.swift:60-68 | HermesMobile/Push/PushRelayClient.swift:205-213 \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":"HermesMobile/Push/PushPreview.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c923d659351112e18b5a6e50996c03a23a444ab426d4d8481af2dbebf66cab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): HermesMobile/Widgets/BotWidgetSnapshot.swift:66-74 | HermesMobile/Widgets/ProviderLimitsSnapshot.swift:101-109 \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":"HermesMobile/Widgets/BotWidgetSnapshot.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dcaf81abfe97e8ab2e53418c43f60f3bed123868f592e210b989c63651762a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): HermesMobile/Models/Kanban.swift:225-235 | HermesMobile/Models/Kanban.swift:918-926 \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":"HermesMobile/Models/Kanban.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"326f947c5e394061466b9f0f075666b5d7f7a7eb8235454b374d5bb6a7c33c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/AppIntents/HermexAppIntents.swift:301-308 | HermesMobile/Push/PushNotificationRouter.swift:193-200 \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":"HermesMobile/AppIntents/HermexAppIntents.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"510c1a77333a827d2aad5cc699b1420b6e6e9ed6020e271d88376896f87eb6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Config/AppTheme.swift:241-252 | HermesMobile/Features/Bots/BotProfileAppearance.swift:517-523 \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":"HermesMobile/Config/AppTheme.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"869894420e8d5589572958956507decceb12f73cb8438e62dc825ec169da1c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Networking/Hermes/HermesREST.swift:918-925 | HermesMobile/Networking/Hermes/HermesREST.swift:935-941 \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":"HermesMobile/Networking/Hermes/HermesREST.swift"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0913dfa1984aaba23689badf273d08ddebf9a8bd396dfa9bde9a44c304a549e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift:31-44 | HermesMobile/Features/Chat/MessageBubbleView.swift:575-586 | HermesMobile/Features/Chat/MessageBubbleView.swift:892-905 \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":"HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f5251c33e5bd63fcecd94e1d7ed027c959d92f5acf1d258844939d34b53af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift:221-235 | HermesMobile/Features/Chat/TranscriptMediaView.swift:930-944 \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":"HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"075f4863a0f9c3f292e23c147be691534bed58d379b910edcc780bfea021e3c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): HermesMobile/Features/Insights/InsightsModels.swift:131-139 | HermesMobile/Models/ContextWindowSnapshot.swift:40-49 | HermesMobile/Models/CronRunHistory.swift:161-170 \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":"HermesMobile/Features/Insights/InsightsModels.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab5b41e6588b11086053ff100c27e0cf195e16855b6f069a8a73e8e45ce5dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): HermesMobile/Networking/APIClient\u002BChat.swift:126-146 | HermesMobile/Networking/APIClient\u002BCron.swift:151-177 | HermesMobile/Networking/APIClient\u002BServerPanels.swift:87-107 \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":"HermesMobile/Networking/APIClient\u002BChat.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a432abbc65f93350f2e1943041c8ec9890d6991e2e034fec54db93d6f1a43d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:5794-5806 | HermesMobile/Features/Chat/HermesChatSettings.swift:218-223 \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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":5794}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2f797644fa62869515df0abccb19d3e4fd2495c5877fdacb9938e0c6a8e557"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): HermesMobile/Features/Kanban/KanbanCardDetailView.swift:436-444 | HermesMobile/Features/Kanban/KanbanLabView.swift:1352-1360 \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":"HermesMobile/Features/Kanban/KanbanCardDetailView.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"69075c8bbc7764241e038187f55a6cf67e6000ce7115d0b57bb1e761c628f828"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/Widgets/BotWidgetSnapshot.swift:77-82 | HermesMobile/Widgets/ProviderLimitsSnapshot.swift:112-117 \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":"HermesMobile/Widgets/BotWidgetSnapshot.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e350af18b71eafb57a8e5420d1fa07d5fb73e1cebb5f298dc4ab6999ea4c2ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesLiveActivityWidget/BotWidget.swift:11-21 | HermesLiveActivityWidget/ProviderLimitsWidget.swift:10-19 \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":"HermesLiveActivityWidget/BotWidget.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6bae2179235bc6aa4568449cc81c994b91d390bacb39cd269d8757ea23284d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:1139-1160 | HermesMobile/Features/Chat/ChatViewModel.swift:1180-1199 \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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70cb41dd77bf718268b9ba1cd15815d109bd6c2ad17908bcac47f92f367c5cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:4529-4541 | HermesMobile/Features/Chat/ChatViewModel.swift:4546-4557 \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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":4529}}}],"partialFingerprints":{"codehealthFindingId/v1":"340b466dc3faef459f5a632dc5a79f94243d3d726e0cd039c189c95936832509"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/Networking/Hermes/HermesGitClient.swift:89-94 | HermesMobile/Networking/Hermes/HermesGitClient.swift:117-123 \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":"HermesMobile/Networking/Hermes/HermesGitClient.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a3fc43a24ccd9bafd9eafdefd4db25a5afcf1403449a5e8439243c065913e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/Networking/Hermes/HermesKanbanClient.swift:185-190 | HermesMobile/Networking/Hermes/HermesKanbanClient.swift:192-197 \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":"HermesMobile/Networking/Hermes/HermesKanbanClient.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5d0a3aa0ab4a65328b3a1c0ed95ffaffe6b889a4ddd4141b83fa62c25309ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): HermesMobile/Features/Chat/FilePathAutocompleteView.swift:126-138 | HermesMobile/Features/Workspace/FileBrowserView.swift:421-432 \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":"HermesMobile/Features/Chat/FilePathAutocompleteView.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf419731c15be57dee669cbfe599869c955a5a2f282cae9c5f46834bb2f6c9b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesMobile/Features/Chat/PendingRequestSurfaces.swift:104-113 | HermesMobile/Features/Chat/PendingRequestSurfaces.swift:123-132 \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":"HermesMobile/Features/Chat/PendingRequestSurfaces.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b3440a5d4478fbdf7026a8734782e7a1e51694c3cccaeedc54bfa9e3bf4994"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): HermesMobile/Features/Settings/APIKeysModel.swift:85-95 | HermesMobile/Features/Settings/ConnectedAppsModel.swift:152-164 \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":"HermesMobile/Features/Settings/APIKeysModel.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5c9c76be27098c50e0c52169827dc74407c8f23bd5d5e04a5c69a0d5ff929a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift:180-195 | HermesMobile/Features/Workspace/FilePreviewView.swift:444-462 \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":"HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"641033e9e5ecf17c54eaa52a1e147467c1abbb65aee053c3fa0e308fb0174595"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesMobile/Features/MoveToHermes/MoveToHermesReconcile.swift:325-334 | HermesMobile/Features/MoveToHermes/MoveToHermesScan.swift:219-228 \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":"HermesMobile/Features/MoveToHermes/MoveToHermesReconcile.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d138bfea54bb1104ff096aaa221ca9e190a1ba97cbdf4d57bed5acdf006103"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): HermesMobile/Features/Chat/ChatComposerTextInputView.swift:495-499 | HermesMobile/Features/Chat/ComposerChipTextView.swift:523-527 \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":"HermesMobile/Features/Chat/ChatComposerTextInputView.swift"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"af00f9e079a85cd8c62f9fcf65b02f16dfbdb989d9040a85032431d9599eded6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:800-817 | HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:836-853 \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":"HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea156152f4894c088488f27c41acfcc0d72e08f7371483b99f81c437297d566"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/Features/Screen/ScreenControl.swift:117-125 | HermesMobile/Features/Screen/ScreenControl.swift:128-133 \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":"HermesMobile/Features/Screen/ScreenControl.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ef151b9144d1c7a0fb7abb02653fbc7f86dbd7893a5b127e844aaa8f4563bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): HermesMobile/Features/SessionList/SessionListComponents.swift:746-759 | HermesMobile/Features/Shared/ActionToast.swift:341-353 \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":"HermesMobile/Features/SessionList/SessionListComponents.swift"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a6aaef799a11095c33978a49ca9451c1e83e8f6268fdced2afc5f36e76e357"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): HermesMobile/Features/Tasks/TaskDetailViewModel.swift:79-90 | HermesMobile/Features/Tasks/TasksViewModel.swift:60-68 \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":"HermesMobile/Features/Tasks/TaskDetailViewModel.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5415c204b6b5faf173251edc0c041354247a61ffb76beb6fae28d0b158ba1f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): HermesMobile/Models/Approval.swift:346-354 | HermesMobile/Models/Clarification.swift:187-195 | HermesMobile/Models/Kanban.swift:823-830 \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":"HermesMobile/Models/Approval.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"056231c0a5737883d1c2489040b356c4eb6506b7318dcf45dc22d79c24d34004"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): HermesMobile/Persistence/ChatDraftAttachmentStore.swift:77-87 | HermesMobile/Persistence/ChatDraftStore.swift:560-570 \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":"HermesMobile/Persistence/ChatDraftAttachmentStore.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbe642528e2f65419c127482cba2cfff8025d029ba754e2a4965786aed1e8d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/Features/Chat/ComposerChipRendering.swift:17-24 | HermesMobile/Features/Chat/ComposerChipRendering.swift:38-46 \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":"HermesMobile/Features/Chat/ComposerChipRendering.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"892926e46c731eac6ab2ce5b75190824dd58de5ca38934d95623dd6c2a0f5980"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): HermesMobile/LiveActivities/AgentRunActivityAttributes.swift:594-613 | HermesMobile/LiveActivities/AgentRunActivityAttributes.swift:615-630 \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":"HermesMobile/LiveActivities/AgentRunActivityAttributes.swift"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"3225a09c4c8e98fff05c5fd7aaf9605cf548c6e06a47355c224bd7aa7ef46d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): HermesMobile/Features/Bots/BotsInboxView.swift:115-129 | HermesMobile/Features/SessionList/HermesSessionListView.swift:454-467 \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":"HermesMobile/Features/Bots/BotsInboxView.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6973f632919aad576c4df761cfe74aa760e2b99d76de9c2dcc921778ec397a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift:206-219 | HermesMobile/Features/Chat/TranscriptMediaView.swift:902-915 | HermesMobile/Features/Workspace/FilePreviewView.swift:253-265 \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":"HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adbe15ae1b557857be623eb9047a6ba4bf2f291a2f53186298c4127e794813a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): HermesMobile/Features/Settings/WebuiServerSettings.swift:233-243 | HermesMobile/Features/Settings/WebuiServerSettings.swift:293-303 \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":"HermesMobile/Features/Settings/WebuiServerSettings.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18a38399b3b586e898a4f04110f0932eef80e485be8182152a3fcf4ea4a1f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift:1969-1976 | HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift:1981-1988 \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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bac0b96a42839906b7097cd9edc27f20b626641869f4b81967a28eda79ddf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Features/Workspace/GitDiffView.swift:208-214 | HermesMobile/Features/Workspace/SourceViewer/SourceFileSurface.swift:158-164 \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":"HermesMobile/Features/Workspace/GitDiffView.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d8ae419cb109ac35b9e86b5d0609e94ee2b6db8dfa6bc50f0af02052b01293"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesMobile/Features/Chat/ChatComposerPresentation.swift:135-144 | HermesMobile/Features/Chat/CustomAttachmentPicker.swift:902-916 \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":"HermesMobile/Features/Chat/ChatComposerPresentation.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5569497300e8d81dc752444142159a55db6bf8caf9f7816d3da5c24e40c698c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Features/Chat/SlashCommandAutocompleteView.swift:461-467 | HermesMobile/Features/Chat/SlashCommandAutocompleteView.swift:469-476 \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":"HermesMobile/Features/Chat/SlashCommandAutocompleteView.swift"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f5ba574b1f33ea90107887a6ff25e3c420da54ad388a379ae9127bcf49d00b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): HermesMobile/Models/ServerCatalog.swift:311-322 | HermesMobile/Models/Workspace.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":"HermesMobile/Models/ServerCatalog.swift"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5bbf0b7ae2267c9ba6251e8325b88c29fdb6e1fd4efd58a3ed6b0aa5ba5aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift:524-536 | HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift:550-563 \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":"HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"77815704188daab8d387db449d21180354328b25a2737a188a85bba0334cc06f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:9300-9311 | HermesMobile/Models/ChatMessage.swift:516-527 \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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":9300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cced48bfc7b678bef326290b0597bd6018a2b890bf465a73853bc3973e5db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): HermesMobile/Features/Chat/ImageLightboxView.swift:546-556 | HermesMobile/Features/Screen/ScreenCanvas.swift:175-179 \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":"HermesMobile/Features/Chat/ImageLightboxView.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ce0f498f7b465efe24fbba8870781d4c086fea30ba6c17e07cf6f489128881"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift:41-58 | HermesMobile/Features/Chat/TranscriptMediaView.swift:722-737 \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":"HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"779027750fb8058e087d8395ef276b3bd43bc1673aa712fa35d441ac329bb218"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesMobile/Features/Kanban/KanbanCardDetailView.swift:656-667 | HermesMobile/Features/Kanban/KanbanLabView.swift:1570-1579 \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":"HermesMobile/Features/Kanban/KanbanCardDetailView.swift"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb3af12ef63e0274aeacc9255fd4398f7c50ed33bc86343e946a6ffb81f7be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): HermesMobile/Features/SessionList/SessionRowView.swift:548-556 | HermesMobile/Features/Settings/DefaultProfilePickerView.swift:528-538 \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":"HermesMobile/Features/SessionList/SessionRowView.swift"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c670997f2eb8115324f00bfd64f75d8ad91d5282e4e70ed20a3cb67ff54f043"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): HermesMobile/Features/Bots/BotCreator.swift:145-148 | HermesMobile/Features/Bots/BotCreator.swift:156-159 | HermesMobile/Features/Bots/BotProfileEditor.swift:223-232 | HermesMobile/Features/Bots/BotProfileEditor.swift:240-250 \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":"HermesMobile/Features/Bots/BotCreator.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3721517af442ec7e3e7b1f4a828c772e236e9bf1f6d7dbb845d020c4dd531d54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/Features/Bots/BotRoomView.swift:257-264 | HermesMobile/Features/Chat/ChatView.swift:4458-4472 \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":"HermesMobile/Features/Bots/BotRoomView.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f86e61720dad1b51a7506ccb60a0aca36e7bc6d25b3faecb04dae8d29f2afbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift:1246-1253 | HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift:1261-1269 \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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17fe08890b11b64233c01dd7526fc7a1336eaca5463515e5764a807c8b1a6f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): HermesMobile/Features/SessionList/ProjectCreationSheet.swift:53-67 | HermesMobile/Features/SessionList/SessionRenameSheet.swift:14-26 \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":"HermesMobile/Features/SessionList/ProjectCreationSheet.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee048f45f41580ac3a806c74e76df11e112563f70ba335c97abfac088d5f851"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Features/Settings/PluginDetailView.swift:67-73 | HermesMobile/Features/Settings/PluginDetailView.swift:76-84 \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":"HermesMobile/Features/Settings/PluginDetailView.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fafdc4936b07056cbfbad3fe7b50998f3a1a96c1b18389435f29a6c5049d674"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): HermesMobile/Persistence/ChatDraftStore.swift:975-989 | HermesMobile/Persistence/ChatDraftStore.swift:1009-1021 \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":"HermesMobile/Persistence/ChatDraftStore.swift"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af91cdaaf6f26708acab8d770b5b5a85b774fe494531a7a11ff6f4730f66932"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): HermesMobile/Features/Chat/SlashCommandAutocompleteView.swift:212-225 | HermesMobile/Features/Chat/SlashCommandAutocompleteView.swift:227-239 \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":"HermesMobile/Features/Chat/SlashCommandAutocompleteView.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53b82a44e303fef924966d081b0edace47acbb673491fcdb9e96e3abe391710"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/Features/SessionList/SessionRowView.swift:564-573 | HermesMobile/Features/Workspace/GitWorkspaceView.swift:297-304 \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":"HermesMobile/Features/SessionList/SessionRowView.swift"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fd4ab604cbb755c2245d8ea038e183ce82443b638ed2bcc9303e669fdcd6d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): HermesMobile/Features/Workspace/ReviewDiff/ReviewDiffLayout.swift:129-142 | HermesMobile/Features/Workspace/ReviewDiff/ReviewDiffLayout.swift:144-157 | HermesMobile/Features/Workspace/ReviewDiff/ReviewDiffLayout.swift:176-188 \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":"HermesMobile/Features/Workspace/ReviewDiff/ReviewDiffLayout.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"437097e737a3de578bd8281ed5faba457e7f3a530df86105736a27a43e5f018b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/Features/Workspace/ReviewDiff/ReviewDiffSurfaceView.swift:187-193 | HermesMobile/Features/Workspace/ReviewDiff/ReviewDiffSurfaceView.swift:205-210 \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":"HermesMobile/Features/Workspace/ReviewDiff/ReviewDiffSurfaceView.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8c4d81388f0e813963abb2c8446a897794cd289f31ed8edff5371e86f2dad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/Models/Approval.swift:25-30 | HermesMobile/Models/Clarification.swift:18-23 \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":"HermesMobile/Models/Approval.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd6c3b76db1a8a3ce73201d93dcc589151b0671a9a22176c41947bb54a6f702"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/Models/Kanban.swift:453-458 | HermesMobile/Models/Kanban.swift:503-508 \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":"HermesMobile/Models/Kanban.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3fc94793299bc7ffc522755e4baff37fa11994a14f9f6fa47d36a3ada2a42c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): HermesMobile/Features/Chat/ChatComposerTextInputView.swift:381-394 | HermesMobile/Features/Chat/ChatComposerTextInputView.swift:480-493 \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":"HermesMobile/Features/Chat/ChatComposerTextInputView.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bb6bc7111a8f2942f589d5aff1eba8c2fc0bf5412bdee7510699ddbf42e122"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Features/Chat/MarkdownRenderer.swift:1214-1226 | HermesMobile/Features/Workspace/SourceViewer/SourceHighlighter.swift:59-65 \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":"HermesMobile/Features/Chat/MarkdownRenderer.swift"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"140985f7a89b5052524b26b8e3388dbd5c7e2277f69888716974f77cc571c102"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): HermesMobile/Features/Chat/SlashCommandAutocompleteView.swift:184-196 | HermesMobile/Features/Chat/SlashCommandAutocompleteView.swift:198-210 \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":"HermesMobile/Features/Chat/SlashCommandAutocompleteView.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e3f3d9a35df906ddd3a8a189077239f46111c662db956a7c973cf1e8be58e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): HermesMobile/Features/Chat/SlashCommandCatalog.swift:198-206 | HermesMobile/Models/Skills.swift:174-187 \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":"HermesMobile/Features/Chat/SlashCommandCatalog.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0209c6fb11944c78f15a5b7242cc09de9d19182e6ff3ec4ca7761a8c78d21dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): HermesMobile/Features/Settings/SettingsDiagnosticsPage.swift:133-145 | HermesMobile/Features/Settings/SettingsRows.swift:44-60 \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":"HermesMobile/Features/Settings/SettingsDiagnosticsPage.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f037d806e89343067082ad5d068ea4319457c292f4abda90b4022e66cd013c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesMobile/Persistence/CacheStore\u002BHermes.swift:157-168 | HermesMobile/Persistence/CacheStore\u002BHermes.swift:172-181 \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":"HermesMobile/Persistence/CacheStore\u002BHermes.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61061ba64e59711cef3b8358ba932567c2ab6f9d2e7e37bc9f4ed8cdbd810dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/Config/AppFont.swift:171-176 | HermesMobile/Config/AppFont.swift:178-184 \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":"HermesMobile/Config/AppFont.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db0329b0fe0eafa525b8dc13afdffc9e1e8b6f2e41cbe7bb50073722cc17e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): HermesMobile/Features/Bots/BotCreateView.swift:158-162 | HermesMobile/Features/Bots/BotCreateView.swift:244-248 \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":"HermesMobile/Features/Bots/BotCreateView.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b972fbdb79cf4732572e03bfcf45154f334f84ae67bcd43de791e9c0832aaa76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): HermesMobile/Features/Chat/TranscriptMediaDataLoader.swift:4-12 | HermesMobile/Features/Chat/TranscriptMediaPreviewViewModel.swift:160-168 \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":"HermesMobile/Features/Chat/TranscriptMediaDataLoader.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a25fce1741c0f7f3dc4e4be9fd4d86960f2284d62e9df45f09bb99078bd59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesMobile/Features/Kanban/KanbanCardDetailState.swift:278-288 | HermesMobile/Features/Workspace/GitDiffView.swift:277-286 \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":"HermesMobile/Features/Kanban/KanbanCardDetailState.swift"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"51aa761bcc9f583ade9b4e38a045368dd395a9f471414f181cc3e1b37aa8ed33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): HermesMobile/Models/MessageAttachment.swift:10-22 | HermesMobile/Models/Workspace.swift:105-121 \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":"HermesMobile/Models/MessageAttachment.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"660c8a973ab19fd47a720af6a33beab525929a4058507afecef3627d676e704d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesMobile/Widgets/BotWidgetSnapshot.swift:102-111 | HermesMobile/Widgets/ProviderLimitsSnapshot.swift:148-158 \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":"HermesMobile/Widgets/BotWidgetSnapshot.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1bab7c267f153a9ddbbb76ab9cc1379fd59a10c31f4fbbc0f279525bc6820f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Bots/BotCreateView.swift:250-253 | HermesMobile/Features/Bots/BotProfileEditorView.swift:307-310 \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":"HermesMobile/Features/Bots/BotCreateView.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2997dc29e21633344716770a7e6ea222b359cc36aec2b809e3e223bec439c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:1943-1950 | HermesMobile/Features/Chat/ChatViewModel.swift:2020-2028 \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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":1943}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2431322ee1e4e7a3950cc424937086fde7559c3a899848612313924d994189"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Chat/HermesChatSettings.swift:13-19 | HermesMobile/Features/Chat/HermesChatSettings.swift:42-45 \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":"HermesMobile/Features/Chat/HermesChatSettings.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7886f1cb9ccb0d01f3455dba2c6c42b336c2d8a4837cba56f7ddf023dc0e003"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): HermesMobile/Features/Settings/DefaultModelPickerView.swift:132-149 | HermesMobile/Features/Settings/DefaultProfilePickerView.swift:268-287 \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":"HermesMobile/Features/Settings/DefaultModelPickerView.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcc2568eac43708ba52419479988e8dc6e0965515dd2106d36f84bc6074efbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesMobile/Features/Workspace/SourceViewer/SourceFileViewModel.swift:82-91 | HermesMobile/Features/Workspace/ReviewDiff/ReviewDiffHighlightModel.swift:106-115 \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":"HermesMobile/Features/Workspace/SourceViewer/SourceFileViewModel.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3f3f1f60ea05333a1da88ba8522303c17d63dc74ddaafc4e5961d7bcff9bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): HermesMobile/Features/Chat/ChatStreamCoordinator.swift:1216-1231 | HermesMobile/Features/Chat/ChatStreamCoordinator.swift:1233-1246 \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":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab27919b4847c505dc4a8ea5c58957186df5d66e4802116ec0021e59370e82dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/Persistence/CacheStore\u002BHermes.swift:345-355 | HermesMobile/Persistence/CacheStore\u002BHermes.swift:360-367 \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":"HermesMobile/Persistence/CacheStore\u002BHermes.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c62de7256651468b42a2aa8a67de2151e2f7e474246b5c670b17886c1b5adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): HermesMobile/Features/SessionList/ProjectCreationSheet.swift:69-81 | HermesMobile/Features/SessionList/ProjectCreationSheet.swift:92-104 \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":"HermesMobile/Features/SessionList/ProjectCreationSheet.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7fb4ddd9fed20689fbe655a945714861ce17c99d7912bfabfe4e76ebeac5b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Features/Bots/BotGeneratedAvatar.swift:106-112 | HermesMobile/Features/Chat/ToolCallDiff.swift:294-301 \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":"HermesMobile/Features/Bots/BotGeneratedAvatar.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9a9f774ecea7e9d16541b41b67297d1b044e4bed5098e08337962476938c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): HermesMobile/Features/Chat/ChatStreamCoordinator.swift:642-657 | HermesMobile/Networking/CacheFallbackPolicy.swift:22-37 \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":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"f948c20501f5d7280c19673a645b3e4b89f57dd380374a6aadf65c9592688b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Features/Screen/ScreenView.swift:413-419 | HermesMobile/Features/Workspace/SourceViewer/SourceFileSurface.swift:140-147 \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":"HermesMobile/Features/Screen/ScreenView.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"6338e5313c08fe9f99f0d77432ecac98aa4476fa3e6b32dd667ac4bc8775a912"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Features/Chat/TranscriptLinkPreview.swift:155-161 | HermesMobile/Features/Chat/TranscriptMedia.swift:688-694 \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":"HermesMobile/Features/Chat/TranscriptLinkPreview.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"582bd9766952857a1e7eb31ba3f23b2e1f05b6deeec0e3de099fdd35cc4393ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): HermesMobile/Features/Chat/TranscriptMediaView.swift:953-969 | HermesMobile/Features/Workspace/FilePreviewView.swift:431-442 \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":"HermesMobile/Features/Chat/TranscriptMediaView.swift"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4fc20de17ce8709a4a0e456a31c116523ef1b2c1de85a69e01edfbb8535025"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): HermesMobile/Features/Share/SharedDraftStore.swift:142-146 | HermesMobile/Models/Cron.swift:296-300 \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":"HermesMobile/Features/Share/SharedDraftStore.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aca0407d9699dc83f95de2ccda7c432d2d42afc9cd87544201d10f2f323f80f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Networking/Hermes/HermesSkillsClient.swift:106-108 | HermesMobile/Networking/Hermes/HermesWorkspaceFileClient.swift:156-158 \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":"HermesMobile/Networking/Hermes/HermesSkillsClient.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51b8438510b317e5c0fcca5468cec2dbae6f43ad34777b47698786736e88852"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/Features/Bots/BotConnectionView.swift:471-476 | HermesMobile/Features/Onboarding/OnboardingViewModel.swift:145-150 \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":"HermesMobile/Features/Bots/BotConnectionView.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fb8d4dc5677b54a36ba0ed3d90a9682b611e87001e1721dd1fb883c511a8a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): HermesMobile/Features/SessionList/SessionListViewModel.swift:1608-1616 | HermesMobile/Features/Settings/ArchivedSessionsView.swift:252-260 \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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"6838baff1fc12c5b930372844b290e250bf99ee47452e02e1776bc9c1dfd62b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesMobile/Networking/Hermes/HermesConnectedAppsClient.swift:186-195 | HermesMobile/Networking/Hermes/HermesInsightsClient.swift:78-87 \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":"HermesMobile/Networking/Hermes/HermesConnectedAppsClient.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38840895008f168a3c67cd38a81c631ef95ff4439aa522780b1e6ae792b4b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/AppIntents/ProfileEntity.swift:65-70 | HermesMobile/Features/Memory/MemoryViewModel.swift:87-92 \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":"HermesMobile/AppIntents/ProfileEntity.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1314d10132b6ce8c4c03855db1bae340b08636c464713eab24af448038f95b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Features/Bots/BotProfileEditorView.swift:357-364 | HermesMobile/Features/Bots/BotCreateView.swift:285-291 \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":"HermesMobile/Features/Bots/BotProfileEditorView.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e04c027c93f96a8374c40da5d4fe673b446716ac487d246f22fce570e021b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Features/MoveToHermes/MoveToHermesReconcile.swift:302-308 | HermesMobile/Models/Kanban.swift:246-260 \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":"HermesMobile/Features/MoveToHermes/MoveToHermesReconcile.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9856113661cf6d5100465af63efba509b1d8ffa9e8efb940222943cfb5111f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Features/Screen/ScreenInput.swift:52-54 | HermesMobile/Features/Screen/ScreenInput.swift:56-59 \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":"HermesMobile/Features/Screen/ScreenInput.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"43996a938b038fe0c35150bd94f71cb38b14c609d8f571eb0c0be695e1084709"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/Models/Approval.swift:367-372 | HermesMobile/Models/Kanban.swift:1041-1046 \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":"HermesMobile/Models/Approval.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ae136aeddbe93cdaec4c05dcd9b8cbf1b71a61a9eaf81126c95b27114bb9cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): HermesMobile/Networking/Hermes/HermesCronClient.swift:152-157 | HermesMobile/Networking/APIClient\u002BMemory.swift:180-184 \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":"HermesMobile/Networking/Hermes/HermesCronClient.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c82dd8648114cf41f8eb69ec023ca3c2c5fbfd860ee60ae6ca7ac909b1ee18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Features/Bots/BotProfileEditor.swift:213-220 | HermesMobile/Features/Bots/BotProfileEditor.swift:259-265 \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":"HermesMobile/Features/Bots/BotProfileEditor.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1588e568efd740e0ba1d0e69d0d0f6a1b86db22e9da4f7bd3cf2d8616af334ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Features/Chat/ChatView.swift:2784-2790 | HermesMobile/Features/Chat/ChatViewModel.swift:9135-9141 \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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":2784}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37f416c01d386aebdc3290e25f066fb84dd70b03a2b5928aca0872836fdeaef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Chat/InAppBrowserPolicy.swift:8-11 | HermesMobile/Features/Chat/TranscriptLinkPreview.swift:206-214 \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":"HermesMobile/Features/Chat/InAppBrowserPolicy.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5faea89948e712cad51830efbf24c9702a498b87dc80ad5d93dc1d4d96f17e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): HermesMobile/Models/ServerAccount.swift:579-588 | HermesMobile/Networking/CustomHeader.swift:119-128 \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":"HermesMobile/Models/ServerAccount.swift"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4583516d7218eaeb9dd1e4256a16ba1cdb215c631e00d5c1e79300e0a2867f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Bots/BotCreator.swift:152-155 | HermesMobile/Features/Bots/BotProfileEditor.swift:235-238 \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":"HermesMobile/Features/Bots/BotCreator.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"70abb324d8e8f283f14520c721cdba499a7ea0544375251610add86367e69049"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/Features/Bots/BotPendingRequestCard.swift:186-193 | HermesMobile/Features/Chat/ApprovalRequestInset.swift:297-304 \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":"HermesMobile/Features/Bots/BotPendingRequestCard.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ff8fe1e86f01a7cf916cd726bc1775ab2376786feb3105887f55276ca83ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): HermesMobile/Features/Chat/HermesDelegatedWork.swift:105-109 | HermesMobile/Models/ServerCatalog.swift:941-945 | HermesMobile/Models/TurnFileChangeSummary.swift:209-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 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":"HermesMobile/Features/Chat/HermesDelegatedWork.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"01018c74cfc29007e1e9100bc533e58488863ab1d95666f534e5379b48879795"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): HermesMobile/Features/SessionList/SessionListView.swift:1396-1406 | HermesMobile/Features/SessionList/HermesSessionListView.swift:1087-1091 \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":"HermesMobile/Features/SessionList/SessionListView.swift"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"79413bdf6cd95501328fdcb62d54ed1718b2f27c599cb7ea27e46443808b45b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): HermesMobile/Features/Insights/InsightsView.swift:19-24 | HermesMobile/Features/Skills/SkillsView.swift:18-22 \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":"HermesMobile/Features/Insights/InsightsView.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd64f054b3f9344de807d197462af16fe484af3e3dbb0fef755b7fc6d23b3e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): HermesMobile/Features/SessionList/SessionListComponents.swift:2153-2168 | HermesMobile/Features/SessionList/SessionRowView.swift:192-210 \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":"HermesMobile/Features/SessionList/SessionListComponents.swift"},"region":{"startLine":2153}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b9646a92608d54fc4715229bb335021c073411ea200cb9225918d48840da0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Chat/ToolCallDisplayFormatter.swift:297-300 | HermesMobile/Networking/APIError.swift:251-254 \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":"HermesMobile/Features/Chat/ToolCallDisplayFormatter.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1954b48ac9842a57f5b731c4d2d49e6ddf71a4fced80149637d66bb9218d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): HermesMobile/Features/Memory/MemoryViewModel.swift:43-56 | HermesMobile/Features/Skills/SkillsViewModel.swift:25-38 \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":"HermesMobile/Features/Memory/MemoryViewModel.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5324698a4bc55a567add33adc3f907ecc190743fd451707f8661d7ebf64c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): HermesMobile/Networking/Hermes/HermesCronClient.swift:193-195 | HermesMobile/Networking/Hermes/HermesGitClient.swift:647-649 | HermesMobile/Networking/Hermes/HermesWorkspaceFileClient.swift:160-162 \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":"HermesMobile/Networking/Hermes/HermesCronClient.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"069a959fe1ffc7ea7dd20d3e5a92b44531a236a37843791501a1ed96f5d54ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): HermesMobile/Features/Chat/ApprovalRequestInset.swift:137-141 | HermesMobile/Features/Chat/ClarificationRequestCard.swift:83-87 \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":"HermesMobile/Features/Chat/ApprovalRequestInset.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"cceb1e29889c7172cd2b32e7e3db3dcbb94ac8aaaa57281c9db062a62487987c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Chat/ChatComposerAttachmentStripView.swift:281-284 | HermesMobile/Features/Chat/MessageBubbleView.swift:887-890 \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":"HermesMobile/Features/Chat/ChatComposerAttachmentStripView.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb9223885d858b92ffb65b7a181ea87658321a51459ca9c35095c7eb6598b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/Features/Workspace/GitDiffView.swift:216-221 | HermesMobile/Features/Workspace/SourceViewer/SourceFileSurface.swift:166-171 \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":"HermesMobile/Features/Workspace/GitDiffView.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b809d8bbe53c4e331632253a5b152a072a8ac3f152fcc818e70a760fbd3aa0ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Networking/APIClient\u002BCron.swift:263-265 | HermesMobile/Networking/APIClient\u002BSessions.swift:22-27 \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":"HermesMobile/Networking/APIClient\u002BCron.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4579a7a10de1d7a596ff7b7201ceb2a1878eb1e18eb431babf0f671227b1d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:9696-9708 | HermesMobile/Features/Chat/InlineAudioPlayerView.swift:327-337 \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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":9696}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76b3ac04f1a8108eebe395b1e43e2452436cbc2a0621671a90552998d47d140"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): HermesMobile/Features/Settings/PluginDetailView.swift:245-255 | HermesMobile/Features/Settings/PluginInstallSheet.swift:339-349 \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":"HermesMobile/Features/Settings/PluginDetailView.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb41d3470ee6feff962b28b3f884a6671849dbdef0f4046ae33636ba91539771"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:1451-1456 | HermesMobile/Features/MoveToHermes/MoveToHermesReconcile.swift:411-419 | HermesMobile/Models/Memory.swift:209-216 \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":"HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"a125caf0e2240ef1d1bcc99dd5b41459d31fa1bbb51ab409c465233626110d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): HermesMobile/Networking/APIClient\u002BMemory.swift:70-72 | HermesMobile/Networking/Bots/BotClient.swift:36-38 | HermesMobile/Networking/Hermes/HermesInsightsClient.swift:19-21 | HermesMobile/Networking/Hermes/HermesSkillsClient.swift:18-20 \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":"HermesMobile/Networking/APIClient\u002BMemory.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64829b708e1ed1297ebedb71a1b44775a40d5f9e00cec47fd1d45036941947c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Bots/BotCreator.swift:326-329 | HermesMobile/Features/Bots/BotProfileEditor.swift:470-473 \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":"HermesMobile/Features/Bots/BotCreator.swift"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"348e51b3eeef1ca06874fae74e5822fe062a5a790e0938b99542148d8565ea26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Networking/KanbanEventStreamClient.swift:94-102 | HermesMobile/Networking/SSEClient.swift:21-27 \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":"HermesMobile/Networking/KanbanEventStreamClient.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52d4b5d308718c9c739b28c402942cfe6d50dce9c0b1905c3168b61e9f4ad56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): HermesMobile/Features/Chat/ComposerChipToken.swift:339-342 | HermesMobile/Features/Chat/ComposerFileTrigger.swift:81-84 | HermesMobile/Features/Chat/ComposerSlashTrigger.swift:175-178 \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":"HermesMobile/Features/Chat/ComposerChipToken.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c984e7c692ac63af8a043c3081ac6a76d86c9c91910e8a16382781a35037ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Chat/ComposerFileTrigger.swift:86-89 | HermesMobile/Features/Chat/ComposerSlashTrigger.swift:180-183 \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":"HermesMobile/Features/Chat/ComposerFileTrigger.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1ca9059fcf2635d2137de8256c542429fcbb24906a514baf19de5c688e33bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Features/Chat/MarkdownMathFormatter.swift:165-171 | HermesMobile/Features/Chat/MarkdownMathSegmenter.swift:293-299 \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":"HermesMobile/Features/Chat/MarkdownMathFormatter.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dbed5725d8b28ddddd3c274f1d5212766ef88de4b6871379a445b2187a7b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Networking/APIClient\u002BMemory.swift:204-208 | HermesMobile/Networking/Hermes/HermesTurnOutcome.swift:73-76 \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":"HermesMobile/Networking/APIClient\u002BMemory.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cbb8c6d666e179e9cfdd5767f6b609e780f3b89e93f0e60085bd2c1571fd2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): HermesMobile/Features/Memory/MemoryView.swift:12-17 | HermesMobile/Features/Settings/ArchivedSessionsView.swift:23-27 \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":"HermesMobile/Features/Memory/MemoryView.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f29256fbeb0947b2731ee14cdba11e0365540d56b68eede0ed86111a083caf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): HermesMobile/Features/SessionList/SessionListComponents.swift:1891-1897 | HermesMobile/Features/Skills/SkillsViewModel.swift:93-99 \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":"HermesMobile/Features/SessionList/SessionListComponents.swift"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"625e119134671c0b95d0cb3032bea4cfb9d08e4f9620586140799226aa843867"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): HermesMobile/Features/Chat/ApprovalRequestInset.swift:314-317 | HermesMobile/Features/Chat/ClarificationRequestCard.swift:513-516 | HermesMobile/Features/Kanban/KanbanCardDetailView.swift:669-672 \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":"HermesMobile/Features/Chat/ApprovalRequestInset.swift"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"979b3ed98d9cd0b11dbffbb7a68cab0ba2b45910079dd8be34f9ba365768def6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 7\u002B corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:8034-8040 | HermesMobile/Features/SessionList/SessionListComponents.swift:1995-2001 | HermesMobile/Features/Skills/SkillsView.swift:272-278 | HermesMobile/Features/Skills/SkillsViewModel.swift:107-113 | HermesMobile/Features/Workspace/FilePreviewView.swift:385-391 | HermesMobile/Models/ToolCall.swift:37-43 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":8034}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5adf3f66d4a3a97bfc5d9cb65bafb728b0477e4815bdcbd00e00fb3dba6af32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:9288-9293 | HermesMobile/LiveActivities/AgentRunActivityAttributes.swift:413-419 \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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":9288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47ae5a3dc12557883b5187a66337d02451ee3e9c1e4a24af5a952936ed3f953"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Chat/HermesChatSideTasks.swift:433-436 | HermesMobile/Features/Chat/HermesSlashCommands.swift:167-170 \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":"HermesMobile/Features/Chat/HermesChatSideTasks.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eea11dd6c490086744c3a3ab256da5578ad097f1eac05800e6b13b6671357e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): HermesMobile/Features/Insights/InsightsModels.swift:498-504 | HermesMobile/Features/MoveToHermes/MoveToHermesReconcile.swift:431-434 | HermesMobile/Features/Settings/ProvidersViewModel.swift:73-81 \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":"HermesMobile/Features/Insights/InsightsModels.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"968813ee3aaa4d51ed11865b8877bba1723900447a78ba8f61135f2fae0b3bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Chat/DisplayMathView.swift:105-110 | HermesMobile/Features/Chat/MarkdownDiffCodeBlock.swift:64-67 \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":"HermesMobile/Features/Chat/DisplayMathView.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3c60679a7bee0313671f53d2d84695ad8c062b9ec2024dad08e489f6d55154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Workspace/FileTree.swift:114-117 | HermesMobile/Models/ModelDisplayNames.swift:133-136 \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":"HermesMobile/Features/Workspace/FileTree.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"920800ee2ba05c1f640bc1fbe5da798a21be037e87aa0c29cd633ecdbf322f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): HermesMobile/Networking/Hermes/HermesConnection.swift:172-176 | HermesMobile/Networking/Hermes/HermesProfileServing.swift:167-171 \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":"HermesMobile/Networking/Hermes/HermesConnection.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e095a7019835cd7e1af8c6b239a8c989e2df59aa25dd861ff4103fff73cb1e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): HermesMobile/Features/Bots/BotCreator.swift:321-324 | HermesMobile/Features/Bots/BotProfileEditor.swift:465-468 | HermesMobile/Features/Settings/HermesDefaultModelView.swift:161-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 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":"HermesMobile/Features/Bots/BotCreator.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"173378f19c36d80f3bced848585f68041d5942f692fb56597509ead41d3cca7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Chat/ChatHaptics.swift:158-161 | HermesMobile/Features/SessionList/SessionHaptics.swift:33-36 \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":"HermesMobile/Features/Chat/ChatHaptics.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2217ea41c29e0b425c2888cf4f6da2e2f025931eab2b1ebc2733eff606de7cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): HermesMobile/Features/Chat/ChatMessageContextMenuView.swift:83-90 | HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:363-375 \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":"HermesMobile/Features/Chat/ChatMessageContextMenuView.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d15524e7d933278a6e0a4dc4996d84a078af575cc596a16397dd98937386806"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): HermesMobile/Config/AppTheme.swift:755-757 | HermesMobile/Features/Bots/BotHistoryCache.swift:16-18 | HermesMobile/Features/Share/SharedDraftStore.swift:80-82 | HermesMobile/Push/PushPreview.swift:77-79 \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":"HermesMobile/Config/AppTheme.swift"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a13b4ac0a82918ea7a1dc49354c0ecf550ab664de720ad4d204e4f4f02d0d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Features/Insights/InsightsView.swift:13-15 | HermesMobile/Features/Skills/SkillsView.swift:13-15 \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":"HermesMobile/Features/Insights/InsightsView.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d126a44894662e65a7046d6d3b988da2c75d88ae5eeff28250e3a55275affdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Models/ChatMessage.swift:529-535 | HermesMobile/Networking/CustomHeader.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":"HermesMobile/Models/ChatMessage.swift"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5fadde4bffa4cf4ebbbf0c7df9c2102ccef6d80bcd6464296f498717fa23b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 3\u002B corresponding lines): HermesMobile/Networking/Bots/BotDashboardClient.swift:13-15 | HermesMobile/Networking/Hermes/HermesConnectedAppsClient.swift:119-121 | HermesMobile/Networking/Hermes/HermesCronClient.swift:16-18 | HermesMobile/Networking/Hermes/HermesEnvironmentClient.swift:109-111 | HermesMobile/Networking/Hermes/HermesPluginsClient.swift:289-291 | HermesMobile/Networking/Hermes/HermesUpdateClient.swift:13-15 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Bots/BotDashboardClient.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7018f4bf0820119eb54a7cd72c9f854211fbdb24ef11ac3679b99556206c1f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Chat/ToolCallDiff.swift:359-362 | HermesMobile/Features/Chat/ToolCallSummaryFormatter.swift:482-485 \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":"HermesMobile/Features/Chat/ToolCallDiff.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"b922023790cb89cc05e53e32ace3fc500199c2fe167f59190da84d00769d2e53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Kanban/KanbanFeatureState.swift:2421-2424 | HermesMobile/Features/Tasks/TaskDetailViewModel.swift:388-391 \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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2421}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7c360ecfd153258c42454f929eade6dc870ddc75b7bb7916331b4c608db7c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): HermesMobile/Features/MoveToHermes/MoveToHermesModel.swift:156-160 | HermesMobile/Features/MoveToHermes/MoveToHermesRunner.swift:396-401 \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":"HermesMobile/Features/MoveToHermes/MoveToHermesModel.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1878a5b9aa0ca4962e57604d33ccde9ef69225f0d8628181e23620f6246e3c6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Tasks/TaskRunHistorySection.swift:157-160 | HermesMobile/Features/Tasks/TaskRunOutputSheet.swift:76-79 \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":"HermesMobile/Features/Tasks/TaskRunHistorySection.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"903c5ef14d5703959936f4025a2c1bd73409a04cc5272a0e000af380b0f3e128"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Features/Bots/BotCreator.swift:331-333 | HermesMobile/Features/Bots/BotProfileEditor.swift:475-477 \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":"HermesMobile/Features/Bots/BotCreator.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"043d03cb1f6dda3daf8ee0dbf71da7c2448f605d1fe06537973e2e98d4414ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Features/Bots/BotRoomView.swift:227-229 | HermesMobile/Features/Chat/ChatView.swift:4355-4363 \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":"HermesMobile/Features/Bots/BotRoomView.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7ee8a022812099417514ea1d1d67fb447831a8a7549c62292b028ff92be876"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Features/Chat/ChatMotion.swift:42-44 | HermesMobile/Features/SessionList/SessionListComponents.swift:276-278 \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":"HermesMobile/Features/Chat/ChatMotion.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dbfa3595a3fb57ce93667ce1ba7a46fb94095caff17793bdc75526fab778f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Chat/ChatViewModel.swift:9710-9716 | HermesMobile/Features/Chat/InlineAudioPlayerView.swift:345-348 \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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":9710}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef5eb6dc2a57e9b9d66e9c46b34603c0ba26c780dedf99e4e37e095cd4c450a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): HermesMobile/Features/Chat/ReasoningBlockView.swift:76-79 | HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:25-28 | HermesMobile/Models/ClarifyResult.swift:156-159 | HermesMobile/Models/Cron.swift:587-590 \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":"HermesMobile/Features/Chat/ReasoningBlockView.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7310bf4744a05392665d84f7641e73e1cde34eac8ca9e7912365a20b11bd8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Settings/AddServerView.swift:519-522 | HermesMobile/Features/Shared/SectionCard.swift:72-77 \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":"HermesMobile/Features/Settings/AddServerView.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d15b40684d454ccd29a0511455e63fabe05e706881988936c3dddc3fe3ab463"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Networking/Hermes/HermesConnectedAppsClient.swift:126-128 | HermesMobile/Networking/Hermes/HermesPluginsClient.swift:296-298 \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":"HermesMobile/Networking/Hermes/HermesConnectedAppsClient.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8db303a0b09c3937ed2f8b59be0c4597278650037c8e1055a8b6a683e3dde68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Chat/CameraPickerView.swift:524-527 | HermesMobile/Features/Chat/CustomAttachmentPicker.swift:951-954 \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":"HermesMobile/Features/Chat/CameraPickerView.swift"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"496dafcd1373a2c053fe585508b9f578bf6784e7b1f14fb49520a727afe0ba2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Chat/TranscriptMediaExportSupport.swift:96-99 | HermesMobile/Features/Workspace/FilePreviewViewModel.swift:207-210 \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":"HermesMobile/Features/Chat/TranscriptMediaExportSupport.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f6d1e9b6cccefe93789a2ec7823c2690718e195c0d2ea7843356d38c6dcd8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): HermesMobile/Features/Bots/BotDeepLink.swift:76-79 | HermesMobile/Features/Bots/BotPendingRequest.swift:149-152 | HermesMobile/LiveActivities/HermesDeepLink.swift:192-195 | HermesMobile/Models/Goal.swift:11-14 \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":"HermesMobile/Features/Bots/BotDeepLink.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7584fe17db7219ccfcd8d662ac231f01ca29abdc2189844a3be3e2ad777a961f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): HermesMobile/Features/Bots/BotPendingRequest.swift:238-241 | HermesMobile/Models/Goal.swift:16-19 \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":"HermesMobile/Features/Bots/BotPendingRequest.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbfc871840c6e9fe654a5ea3473c46a5d7aac85bce01a6e0e8eb647e3b5678d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Features/Chat/MarkdownMathFormatter.swift:142-144 | HermesMobile/Networking/Hermes/HermesPluginCatalog.swift:200-202 \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":"HermesMobile/Features/Chat/MarkdownMathFormatter.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"70be665f1602a8c594c668b28d5c20ff05565012066b7f72254fd3edf89f52c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Features/Chat/ChatHaptics.swift:40-42 | HermesMobile/Features/SessionList/SessionHaptics.swift:13-15 \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":"HermesMobile/Features/Chat/ChatHaptics.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4df5c3312cc6232b1835b23a0d9ba80b9dbf1e095dc78321e63f28bd177ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Features/Chat/ChatHaptics.swift:76-78 | HermesMobile/Features/SessionList/SessionHaptics.swift:25-27 \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":"HermesMobile/Features/Chat/ChatHaptics.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f774ce810247b5be65fcf45102f3f9680b8fd279f1cbd981b760ad7cf2fa6b97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Features/Chat/ChatHaptics.swift:80-82 | HermesMobile/Features/SessionList/SessionHaptics.swift:29-31 \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":"HermesMobile/Features/Chat/ChatHaptics.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fae07901b9fff41ca35a81fc751584aa6c4f4231ef14ffd8584f16438db16d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Features/Chat/ChatHaptics.swift:110-112 | HermesMobile/Features/SessionList/SessionHaptics.swift:17-19 \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":"HermesMobile/Features/Chat/ChatHaptics.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca80ec53cd5bf53d8a16dfb4c86ac70eeb2d2475486a48ca9d91cca3989facb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Features/Chat/ChatHaptics.swift:126-128 | HermesMobile/Features/SessionList/SessionHaptics.swift:21-23 \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":"HermesMobile/Features/Chat/ChatHaptics.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dfebb3fad0e907d9386987e6d5daf3b03c9902ea29a12c9bad9c3040e200d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): HermesMobile/Features/Chat/ChatMarkerMessageClassifier.swift:71-73 | HermesMobile/Features/Chat/ChatViewModel.swift:6597-6599 \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":"HermesMobile/Features/Chat/ChatMarkerMessageClassifier.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5539bc86eea6bb5ed9d6dfcc9f90aa027b21a3d16ff3b1d46667b216e288eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201350 lines \u00D7 2): HermesMobile/Features/Chat/ChatViewModel.swift:6151-6200 | HermesMobile/Features/Chat/ChatViewModel.swift:6262-6308 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/ChatViewModel.swift:6151\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, \u0060HermesMobile/Features/Chat/ChatViewModel.swift:6259\u0060 calls \u0060stopListening\u0060 and \u0060HermesMobile/Features/Chat/ChatViewModel.swift:6148\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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":6151}}}],"partialFingerprints":{"codehealthFindingId/v1":"560d91581b72b2a9458d65a354ddf397be58cf0092bee6f72014bbfd2615608a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:119-148 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:24-53 \u2014 before extracting anything, compare \u0060HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift\u0060 and \u0060HermesMobile/Features/Tasks/CronJobSkillsPicker.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 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 \u0060HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:119\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":"HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86fef5630d10fb65c4a9fe9968bcf520873bf8d8f4514e60b777f984cf860d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): HermesMobile/Persistence/CacheStore.swift:352-381 | HermesMobile/Persistence/CachedSession.swift:76-105 \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":"HermesMobile/Persistence/CacheStore.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a35ab44e2d8e6c6b431ea130df311e4103d6f5b5d2ea3c5deeb2fed710535de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): HermesMobile/Features/Chat/TranscriptMediaView.swift:396-424 | HermesMobile/Features/Chat/TranscriptMediaView.swift:521-549 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060HermesMobile/Features/Chat/TranscriptMediaView.swift:396\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":"HermesMobile/Features/Chat/TranscriptMediaView.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de54648b475653be50bba5a2c3ec5122395c9be2d2ee78a72b88d58c7ec7014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:266-286 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:164-184 \u2014 before extracting anything, compare \u0060HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift\u0060 and \u0060HermesMobile/Features/Tasks/CronJobSkillsPicker.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 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 \u0060HermesMobile/Features/Tasks/CronJobConfigurationPickers.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a1d03fe072201c3c5235ac355fd8ec6e825dc111f41de3a091c8bad4336c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): HermesMobile/Features/Chat/ComposerVoiceInputController.swift:294-313 | HermesMobile/Features/Chat/ComposerVoiceInputController.swift:347-366 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/ComposerVoiceInputController.swift:294\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":"HermesMobile/Features/Chat/ComposerVoiceInputController.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"275de4d8b0abcf2700c99276152e4b36e40857e4f62243f87d13acf78d2fd2dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): HermesMobile/Features/Chat/ApprovalRequestInset.swift:71-88 | HermesMobile/Features/Chat/ClarificationRequestCard.swift:565-583 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060HermesMobile/Features/Chat/ApprovalRequestInset.swift:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ApprovalRequestInset.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd83ff9b0629f2843d149c34a97ab57b089b9853277f171adcaf3172695b117d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): HermesMobile/Features/Chat/ComposerFileTrigger.swift:60-79 | HermesMobile/Features/Chat/ComposerSlashTrigger.swift:116-135 \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":"HermesMobile/Features/Chat/ComposerFileTrigger.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afd6641d481459541d540a2da51fb5a22152df2748e03bc5591000903b9f49c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): HermesMobile/Features/Chat/HermesDelegatedWorkView.swift:380-398 | HermesMobile/Features/Chat/HermesDelegatedWorkView.swift:468-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. 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":"HermesMobile/Features/Chat/HermesDelegatedWorkView.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"1981f1ef428faa7e49d8da8e19097f384217e9378f1b9a140977cdc4977e3c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift:96-114 | HermesMobile/Features/Chat/TranscriptMediaView.swift:814-832 \u2014 before extracting anything, compare \u0060HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift\u0060 and \u0060HermesMobile/Features/Chat/TranscriptMediaView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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 \u0060HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7009312aedd831a87d8afe2485aeeb7e8a3f783ce72cdbe652da5ca077c4f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): HermesMobile/Features/Kanban/KanbanCardDetailView.swift:99-117 | HermesMobile/Features/Kanban/KanbanLabView.swift:330-348 \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 \u0060HermesMobile/Features/Kanban/KanbanCardDetailView.swift:99\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":"HermesMobile/Features/Kanban/KanbanCardDetailView.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c78f08bc63f279a7b509431107dc02f15ad104eaf42c99416b01f81886f2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): HermesMobile/Models/Session.swift:366-384 | HermesMobile/Models/Session.swift:869-887 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Models/Session.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":"HermesMobile/Models/Session.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"816db0d766b4b3a65bf706cab081d1868575f1a504586288d54026c37d927ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): HermesMobile/Features/Settings/APIKeysView.swift:54-71 | HermesMobile/Features/Settings/ConnectedAppsView.swift:44-61 | HermesMobile/Features/Settings/HermesDefaultModelView.swift:235-252 | HermesMobile/Features/Settings/PluginsView.swift:133-150 \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 \u0060HermesMobile/Features/Settings/APIKeysView.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060HermesMobile/Features/Settings/HermesDefaultModelView.swift:231\u0060 calls \u0060sheet\u0060 and \u0060HermesMobile/Features/Settings/PluginsView.swift:129\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":"HermesMobile/Features/Settings/APIKeysView.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a6b17fe0e512355c73c86dd05cb1109cded8de1d4db437f19d9f6ead681975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift:95-111 | HermesMobile/Features/Chat/TranscriptMediaView.swift:813-829 | HermesMobile/Features/Workspace/FilePreviewView.swift:157-173 \u2014 before extracting anything, compare \u0060HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift\u0060 and \u0060HermesMobile/Features/Chat/TranscriptMediaView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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 \u0060HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift:95\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":"HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71d9ec574cef6a7c70214db5d56803c023ab4cb655d2dc5b96ca8c3c112f395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift:112-128 | HermesMobile/Features/Chat/TranscriptMediaView.swift:407-423 | HermesMobile/Features/Chat/TranscriptMediaView.swift:532-548 \u2014 before extracting anything, compare \u0060HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift\u0060 and \u0060HermesMobile/Features/Chat/TranscriptMediaView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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 \u0060HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift:112\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":"HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"805755c26ffd07977a8675193e650886c92d0cc7df273debcb7e4895d7b2e9f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): HermesMobile/Features/Chat/CameraPickerView.swift:492-508 | HermesMobile/Features/Chat/CustomAttachmentPicker.swift:794-810 \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 \u0060HermesMobile/Features/Chat/CameraPickerView.swift:492\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":"HermesMobile/Features/Chat/CameraPickerView.swift"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ae3ce6487cca405efc046e15bc74b7cdcfe2eed070da16286bccc186a4f6a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): HermesMobile/Features/SessionList/SessionListComponents.swift:932-948 | HermesMobile/Features/SessionList/SessionListComponents.swift:1298-1314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060HermesMobile/Features/SessionList/SessionListComponents.swift:932\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":"HermesMobile/Features/SessionList/SessionListComponents.swift"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"61af183b31d6069d4abd8a28d9edaeb7f3714865d70d60a2789dceda35e328dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): HermesMobile/Features/SessionList/SessionListComponents.swift:2071-2087 | HermesMobile/Features/Settings/ArchivedSessionsView.swift:271-287 \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":"HermesMobile/Features/SessionList/SessionListComponents.swift"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2bc8722d6962e2ffc3d42e51c463cabb1aba408da3e995e10cf7d7f6127952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:349-365 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:277-293 \u2014 before extracting anything, compare \u0060HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift\u0060 and \u0060HermesMobile/Features/Tasks/CronJobSkillsPicker.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 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 \u0060HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:349\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":"HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4406c43d4062df4a48c9ebe41a6ca6fde329cc8d10772f0b130e2e1f23144e39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): HermesMobile/Networking/KanbanEventStreamClient.swift:116-132 | HermesMobile/Networking/SSEClient.swift:52-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060HermesMobile/Networking/KanbanEventStreamClient.swift:116\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":"HermesMobile/Networking/KanbanEventStreamClient.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13c95747c7dcf2ab395057e9d7cabfae99a291e6e0f8994a6baf0e71e3d17a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): HermesMobile/Features/Bots/BotArtifactPreview.swift:122-137 | HermesMobile/Features/Chat/TranscriptHTMLReportView.swift:67-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 \u0060HermesMobile/Features/Bots/BotArtifactPreview.swift:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Bots/BotArtifactPreview.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae376d05ce6485c4ab68ab00b61603126b627248888de73a02b0e3d05a0bc422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): HermesMobile/Features/Chat/ChatView.swift:3880-3895 | HermesMobile/Features/Chat/ChatView.swift:3979-3994 \u2014 both copies are in the same file, so extract the block 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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"3619f47703d8f50c55d872f0ceb6fa69363ff455d014c2c00011854d98b95f37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): HermesMobile/Features/Settings/DefaultProfilePickerView.swift:55-70 | HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:209-224 \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 \u0060HermesMobile/Features/Settings/DefaultProfilePickerView.swift:55\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, \u0060HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:206\u0060 calls \u0060listRowSeparator\u0060 and \u0060HermesMobile/Features/Settings/DefaultProfilePickerView.swift:52\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":"HermesMobile/Features/Settings/DefaultProfilePickerView.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2dffa2f3106175a069a61dcf46194ed4fa1d62fcf8c3e339166bd377505f86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): HermesMobile/Features/Settings/APIKeysModel.swift:48-62 | HermesMobile/Features/Settings/ConnectedAppsModel.swift:72-86 \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":"HermesMobile/Features/Settings/APIKeysModel.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5116f15e50ad02db2f72b7c865b802f0f8e2e17ddfd263888722d417d81126c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): HermesMobile/Features/Settings/DefaultProfilePickerView.swift:205-219 | HermesMobile/Features/Shared/ModelPickerSheet.swift:491-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060HermesMobile/Features/Settings/DefaultProfilePickerView.swift:205\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":"HermesMobile/Features/Settings/DefaultProfilePickerView.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a73fe1330cc0f69018cde6987652042f7fb75f5eec543e7c603d2c8db493e46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): HermesMobile/Features/SessionList/SessionListViewModel.swift:2901-2914 | HermesMobile/Features/Settings/ArchivedSessionsViewModel.swift:389-402 | HermesMobile/Features/Settings/DefaultProfilePickerView.swift:293-306 | HermesMobile/Features/Workspace/FileBrowserViewModel.swift:363-376 \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. 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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":2901}}}],"partialFingerprints":{"codehealthFindingId/v1":"17171e6c12308359ea5280945d381819f43b90640af4e174e2cabe8bdc2662b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): HermesMobile/Features/Chat/ChatView.swift:1055-1068 | HermesMobile/Features/Chat/ChatView.swift:1991-2003 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/ChatView.swift:1055\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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfe1f57909528c180cf1b27c9b0c38cb9d28788c866bb7f2c8f4ce40ab8807d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): HermesMobile/Features/Chat/ChatView.swift:1101-1114 | HermesMobile/Features/Chat/ChatView.swift:2111-2124 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/ChatView.swift:1101\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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24a66a45d4fbbeee5c1b8075b19b7ab0411f49d70292bc76190dcdecfe61c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): HermesMobile/Features/Chat/ChatViewModel.swift:1562-1575 | HermesMobile/Features/Chat/ChatViewModel.swift:4783-4796 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/ChatViewModel.swift:1562\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc993e44c31350bd4c97ea41f25cfa14b6c3a358a599dfd736a4bcda84023bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): HermesMobile/Features/Chat/ChatViewModel.swift:2476-2489 | HermesMobile/Features/Chat/ChatViewModel.swift:5510-5522 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/ChatViewModel.swift:2476\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, \u0060HermesMobile/Features/Chat/ChatViewModel.swift:5509\u0060 calls \u0060replacingTokensUsed\u0060 and \u0060HermesMobile/Features/Chat/ChatViewModel.swift:2476\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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":2476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87be65937e2b5de76ebbdfa651fffa692bc6671f89ceb4288361a26094fee7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): HermesMobile/Features/Workspace/GitCommitView.swift:305-317 | HermesMobile/Features/Workspace/GitDiffFileJumpList.swift:81-93 | HermesMobile/Features/Workspace/GitWorkspaceView.swift:353-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 all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Workspace/GitCommitView.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a17a2b71dc722d576762ec8c567278b3609500b9a61423820f3aeeee0d74e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): HermesMobile/Features/Chat/ChatViewModel.swift:5376-5388 | HermesMobile/Features/Chat/ChatViewModel.swift:5462-5474 \u2014 both copies are in the same file, so extract the block 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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":5376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46ec6ea9ebde71261fb44aa4d09c85794d0acded1ca086ece205e42c573affe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): HermesMobile/Features/SessionList/SessionListViewModel.swift:1370-1382 | HermesMobile/Features/SessionList/SessionListViewModel.swift:1417-1429 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/SessionList/SessionListViewModel.swift:1370\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060HermesMobile/Features/SessionList/SessionListViewModel.swift:1383\u0060 calls \u0060move\u0060 and \u0060HermesMobile/Features/SessionList/SessionListViewModel.swift:1430\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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3546f9e307a84feeb93e00debd392ddf1a85f6dd47168d4da1f6915d8c7bb0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): HermesMobile/Features/Settings/DefaultProfilePickerView.swift:97-109 | HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:238-249 \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 \u0060HermesMobile/Features/Settings/DefaultProfilePickerView.swift:97\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:249\u0060 calls \u0060Text\u0060, \u0060Button\u0060 and \u0060HermesMobile/Features/Settings/DefaultProfilePickerView.swift:109\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":"HermesMobile/Features/Settings/DefaultProfilePickerView.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d25a13af1c7d76673d63ca276aa15dd932990b66ea01242bec168ba9fd1c2d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): HermesMobile/Features/Chat/ChatComposerAttachmentStripView.swift:288-299 | HermesMobile/Features/Chat/MessageBubbleView.swift:913-924 \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 \u0060HermesMobile/Features/Chat/ChatComposerAttachmentStripView.swift:288\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":"HermesMobile/Features/Chat/ChatComposerAttachmentStripView.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9ef42fb67b350e183fdcab170ac67bef5bfaea8af9c66dbe7bc8d730f173c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): HermesMobile/Features/Chat/ClarificationRequestCard.swift:35-48 | HermesMobile/Features/Chat/ClarificationRequestCard.swift:562-573 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/ClarificationRequestCard.swift:35\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":"HermesMobile/Features/Chat/ClarificationRequestCard.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"55da629b057b7d1c320233cafe4d016d7859e467cfde8fc71e0656dcd41669ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): HermesMobile/Features/Chat/MarkdownRenderer.swift:389-400 | HermesMobile/Features/Chat/ToolCallLogRowView.swift:196-207 \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 \u0060HermesMobile/Features/Chat/MarkdownRenderer.swift:389\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":"HermesMobile/Features/Chat/MarkdownRenderer.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c078052a6bfe37139f113ffdf43a9670e489ac153d17c9177ba9a0b3dff0428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): HermesMobile/Features/Kanban/KanbanFeatureState.swift:2182-2193 | HermesMobile/Features/Kanban/KanbanFeatureState.swift:2226-2237 \u2014 both copies are in the same file, so extract the block 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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bf1d2afc8ae03f0e730d84d2febe4cea64007278e1be582266e9386df68a46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 2): HermesMobile/Features/SessionList/HermesSessionListView.swift:1043-1050 | HermesMobile/Features/SessionList/SessionListView.swift:1342-1353 \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 \u0060HermesMobile/Features/SessionList/HermesSessionListView.swift:1043\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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7f4e9481b1fd7c66633777929447a5ea436e4564bd199e88d4a603870edc83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): HermesMobile/Features/Settings/AddServerView.swift:524-535 | HermesMobile/Features/Shared/SectionCard.swift:33-44 \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 \u0060HermesMobile/Features/Settings/AddServerView.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060HermesMobile/Features/Shared/SectionCard.swift:29\u0060 calls \u0060footer\u0060 and \u0060HermesMobile/Features/Settings/AddServerView.swift:521\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":"HermesMobile/Features/Settings/AddServerView.swift"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"769e30a0af8196814c6d51c9998fc2f5121ebd35905d191998dc756eb35420b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): HermesMobile/Features/Settings/DefaultProfilePickerView.swift:196-207 | HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:348-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060HermesMobile/Features/Settings/DefaultProfilePickerView.swift:196\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":"HermesMobile/Features/Settings/DefaultProfilePickerView.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53610c7ebb21386f773a149bd58debbaa031d4d021a61cea3e67a87e7f4dcce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): HermesMobile/Models/Approval.swift:376-387 | HermesMobile/Models/Clarification.swift:199-210 \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":"HermesMobile/Models/Approval.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"343925ad92aafc81ce361160451b47bd7b6086497e2f39e595c36125e8719feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:272-282 | HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:357-367 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:170-180 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:285-295 \u2014 before extracting anything, compare \u0060HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift\u0060 and \u0060HermesMobile/Features/Tasks/CronJobSkillsPicker.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 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 \u0060HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:272\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":"HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d77862a913f5a8cb54e12b170775a8ebcf4b8d0e458d886976de9b3902e88d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): HermesMobile/Features/Chat/ChatViewModel.swift:5888-5898 | HermesMobile/Features/Chat/ChatViewModel.swift:7071-7081 | HermesMobile/Features/Chat/ChatViewModel.swift:7557-7566 \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 \u0060HermesMobile/Features/Chat/ChatViewModel.swift:5888\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":5888}}}],"partialFingerprints":{"codehealthFindingId/v1":"e424138601c430cc657241b354647979e1f18f48685a4f1bd4536c7f5b3526c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): HermesMobile/Features/Settings/DefaultProfilePickerView.swift:54-64 | HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:208-218 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:105-115 \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 \u0060HermesMobile/Features/Settings/DefaultProfilePickerView.swift:54\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:206\u0060 calls \u0060listRowSeparator\u0060 and \u0060HermesMobile/Features/Settings/DefaultProfilePickerView.swift:52\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":"HermesMobile/Features/Settings/DefaultProfilePickerView.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f52b6e0973243370dd80d33be5f6cc94c680a221392e1ef50120d8c05170b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift:99-109 | HermesMobile/Features/Workspace/FilePreviewView.swift:66-76 \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 \u0060HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift:99\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":"HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2cd6b0776b741b2e2fcb4e7693508019715a255402ef3196ca8f29f6a4f10b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): HermesMobile/Features/Insights/ProviderLimitsCard.swift:46-56 | HermesMobile/Features/Settings/ProvidersView.swift:104-114 \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":"HermesMobile/Features/Insights/ProviderLimitsCard.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4aad455d861c91e61db5be3a91a8f20c412002ed08ea2c96fab59dac4d131ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): HermesMobile/Features/Kanban/KanbanCardDetailState.swift:259-269 | HermesMobile/Features/Kanban/KanbanCardEditorState.swift:474-484 \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":"HermesMobile/Features/Kanban/KanbanCardDetailState.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0ee136914384825ce225774a20ea1377b1b03ee15489a0896a9988e6d55c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): HermesMobile/Features/Kanban/KanbanCardDetailView.swift:409-419 | HermesMobile/Features/Kanban/KanbanLabView.swift:1285-1295 \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 \u0060HermesMobile/Features/Kanban/KanbanCardDetailView.swift:409\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":"HermesMobile/Features/Kanban/KanbanCardDetailView.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"1379ad6461e0f5a6c4461c4009d391af5651555dd7633045406a457d6b7d5395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): HermesMobile/Features/SessionList/SessionListComponents.swift:1829-1839 | HermesMobile/Features/SessionList/SessionListComponents.swift:1955-1965 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/SessionList/SessionListComponents.swift:1829\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":"HermesMobile/Features/SessionList/SessionListComponents.swift"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1d134005fb0a0f14d6a84e6d3577eac04eeefa5c4fa5e821e911f57ce47f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): HermesMobile/Features/Chat/ApprovalRequestInset.swift:188-197 | HermesMobile/Features/Chat/ClarificationRequestCard.swift:277-286 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060HermesMobile/Features/Chat/ApprovalRequestInset.swift:188\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":"HermesMobile/Features/Chat/ApprovalRequestInset.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c7147db30ce0a6e43b76efcac51c1b84856535dda54a4609a12f0d43027176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): HermesMobile/Features/Chat/ChatComposerAttachmentStripView.swift:303-312 | HermesMobile/Features/Chat/MessageBubbleView.swift:928-937 \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 \u0060HermesMobile/Features/Chat/ChatComposerAttachmentStripView.swift:303\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":"HermesMobile/Features/Chat/ChatComposerAttachmentStripView.swift"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54f6c8dd0a16073a0a2ce5437982557d36a614557fca8188d6ae165140e17d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): HermesMobile/Features/Chat/MarkdownDiffCodeBlock.swift:254-263 | HermesMobile/Features/Chat/MarkdownRenderer.swift:606-615 \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 \u0060HermesMobile/Features/Chat/MarkdownDiffCodeBlock.swift:254\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, \u0060HermesMobile/Features/Chat/MarkdownRenderer.swift:605\u0060 calls \u0060frame\u0060 and \u0060HermesMobile/Features/Chat/MarkdownDiffCodeBlock.swift:253\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":"HermesMobile/Features/Chat/MarkdownDiffCodeBlock.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9eab092b564f35b03bfff8e5e378787c03b2fe9cbbbfd027f1547706728bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): HermesMobile/Features/Settings/PluginsModel.swift:442-451 | HermesMobile/Features/Settings/PluginsModel.swift:474-483 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Settings/PluginsModel.swift:442\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":"HermesMobile/Features/Settings/PluginsModel.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"7828ac183cbd0c8572e364445f46a0c62a7a8e57024e120a62d7265c7289e10e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): HermesMobile/Models/Approval.swift:121-130 | HermesMobile/Models/Clarification.swift:146-155 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060HermesMobile/Models/Approval.swift:121\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":"HermesMobile/Models/Approval.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"306c51a7ccf9f2c9a58867e5fd80af8258aa50c3bfdf307b2056b72dad06491a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): HermesMobile/Features/Settings/DefaultProfilePickerView.swift:212-220 | HermesMobile/Features/Shared/ModelPickerSheet.swift:185-193 | HermesMobile/Features/Shared/ModelPickerSheet.swift:498-506 | HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:275-283 | HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:360-368 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:173-181 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:288-296 \u2014 there are 7 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 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 \u0060HermesMobile/Features/Settings/DefaultProfilePickerView.swift:212\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, \u0060HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:370\u0060 calls \u0060disabled\u0060, \u0060accessibilityLabel\u0060, \u0060details\u0060 and \u0060HermesMobile/Features/Tasks/CronJobConfigurationPickers.swift:285\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":"HermesMobile/Features/Settings/DefaultProfilePickerView.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aa9014900b80e591efc6b152e28e6e17e1e7b4decc5cecd69a1e7bab5d6751"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:1552-1560 | HermesMobile/Features/Shared/ActionToast.swift:345-353 \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 \u0060HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:1552\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":"HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40cef58ed99db56ac444dc8f43019a718650d99e472bc37b342887f42f2f1b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): HermesMobile/Features/Chat/MarkdownMathSegmenter.swift:136-144 | HermesMobile/Features/Chat/MarkdownMathSegmenter.swift:147-155 \u2014 both copies are in the same file, so extract the block 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":"HermesMobile/Features/Chat/MarkdownMathSegmenter.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9745f4d33bcbea567bf761a6ddbd23d0f8732975cdba7797663cbb64caf1329d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): HermesMobile/Features/Chat/MessageBubbleView.swift:877-885 | HermesMobile/Features/Chat/MessageBubbleView.swift:987-995 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/MessageBubbleView.swift"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"766cc3ebc414e73978431ede26e441d9e7bbf2feb2395c42276949dd81e3b66b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): HermesMobile/Features/Chat/TranscriptMediaView.swift:512-520 | HermesMobile/Features/Chat/TranscriptMediaView.swift:662-670 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060HermesMobile/Features/Chat/TranscriptMediaView.swift:512\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/TranscriptMediaView.swift"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5622f323a0dcbe562b5e23bb250d5233f28a1f8e128a95865adea22eb8beb2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): HermesMobile/Features/Chat/TranscriptMediaView.swift:554-562 | HermesMobile/Features/Chat/TranscriptMediaView.swift:646-654 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/TranscriptMediaView.swift:554\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/TranscriptMediaView.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"50939cf73f0e424c5c5ad1d82c533cb039112b5700fb4927b57b8f9c3039f44c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): HermesMobile/Features/Settings/APIKeysModel.swift:46-54 | HermesMobile/Features/Settings/PluginsModel.swift:169-176 \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 \u0060HermesMobile/Features/Settings/APIKeysModel.swift:46\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":"HermesMobile/Features/Settings/APIKeysModel.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"13037356a0aa5d17b753da9ade93ce1dbe19a0e5fbbb06a43ab6a89ef3d1cd9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): HermesMobile/Features/Share/SharedDraftStore.swift:361-369 | HermesMobile/Features/Share/SharedDraftStore.swift:428-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Share/SharedDraftStore.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5f19210a3d38535860ff03cefe39b07de9d9909cd42ebf782b9c32405c9679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): HermesMobile/Networking/Endpoints.swift:635-643 | HermesMobile/Networking/Endpoints.swift:646-654 \u2014 both copies are in the same file, so extract the block 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":"HermesMobile/Networking/Endpoints.swift"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86d05f65ff062f19317df6cd72c5585191fdf6d07dd76c42a6c2f986fd57218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): HermesMobile/Features/SessionList/SessionListViewModel.swift:1097-1104 | HermesMobile/Features/SessionList/SessionListViewModel.swift:1119-1126 | HermesMobile/Features/SessionList/SessionListViewModel.swift:1138-1145 \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 \u0060HermesMobile/Features/SessionList/SessionListViewModel.swift:1097\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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"50444debba401783fde7af9c633be8e0db1200e28e29f78fde295f9883ad3ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): HermesMobile/Config/DevAutoLogin.swift:81-87 | HermesMobile/Config/DevAutoLogin.swift:110-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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060HermesMobile/Config/DevAutoLogin.swift:109\u0060 calls \u0060address\u0060 and \u0060HermesMobile/Config/DevAutoLogin.swift:80\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":"HermesMobile/Config/DevAutoLogin.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9314054df3d9ff1927f4b8e51bda5bd4c64a1d180fe505cfae281f6ef239bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): HermesMobile/Features/Bots/BotCreateView.swift:229-236 | HermesMobile/Features/Bots/BotProfileEditorView.swift:288-295 \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 \u0060HermesMobile/Features/Bots/BotCreateView.swift:229\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":"HermesMobile/Features/Bots/BotCreateView.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"34529ce5d5fb236f0cda4374056ab8f59a42934586b37d0bc90e019cb5353977"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): HermesMobile/Features/Chat/ComposerChipTextView.swift:488-496 | HermesMobile/Features/Chat/ComposerChipTextView.swift:514-521 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/ComposerChipTextView.swift:488\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":"HermesMobile/Features/Chat/ComposerChipTextView.swift"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef525265803618b3725aa40bc6eddaf4b2a119d1048efb05f4c1156f95ba8747"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): HermesMobile/Features/Chat/HermesBtwPanel.swift:166-173 | HermesMobile/Features/Chat/HermesBtwPanel.swift:196-203 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/HermesBtwPanel.swift:166\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, \u0060HermesMobile/Features/Chat/HermesBtwPanel.swift:174\u0060 calls \u0060HermesBtwCloseButton\u0060 and \u0060HermesMobile/Features/Chat/HermesBtwPanel.swift:204\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":"HermesMobile/Features/Chat/HermesBtwPanel.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3112487825383a25c026a366e3927b31a30f1dc9ed02cc57d1159bf1163fd537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): HermesMobile/Features/Chat/HermesChatRequests.swift:291-298 | HermesMobile/Features/Chat/HermesChatRequests.swift:447-454 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/HermesChatRequests.swift:291\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":"HermesMobile/Features/Chat/HermesChatRequests.swift"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f224cbc7445242a5d979c252303e1066e20a3b953bc929b14cd3b8766f7e94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift:1124-1131 | HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift:1150-1157 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift:1124\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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7cd856e692983527155cee64c50f396d683d110f72f0a0f320c206974887d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): HermesMobile/Features/Chat/TranscriptLinkPreview.swift:187-194 | HermesMobile/Features/Chat/TranscriptMedia.swift:696-703 \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 \u0060HermesMobile/Features/Chat/TranscriptLinkPreview.swift:187\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":"HermesMobile/Features/Chat/TranscriptLinkPreview.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e324b985fbea62a9f1aa65d80a9fa94acce29748dae2abaeacc134f4e7074f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): HermesMobile/Models/Session.swift:391-398 | HermesMobile/Models/Session.swift:896-903 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060HermesMobile/Models/Session.swift:389\u0060 calls \u0060decodeLossyDoubleIfPresent\u0060, \u0060decodeLossyStringIfPresent\u0060 and \u0060HermesMobile/Models/Session.swift:895\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":"HermesMobile/Models/Session.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcde31fe5c3cef1314289d5273566f498711b5bfd1d2f758ef6a42568e0ad825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): HermesMobile/Features/SessionList/SessionListViewModel.swift:1079-1085 | HermesMobile/Features/SessionList/SessionListViewModel.swift:1098-1104 | HermesMobile/Features/SessionList/SessionListViewModel.swift:1120-1126 \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 \u0060HermesMobile/Features/SessionList/SessionListViewModel.swift:1079\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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"57be656c94d0bfb7d8d7f591a44d24b63f30bbccdfe9efecc7bcf7ff7a9661ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Features/Bots/BotPendingRequestCard.swift:313-319 | HermesMobile/Features/Chat/ClarificationRequestCard.swift:452-458 \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 \u0060HermesMobile/Features/Bots/BotPendingRequestCard.swift:313\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":"HermesMobile/Features/Bots/BotPendingRequestCard.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81ca7397db1c73138b5f5f2d6219b9b0ef6306064988d9a29104ec18b05dc08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:1221-1227 | HermesMobile/Features/Chat/ChatTranscriptView.swift:1305-1311 \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 \u0060HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:1221\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, \u0060HermesMobile/Features/Chat/ChatTranscriptView.swift:1304\u0060 calls \u0060foregroundStyle\u0060 and \u0060HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:1220\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":"HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9b8c3b966da903b6668452f8918667c4dfca702e5e3f55234aa0e4759142a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:1422-1428 | HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:1562-1568 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift:1422\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":"HermesMobile/Features/Chat/ChatTranscriptSupportingViews.swift"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd000b71868db8f1a2cc6e920ab21e74e4233438109ed2921ce1bcf41015320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Features/Chat/FilePathAutocompleteView.swift:38-44 | HermesMobile/Features/Chat/SlashCommandAutocompleteView.swift:54-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060HermesMobile/Features/Chat/FilePathAutocompleteView.swift:38\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":"HermesMobile/Features/Chat/FilePathAutocompleteView.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ee444e12d7eb85c3f579b5902de4637e2a3a00c5e0badd5e65490333427455"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Features/Chat/MarkdownMathFormatter\u002BEnvironments.swift:5-11 | HermesMobile/Features/Chat/MarkdownMathFormatter\u002BEnvironments.swift:19-25 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/MarkdownMathFormatter\u002BEnvironments.swift:5\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":"HermesMobile/Features/Chat/MarkdownMathFormatter\u002BEnvironments.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c86b3cccfba137eda782d84ee89d5594eb14068973f00ae33d07dfc39bcac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): HermesMobile/Features/Chat/ThinkingSliderLooksGeometric.swift:67-74 | HermesMobile/Features/Chat/ThinkingSliderLooksGeometric.swift:278-285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ThinkingSliderLooksGeometric.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cd47add0da3b99f7f67ad53bf0a33753255ec055ca2c2f7662d497d80ce467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Features/SessionList/HermesSessionListView.swift:810-816 | HermesMobile/Features/SessionList/SessionListView.swift:954-962 \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 \u0060HermesMobile/Features/SessionList/HermesSessionListView.swift:810\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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d039720f581742de50a7466a355e800b9d4a51b137db33f59e2a0fe4fb1c74f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Features/Settings/AddServerView.swift:236-242 | HermesMobile/Features/Settings/AddServerView.swift:269-275 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Settings/AddServerView.swift:236\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":"HermesMobile/Features/Settings/AddServerView.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bc455cd830adfc649116e01fa7152b221b339a6b6b488b093b54eb9b3ad0aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Features/Settings/SettingsAboutPage.swift:189-195 | HermesMobile/Features/Settings/SettingsDiagnosticsPage.swift:169-175 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from 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, \u0060HermesMobile/Features/Settings/SettingsAboutPage.swift:186\u0060 calls \u0060ToolbarItem\u0060, \u0060Button\u0060, \u0060String\u0060 and \u0060HermesMobile/Features/Settings/SettingsDiagnosticsPage.swift:168\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":"HermesMobile/Features/Settings/SettingsAboutPage.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92e167cc86889a818236ac86744a8436f2271a73bafaa28beba855a63f205e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Features/Shared/ModelPickerSheet.swift:798-804 | HermesMobile/Features/Tasks/CronJobSkillsPicker.swift:194-200 \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 \u0060HermesMobile/Features/Shared/ModelPickerSheet.swift:798\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":"HermesMobile/Features/Shared/ModelPickerSheet.swift"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"caff80b9c9de289a88a16b3ee3c98e1ff0a49d9bee992e32774d3e3388b6afb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Features/Workspace/GitCommitView.swift:329-335 | HermesMobile/Features/Workspace/GitWorkspaceView.swift:367-373 \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 \u0060HermesMobile/Features/Workspace/GitCommitView.swift:329\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":"HermesMobile/Features/Workspace/GitCommitView.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"3444ae61884a0535fa071a1b6519551aca9d94b5d3fd3b333b988c37d3800260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Persistence/CacheStore.swift:128-134 | HermesMobile/Persistence/CacheStore.swift:208-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 \u0060HermesMobile/Persistence/CacheStore.swift:128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"HermesMobile/Persistence/CacheStore.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f79161c3ab7367f2b14703f227d04f7e23e9f67d81b0848a3436111f20923ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): HermesMobile/Features/Bots/BotCreateView.swift:255-271 | HermesMobile/Features/Bots/BotProfileEditorView.swift:320-336 \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":"HermesMobile/Features/Bots/BotCreateView.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"033b306df93da5e749caf9f59028ceaeb4f5fecd798f6bef09faafc5d17ea97e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): HermesMobile/Features/Chat/HermesChatSideTasks.swift:369-374 | HermesMobile/Features/Chat/HermesSlashCommands.swift:306-310 \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 \u0060HermesMobile/Features/Chat/HermesChatSideTasks.swift:369\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":"HermesMobile/Features/Chat/HermesChatSideTasks.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d084d734e40b0be97bb15cc5e9b78062d30e33bea9904e9511521acd80f386be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Features/Chat/MarkdownMathFormatter.swift:299-304 | HermesMobile/Features/Chat/MarkdownMathFormatter.swift:315-320 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/MarkdownMathFormatter.swift:299\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":"HermesMobile/Features/Chat/MarkdownMathFormatter.swift"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"f723c48566700a05321f2e75dbe89653f2ab6cb3c0eb5b291159c6e1d03e0f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Features/Chat/MarkdownRenderer.swift:38-43 | HermesMobile/Features/Chat/MarkdownRenderer.swift:124-129 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/MarkdownRenderer.swift:38\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":"HermesMobile/Features/Chat/MarkdownRenderer.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a393a155c73664af644720fb777801e95ba3560b20b6b80240a6ad7b88df2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Features/Chat/MarkdownRenderer.swift:604-609 | HermesMobile/Features/Chat/MarkdownRenderer.swift:647-652 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/MarkdownRenderer.swift:604\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":"HermesMobile/Features/Chat/MarkdownRenderer.swift"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f4a14e2fcdf5aa1de85343722270ceb338cc3c9b2a8690a7fdf613b6951bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Features/Chat/MessageBubbleView.swift:835-840 | HermesMobile/Features/Chat/TranscriptMediaView.swift:666-671 \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 \u0060HermesMobile/Features/Chat/MessageBubbleView.swift:835\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":"HermesMobile/Features/Chat/MessageBubbleView.swift"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62ec80e42191caf3a3f9465565f9b0ceaa9eb7a735c0f10cea1131a896ce10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Networking/Bots/BotProtocol.swift:18-23 | scripts/fixtures/HermesFixtureCapture.swift:177-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060HermesMobile/Networking/Bots/BotProtocol.swift:18\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":"HermesMobile/Networking/Bots/BotProtocol.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"004a67138eaa6a790b55ebe4e2cd7c48d8b826f70982e76cfdacb4f87e85e42a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Persistence/CacheStore\u002BHermes.swift:82-87 | HermesMobile/Persistence/CacheStore.swift:127-132 \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 \u0060HermesMobile/Persistence/CacheStore\u002BHermes.swift:82\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":"HermesMobile/Persistence/CacheStore\u002BHermes.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9693abdcdb16260c365c41c1d716b212c13b97bd12106d0b33778a7220e3a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Features/Kanban/KanbanCardDetailView.swift:424-429 | HermesMobile/Features/Kanban/KanbanLabView.swift:1300-1305 \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 \u0060HermesMobile/Features/Kanban/KanbanCardDetailView.swift:424\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":"HermesMobile/Features/Kanban/KanbanCardDetailView.swift"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c925436d10648b3cfd6ba71453ad2b1a55aa22bdbe2cca16dd85c8912fee77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Features/Kanban/KanbanCardDetailView.swift:471-477 | HermesMobile/Features/Kanban/KanbanLabView.swift:1411-1417 \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 \u0060HermesMobile/Features/Kanban/KanbanCardDetailView.swift:471\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":"HermesMobile/Features/Kanban/KanbanCardDetailView.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc37fe349bfd975072f2f9fad1cdbb0ad8d42905fe77fdc82ad6aca48564924e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 3): HermesMobile/Models/JSONValue.swift:11-17 | HermesMobile/Networking/Bots/BotProtocol.swift:8-16 | scripts/fixtures/HermesFixtureCapture.swift:167-175 \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 \u0060HermesMobile/Models/JSONValue.swift:11\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":"HermesMobile/Models/JSONValue.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e5d01c36d2b5c7c2da10f3e78ae7ccce75c1b9cce263467c6fbc4aaa9dd06f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): HermesMobile/Config/AppTheme.swift:951-960 | HermesMobile/Features/Settings/SettingsNotificationsPage.swift:96-105 \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":"HermesMobile/Config/AppTheme.swift"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"e068312673805d123660e82a7689d90f6b30cd6eddde8d265be7e0803ced6261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): HermesMobile/Features/Chat/ApprovalRequestInset.swift:125-134 | HermesMobile/Features/Chat/ClarificationRequestCard.swift:71-80 | HermesMobile/Features/Chat/ClarificationRequestCard.swift:642-651 \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":"HermesMobile/Features/Chat/ApprovalRequestInset.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d04bf106e7bc3218f52ed8d043091731d3443353156600cf6ebda7db47e8e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): HermesMobile/Features/Chat/ChatComposerTextInputView.swift:211-220 | HermesMobile/Features/Chat/MessageBubbleView.swift:474-483 \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":"HermesMobile/Features/Chat/ChatComposerTextInputView.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f640183a1162f294270a7c05074d9d5e63111d724521bebfd54a16642e3013ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): HermesMobile/Features/Chat/ChatView.swift:4684-4688 | HermesMobile/Features/SessionList/SessionListViewModel.swift:1602-1606 | HermesMobile/Features/Settings/ArchivedSessionsViewModel.swift:380-384 | HermesMobile/Models/Session.swift:711-715 \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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":4684}}}],"partialFingerprints":{"codehealthFindingId/v1":"634372e502b85caf2be43675049c6da4c67d95a93e82c5b3bd4a0d3e77b8c01d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): HermesMobile/Features/Chat/ComposerVoiceNoteRecorder.swift:188-196 | HermesMobile/Features/Chat/InlineAudioPlayerView.swift:350-358 \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":"HermesMobile/Features/Chat/ComposerVoiceNoteRecorder.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"504aeefa46e7132efbd72684b74a198cd8dc298b29028a6de4df83452eba2b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Features/Chat/ToolCallSummaryFormatter.swift:475-480 | HermesMobile/Models/TurnFileChangeSummary.swift:199-206 \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":"HermesMobile/Features/Chat/ToolCallSummaryFormatter.swift"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6913be10c47cad4ba86e15028439bcfe90fec256cb70d1a0f2f80757c4a055"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift:158-163 | HermesMobile/Features/Chat/TranscriptMediaView.swift:946-951 \u2014 before extracting anything, compare \u0060HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift\u0060 and \u0060HermesMobile/Features/Chat/TranscriptMediaView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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":"HermesMobile/Features/Chat/TranscriptMediaImageLightbox.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda83b215df857a775bbbd447c8175f1d6c6400d07e63ed890bac4684462cea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): HermesMobile/Features/Kanban/KanbanCardDetailState.swift:272-276 | HermesMobile/Features/Kanban/KanbanFeatureState.swift:2268-2272 \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":"HermesMobile/Features/Kanban/KanbanCardDetailState.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d986f8ed42a0765414b1049870fd18243ec4c19af45404751108874ee3dc8b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): HermesMobile/Features/SessionList/SessionNavigationState.swift:136-140 | HermesMobile/Models/Kanban.swift:1354-1358 | HermesMobile/Networking/KanbanEventStreamClient.swift:55-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":"HermesMobile/Features/SessionList/SessionNavigationState.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22dbfacd6ae80e0787e4a52ef760f4c2c655a07ef69f7805e21e14c807e2e48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Networking/Hermes/HermesCronClient.swift:161-166 | HermesMobile/Networking/Hermes/HermesPluginsClient.swift:377-382 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Hermes/HermesCronClient.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cf19f66d0cefd4deefe87d9a43289ac492f797fb7ec2c5c1492d493b2c8a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): HermesMobile/Persistence/ChatDraftAttachmentStore.swift:156-163 | HermesMobile/Persistence/ChatDraftStore.swift:613-620 \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":"HermesMobile/Persistence/ChatDraftAttachmentStore.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa87a4c1e770692bc119e866964eab1215df78fffe02561f0fe481749460caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): HermesMobile/Features/Chat/MarkdownMathFormatter.swift:201-210 | HermesMobile/Features/Chat/MarkdownMathSegmenter.swift:87-96 \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":"HermesMobile/Features/Chat/MarkdownMathFormatter.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f891ac19c820d8620d597c95f0bb313c573221492db0f5af01a0bdc53fedfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): HermesMobile/Features/Kanban/KanbanCardEditorState.swift:486-490 | HermesMobile/Features/SessionList/SessionListView.swift:1441-1445 | HermesMobile/Features/SessionList/SessionRowView.swift:590-594 | HermesMobile/Models/ServerCatalog.swift:690-694 \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":"HermesMobile/Features/Kanban/KanbanCardEditorState.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"984631ba595b7687888a9c728b81cf342fda07253b2db5d5c254aab3149e44e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): HermesMobile/Features/SessionList/SessionListViewModel.swift:2696-2700 | HermesMobile/Features/Settings/ArchivedSessionsViewModel.swift:351-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":2696}}}],"partialFingerprints":{"codehealthFindingId/v1":"35638141fb2cab696aa9569464bff9cfec3ff8fe519aee89890ce4e582e1a986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): HermesMobile/Features/Share/SharedDraftStore.swift:868-872 | HermesMobile/Persistence/ChatDraftAttachmentStore.swift:179-183 \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":"HermesMobile/Features/Share/SharedDraftStore.swift"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"409fd2c76c0fd8195c443f8d6b2f7eccad6e9c437abc870c79f011fffcc09842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Networking/APIClient\u002BProjects.swift:24-30 | HermesMobile/Networking/APIClient\u002BSessions.swift:92-98 \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":"HermesMobile/Networking/APIClient\u002BProjects.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a496ca6f09cce6a3ac7b474f5534696c02013e8a64f3a9fa3982b093cb0723"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Widgets/BotWidgetSnapshot.swift:58-64 | HermesMobile/Widgets/ProviderLimitsSnapshot.swift:93-99 \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":"HermesMobile/Widgets/BotWidgetSnapshot.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c8c0c7d242dd1ad4648cd02ec4a4d427cf32ff792804eb3233b2f1139a4335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): HermesMobile/Features/Chat/MarkdownMathFormatter.swift:289-293 | HermesMobile/Features/Chat/MarkdownMathFormatter.swift:307-311 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Features/Chat/MarkdownMathFormatter.swift:289\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":"HermesMobile/Features/Chat/MarkdownMathFormatter.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d44ba5d4f0ac186a93b2b687ccd079cb0f877504f2a43e352f0e8265d6c44f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Features/Chat/MarkdownRenderer.swift:1460-1465 | HermesMobile/Features/Chat/MarkdownRenderer.swift:1563-1568 \u2014 both copies are in the same file, so extract the block 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":"HermesMobile/Features/Chat/MarkdownRenderer.swift"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e01cfd065908ccc4d702b848de0177ab20270a71f707df0d5eafebba21d460e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Features/Chat/MarkdownRenderer.swift:1467-1472 | HermesMobile/Features/Chat/MarkdownRenderer.swift:1557-1562 \u2014 both copies are in the same file, so extract the block 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":"HermesMobile/Features/Chat/MarkdownRenderer.swift"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca3b7f015ac08e025c21eaf447cf930f152fdc00779b0a14ab6fd4e08df3ced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): HermesMobile/Features/Chat/MessageBubbleView.swift:380-384 | HermesMobile/Features/Chat/TranscriptLinkPreviewView.swift:244-248 \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 \u0060HermesMobile/Features/Chat/MessageBubbleView.swift:380\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":"HermesMobile/Features/Chat/MessageBubbleView.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc10e36bb97560a43a593bc40a91b51198065ff459e4a6207aeb59f3b97e068d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Features/Workspace/GitDiffView.swift:175-180 | HermesMobile/Features/Workspace/SourceViewer/SourceFileSurface.swift:109-114 \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 \u0060HermesMobile/Features/Workspace/GitDiffView.swift:175\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":"HermesMobile/Features/Workspace/GitDiffView.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"64843b277bf82bac18ca13f7efb92b03934ae214a439f03d804b0c6c4691e3ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): HermesMobile/Networking/Hermes/HermesEnvironmentClient.swift:156-160 | HermesMobile/Networking/Hermes/HermesSkillsClient.swift:112-116 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Networking/Hermes/HermesEnvironmentClient.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b29791e506cebb2395e9595d371676049a21189e05d701412ec5034a8abfff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): HermesMobile/Networking/Hermes/HermesREST.swift:633-639 | HermesMobile/Networking/Hermes/HermesREST.swift:641-647 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"HermesMobile/Networking/Hermes/HermesREST.swift"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8c376e31acdc9cfa946da9f6f6a95842f00f99ac48f43f2e9222b089f2e616"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): HermesMobile/Networking/Hermes/HermesREST.swift:846-851 | HermesMobile/Networking/Hermes/HermesREST.swift:874-879 \u2014 both copies are in the same file, so extract the block 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 \u0060HermesMobile/Networking/Hermes/HermesREST.swift:846\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":"HermesMobile/Networking/Hermes/HermesREST.swift"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"af844de03f45e333c9c24d83d853ba48607179c24908355e7ab3c317bde65370"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PushAppDelegate (LCOM4 7): PushAppDelegate\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":"HermesMobile/Push/PushAppDelegate.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cd6c9f567378973fc9fb3a73fc9dd91642e0f06ecd0670a3a0debd117559dd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Coordinator (LCOM4 7): Coordinator\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":"HermesMobile/Features/Chat/ChatComposerTextInputView.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"c371284558eddbdd91f724f6c3d7b92b56b852a308002dd3dc14bfe2c5cf5dcd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChatViewModel (LCOM4 5): ChatViewModel\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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d243afe723d09c5e55afa708c16095c232df184d3a6459adf6dc8cb7c1d9060"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ResponseSelectionInput (LCOM4 5): ResponseSelectionInput\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":"HermesMobile/Features/Chat/ResponseSelectionInput.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"161ae4b69920dfd93ab32f5dd737557828dce10e5a0d910fc58060e0088c58c0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HermesConnection (LCOM4 5): HermesConnection\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":"HermesMobile/Networking/Hermes/HermesConnection.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b6ee2d751ce68e03daf0ed1581263574f60f36aa2a281bf92a5f0b8f4187cf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ComposerChipTextView (LCOM4 4): ComposerChipTextView\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":"HermesMobile/Features/Chat/ComposerChipTextView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0ffd163c9f2f365e9651990568cf520f59964816396285b9ca7c9a31d20032"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Coordinator (LCOM4 4): Coordinator\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":"HermesMobile/Features/Chat/HTMLReportWebView.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6decdb9b860fe8c70264c122bc9c4eba976e252a8e7f308f34cd05cfac106f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Coordinator (LCOM4 4): Coordinator\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":"HermesMobile/Features/Chat/ImageLightboxView.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b4a08f545bfc1e3b5add42cb61c23ebc1782a1945a2bd74c56729c1f4c9d11"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testPinFileMatchesRuntimeConstant: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobileTests/BotConnectionVersionTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9cdb09e828a0774a7d071e9df0a3a0f80eae7de86c209b45aaa8dd0c947d06"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheCacheIsNotStoredInTheAppGroup: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobileTests/CacheStoreTests.swift"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c278198eafb0f6084d59f813eb59d1bbeddc555b0ecd6e4182af461fa033ed"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTextOnlyTicksReRenderOnlyTheStreamingRow: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobileTests/ChatTranscriptRenderBudgetTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b92f1488fa933b811cd3a87cd39ab84666657351cbff8d9bcc884d53fe482b1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testOnDeviceSpeechRendersAudioTheListenPlayerCanPlay: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobileTests/ChatViewModelSendTests.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c51cd3b783606f95851d9c73d3e0c343eea1b0ed139ac68f640cacd0bc53f1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testShippedLanguageTranslationsHaveNoEmptyValues: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobileTests/LocalizationCatalogTests.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7b5459fbd8d9f3f4494757cf73bf1620db99befeb85f3feb42998fae64e3bf"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testPairingsRoundTripPerServerInTheSharedAccessGroup: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobileTests/PushRegistrationTests.swift"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c3dbd833209eb4fcd6d732acef104f14e772e6182544877f33f6b89b7ba333"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testARecordedScreenDecodesTheSameAtAnyChunkBoundary: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobileTests/RFBDecoderTests.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"504cfd15f9e4dc20221ebb64fd116dce114e131d2cdb441de14160e91771a88b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRoomSearchHitScrollsToItsSequenceAndDoesNotFollowNewMessages: 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":"HermesMobileTests/BotChatPresentationTests.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c414c77daf828903b8fecdf878eaa0305838663eb7aa5ed2f19a3c4f26f24271"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWarmRoomSearchShowsItsTargetBeforeRefreshing: 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":"HermesMobileTests/BotChatPresentationTests.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5eecc2563cf9be29e444ca00f5d2b86ec6eea10fe54356bf7363e89f0a7b1b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAttachmentAndSettingsUpdatesDoNotDisturbEachOtherOrText: 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":"HermesMobileTests/ChatDraftStoreTests.swift"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a8ef70d2d9e2ab358af7b93bf7b408bcad8461ced7652db7d7bb47b8efeb7b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testQueuedMessagesMergeIntoEmptyDraft: 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":"HermesMobileTests/ChatDraftStoreTests.swift"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebad483b24fde963e41032a85c8bacf48ee3453a103af2030e0c70313a5c1cc6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testHandlersThatCaptureTheOwnerDoNotOutliveIt: 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":"HermesMobileTests/ChatScrollPolicyTests.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"861408203fd7b568d309853463633ed62dee3916cc60da1e396dab0f08c7c5f4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAMissingSideSessionShowsTheResultUnavailable: 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":"HermesMobileTests/HermesChatSideTaskTests.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"776efdd6b42183980eb43a62681e86df2423c077d86a3b25131181fe253e04cd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAGapRebuildsFromTheSnapshot: 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":"HermesMobileTests/HermesChatTurnTests.swift"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc322b9f48e2f1058e569c062c463a15d0ef46487f184fe477eafad75778aaca"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testARebuildKeepsNewDeltasThatRepeatTheReply: 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":"HermesMobileTests/HermesChatTurnTests.swift"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3deb2427e26d07f54ba52befca7e561e15822c1f3b61898f98df8db7556de5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testARebuildDropsOnlyTheDeltasAfterTheReplayedText: 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":"HermesMobileTests/HermesChatTurnTests.swift"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59e506e2473f59db4e6f063f2c0e145f1dbcca4864e94a51a3fab67ca8f1459"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAMovesConnectionWaitsForARefreshRetiredAfterItWasMade: 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":"HermesMobileTests/HermesConnectionTests.swift"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d29a0bbdb868c0928bd2dac276f1434fb753c283360cecb683632634752459d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTheServersOwnConnectionWaitsForAMovesRefreshClosedAfterItWasMade: 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":"HermesMobileTests/HermesConnectionTests.swift"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa653dda1ba8ecf15b40c8368e8ade5b2d7b240669a881290e4ffaef27dc278"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPassiveReadCannotReplaceAFinishedUpdate: 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":"HermesMobileTests/HermexPushProvisioningTests.swift"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8b9bf514308efcfa33bc5974e56ff7ce16f34d829cee8eadb06837c780277a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPassiveReadCannotReplaceAFinishedRecheck: 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":"HermesMobileTests/HermexPushProvisioningTests.swift"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a526b600a0e5c7bc52f75c7f7766c439973a8afa62417df8e1dbad8c085f4f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPassiveReadCannotReplaceAFinishedRestart: 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":"HermesMobileTests/HermexPushProvisioningTests.swift"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"464bfcce3be2a76a330b176ff8190102af3f7983b0c6661e859334ff93b4e7f3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInlineCodeHeavyParagraphRendersOnAPhoneStack: 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":"HermesMobileTests/MarkdownMathRendererTests.swift"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"00110d4010d120dc7a7bb9f4422ef8b3eac14a6ce9b6417b71574ca5aabdc4e5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBareURLParagraphRendersOnAPhoneStack: 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":"HermesMobileTests/MarkdownMathRendererTests.swift"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"162da2fb17ecf044cd514f729b57d590b84a1fbf99b51c25ee73a94dba2b329a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSchemelessWWWLinkParagraphRendersOnAPhoneStack: 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":"HermesMobileTests/MarkdownMathRendererTests.swift"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5fab906a45c8bb2487f7b0262f7a2d7b236f9d175bc97d493e22e6f5ba2b04"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSSEClientForwardsHeartbeatComments: 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":"HermesMobileTests/SSEClientTests.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd44b4177941f304dfa47e3dfd971ec02fd5fde254c4e8dcf3adf4e57d5c8b21"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSSEClientReportsTransportErrorWhenAnOpenStreamDrops: 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":"HermesMobileTests/SSEClientTests.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6811a7edcff1e26e4b3869fde6e6547a150b5b3cb95dfc89fb0944e2fecafdd3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSSEClientReportsTransportErrorWhenServerClosesStream: 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":"HermesMobileTests/SSEClientTests.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"982fb298ef721b8e34a497dba90136859f5ac3ef78e16ca339ff21b7be9ed9ff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAHostWithoutTheMethodsSaysSo: 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":"HermesMobileTests/ScreenSessionTests.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"800e30ba8ba1a7301c992ac46f7281e1f7b824d6722fe8d11e89f82fa1421eb2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testObserveRefusedWithNoCodeReadsAsAStoppedScreen: 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":"HermesMobileTests/ScreenSessionTests.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6748cbd39c554c12e3622b832190dd5dacf6084cc4cd3e936898f97c8b199616"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testASpentTicketOpensAgainOnANewOne: 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":"HermesMobileTests/ScreenSessionTests.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1d5ecd5474fda7d0ee9d1b0b55370e30c5f1f8cc31c4ef6e38c732e8ade1e5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAScreenThatGoesAwayStopsAndABrokenStreamFails: 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":"HermesMobileTests/ScreenSessionTests.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"312e57a139bd5e2944f00c581d8782cee1976396abc817b3e4d3207b6be29142"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testARefusedUpgradeStopsRetrying: 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":"HermesMobileTests/ScreenSessionTests.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"87218fe25cd7a9b9e28ffa067e056af040e01044d5a7187d0f4bb11ac25ce316"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testARefusedStartShowsTheHostsReason: 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":"HermesMobileTests/ScreenSessionTests.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4b8bf7117cdab67c659023df314cd4fc95a4eb3d0715154ccec1bff6930bda"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testClosingTheViewWhileHoldingHandsBack: 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":"HermesMobileTests/ScreenSessionTests.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"2362e34024c24680cc19d6839bee8be5b72fa4d7a68b59511fcd1ed1475b25ae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testKeepControlRenewsThePluginsTimerAsWellAsThePhones: 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":"HermesMobileTests/ScreenSessionTests.swift"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d5ad1361d78f952fd439506d084d987e7a955245b4ae7e2146b1669e970a6e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRestartingForThePluginEndsLiveOnceTheRoutesAreMounted: 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":"HermesMobileTests/ScreenSessionTests.swift"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2477602736f656d38d7656f3afbfd2e96632c90b12b0e5a2f47a06c1ef4d9eb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAPluginActionThatFailsSaysSoAndKeepsTheOffer: 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":"HermesMobileTests/ScreenSessionTests.swift"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"615921e2c9139a3d4614bf8c819e866b0865c13a8751a00c37bafd1e815a6aa1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAStreamEndingOnAHostReadsItsStateAgain: 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":"HermesMobileTests/ScreenSessionTests.swift"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3452c694259fe404958efdc0a580c7e62815a756836deb456598c82f03973fe"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAHostThatKeepsFailingToCaptureSaysSoInsteadOfRetryingForever: 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":"HermesMobileTests/ScreenSessionTests.swift"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e12aff3bd2ff82d36463a31103fbc03b2f521a98edff70881166a648252397"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInitialRefreshStartsBeforeDelayedDeepLinkFinishes: 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":"HermesMobileTests/SessionNavigationStateTests.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6218810bde34f36808a5b5da41fc5b77b4c8d9118c76dd804ae7650aadfa9c7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRegularHermesSessionsOwnsASplit: 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":"HermesMobileTests/SessionNavigationStateTests.swift"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"78344829c96a4e49ff16345a3658e457afd87bc77e9932f0425deb3e3a999cbe"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRegularWidthCompactHeightHermesSessionsKeepsItsStack: 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":"HermesMobileTests/SessionNavigationStateTests.swift"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee37d77bcc0e5a997c32dc9e8d8b774e00ca0f05070ad4ea1c7173190714d6dc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCompactHermesSessionsStillPushesInItsCallerStack: 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":"HermesMobileTests/SessionNavigationStateTests.swift"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1ebef84103e68bab60fae9a05963272dffe5463a153588de73a25b85da5d76"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRegularBotsHomeOwnsASplit: 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":"HermesMobileTests/SessionNavigationStateTests.swift"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e72772a08234b6246c79613a25e8854a9bb81f2b86c1eace898ae029d1a491"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCompactBotsHomeKeepsItsCallerStack: 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":"HermesMobileTests/SessionNavigationStateTests.swift"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"59268b4430cc9c725f44733b85ce49ad2c3f4aa9f51b175b2ff23e65369746ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testProfileSwitchKeepsTheOpenChat: 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":"HermesMobileTests/SessionNavigationStateTests.swift"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"479c5bffcd12c208db0b3733ea4b563c8580a33f48cd61be3893f6674e9b87ce"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCachedToLiveFirstPageKeepsTheOpenChat: 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":"HermesMobileTests/SessionNavigationStateTests.swift"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"681619c8ddcb39feb2ece727a701bfbd35f5337d5a87c42d343bcc19574febfd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReloadDroppingTheOpenChatOffThePageKeepsItOpen: 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":"HermesMobileTests/SessionNavigationStateTests.swift"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2cc4891206164777d1cc2b8de193330df48f05941ef600fb4fa3266f1f8d53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Networking/Hermes/HermesREST.swift: HermesMobile/Networking/Hermes/HermesREST.swift changed 51 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 197 in HermesREST.request at line 410. 8 of those changes were fix/bug commits, and the other 43 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Networking/Hermes/HermesREST.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":"HermesMobile/Networking/Hermes/HermesREST.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e500f0a7838fcb83ac318a7e02770b3c3fcc47d7bc00196093fc1795969bf29"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Networking/Hermes/HermesCall.swift: HermesMobile/Networking/Hermes/HermesCall.swift changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 135 in HermesCall.admit at line 879. 8 of those changes were fix/bug commits, and the other 29 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Networking/Hermes/HermesCall.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":"HermesMobile/Networking/Hermes/HermesCall.swift"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea57ee48d070392129288af82a8f63688e908565f571e2def531ebcb2e005f54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/ChatViewModel.swift: HermesMobile/Features/Chat/ChatViewModel.swift changed 104 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in ChatViewModel.submitHermesPrompt at line 3358. 33 of those changes were fix/bug commits, and the other 71 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/ChatViewModel.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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fa4815cada6c67ff41f4a3e19c70247e386c93947f9621390b32058bf8d022"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/ChatView.swift: HermesMobile/Features/Chat/ChatView.swift changed 133 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ChatView.sendDraftMessage at line 3065. 35 of those changes were fix/bug commits, and the other 98 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/ChatView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":3065}}}],"partialFingerprints":{"codehealthFindingId/v1":"70117a054142a47ae8f745e93f6c586070fd98c016056b704296bb7cc3d17a87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift: HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in HermesChatTurnCoordinator.apply at line 1363. 11 of those changes were fix/bug commits, and the other 41 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/HermesChatTurnCoordinator.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":"HermesMobile/Features/Chat/HermesChatTurnCoordinator.swift"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f987ac39ddcd9c8179fe43359c0d1ccdb87f3a720a803217b89cee314df28d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/ChatComposerView.swift: HermesMobile/Features/Chat/ChatComposerView.swift changed 56 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in MessageComposerView.composerWithLifecycle at line 581. 18 of those changes were fix/bug commits, and the other 38 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/ChatComposerView.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":"HermesMobile/Features/Chat/ChatComposerView.swift"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"de096791e55c6af9b54e1869f8fd04deed9207b2d1b98e03511c7cb0e0e69ee2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/SessionList/HermesSessionListView.swift: HermesMobile/Features/SessionList/HermesSessionListView.swift changed 49 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in HermesSessionListView.body at line 235. 17 of those changes were fix/bug commits, and the other 32 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/SessionList/HermesSessionListView.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":"HermesMobile/Features/SessionList/HermesSessionListView.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbb6bd371519912af9a34322a0f35123036d20f4bf7d0e0390a9037b658c964"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/ChatTranscriptView.swift: HermesMobile/Features/Chat/ChatTranscriptView.swift changed 50 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ChatTranscriptMessageBlock.== at line 819. 14 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/ChatTranscriptView.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":"HermesMobile/Features/Chat/ChatTranscriptView.swift"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ae7b12221c94e636162a0c1bfa348858a363109ce042f2630b0c04a0a2daa1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/SessionList/SessionListView.swift: HermesMobile/Features/SessionList/SessionListView.swift changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in SessionListView.body at line 215. 14 of those changes were fix/bug commits, and the other 30 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/SessionList/SessionListView.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":"HermesMobile/Features/SessionList/SessionListView.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ce21e2037231971447120a170c72d7cd055f46cc33043afd189d70bc687e33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/BotRoomView.swift: HermesMobile/Features/Bots/BotRoomView.swift changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in BotRoomView.body at line 32. 5 of those changes were fix/bug commits, and the other 17 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/BotRoomView.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":"HermesMobile/Features/Bots/BotRoomView.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f903eae7d2631bc0bbec6a0c083509a2ac1977bab2664bf1a23d9bd8ecc8c55e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/SessionList/SessionListViewModel.swift: HermesMobile/Features/SessionList/SessionListViewModel.swift changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in SessionListViewModel.reloadHermes at line 1944. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/SessionList/SessionListViewModel.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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9e03ac18d2cd28b7f9e18909c9d1925ce0df0201099659ade2e60a5b090064"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/BotsInboxView.swift: HermesMobile/Features/Bots/BotsInboxView.swift changed 56 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in BotsInboxView.list at line 173. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/BotsInboxView.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":"HermesMobile/Features/Bots/BotsInboxView.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4c4d5a07b1afb2268d3aa134f71d9370ad11bbfb13f383b1f8d225875eb1bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/BotInbox.swift: HermesMobile/Features/Bots/BotInbox.swift changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in BotInbox.open at line 360. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/BotInbox.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":"HermesMobile/Features/Bots/BotInbox.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"56aa4c081c4785ca8162910b5bea2ddc1e1c5aa284b417b83fcc9bcbd45b4791"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/ChatStreamCoordinator.swift: HermesMobile/Features/Chat/ChatStreamCoordinator.swift changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in ChatStreamCoordinator.handle at line 802. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/ChatStreamCoordinator.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":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7a96c957a1cf970c2122f1c1c397510dc95fa54aa5d8713af8bdb95432d260"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/BotConnectionView.swift: HermesMobile/Features/Bots/BotConnectionView.swift changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in BotConnectionView.body 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/BotConnectionView.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":"HermesMobile/Features/Bots/BotConnectionView.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd6494add8665b2ffebe433635340413525a3342fcb0843a6c17bf54e2656c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Networking/Hermes/HermesGateway.swift: HermesMobile/Networking/Hermes/HermesGateway.swift changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in HermesGateway.send 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Networking/Hermes/HermesGateway.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":"HermesMobile/Networking/Hermes/HermesGateway.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cd822e3361f4e7efe5ff90a159c32a7c0f2cbb90f9fdba32d273029bcd5fca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Networking/Hermes/HermesConnection.swift: HermesMobile/Networking/Hermes/HermesConnection.swift changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in HermesConnection.beginSignIn at line 243. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Networking/Hermes/HermesConnection.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":"HermesMobile/Networking/Hermes/HermesConnection.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbc5816d19dd3f66634ee795b6125362f912c7f52a5f0133023ca0e900443f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/ContentView.swift: HermesMobile/ContentView.swift changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ContentView.handleOpenURL at line 156. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/ContentView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/ContentView.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c891e71277c4f8ca7b91d7f3d6566f4a976c4db67f8022ac185dc0e65048437d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/SessionList/SessionListComponents.swift: HermesMobile/Features/SessionList/SessionListComponents.swift changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SessionRowContextMenu.body at line 1369. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/SessionList/SessionListComponents.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":"HermesMobile/Features/SessionList/SessionListComponents.swift"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"716a7efae2b97cecb2ef5164732b49bc6f0d9ce60502117be24872e1372cfa8d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/BotRoomReader.swift: HermesMobile/Features/Bots/BotRoomReader.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in BotRoomReader.open 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/BotRoomReader.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":"HermesMobile/Features/Bots/BotRoomReader.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6ad323e8cdd197e81f379d81f7b1aa72c9079030527411623a9ee3e575924f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/BotConnection.swift: HermesMobile/Features/Bots/BotConnection.swift changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in BotConnection.address at line 60. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/BotConnection.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":"HermesMobile/Features/Bots/BotConnection.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b71ca8d2f759004ec63603ed72cdf0d82408e6c412d3e287c0ba1fb84751cd8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Networking/Endpoints.swift: HermesMobile/Networking/Endpoints.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in Endpoint.queryItems at line 411. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Networking/Endpoints.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":"HermesMobile/Networking/Endpoints.swift"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb6a121b9bf7ac7d315f45fc54f4f933dec7451f378b5d86ffda01b4b519ac6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Kanban/KanbanFeatureState.swift: HermesMobile/Features/Kanban/KanbanFeatureState.swift changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in KanbanFeatureState.refreshBoard at line 2502. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Kanban/KanbanFeatureState.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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c006106db2261cb95673cf0890f1b6d59831dfaabe58806abdcfd5edd13e338"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/ChatComposerTextInputView.swift: HermesMobile/Features/Chat/ChatComposerTextInputView.swift changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Coordinator.syncFocus at line 535. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/ChatComposerTextInputView.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":"HermesMobile/Features/Chat/ChatComposerTextInputView.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5605a09735148cb2990667d6a665d9dee5b5d3f34c445d27c5663fd73beed4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/LiveActivities/AgentLiveActivityManager.swift: HermesMobile/LiveActivities/AgentLiveActivityManager.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in AgentLiveActivityManager.update 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/LiveActivities/AgentLiveActivityManager.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":"HermesMobile/LiveActivities/AgentLiveActivityManager.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dbf9854ea3e5d572bbc0b62b4878411deb154640685361570388eec08cfcd0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/BotChatControls.swift: HermesMobile/Features/Bots/BotChatControls.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in BotChatControls.apply at line 200. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/BotChatControls.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":"HermesMobile/Features/Bots/BotChatControls.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"299d5b50bcd13d3b6980a00b96ad25917e7d5caa03dcecbaf4c24e0e43b77e23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Persistence/ChatDraftStore.swift: HermesMobile/Persistence/ChatDraftStore.swift changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Record.draft at line 498. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Persistence/ChatDraftStore.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":"HermesMobile/Persistence/ChatDraftStore.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"1982ab3e3e6d6501e1ed23b116bd4076985bb8de75c9b6efc4b6a543b28a248c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Hermes/HermesConversation.swift: HermesMobile/Features/Hermes/HermesConversation.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in HermesConversation.answer at line 374. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Hermes/HermesConversation.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":"HermesMobile/Features/Hermes/HermesConversation.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe89ab121f6a7edf11f76fd53d695ef9b3bb2980cade3f8596555b19ff22a9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/HermexPushProvisioner.swift: HermesMobile/Features/Bots/HermexPushProvisioner.swift changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in HermexPushProvisioner.setUp at line 308. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/HermexPushProvisioner.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":"HermesMobile/Features/Bots/HermexPushProvisioner.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e442b97b6fca2a90642c6a7abc82b992c135b1671321423d7abaa375159cf90"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/ComposerChipTextView.swift: HermesMobile/Features/Chat/ComposerChipTextView.swift changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ComposerChipTextView.canPerformAction at line 671. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/ComposerChipTextView.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":"HermesMobile/Features/Chat/ComposerChipTextView.swift"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb4bd580732718a14ef1d5c490a2b17eeb418a2a78477b247ce54f082f514ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Onboarding/OnboardingViewModel.swift: HermesMobile/Features/Onboarding/OnboardingViewModel.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in OnboardingViewModel.addHermesServer at line 519. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Onboarding/OnboardingViewModel.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":"HermesMobile/Features/Onboarding/OnboardingViewModel.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b00cb4fd298c6d4da05279b717a9532f175bdd30490a6b25095aec208039cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/BotHistoryCache.swift: HermesMobile/Features/Bots/BotHistoryCache.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in BotHistoryCache.appendRoom at line 130. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/BotHistoryCache.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":"HermesMobile/Features/Bots/BotHistoryCache.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1808b5a8e63e648561ed48f2ab6cb09efd135f965b87e10cb1103b7500cf55"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Kanban/KanbanLabView.swift: HermesMobile/Features/Kanban/KanbanLabView.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in KanbanStatusFocusView.body at line 207. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Kanban/KanbanLabView.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":"HermesMobile/Features/Kanban/KanbanLabView.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd6083b0dfb3b417d815ee2e0ef772b07ba0bef8d2943aca6a28e26fb78259b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Workspace/GitDiffView.swift: HermesMobile/Features/Workspace/GitDiffView.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ReviewDiffLoader.load at line 318. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Workspace/GitDiffView.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":"HermesMobile/Features/Workspace/GitDiffView.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68b60f634b215f55ce3e57794a9372b65566fcce254d665980fcf5112eaac5f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift: HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ChatAttachmentPreviewViewModel.load at line 638. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/ChatAttachmentPreviewView.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":"HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ce93cffc472b7c6f409a7b8bb5657aad5b1f009aad081e4be69dffc658e6d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/HermexPushSettingsPage.swift: HermesMobile/Features/Bots/HermexPushSettingsPage.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in HermexPushSettingsPage.pushSettings at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/HermexPushSettingsPage.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":"HermesMobile/Features/Bots/HermexPushSettingsPage.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7418030c52c262a9a6e0d60919a486087383cd94d0f1f39b68651e333b53da9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/ChatMessageActions.swift: HermesMobile/Features/Chat/ChatMessageActions.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ChatMessageActionMenu.items 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/ChatMessageActions.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":"HermesMobile/Features/Chat/ChatMessageActions.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26f2d70765dd85df72e13020ef2229d5f21327cdafe836f28def2406502dacc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/TranscriptMediaView.swift: HermesMobile/Features/Chat/TranscriptMediaView.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in TranscriptMediaThumbnailView.body at line 127. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/TranscriptMediaView.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":"HermesMobile/Features/Chat/TranscriptMediaView.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb7b1fb8f0bc57ef5dc1b5224f641a39b792ac944f9eaa517cbb24a919e60c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Workspace/FileBrowserView.swift: HermesMobile/Features/Workspace/FileBrowserView.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in FileBrowserView.content at line 74. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Workspace/FileBrowserView.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":"HermesMobile/Features/Workspace/FileBrowserView.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8719208b52b15be6a73bfaf30485b97d91b6f9308f14ddbba58edaef0006436"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Workspace/GitWorkspaceViewModel.swift: HermesMobile/Features/Workspace/GitWorkspaceViewModel.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in GitWorkspaceAvailabilityViewModel.quickCommit at line 436. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Workspace/GitWorkspaceViewModel.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":"HermesMobile/Features/Workspace/GitWorkspaceViewModel.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a76da276da232636b45fbd7bf4f2b51be5897c4ea968441bbb5ae4befa9afa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Workspace/FilePreviewViewModel.swift: HermesMobile/Features/Workspace/FilePreviewViewModel.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in FilePreviewViewModel.load 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Workspace/FilePreviewViewModel.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":"HermesMobile/Features/Workspace/FilePreviewViewModel.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"896c4ced23920f0937360b51ff1cb55a8c9235eface797bf2fd3819b7c5fb18d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/HermesTranscriptHistory.swift: HermesMobile/Features/Chat/HermesTranscriptHistory.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in HermesTranscriptProjection.project at line 198. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/HermesTranscriptHistory.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":"HermesMobile/Features/Chat/HermesTranscriptHistory.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaa3640639110e2f01e6c3b94e94553b4d750655fe98b0b2e3b33c59bf1bd07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/TranscriptMedia.swift: HermesMobile/Features/Chat/TranscriptMedia.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in TranscriptMediaParser.appendMediaSegments at line 273. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/TranscriptMedia.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":"HermesMobile/Features/Chat/TranscriptMedia.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6d07bf9c5ab520a74c766d55c9cc7e3b316b88ee5842720a192516d0f65e49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/BotProfileEditorView.swift: HermesMobile/Features/Bots/BotProfileEditorView.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BotProfileEditorView.body 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/BotProfileEditorView.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":"HermesMobile/Features/Bots/BotProfileEditorView.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a78ec54a849964733d75a03275ce78cd19db7df04314594ede6e1ceaa5bb75c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Models/MessageAttachment.swift: HermesMobile/Models/MessageAttachment.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in MessageAttachment.hermesTitle at line 247. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Models/MessageAttachment.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":"HermesMobile/Models/MessageAttachment.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c640380d3314659dfa5dcffe53fd82a511d34ee6285950769eeb7a2217b3191"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/MoveToHermes/MoveToHermesView.swift: HermesMobile/Features/MoveToHermes/MoveToHermesView.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in MoveToHermesSheet.pausedDetails at line 376. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/MoveToHermes/MoveToHermesView.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":"HermesMobile/Features/MoveToHermes/MoveToHermesView.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"936e2667d1379dfc0aeddb2bf3288acfabf2965af2cb9f4147c9a45bcad72135"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/ComposerVoiceInputController.swift: HermesMobile/Features/Chat/ComposerVoiceInputController.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ComposerVoiceInputController.finishServerRecording at line 497. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/ComposerVoiceInputController.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":"HermesMobile/Features/Chat/ComposerVoiceInputController.swift"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"3215702758e42c0113ec2db3a883f9d8ba41e67745f0a5098055d5a5019fa9a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/BotSearchView.swift: HermesMobile/Features/Bots/BotSearchView.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in BotSearchView.body at line 65. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/BotSearchView.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":"HermesMobile/Features/Bots/BotSearchView.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4474bfcca6c749f34ac215c858379135bad2edcc7a189538d7777a4c29b7ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Networking/APIError.swift: HermesMobile/Networking/APIError.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in APIError.errorDescription 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Networking/APIError.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":"HermesMobile/Networking/APIError.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9586bff2b784f7eada61ef7658d5d8cc2cea57c536b208b6f5ea210ac93b6f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Insights/InsightsViewModel.swift: HermesMobile/Features/Insights/InsightsViewModel.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in InsightsViewModel.loadLimits 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Insights/InsightsViewModel.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":"HermesMobile/Features/Insights/InsightsViewModel.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5ba96561b386eed480ef76e024bc35238188ac2762079286c7050ae981a1bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/BotCreateView.swift: HermesMobile/Features/Bots/BotCreateView.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in BotCreateView.body 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/BotCreateView.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":"HermesMobile/Features/Bots/BotCreateView.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9af54298cd2550dd27a72edef6fb0f1f65024dbe439b0e84ff68e802900177"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Push/PushRegistrar.swift: HermesMobile/Push/PushRegistrar.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in PushActivityRegistrar.reconcile at line 573. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Push/PushRegistrar.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":"HermesMobile/Push/PushRegistrar.swift"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"cede06c5e9ed72075fba2a56647447fde6719b49d3fa157312b37790c02d6cff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/ComposerChipToken.swift: HermesMobile/Features/Chat/ComposerChipToken.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ComposerChipTokenizer.tokens at line 158. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/ComposerChipToken.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":"HermesMobile/Features/Chat/ComposerChipToken.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a529f65b75b3a460d2b6b1d2d8908bc64c4e7561e253de54a51f9516a4cdc8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Screen/ScreenView.swift: HermesMobile/Features/Screen/ScreenView.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ScreenView.content at line 115. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Screen/ScreenView.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":"HermesMobile/Features/Screen/ScreenView.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d65c106143e258e916a3c47ecd1699c69df85e54be1a2380a38bfa41ee8f037"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/HermesDelegatedWork.swift: HermesMobile/Features/Chat/HermesDelegatedWork.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in HermesDelegatedWork.loadTail at line 238. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/HermesDelegatedWork.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":"HermesMobile/Features/Chat/HermesDelegatedWork.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23ad18cae7a5d667f86c51c54599c264a0b3bc618072441caf6c178ddc4988f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/BotRoomProfileView.swift: HermesMobile/Features/Bots/BotRoomProfileView.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in BotRoomProfileView.body 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/BotRoomProfileView.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":"HermesMobile/Features/Bots/BotRoomProfileView.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e744617d3ea8b1e40130792efa9e2f40930934cc771198b88f73c4bbc958be33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Chat/TranscriptMediaPreviewViewModel.swift: HermesMobile/Features/Chat/TranscriptMediaPreviewViewModel.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in TranscriptMediaPreviewViewModel.load at line 60. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/TranscriptMediaPreviewViewModel.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":"HermesMobile/Features/Chat/TranscriptMediaPreviewViewModel.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e70aa2a74fcc304d5421b3a2f4b6d3bf6442aede8047763fc686d234799b7b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Persistence/CachedMessage.swift: HermesMobile/Persistence/CachedMessage.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CachedMessage.matches 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Persistence/CachedMessage.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":"HermesMobile/Persistence/CachedMessage.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"989304f88d3af56aac776fce11fe1a3aac9286cf1fc4ee0c81a4c7ea559ccddc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/fixtures/HermesFixtureCapture.swift: scripts/fixtures/HermesFixtureCapture.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Capture.run at line 218. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- scripts/fixtures/HermesFixtureCapture.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/fixtures/HermesFixtureCapture.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfd7cfe29a8a01d179c5ec8f7a516440930fb4a12954d186ccf0df14bd7c45b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: HermesMobile/Features/Bots/BotRoomCreator.swift: HermesMobile/Features/Bots/BotRoomCreator.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in BotRoomCreator.create at line 69. 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 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Bots/BotRoomCreator.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":"HermesMobile/Features/Bots/BotRoomCreator.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6cf1f816e1add4870dde9dd1eb9013a887e3b5d902d6901463445496f06ccb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: HermesMobile/Features/Chat/SlashCommandAutocompleteView.swift: HermesMobile/Features/Chat/SlashCommandAutocompleteView.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 8 (its worst body is SlashCommandAutocompleteView.subArgs at line 401), 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: small bugs, dead code, and stale docs from a full-project audit (#1626)\u201D; \u201Cfix(chat): keep the composer above the keyboard when / or @ opens on short screens (#1615)\u201D; \u201Cfix(ui): drop the divider lines between rows (#1614)\u201D; \u201Cfix(chat): unify corner radius of surfaces stacked above the composer (#411)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/SlashCommandAutocompleteView.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":"HermesMobile/Features/Chat/SlashCommandAutocompleteView.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85bec9750cc91e8b813a04139929e7b9b0fafc3c95a67bc60d3e7e02460c79a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift: HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is ChatAttachmentCoordinator.performUpload at line 412), 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(chat): give the session titler the start of a long paste (#1702)\u201D; \u201Cfix(chat): open the continuation when a compressed webui session rejects a send (#1284)\u201D; \u201Cfix(chat): bound retained draft attachment storage (#985)\u201D; \u201Cfix(chat): keep queued messages when leaving a chat mid-run (#913)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Chat/ChatAttachmentCoordinator.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":"HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13fbc6cea744a957d2f3a5e56079d70bd573e591306f1b1b1fcd87815bcac42"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: HermesMobile/Features/Hermes/HermesHome.swift: HermesMobile/Features/Hermes/HermesHome.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 HermesHomeChrome.body at line 45), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ui): stop screens jumping just after they open (#1653)\u201D; \u201Cfix(home): move the unfolded iPhone Duo\u0027s controls into its rail (#1599)\u201D; \u201Cfix(home): put the home\u0027s switch, search, and avatar in the iPhone Duo rail (#1597)\u201D; \u201Cfix(hermes): balance the Bots and Sessions switch (#1345)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Hermes/HermesHome.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":"HermesMobile/Features/Hermes/HermesHome.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ab81114cf851215391a19dd616ce40d4408ea4c25cabf56c6079e6fedfc3d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: HermesMobile/Models/ServerCatalog.swift: HermesMobile/Models/ServerCatalog.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 7 (its worst body is UpdatesCheckResponse.forcedCheckOutcome at line 435), 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(chat): honor saved server TTS preferences (#991)\u201D; \u201Cfix(chat): a refused steer must not stop the run (#906)\u201D; \u201Cfix(chat): count \u0022Working for\u0022 and \u0022Worked for\u0022 from the server\u0027s turn start (#408)\u201D; \u201Cfix(picker): expose the full model catalog\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Models/ServerCatalog.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":"HermesMobile/Models/ServerCatalog.swift"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"350b793f53f1aef23eaebaa4a28174773640b03d6d0c90bcf6c53ff3d92a633c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: HermesMobile/Features/Share/SharedDraftStore.swift: HermesMobile/Features/Share/SharedDraftStore.swift changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is HermesShareDraft.reserveNextPendingImport at line 354), 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(intents): keep server URLs out of the app group (#1560)\u201D; \u201Cfix(share): explain which shared items were left out (#1489)\u201D; \u201Cfix(hermes): add a share again when the same content is shared after it was consumed (#1209)\u201D; \u201Cfix(share): make incoming shares transactional (#287)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Share/SharedDraftStore.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":"HermesMobile/Features/Share/SharedDraftStore.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"7872924b6970153a5c55198c4ee7ad19b3c064b4d1be917458c4b6ac98c86a10"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: HermesMobile/Models/UploadResponse.swift: HermesMobile/Models/UploadResponse.swift changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is ImagePreviewDownsampler.previewData 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(chat): give the session titler the start of a long paste (#1702)\u201D; \u201Cfix(chat): a refused steer must not stop the run (#906)\u201D; \u201Cfix(chat): allow sending attachments without composer text (#407)\u201D; \u201Cfix(chat): persist composer attachments and settings with drafts (#298)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Models/UploadResponse.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":"HermesMobile/Models/UploadResponse.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7881f6e2943213ed9de0fe444dab9ac9f751a66df6edacebb5948839fd3a67"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: HermesMobile/Features/Workspace/GitTurnChangesCard.swift: HermesMobile/Features/Workspace/GitTurnChangesCard.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 6 (its worst body is GitTurnChangesCard.header at line 51), 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: small bugs, dead code, and stale docs from a full-project audit (#1626)\u201D; \u201Cfix(hermes): keep a turn\u0027s committed work in its turn-changes card (#1463)\u201D; \u201Cfix(chat): keep transcript spacing consistent (#328)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Workspace/GitTurnChangesCard.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":"HermesMobile/Features/Workspace/GitTurnChangesCard.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f94f656d3ac6d1f2e36ed7d738b463adc19bfc52edafa50736b3af2002f4897"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: HermesMobile/Features/Settings/DefaultModelPickerView.swift: HermesMobile/Features/Settings/DefaultModelPickerView.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 DefaultModelPickerView.loadStatus 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(picker): expose the full model catalog\u201D; \u201Cfix(models): persist and match the default model with its provider\u201D; \u201Cfix(models): preserve provider identity when matching (#269)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Features/Settings/DefaultModelPickerView.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":"HermesMobile/Features/Settings/DefaultModelPickerView.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e99156318e9541fa8074e414a998f404553c49941b5e7b41b36fb33dc97c90"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: HermesMobile/Networking/APIClient.swift: HermesMobile/Networking/APIClient.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 8 (its worst body is APIClient.sendBoundedData at line 168), 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(networking): stop a redirect from carrying a sign-in password to another host (#1282)\u201D; \u201Cfix: route chat stream query \u002B multipart errors through APIClient contract (#548)\u201D; \u201Cfix(chat): retry the reconnect probe after a transport drop (#585)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Networking/APIClient.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":"HermesMobile/Networking/APIClient.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95f000bc3d69847b4b5bcd320a85656629fa26310e146d7a6e5b1b0382ae85f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: HermesMobile/Networking/APIClient\u002BSessions.swift: HermesMobile/Networking/APIClient\u002BSessions.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 APIClient.sessions at line 7), 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): a new chat started under a project filter joins that project (#925)\u201D; \u201Cfix(sessions): continue CLI and messaging sessions (#320)\u201D; \u201Cfix(sessions): duplicate via /api/session/duplicate instead of branch (#267)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Networking/APIClient\u002BSessions.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":"HermesMobile/Networking/APIClient\u002BSessions.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da18cc7277942c6bef9ee5c811894237c1d816a6e3a4cca92a7f6bd017f9f76"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: HermesMobile/Networking/APIClient\u002BChat.swift: HermesMobile/Networking/APIClient\u002BChat.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 5 (its worst body is APIClient.steerChat at line 100), 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(chat): a refused steer must not stop the run (#906)\u201D; \u201Cfix: route chat stream query \u002B multipart errors through APIClient contract (#548)\u201D; \u201Cfix(chat): retry the reconnect probe after a transport drop (#585)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 14:50:34 -05:00\u0027 --until=\u00272026-11-14 14:50:34 -05:00\u0027 --full-history --no-merges -- HermesMobile/Networking/APIClient\u002BChat.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":"HermesMobile/Networking/APIClient\u002BChat.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7c678c25fa0962bc55501aef6c9b2329eda24cbacd95860bd35fa2dfb0e22d"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060HermesMobile.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c9606bd083baa4b55d615386985cb8ade75f048d82118bc44c704f0ea2dfc9"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060isCLISession\u0060 spells \u0060CLI\u0060 where 21 names in the project spell it \u0060Cli\u0060: 21 of 22 names in project repository spell the token \u0060Cli\u0060 (21 of 22; unit: names in project repository containing \u0060Cli\u0060). Peers: HermesSessionListView.showsCliSessions (HermesMobile/Features/SessionList/HermesSessionListView.swift:47); SessionListView.showsCliSessions (HermesMobile/Features/SessionList/SessionListView.swift:164); SessionRowDisplaySettings.showCliSessionsKey (HermesMobile/Features/SessionList/SessionRowView.swift:617); SessionRowDisplaySettings.showCliSessionsKey (HermesMobile/Features/SessionList/SessionRowView.swift:622); SessionRowDisplaySettings.showsCliSessions (HermesMobile/Features/SessionList/SessionRowView.swift:633). Rename to \u0060isCliSession\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"875be75139ff54640f47cb80d298bd3b735f368d51f66db9e3ef35bdba3cbe28"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b67b2c19ff5de7ab932970bc0b54be040d6b7d592c3f61a725f432347855748e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b0bf8a8ac9eca77dfe7e6ea8ad3ee653d89f2fae75de924637c3e04ba2c4f13"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b8a2eb1dfe25f35ec9d04cd25b8fe441f6164bbc0eeba605e4a77322e8c184a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45bc793779581a24691a465cccc217e3946f9627be38e447934283eb24ba70e5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a837c32806bb7db518941c8a4e2854b808f381366ab4ac2040a823c52c694363"},"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":"D35","level":"warning","message":{"text":"Change coupling: KanbanLabView.swift \u2194 APIClient\u002BKanban.swift: \u0060HermesMobile/Features/Kanban/KanbanLabView.swift\u0060 and \u0060HermesMobile/Networking/APIClient\u002BKanban.swift\u0060 change together 100% of the time (11 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 11 shared commits counted here, the most recent 3 are \u0060ac344249\u0060 feat(kanban): Only Mine, bulk Scheduled and Review, and Complete outs\u2026; \u0060d8f63c30\u0060 feat(hermes): live Kanban updates on Hermes (#1059); \u006080b48b81\u0060 feat(hermes): Kanban boards and Cards on Hermes, read-only (#1056) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Kanban/KanbanLabView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c588ea12dba69698dbb51e8cdb71d999e916ffe2aa0417c4f0e74fe856520937"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ChatView.swift \u2192 ChatAttachmentCoordinator.swift, HermesConversation.swift, HermesMobileApp.swift, HermesGateway.swift: \u0060HermesMobile/Features/Chat/ChatView.swift\u0060 changes together with 4 other files \u2014 \u0060HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift\u0060, \u0060HermesMobile/Features/Hermes/HermesConversation.swift\u0060, \u0060HermesMobile/HermesMobileApp.swift\u0060, \u0060HermesMobile/Networking/Hermes/HermesGateway.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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d466328a81c6d6d4e00e95d5617d9a1ee7943583fd20911f597df09696b5a541"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: GitWorkspaceViewModel.swift \u2194 HermesREST.swift: \u0060HermesMobile/Features/Workspace/GitWorkspaceViewModel.swift\u0060 and \u0060HermesMobile/Networking/Hermes/HermesREST.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 \u006071f4bc0d\u0060 feat(hermes): show the branch\u0027s pull request in the Git menu (#1468); \u0060b0d7a65b\u0060 fix(hermes): keep a turn\u0027s committed work in its turn-changes card (#\u2026; \u0060f241c793\u0060 feat(hermes): review a branch\u0027s committed changes beside uncommitted \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Workspace/GitWorkspaceViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"342cf67d0dc1693d011f462755946451919343aa2d1c64473cc988b5693c1d92"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ChatViewModel.swift \u2194 HermesConversation.swift: \u0060HermesMobile/Features/Chat/ChatViewModel.swift\u0060 and \u0060HermesMobile/Features/Hermes/HermesConversation.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 \u0060c08c398d\u0060 fix(bots): follow a Bot Chat the host replaced (#1346); \u00605db9adcb\u0060 feat(hermes): open a Hermes session from a server-qualified link (#1185); \u0060ad271390\u0060 feat(bots): give a bot\u0027s chat its pill, rules and mentions in the reg\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa14cfc085b06b4ddc146054e173d486ae4f0bb5295b18bece1de241b6906bb1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ChatComposerView.swift \u2194 ComposerChipTextView.swift: \u0060HermesMobile/Features/Chat/ChatComposerView.swift\u0060 and \u0060HermesMobile/Features/Chat/ComposerChipTextView.swift\u0060 change together 53% of the time (9 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). 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 9 shared commits counted here, the most recent 3 are \u0060661a9b6c\u0060 feat(app): optimize Hermex for iPhone Duo (#1559); \u0060a0267c92\u0060 fix(composer): insert dictation at the caret and never overwrite late\u2026; \u006014d82587\u0060 feat(chat): turn large pasted text into a removable attachment (#1452) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatComposerView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0e9feb8a664a8504a8d52899a2026ce49025c10e6a451a13359205d3ce9a45"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ChatTranscriptView.swift \u2194 ResponseTextSelection.swift: \u0060HermesMobile/Features/Chat/ChatTranscriptView.swift\u0060 and \u0060HermesMobile/Features/Chat/ResponseTextSelection.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 \u0060135ad1f9\u0060 fix(chat): keep your place when rotating, and stop the Plus/Max rotat\u2026; \u00604c66bdde\u0060 perf(chat): count transcript body evaluations during a scripted strea\u2026; \u0060f7f4c587\u0060 fix(chat): keep a settled reply\u0027s header and footer clear of its text\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HermesMobile/Features/Chat/ChatTranscriptView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da9a9d3fff6de0bdd3f88f53f23e7f4e7d13f71a1a9b9eca50630e6c262a4b5"}},{"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":"HermesMobile/Models/ANSIEscapes.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe316918c8bba9b4599cc9db9ddf4f3933448c801dfecbd44c7b402405237c6"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/pr-ci.yml"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"warning","message":{"text":"No deployment automation: No release automation was found in CI \u2014 neither a deploy stage (Helm/Kubernetes/compose manifests, an orchestrated rollout) nor a publish job that ships the built artifact. Releases appear to be run by hand, which is slower, less repeatable and harder to reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7a7f38718309412c2d2c2c0663260a3d160de9a5a60f3915755be16386d3f1e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.kind == .webui \u0026\u0026 !moved.contains($0.id)\u0060 appears character-identically in 2 files \u2014 HermesMobile/ContentView.swift, HermesMobile/Features/MoveToHermes/MoveToHermesModel.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":"HermesMobile/ContentView.swift"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"5458c634dcd04ec83e5b5aff1086a450dda63f21bdab612c51f2f71b25302223"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.message.role == \u0022user\u0022 \u0026\u0026 !$0.message.isSteerMessage\u0060 appears character-identically in 2 files \u2014 HermesMobile/Features/Chat/ChatScrollPolicy.swift, HermesMobile/Features/Chat/HermesChatActivity.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":"HermesMobile/Features/Chat/ChatScrollPolicy.swift"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c9b48ca28c472c05d2f1cfdd9d871bc87ba249b6663b3b185d126e9661f2b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Task.isCancelled || error is CancellationError\u0060 appears character-identically in 2 files \u2014 HermesMobile/Features/Kanban/KanbanCardDetailState.swift, HermesMobile/Features/Kanban/KanbanFeatureState.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":"HermesMobile/Features/Kanban/KanbanCardDetailState.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cdde6d23df6e39b717f4beedf23780a4a2960d5c3c6e30126bbfe6a38549db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u002B 1 \u003C characters.count \u0026\u0026 !protected[index \u002B 1] \u0026\u0026 characters[index \u002B 1] == second\u0060 appears character-identically in 2 files \u2014 HermesMobile/Features/Chat/MarkdownMathFormatter.swift, HermesMobile/Features/Chat/MarkdownMathSegmenter.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":"HermesMobile/Features/Chat/MarkdownMathFormatter.swift"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b45a59a886fef690697870638ce062f71a600dfc843cb01e0551af423006a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isViewingCachedData \u0026\u0026 !isCachedCopyProvisional\u0060 appears character-identically in 3 files \u2014 HermesMobile/Features/Chat/ChatViewModel.swift, HermesMobile/Features/SessionList/SessionListViewModel.swift, HermesMobile/Features/SessionList/SessionRowView.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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"00286ab4ae4edb06fadf30c5e4ba6705e17f5d57d7fc0bbc011d04104cbe99a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.role == \u0022user\u0022 \u0026\u0026 message.attachments?.isEmpty == false\u0060 appears character-identically in 2 files \u2014 HermesMobile/Features/Chat/ChatView.swift, HermesMobile/Features/Chat/ChatViewModel.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":"HermesMobile/Features/Chat/ChatView.swift"},"region":{"startLine":2789}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5e73290dfa0f4e6fd6fcec22f9da83cd9b2aa97384e7c1140e9b5f0a4a63d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shouldFollowLatestMessage \u0026\u0026 !isDisclosureSettling\u0060 appears character-identically in 3 files \u2014 HermesMobile/Features/Chat/ChatScrollPolicy.swift, HermesMobile/Features/Chat/ChatTranscriptView.swift, HermesMobile/Features/Chat/ChatView.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":"HermesMobile/Features/Chat/ChatScrollPolicy.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff39c9f30854bb29596fd5c35c9574fdc843984615ebdfbb3ef7a2a7c20aad9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewModel.isLoading \u0026\u0026 viewModel.preview == nil\u0060 appears character-identically in 2 files \u2014 HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift, HermesMobile/Features/Workspace/FilePreviewView.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":"HermesMobile/Features/Chat/ChatAttachmentPreviewView.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7740ebd8583984f793854e2a97ea931c7e1341f431c5a31bde8a2f2629eba46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewModel.isLoading \u0026\u0026 viewModel.sessions.isEmpty\u0060 appears character-identically in 2 files \u2014 HermesMobile/Features/SessionList/SessionListComponents.swift, HermesMobile/Features/Settings/ArchivedSessionsView.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":"HermesMobile/Features/SessionList/SessionListComponents.swift"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b748cf0ce85247649ca6aac536808cd80b10b04a7608c76dcb2d5cceadf761"}},{"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":"HermesMobile/ContentView.swift"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd630272987a07feaca6370588ec2e1cff8b30e193b17624d2aa141b727df28b"}},{"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":"HermesMobile/Push/PushRegistrar.swift"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ade45cd0d1f43041b62b8c9dfb9ccb64a4e0fcccbcdf5ae234706bee801c90"}},{"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":"HermesMobile/Push/PushRegistrar.swift"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde1cd37be9ee9a178f523388d5e15c000da300f66acb2e1f0065a8ac599ea18"}},{"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":"HermesMobile/Persistence/ChatDraftStore.swift"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"145ecb32f445fad67ceea76df6c20a8db4cbde40fde9feacf8407443a96d481e"}},{"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":"HermesMobile/Networking/Hermes/HermesBrowserSignIn.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69b3fd55b4c6e27e2ede7e164af531998413d657a30ae7550cc78baaf2cf54b"}},{"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":"HermesMobile/Networking/Hermes/HermesConnection.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"260cd7fe29b5d3351f1820fb4f7bf353cee4f4d1eb4665509d853080b8dafa55"}},{"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":"HermesMobile/Networking/Hermes/HermesConnection.swift"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"2046ff82c2dd6be28249fce901b20eb6038e0e9a0d6116fe22518c2ce7ec70d6"}},{"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":"HermesMobile/Networking/Hermes/HermesGateway.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c0ad41510a1489f3262b883e18793d4de8fd174a83dbfbec6a5798f2c920f1"}},{"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":"HermesMobile/Networking/Hermes/HermesGateway.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"39618daa061ee6782296bea98a851a97e20081c4cf638f095355c30c78112d86"}},{"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":"HermesMobile/Networking/Hermes/HermesGateway.swift"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2237f0added9ed37b4ae25d983115e8e6d928c84d7728b2f84b29cca6af6ec"}},{"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":"HermesMobile/Networking/Hermes/HermesGitClient.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b99a2fe0ec31ee6aa8ea5c0e19a16c6197079d30ccc00ca464e0ffebcbe137"}},{"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":"HermesMobile/Networking/Hermes/HermesKanbanClient.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"0305f65a510521dc9cfb7a3bfc79a671ad624b77cedec59e8f72e6a60bb39167"}},{"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":"HermesMobile/Networking/Hermes/HermesSessionActions.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef397a74e479abc47419d056f994567842c1047e8d8fa1a776568c6faa9007f3"}},{"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":"HermesMobile/Networking/Bots/BotArtifactDownload.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"585ebc478c8c8fdee5bdf315c2f535f13b6b88a691b49bfc9c3493f8c0d25a5b"}},{"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":"HermesMobile/LiveActivities/AgentLiveActivityManager.swift"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"966bb5dff59260c105669477a70be62df496df8707c824d72b7e78dc50b9cf63"}},{"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":"HermesMobile/Features/Workspace/FileBrowserViewModel.swift"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d346b6712920859df7aea772abec3050893b12ba8928d6cb0153196745c6e5"}},{"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":"HermesMobile/Features/Workspace/GitWorkspaceViewModel.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"22582dfa86a2396b38e64ce4e0cf209b770a35174fc077c09ec5ed43e26f0093"}},{"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":"HermesMobile/Features/Shared/ActionToast.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"feaa2d0045339a8a922c0b3ca8c7ecf2daf407671174b86c7ecd7abc0eb638bf"}},{"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":"HermesMobile/Features/Shared/DelayedStatus.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bb3f6597b021cf89a8a9a8a6a7d9e83110c6e05a61fa77e5728989a4c5faa4"}},{"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":"HermesMobile/Features/SessionList/SessionListView.swift"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1c9ca0e855fb18371f8d688a002ad5a59d51ef5b3307ba99ec0b8e432ce990"}},{"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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b33754cad870f71fb456bebee13d85e83486fca9117b1b0cc98773293a5e540"}},{"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":"HermesMobile/Features/SessionList/SessionListViewModel.swift"},"region":{"startLine":2173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6ef9ff481a8ce9670efc299b642cae93270b47e3873c7edd3fa6a73a9f0f0d"}},{"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":"HermesMobile/Features/Screen/ScreenSession.swift"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"552bb0c760fe4c33ac66ca048be2171adf19d50bab4c08babdd1a657130fb4c0"}},{"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":"HermesMobile/Features/Screen/ScreenSession.swift"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d09b16e5bb0059d26caadb14ae922ff3e98c0f23e41f0d2cb84ade9802e2864"}},{"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":"HermesMobile/Features/Screen/ScreenSession.swift"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"1726477442af99969506af105a73aa6c1ee0db9578ea412a5fe8a06af016dd89"}},{"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":"HermesMobile/Features/Screen/ScreenSession.swift"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"daae312f691d1e67e8d82ed572a3775c06606d25b0a585dd488ba3d3be584d0b"}},{"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":"HermesMobile/Features/Screen/ScreenSession.swift"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7b65556e8b5790c3e2f7288a31116cd395bac12f85cb0f1d6b056d2ebf3090"}},{"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":"HermesMobile/Features/Onboarding/OnboardingViewModel.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa22fbd1bcdf8583233f8cd7272d48570a33dd720320392b9f29de220520c77"}},{"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":"HermesMobile/Features/MoveToHermes/MoveToHermesJournal.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"18eba3d6555b8173ea66685212ac84b8bec97b5ad334d33e1c0448847a9a2d8e"}},{"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":"HermesMobile/Features/MoveToHermes/MoveToHermesJournal.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3e5c2e6531380177cbc9690fb82d5d5ac57b66aae83d2712ab6a2a19983ab3"}},{"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":"HermesMobile/Features/MoveToHermes/MoveToHermesModel.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"062a0b20dbf9508eff8b35399ff892fe22334a9aa32f2eebc5a805cc9b78de36"}},{"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":"HermesMobile/Features/MoveToHermes/MoveToHermesReconcile.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"af682dc4efdd14d5b63b170f5f54c1dd84e60ad4b1ea5fb7e181354b9df5a610"}},{"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":"HermesMobile/Features/MoveToHermes/MoveToHermesReconcile.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b009bf522e61028908bef0d97bd2b9317cd3d58c9dbdcc3358fef00c549b543"}},{"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":"HermesMobile/Features/MoveToHermes/MoveToHermesReconcile.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e940d05b21df04341b71d70decc9c7cf8eea47130ddb52009947fbdb7cb10102"}},{"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":"HermesMobile/Features/MoveToHermes/MoveToHermesScan.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"855097e3645d7516c4e774be247c862c2f8f36496a24beb294583b841be293c6"}},{"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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2681}}}],"partialFingerprints":{"codehealthFindingId/v1":"337b8ac92bddaf6c5ed89ff8028494c4c9d3e0a4126ff46d2d49dcd41e575a18"}},{"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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2702}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5a2ae617b7caabc19d8f9cf16b9899ddde9d4a7cf3647cfa319afb03e8f231"}},{"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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2726}}}],"partialFingerprints":{"codehealthFindingId/v1":"37aa934de79259ca6c23be1ed25cd89d548b300de1030ed25aea1d0b64084a6b"}},{"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":"HermesMobile/Features/Kanban/KanbanFeatureState.swift"},"region":{"startLine":2748}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fbb126add2fecdf915dc5d2e3747626d3b238ce5dd8b3b1db456587c9cce9e"}},{"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":"HermesMobile/Features/Insights/InsightsViewModel.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd671a45dcd0a34d81751ee8b2d463aade0fb899f2832eea0253a06db873d60b"}},{"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":"HermesMobile/Features/Hermes/HermesConversation.swift"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12d1d78989d5a0dfce74a8f3fff4a9feec6e54915469a76e284987d7e011b0c"}},{"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":"HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f57c6ec84c5fe9a4d2bc93726ba902469f8298157c792e27e5949b6aa0bc789"}},{"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":"HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1c5cce27760968565db81e71657f0dbd6a81e34b1bd1c1486dd4fd4950e2ec"}},{"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":"HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2f75024d9e9839809db0f4c2809592656a1ffa78d8c88807c0e5e7f25530f6"}},{"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":"HermesMobile/Features/Chat/ChatAttachmentCoordinator.swift"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1d0ac609ff2b199b74ec916eb69e709155fd92b3958b8f6de0e61f12098222"}},{"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":"HermesMobile/Features/Chat/ChatComposerPresentation.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd72467af30d8b6a47f3865947cf2f2fcbb8913fc1417976c3dd4792fae9e7a6"}},{"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":"HermesMobile/Features/Chat/ChatStreamCoordinator.swift"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90f71c4ad6dcbf0382160f5cfffa26e7aabaa3123b16511387d5fc6e80efcfe"}},{"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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":3270}}}],"partialFingerprints":{"codehealthFindingId/v1":"8345c806e1d55f9223c4bf0c049a5240ad08ce814f0f6861dce7505162a0d58c"}},{"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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":3561}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d6ba29d011de97962e627e9d38431361c3b8bf315a1793b36a2f720501b303"}},{"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":"HermesMobile/Features/Chat/ChatViewModel.swift"},"region":{"startLine":5851}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc40bc08705723d898dd23e555f31e5bef0cfa01c572fe39bbcfa70961a326d"}},{"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":"HermesMobile/Features/Chat/CustomAttachmentPicker.swift"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3415ba680cbc341a6e3d883b126ee2a42a13df21cd7a57bc6c4ff71cc9acd58"}},{"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":"HermesMobile/Features/Chat/FilePathSearch.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7582258010c0d2eeb2e2d965ba3538061fa16b03a67801c0b1cf5ae2158ff9"}},{"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":"HermesMobile/Features/Chat/FilePathSearch.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"098d6ed15480dc56e9983ccd47005fd2d62dd6a0a2984d959d3b2a2915cd56dd"}},{"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":"HermesMobile/Features/Chat/HTMLReport.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a9c1dbe1c6217a3b433274f27c1d249e630c144a5eabe5367b489df48ab8c1"}},{"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":"HermesMobile/Features/Chat/HermesChatSideTasks.swift"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"4879d18ecc38ca9acf6739d0d494aea6a8ae00c554b9e1521a0a468fae8ebe58"}},{"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":"HermesMobile/Features/Chat/HermesDelegatedWork.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c41f3590aaebacb4618530883b554aab3ebe57818579f2f93a4f4fa9b3376a"}},{"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":"HermesMobile/Features/Chat/HermesDelegatedWork.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3914eea5b97a8ddd169b4d9090a6950254de755150b1bc9e6369e145ded3c5"}},{"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":"HermesMobile/Features/Chat/HermesSlashCommands.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81e3c36c90dbda031dea1204ea53205c724f4e923c5c15f283f607549ab565c"}},{"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":"HermesMobile/Features/Chat/InlineAudioPlayerView.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adda86f4c33ab8f068e0e16d268cb2c2bf282c32e14e4abf62c513e58659dad"}},{"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":"HermesMobile/Features/Bots/BotConnectionView.swift"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"4feb957307e8ac8c8edd794a7d6df309247a946ee7cfa52a04be27bc38ca934d"}},{"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":"HermesMobile/Features/Bots/BotRoomReader.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a173aae142750a66fc341f4aea2fb6d50612370fe0282de46edc9337bd70e9"}},{"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":"HermesMobile/Features/Bots/BotRoomView.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f3d0d6ed7eb4cad64a6eaffc4fecefeb565ea62c22dda8c9fb9d4e1666f38a"}},{"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":"HermesMobile/Features/Bots/BotSearchView.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfdf53ba98b5d99dd59e9a979469b0350fc4919c13a44c86c0d4e978569b14c"}},{"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":"HermesMobile/Features/Bots/BotSearchView.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"2092d5ce9948c3fb6087eaaaefb77b1e4114381a662692ef33a46f9c16911e71"}},{"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":"HermesMobile/Features/Bots/BotsInboxView.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"550aa529aa0c6e6286fc772b24265ec33475f3eec5fdab33868e1787d1ee876a"}},{"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":"HermesMobile/Features/Bots/HermexPushProvisioner.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"53658eec7a8a3d4a8f2d5b0ec49cf635061e3f8ef3058182c368768087e9a0e8"}},{"ruleId":"X5","level":"note","message":{"text":"Ruby\u0027s type checker does not check nil everywhere: This repository commits no Sorbet configuration (\u0060sorbet/config\u0060) and no \u0060Steepfile\u0060, so nothing type-checks its 1 Ruby product file(s): a nilable value reaches a method call silently and raises \u0060NoMethodError: undefined method \u2026 for nil\u0060 the first time it is nil. A \u0060# typed:\u0060 sigil does nothing without a \u0060sorbet/config\u0060 beside the code; a Steep run configured only on a command line is not something this check can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32b27113b1bc22f400935e8620d19eae7fd3ef145cc36018609c445ea8cd4af1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060holds\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":"HermesMobile/Features/Screen/ScreenControl.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1896d0a5b75d008d8a80d86463391b9dad6424bc9af01caf22c7c6210853d339"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":6,"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."]}]}