{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"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":"LiveSessionController.finalizeCurrentSession (cyclomatic 46): LiveSessionController.finalizeCurrentSession has cyclomatic complexity 46 (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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"e072039d2f825cdbbd3542cfa5a616c54acbbd1e85960d8a4cb84af0ac74d3f9"}},{"ruleId":"D1","level":"warning","message":{"text":"SidecastPreset.apply (cyclomatic 38): SidecastPreset.apply has cyclomatic complexity 38 (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":"OpenOats/Sources/OpenOats/Models/SidecastPreset.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a6d8b2d26df71944cbc2e9484b48c20ee016bcf8eb72e0e28502da3f8a2216"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingTranscriber.run (cyclomatic 34): StreamingTranscriber.run 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":"OpenOats/Sources/OpenOats/Transcription/StreamingTranscriber.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccac2aad69ed377f7e2152b8a0fd850f8f763f021333a4354dbf471825739cd"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsStore.init (cyclomatic 31): SettingsStore.init has cyclomatic complexity 31 (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":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7090e3c9ab1b6f8d0b024df9c0b2deeac1287da355813ec6c2e3db777b2789"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptionEngine.start (cyclomatic 31): TranscriptionEngine.start has cyclomatic complexity 31 (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":"OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"8035690ecc57a94632822bbd85517f1347f7e4dec701ba9bc2e03959fc64caa8"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlBar.body (cyclomatic 31): ControlBar.body has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/ControlBar.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b19e4de9a3f08543dbeaedee1b0865d472acf0baffca60db0ed75ff2423ffcf"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveSessionController.synchronizeDerivedState (cyclomatic 29): LiveSessionController.synchronizeDerivedState 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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae93e7c871796cf22f8fa049794e35e15fe3c078b136a6b5155c292d8dfa33b"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioRecorder.writeMicBuffer (cyclomatic 29): AudioRecorder.writeMicBuffer 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":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fc634d9d6f543f55251f7ea7daf294918e47c5a3a791ef8ed5cdf0b605bd71"}},{"ruleId":"D1","level":"warning","message":{"text":"NotesEngine.generate (cyclomatic 28): NotesEngine.generate 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":"OpenOats/Sources/OpenOats/Intelligence/NotesEngine.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf86edec3a909f5e9e47cac26767c4a587ab4a82a9255a2cad9fcf91e1754a0"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioRecorder.mergeAndEncode (cyclomatic 25): AudioRecorder.mergeAndEncode has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d392df1d6f50407ba7a6dedfa4f2f1e1f6d8ed1b5416d660c5753f4fc47338"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchTextCleaner.cleanup (cyclomatic 25): BatchTextCleaner.cleanup has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/BatchTextCleaner.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"470cc7641ace7e991e47c60d655ffef085d64f3e666825a763878137a42b8d6a"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptionSettingsTab.body (cyclomatic 25): TranscriptionSettingsTab.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":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6242da1c919329437058b56e2da7531250ffcd23c63efae0b278df3f9ed886"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveTranscriptCleaner.performCleanup (cyclomatic 24): LiveTranscriptCleaner.performCleanup 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":"OpenOats/Sources/OpenOats/Intelligence/LiveTranscriptCleaner.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"375ae7e6892c955604fe126ba46f98fed4f7f1f210cc7cecf64778afbfdf6ea4"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemAudioCapture.bufferStream (cyclomatic 23): SystemAudioCapture.bufferStream 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":"OpenOats/Sources/OpenOats/Audio/SystemAudioCapture.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c14333971a810acb4331c1c04b322e0220ad41cf418df5eccd0fa46c714a2e"}},{"ruleId":"D1","level":"warning","message":{"text":"AppCoordinator.startDetectionEventLoop (cyclomatic 21): AppCoordinator.startDetectionEventLoop 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":"OpenOats/Sources/OpenOats/App/AppCoordinator.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29d5adb5c9525d5e05af2e59ba8e65c0a54336f1f9d64db424814d392c89518"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeBase.chunkMarkdownStatic (cyclomatic 21): KnowledgeBase.chunkMarkdownStatic 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":"OpenOats/Sources/OpenOats/Intelligence/KnowledgeBase.swift"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3ab0bd57ee0b534bc8d3fa2d58c918a12d26b78667f31cffe21ae821dd8281"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView.transcriptScrollView (cyclomatic 21): TranscriptView.transcriptScrollView 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":"OpenOats/Sources/OpenOats/Views/TranscriptView.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e726c941b2cea9e7e2458a8edce794865b6f71cbf6098dc7d18fb9247fc4232a"}},{"ruleId":"D1","level":"warning","message":{"text":"MicCapture.bufferStream (cyclomatic 20): MicCapture.bufferStream 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":"OpenOats/Sources/OpenOats/Audio/MicCapture.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a907855f1f786ead579ca8f6d3b3370542720579bc5aa000037e66c33003dbe"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeBase.index (cyclomatic 20): KnowledgeBase.index 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":"OpenOats/Sources/OpenOats/Intelligence/KnowledgeBase.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"437d9530f179f15f9bf09b71c0d9a4f8d63be9cc95fc8e2be0b9ccae6c19fcdf"}},{"ruleId":"D1","level":"warning","message":{"text":"SidecastEngine.apply (cyclomatic 20): SidecastEngine.apply 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":"OpenOats/Sources/OpenOats/Intelligence/SidecastEngine.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff601e233a70777845c44c78f428d98ae61642ad05fc3369494a717a899c1a4"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingAudioConverter.extractSamples (cyclomatic 20): StreamingAudioConverter.extractSamples 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":"OpenOats/Sources/OpenOats/Transcription/StreamingAudioConverter.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e59b7b9e708468fe89ddf7f37f7c0f6de4ab2e904b9e03a6f1272add28615ef"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentView.contentWithLifecycle (cyclomatic 20): ContentView.contentWithLifecycle 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":"OpenOats/Sources/OpenOats/Views/ContentView.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaaf16881ef4288f9cc1b48e1c72d844d1bbaa44dc378a7e01888f6e7a83e33"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenRouterClient.streamCompletion (cyclomatic 19): OpenRouterClient.streamCompletion 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":"OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"df64a4c19a63d3406308b55abc18d94294a88a47aa1cb155654215228561beea"}},{"ruleId":"D1","level":"warning","message":{"text":"IntelligenceSettingsTab.body (cyclomatic 19): IntelligenceSettingsTab.body 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":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d7575bb9eb01ef315e62590ebaaa7c0e6f2e758f4d19ebf90bfe955d737fd1"}},{"ruleId":"D1","level":"warning","message":{"text":"WizardViewModel.canAdvance (cyclomatic 19): WizardViewModel.canAdvance 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":"OpenOats/Sources/OpenOats/Wizard/WizardViewModel.swift"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e307da3061ecb269435c30dc90ba38dff98617a1ecbc534c06485f7ac11e79f8"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveSessionController.runPollingLoop (cyclomatic 18): LiveSessionController.runPollingLoop 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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc759eb61a3b27281275eb8119721cb2dcb99c24e2dd8c7943329be89b494a97"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveSessionController.recordingHealthNotice (cyclomatic 18): LiveSessionController.recordingHealthNotice 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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"9267109f84c7bb07ea16e507d7c3b0eefab67dd4bfb57e69c4d6e5685315a857"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioRecorder.readAllMono (cyclomatic 18): AudioRecorder.readAllMono 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":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"425eaee9e465572e6b7156954667842d8c17a02aa088db6e746a0472a75a1d88"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentView.rootContent (cyclomatic 18): ContentView.rootContent 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":"OpenOats/Sources/OpenOats/Views/ContentView.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"029c3b57282b88d48e9066d1b8a80aec00efd4cfe61e106a425cd85aa12d2bf4"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsStore.migrateFilesFromOpenGranola (cyclomatic 17): SettingsStore.migrateFilesFromOpenGranola 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":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4db4dc903bc858596b659f53f9fa023c2acd0defb0d94122ed3a53b2397edc"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveSessionController.refreshState (cyclomatic 16): LiveSessionController.refreshState 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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"1882c62adf20c0b1454e4cf3361eb5185a244d86a18e60ca07ab4fc36387a184"}},{"ruleId":"D1","level":"warning","message":{"text":"MeetingDetectionController.handleMeetingDetected (cyclomatic 16): MeetingDetectionController.handleMeetingDetected 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":"OpenOats/Sources/OpenOats/App/MeetingDetectionController.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0cb3f16b6bbe5710a14862a530e316e2fae772bd6bebe95365b37a5a7d59df"}},{"ruleId":"D1","level":"warning","message":{"text":"NotesController.isLikelyMeetingHistoryNameLine (cyclomatic 16): NotesController.isLikelyMeetingHistoryNameLine 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":"OpenOats/Sources/OpenOats/App/NotesController.swift"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba429e98768977976fc816ee22fd05aadbecaff7da7fa6dc0369d6ff9fe6e73"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeBase.searchRaw (cyclomatic 16): KnowledgeBase.searchRaw 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":"OpenOats/Sources/OpenOats/Intelligence/KnowledgeBase.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c0a6f41c9b955cd3d93f9fdb804f4d7801312c81bcf14aa233f05071350aef"}},{"ruleId":"D1","level":"warning","message":{"text":"SuggestionEngine.onUtterance (cyclomatic 16): SuggestionEngine.onUtterance 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":"OpenOats/Sources/OpenOats/Intelligence/SuggestionEngine.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6251274b375d0e300e9410eedb3a2f2041a3b46c9ac5a539134f884b36948611"}},{"ruleId":"D1","level":"warning","message":{"text":"AppleNotesService.markdownToHTML (cyclomatic 16): AppleNotesService.markdownToHTML has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Meeting/AppleNotesService.swift"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ba631435c2b9b1029dc5ca64d2a728b4e41261a8331a9e38b9c6333eecfb1e"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionRepository.normalizedMirrorAssetPath (cyclomatic 16): SessionRepository.normalizedMirrorAssetPath 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":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e153dc0f497e411da6ca4a509840631b1eb8bfe73a2299d30cd590165ee8c26"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchAudioSampleReader.resample (cyclomatic 16): BatchAudioSampleReader.resample 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":"OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16d91b4fcda8b665ca5d295c23e7dda7a293b38c06b60f2b69a61ff43f0e889"}},{"ruleId":"D1","level":"warning","message":{"text":"WizardViewModel.applySettings (cyclomatic 16): WizardViewModel.applySettings 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":"OpenOats/Sources/OpenOats/Wizard/WizardViewModel.swift"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05fc508b92c4754384ec1c7dd6699c9339f1069ba2e6c2f4d2959ff21577cfd"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingTranscriber.run (cognitive 91): StreamingTranscriber.run has cognitive complexity 91 (threshold 15). Drivers by points: if/else 22 (66 pts), error handling 2 (9 pts), boolean chains 8, match/switch 1 (5 pts), loops 2 (3 pts) (nesting depth added 56). 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":"OpenOats/Sources/OpenOats/Transcription/StreamingTranscriber.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"af610fdb29a1c2a97c793a4583104e06190809dc12ad7372d6f11644aefe7342"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveSessionController.synchronizeDerivedState (cognitive 63): LiveSessionController.synchronizeDerivedState has cognitive complexity 63 (threshold 15). Drivers by points: if/else 35 (60 pts), boolean chains 3 (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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00cec4a88e9e56243ec5fea15536c9903b3f937ceaed994da83a77f964c0b00"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveSessionController.finalizeCurrentSession (cognitive 62): LiveSessionController.finalizeCurrentSession has cognitive complexity 62 (threshold 15). Drivers by points: if/else 34 (42 pts), boolean chains 18, ternaries 2 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c1853693e897ebf68bbf3c7c528984d5110103edaed72011f7c17357281fae"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveSessionController.runPollingLoop (cognitive 52): LiveSessionController.runPollingLoop has cognitive complexity 52 (threshold 15). Drivers by points: if/else 9 (34 pts), ternaries 2 (8 pts), match/switch 1 (5 pts), boolean chains 4, loops 1 (nesting depth added 35). 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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8db44c8fe615799e00b339afcafdd91e3a011ff62e65169ec351ba367809ae8"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlBar.body (cognitive 52): ControlBar.body has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 17 (34 pts), if/else 10 (14 pts), boolean chains 4 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/ControlBar.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bb069732e09e3d307665b0cc79076130d61255a0ed7734600b4fb3df65321b"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemAudioCapture.bufferStream (cognitive 51): SystemAudioCapture.bufferStream has cognitive complexity 51 (threshold 15). Drivers by points: if/else 21 (47 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Audio/SystemAudioCapture.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2312e7008228de32b5470354aa09dcc0a34e63bc738929576f9a0e195a15f6e"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRecorder.writeMicBuffer (cognitive 48): AudioRecorder.writeMicBuffer has cognitive complexity 48 (threshold 15). Drivers by points: if/else 20 (25 pts), loops 5 (15 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 16). 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":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b88dd099a2caba998e13df0b36d57db0cbc7abbcd8ad5d0be2e212c7142e417"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeBase.chunkMarkdownStatic (cognitive 47): KnowledgeBase.chunkMarkdownStatic has cognitive complexity 47 (threshold 15). Drivers by points: if/else 19 (38 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/KnowledgeBase.swift"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2dd3dc4bb008b7e2e22f9c2ba841144956c0e33172f9e5c9e1949f6fb79462"}},{"ruleId":"D2","level":"warning","message":{"text":"AppCoordinator.startDetectionEventLoop (cognitive 46): AppCoordinator.startDetectionEventLoop has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (42 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 30). 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":"OpenOats/Sources/OpenOats/App/AppCoordinator.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31e50ee49fead804371a3ca2757ad0c6eb4596f477c5f8a04a9c82e44efd08a"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsStore.init (cognitive 44): SettingsStore.init has cognitive complexity 44 (threshold 15). Drivers by points: if/else 30 (34 pts), ternaries 6, boolean chains 4 (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":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4581e912e2be70a24116e7546d1cab26ea39407cfd46f9ca63cc38c1bfaad5"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeBase.index (cognitive 39): KnowledgeBase.index has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (29 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/KnowledgeBase.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf2523d186e02011b01c0842eef2061a41f8990779ab1edbff0e53da01056b0"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionEngine.start (cognitive 39): TranscriptionEngine.start has cognitive complexity 39 (threshold 15). Drivers by points: if/else 21 (28 pts), boolean chains 6, loops 1 (2 pts), error handling 1, match/switch 1, ternaries 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14b1a1c38569ff744aacc53b823ca13b892d03a6e10e7f73830154589cd2867"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenRouterClient.streamCompletion (cognitive 37): OpenRouterClient.streamCompletion has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (28 pts), ternaries 2 (4 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"13affcab35be80b5ff4cf7178d6eb290e6524fe3db7777d8ec471213af2618ee"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRecorder.mergeAndEncode (cognitive 33): AudioRecorder.mergeAndEncode has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 7, ternaries 2 (6 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe395b431c113a36a89a10493c4c2f4c5c3efbff325057f85aed110957271fb6"}},{"ruleId":"D2","level":"warning","message":{"text":"NotesEngine.generate (cognitive 33): NotesEngine.generate has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (24 pts), error handling 2 (3 pts), loops 1 (2 pts), match/switch 2, ternaries 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":"OpenOats/Sources/OpenOats/Intelligence/NotesEngine.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad5d321537cd81384e8ba41c1fb5ac797819f833bc3b7c36329120a6dcd1a1e"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.rootContent (cognitive 31): ContentView.rootContent has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 4 (8 pts), boolean chains 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":"OpenOats/Sources/OpenOats/Views/ContentView.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff0575ab45e74abbae3fafc64f622e42384c20d70ae796222d40b69a0e88999"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchTextCleaner.cleanup (cognitive 30): BatchTextCleaner.cleanup has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (26 pts), loops 3, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/BatchTextCleaner.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b15b4f75c95c5563e606b96510c88ce8706f82adcea388248bc49476e3c8ba7"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveTranscriptCleaner.performCleanup (cognitive 30): LiveTranscriptCleaner.performCleanup has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 6 (12 pts), error handling 1, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/LiveTranscriptCleaner.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8e8122175d6e2d19f28f7bf4322ebdb6bbb62eeb4160f8f3312d0f4baed127"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsStore.migrateFilesFromOpenGranola (cognitive 28): SettingsStore.migrateFilesFromOpenGranola has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 5, loops 1 (3 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":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"911e1b86497d60c3e8c5ab8444059b97ff2c010031efbb9ace4ffd185e53dc56"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingAudioConverter.extractSamples (cognitive 28): StreamingAudioConverter.extractSamples has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (17 pts), loops 2 (7 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/StreamingAudioConverter.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"281f68408399279044f41e715e81c84bc511a7ca5024e55ed5d9f9d9f55c102f"}},{"ruleId":"D2","level":"warning","message":{"text":"OllamaSetupClient.pullModel (cognitive 28): OllamaSetupClient.pullModel has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 3, error handling 3, loops 1 (2 pts) (nesting depth added 14). 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":"OpenOats/Sources/OpenOats/Wizard/OllamaSetupClient.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"208b1146294aaea772240cb38ff58c4db386a843e5eddd07247e73c61395e99e"}},{"ruleId":"D2","level":"warning","message":{"text":"SidecastEngine.apply (cognitive 27): SidecastEngine.apply has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 6, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/SidecastEngine.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71785e0a54d88170ea81c895c5822bbe5772e85c3f0339b6e158590d7f08d9a"}},{"ruleId":"D2","level":"warning","message":{"text":"SuggestionEngine.streamSynthesis (cognitive 27): SuggestionEngine.streamSynthesis has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (22 pts), error handling 2, loops 1 (2 pts), boolean chains 1 (nesting depth added 14). 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":"OpenOats/Sources/OpenOats/Intelligence/SuggestionEngine.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b819d189ec6433bcdd09c19b82149ee860dabc59b0685e49d2cb365e1936118"}},{"ruleId":"D2","level":"warning","message":{"text":"SidecastPreset.apply (cognitive 27): SidecastPreset.apply has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 3 (9 pts), boolean chains 5 (nesting depth added 9). 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":"OpenOats/Sources/OpenOats/Models/SidecastPreset.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cde19a190318b6d434de89b6ba3c72e66228cfa533043dc0764406130d04e9"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView.transcriptScrollView (cognitive 27): TranscriptView.transcriptScrollView has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 9 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/TranscriptView.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eab3878f229ba4bee823173cf417593dc22c1954b3087ee08049c127fe67287"}},{"ruleId":"D2","level":"warning","message":{"text":"AppleNotesService.markdownToHTML (cognitive 26): AppleNotesService.markdownToHTML has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 2, loops 1 (nesting depth added 10). Of this number, 24 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":"OpenOats/Sources/OpenOats/Meeting/AppleNotesService.swift"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cc563bd388d5064c5cfb775600fa27e24f12e0ab3f032bb7495f3302fbac62"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchAudioTranscriber.transcribeFile (cognitive 26): BatchAudioTranscriber.transcribeFile has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c756baea4ec30a52448e7b11a0eedb346a00ec5373624d3f5d1202f177d0a37"}},{"ruleId":"D2","level":"warning","message":{"text":"NotesView.sidebar (cognitive 26): NotesView.sidebar has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (26 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":"OpenOats/Sources/OpenOats/Views/NotesView.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e962087fae82bfffc5b6a3a8c1c69c3227559f4a7112c405765de2545e9caf3c"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.contentWithLifecycle (cognitive 25): ContentView.contentWithLifecycle has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/ContentView.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"934c5a113f719b65c537555a83fa771255f33ac97efb42192ada2b1a4c8a2054"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenRouterClient.streamAnthropicCompletion (cognitive 24): OpenRouterClient.streamAnthropicCompletion has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 5, loops 1 (2 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":"OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79de200099560681bca60de3d570777ace5f1a76b7e91a6df4e315a5b8d2785"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionSettingsTab.body (cognitive 24): TranscriptionSettingsTab.body has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12, boolean chains 10, match/switch 1 (2 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":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3e92af01e69522c2dc4a4d03f4fff07ab530bb36b89ccff595060012ea473a"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRecorder.readAllMono (cognitive 23): AudioRecorder.readAllMono has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5, loops 1 (3 pts), error handling 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":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"982ed8a056613974473d83ecc2f3d0305de1631174f925d717559724bb1cc5c7"}},{"ruleId":"D2","level":"warning","message":{"text":"MicCapture.bufferStream (cognitive 23): MicCapture.bufferStream has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 7, error handling 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":"OpenOats/Sources/OpenOats/Audio/MicCapture.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"86794cfc3ecc457af415bf5af10eb419e0d77cd04ad6ceda14f7615f871b66b5"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchAudioTranscriber.detectSpeech (cognitive 23): BatchAudioTranscriber.detectSpeech has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (18 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfb2deb7ccc652fd6fc5a09fdc3d42107378603649c7e6c5b0bef5b162acd82"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionEngine.startSystemAudioStream (cognitive 23): TranscriptionEngine.startSystemAudioStream has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, loops 1 (2 pts), ternaries 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":"OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b55e09e218440f5134730ec9f8d83d1121fb8a2368047c7a465aea4461d2b76"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveSessionController.recordingHealthNotice (cognitive 22): LiveSessionController.recordingHealthNotice has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 8 (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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7b277c05dfe2f5264c91f0a5274245dd76a123eb5843c4881867217a777a54"}},{"ruleId":"D2","level":"warning","message":{"text":"MeetingDetectionController.handleMeetingDetected (cognitive 22): MeetingDetectionController.handleMeetingDetected has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 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":"OpenOats/Sources/OpenOats/App/MeetingDetectionController.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e722bb33dd2490066413e53dbc0fda453caf6f545b1591ce36910a98e6a3f44a"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeBase.searchRaw (cognitive 22): KnowledgeBase.searchRaw has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 2 (3 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/KnowledgeBase.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"4973272b2d7d14005ec609f75470806ece8ebf875d922ff46aa03f1aa5ba0d05"}},{"ruleId":"D2","level":"warning","message":{"text":"NotesController.loadMeetingHistorySuggestions (cognitive 21): NotesController.loadMeetingHistorySuggestions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/App/NotesController.swift"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba3bb6f78d621001f1838943c76967065aa3aa3f4146b24ba25b9c6b3b6c693"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeBase.embedBatchesConcurrently (cognitive 21): KnowledgeBase.embedBatchesConcurrently has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (5 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":"OpenOats/Sources/OpenOats/Intelligence/KnowledgeBase.swift"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"2912af5a13626734fe39bc7a387c8ee223b78d234d8543ae871fc44ab0b9b58c"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeBase.embedBatchesSequentially (cognitive 21): KnowledgeBase.embedBatchesSequentially has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (15 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/KnowledgeBase.swift"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bf2166b4c70f22085450b097832e23631147adf8edb434af4673644eaddf66"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeBase.scanFiles (cognitive 20): KnowledgeBase.scanFiles has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 2 (6 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/KnowledgeBase.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6786f5cefb51d70393e7ed4670cd09adc0ba1b9a93170717f599e58ae9fbc6"}},{"ruleId":"D2","level":"warning","message":{"text":"MeetingDetector.handleMicSignal (cognitive 20): MeetingDetector.handleMicSignal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 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":"OpenOats/Sources/OpenOats/Meeting/MeetingDetector.swift"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"18015cea9d29d1fbeb08d02c85f7952b4f5845c4e72bdcac1ddabb11bd442187"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionRepository.rewriteJSONLWithCleanedText (cognitive 20): SessionRepository.rewriteJSONLWithCleanedText has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0f1177027576992deb7457b6e2e73c76e2e81db718a75aab40fa34ed01036d"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchAudioSampleReader.resample (cognitive 20): BatchAudioSampleReader.resample has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, loops 1 (3 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":"OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e59ac3126c2a7aeaf0880c8d186267070ca561824e1f3f3dc9f1f5d8239a5f"}},{"ruleId":"D2","level":"warning","message":{"text":"MeetingDetailPane.parseMarkdownSections (cognitive 20): MeetingDetailPane.parseMarkdownSections has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, 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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":3787}}}],"partialFingerprints":{"codehealthFindingId/v1":"282d2cd66fe127ebf9be84fcdbd7c55716eb464bc65c23ae4df741f10d7e633c"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownTextFlow.inlineMarkdown (cognitive 20): MarkdownTextFlow.inlineMarkdown has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (19 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":"OpenOats/Sources/OpenOats/Views/SelectableTextFlow.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae22c43e6be3cbfdae76a79357aea30c7c6a1408eaa5e48309f781a53b23f290"}},{"ruleId":"D2","level":"warning","message":{"text":"NotesController.meetingHistoryHighlights (cognitive 19): NotesController.meetingHistoryHighlights has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 9). Of this number, 17 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":"OpenOats/Sources/OpenOats/App/NotesController.swift"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa00715ada93e552c3a34a07162eeca7f18ca76bccc5deffb47b5b5668d517e"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchTranscriptionSegmentLayout.slices (cognitive 19): BatchTranscriptionSegmentLayout.slices has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"041eb8ff5d6b0898fc3ead043e1c7d83b70137813adb1d5278fca2ec597bd4c9"}},{"ruleId":"D2","level":"warning","message":{"text":"MeetingDetailPane.notesEmptyState (cognitive 19): MeetingDetailPane.notesEmptyState has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 4 (5 pts), boolean chains 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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":3135}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ee486acbc5a86504dbfb8167517c3a37be40b913440f94f98979a7a349880e"}},{"ruleId":"D2","level":"warning","message":{"text":"MeetingDetailPane.notesExportAttributedText (cognitive 19): MeetingDetailPane.notesExportAttributedText has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 3 (5 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 11). Of this number, 18 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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":3877}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf2abeb59395af4e578f9bdc053a25b1ca5d211e0b3a6479bfbf9f446757df7"}},{"ruleId":"D2","level":"warning","message":{"text":"WizardViewModel.canAdvance (cognitive 19): WizardViewModel.canAdvance has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (8 pts), match/switch 1 (nesting depth added 4). 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":"OpenOats/Sources/OpenOats/Wizard/WizardViewModel.swift"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca280494db3692ae80060c7cb72921114fd4e8ad530cb913793861fb6e77d03"}},{"ruleId":"D2","level":"warning","message":{"text":"openoats-hype.html.schedule (cognitive 19): openoats-hype.html.schedule has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 3 (4 pts) (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/openoats-hype.html"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ca81afb18dc79205fa760406554f2fbcefa49a2649cc60b7ff13375d5b9159"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveSessionController.startTranscription (cognitive 18): LiveSessionController.startTranscription has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c65b9925185094d63b909b845ed85678ad51145672dcc27ce75bcc87d23233"}},{"ruleId":"D2","level":"warning","message":{"text":"ElevenLabsScribeBackend.buildDiarizedSegments (cognitive 18): ElevenLabsScribeBackend.buildDiarizedSegments has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 8, loops 1 (nesting depth added 4). Of this number, 14 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":"OpenOats/Sources/OpenOats/Transcription/ElevenLabsScribeBackend.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8def39ca4908dcdd779ad563dd1b712bafc49dc4c1d740f53c672636f754d40"}},{"ruleId":"D2","level":"warning","message":{"text":"LanguagePrivacyStepView.body (cognitive 18): LanguagePrivacyStepView.body has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 4 (7 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":"OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20584169176e2870da34ce00f9808b239b3aa6136795a35aa17787bb3ad6587"}},{"ruleId":"D2","level":"warning","message":{"text":"RecommendationEngine.nextStepAfterIntent (cognitive 18): RecommendationEngine.nextStepAfterIntent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 7, ternaries 1 (2 pts), match/switch 1 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Wizard/RecommendationEngine.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ffbc10fba8f37250b5a232be67e798d74f37b3af0573f583cb08b5b5519f34"}},{"ruleId":"D2","level":"warning","message":{"text":"NotesController.insertAssets (cognitive 17): NotesController.insertAssets has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/App/NotesController.swift"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"514b3eac907610826860e43a5b0b4581635d475a5eec9394680cd6c98429a1a3"}},{"ruleId":"D2","level":"warning","message":{"text":"SuggestionEngine.onUtterance (cognitive 17): SuggestionEngine.onUtterance has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, 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":"OpenOats/Sources/OpenOats/Intelligence/SuggestionEngine.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"363368df8746612a6922aa67445062fad4d1fcb0ac76c06ff2d8a0f7e5229a92"}},{"ruleId":"D2","level":"warning","message":{"text":"MeetingDetectionController.startSilenceMonitoring (cognitive 16): MeetingDetectionController.startSilenceMonitoring has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 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":"OpenOats/Sources/OpenOats/App/MeetingDetectionController.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b894d3a90b4bebadac6e277bf22ff6f4fee497d8818045fbe69d6f33d39419"}},{"ruleId":"D2","level":"warning","message":{"text":"NotesController.isLikelyMeetingHistoryNameLine (cognitive 16): NotesController.isLikelyMeetingHistoryNameLine has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 3 (4 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/App/NotesController.swift"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc80ca9d53f48e7a1da8016370af67e1763609f3807c38d898049e8e9611f1ad"}},{"ruleId":"D2","level":"warning","message":{"text":"MicCapture.normalizedRMS (cognitive 16): MicCapture.normalizedRMS has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), loops 2 (5 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Audio/MicCapture.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1596f5f67f3757eeadf09eb9d150db4811abb97b4b1084e436ced0c1a07a8e77"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchAudioTranscriber.runTranscription (cognitive 16): BatchAudioTranscriber.runTranscription has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a94b27f90e5cc7014b10334817fc0f01371e803d0b78dd1acf06beea4d4342"}},{"ruleId":"D2","level":"warning","message":{"text":"ElevenLabsScribeBackend.parseKeyterms (cognitive 16): ElevenLabsScribeBackend.parseKeyterms has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/ElevenLabsScribeBackend.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb631f00ff846f18a39d903e184786f9ec623a1aa488596c25b9dd9e069a9db"}},{"ruleId":"D2","level":"warning","message":{"text":"MeetingDetailPane.notesToolbarActions (cognitive 16): MeetingDetailPane.notesToolbarActions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9cda427370b26c872d52fb7778b87d595909689c5870d2d4b1948be69e154d"}},{"ruleId":"D2","level":"warning","message":{"text":"WizardViewModel.applySettings (cognitive 16): WizardViewModel.applySettings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, ternaries 1 (2 pts), boolean chains 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":"OpenOats/Sources/OpenOats/Wizard/WizardViewModel.swift"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb26b4818d34647f912787291e5256d709a6c9dea169560e9b3be313cb90ff9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MeetingDetailPane: ClassTooLong \u2014 2974 significant lines (blank, comment-only and punctuation-only lines excluded), 129 methods. The bar is 400 significant lines; this is 2574 over it, 7.44\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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4e8c0d5cc098685582eea1fd3f0f893ab5191ff12121223523878910e69efe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/MeetingDetailPane.swift: FileTooLong \u2014 3025 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: MeetingDetailPane (40-4101). The bar is 500 significant lines; this is 2525 over it, 6.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"600aaea8d2b1193313d2099f8defc693559d0fe583a40565775550def56aead8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MeetingDetailPane: TooManyMethods \u2014 129 methods. The bar is 30 methods; this is 99 over it, 4.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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"337a2bd4559c82308b54c1e558f8890bb3506c37bea4c3de2f02edc2e914d519"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionRepository: 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":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08803d45f6be5b5dc610719487add944f7da97cfe913d438c801686bc98732f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsStore: ClassTooLong \u2014 1297 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 897 over it, 3.24\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8f61ff7dc8865b5bdde1b4447360f9da05082a2180212903ec6bcc0e87de79"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Storage/SessionRepository.swift: FileTooLong \u2014 1562 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1062 over it, 3.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8926854783276afc1469475fed97780cf1ae682fa188d36dcd492b5866aed7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiveSessionController: ClassTooLong \u2014 1245 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 400 significant lines; this is 845 over it, 3.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21014b22aa9863dcbee4455a280ea66416196394f6e09f75dabb039d85b731f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotesController: TooManyMethods \u2014 87 methods. The bar is 30 methods; this is 57 over it, 2.90\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":"OpenOats/Sources/OpenOats/App/NotesController.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d417cedf77575991e20f5b5147c40002c135180f393be39880c76c9623c577"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/SettingsStore.swift: FileTooLong \u2014 1406 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: SettingsStore (9-1982). The bar is 500 significant lines; this is 906 over it, 2.81\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":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1314607412d8ad743856307d4f3f7c69a35ae61df0ddb361175516661c074459"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotesController: ClassTooLong \u2014 1063 significant lines (blank, comment-only and punctuation-only lines excluded), 87 methods. The bar is 400 significant lines; this is 663 over it, 2.66\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/App/NotesController.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d03f2069e1bbbdb2be52f0901c8629c2f76de8f9f0f911fea5d12fb05ecf4b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TranscriptionEngine: ClassTooLong \u2014 1043 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 643 over it, 2.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":"OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4355f76df8c2bdc87b1d802fa35694e397488a853eec6f90b0da0bbdf86144"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/LiveSessionController.swift: FileTooLong \u2014 1290 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: LiveSessionController (60-1911). The bar is 500 significant lines; this is 790 over it, 2.58\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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc997ff4d652810177f7032d67e1ae49047df5b7cf4e9b1ce3054f6e694795c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/NotesController.swift: FileTooLong \u2014 1211 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: NotesController (158-1729). The bar is 500 significant lines; this is 711 over it, 2.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":"OpenOats/Sources/OpenOats/App/NotesController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"967e71bbb6888b2a4e8944e28cbf59bac216478816c45d89180f73728a3c02e5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiveSessionController.finalizeCurrentSession: MethodTooLong \u2014 finalizeCurrentSession runs 239 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f22e6c610ee01912804c7ce7715fcedc7503fe8d5b383ffbd2031c96af6a25"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/SettingsView.swift: FileTooLong \u2014 1178 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 678 over it, 2.36\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":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9497a2a2ecff141ade1867c7b5109b052f3b5b39942cf725c12be02a329c2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transcription/TranscriptionEngine.swift: FileTooLong \u2014 1083 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: TranscriptionEngine (68-1600). The bar is 500 significant lines; this is 583 over it, 2.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":"OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffd4cbffa0f5cfdb17ff8614cc2c9d522c76efc6567a0ec76b22b68433f570e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranscriptionSettingsTab.body: MethodTooLong \u2014 body runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"4836db96a22a91a96a3aa0ee6d349a30a4eedf8d7e96a72568bc815d05e42cd5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GeneralSettingsTab.body: MethodTooLong \u2014 body runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1215b571b4116f0c587e035b92462c22b87cf06103fca075464b39cdc028036"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SystemAudioCapture.bufferStream: MethodTooLong \u2014 bufferStream runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\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":"OpenOats/Sources/OpenOats/Audio/SystemAudioCapture.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66e0dbbf5e8d622c57beb27a3d701a21ef938a83cce0391dbb1ee092e8fdb80"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsStore.init: MethodTooLong \u2014 init runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\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":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1496d33836e1f01d95c1366d69581ba9fe97d6a18af2d6d16ad2e6b3b8c4ca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiveSessionController: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5270ceea9d7debd801647a109f30207b1c6cf6fc02935d4226b9fafc05cf1e72"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranscriptionEngine.start: MethodTooLong \u2014 start runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"daaeb97f1fc326f243dcb61799c68ad6d6907f526eef8b6ef59bd78a8eccb65d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MeetingDetailPane.notesEmptyState: MethodTooLong \u2014 notesEmptyState runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":3135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced8c25ece391a50fd10bc3c4f0ffb6bd67500fb2c5d1671ba5bf62cfac40fd1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotesView: ClassTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 248 over it, 1.62\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/NotesView.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ee2aaf970ffa8c68e891b1cdcc3c39cd31cf1c770a087350e50437d9492db5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/IdleHomeDashboardView.swift: FileTooLong \u2014 787 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 287 over it, 1.57\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":"OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d55622dee92dfa92635f4aa7eb7967c5e55d90ed959636978fa3b85e43057b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TranscriptionEngine: 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":"OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4791b3db40bd92700b500c87167103ee29b08bb78903a08ccbbacb777f8eaac0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContentView.rootContent: MethodTooLong \u2014 rootContent runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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":"OpenOats/Sources/OpenOats/Views/ContentView.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e170b9a607a17964d6bddd38a5a0bf080515456ccd9defdf2a95862a90df2f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IntelligenceSettingsTab.body: MethodTooLong \u2014 body runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"3852438548f85d20e2cbe891bfc3d153540c0521139d26dacac3ef0ba5067dcf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transcription/BatchAudioTranscriber.swift: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 244 over it, 1.49\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":"OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b57bf60c5e700401e6913de750cc5460f722034d2c0fd8e9444834e57a0a13"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SystemAudioCapture: ClassTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 192 over it, 1.48\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Audio/SystemAudioCapture.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb57ddfd02d38cc09aae8974060f439b76e2d383a15b806ee138daa2057c978e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsStore: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2b18c06dcdc24efb4f079fc23a28fb79602150b5f00b7890468454f59f376e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/NotesView.swift: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: NotesView (4-909). The bar is 500 significant lines; this is 179 over it, 1.36\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":"OpenOats/Sources/OpenOats/Views/NotesView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c377d1901d0eddad54d270e2871cead4ff4bbbebd2a91703f374bab94db93001"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KnowledgeBase: ClassTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 130 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/KnowledgeBase.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c580685965b60a529d50f8542dc9aa54a77d1c7a9f3549c42da7a3e3adf15493"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/HomeTimelineWorkspaceView.swift: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: HomeTimelineWorkspaceView (4-688). The bar is 500 significant lines; this is 158 over it, 1.32\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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de04de5d9fc4e896b1b331e0ae502d956341fad9a927b98ad117e0482e9a1d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TemplatesSettingsTab.body: MethodTooLong \u2014 body runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8246061e5ec4063d444e65b053d8298b66ed716476e5cfcdc89a909d0a9236"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Intelligence/KnowledgeBase.swift: FileTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: KnowledgeBase (152-931). The bar is 500 significant lines; this is 138 over it, 1.28\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":"OpenOats/Sources/OpenOats/Intelligence/KnowledgeBase.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2983ee7a086f0661c338ac7f14470d48373250a227101fdb85c56344adf6e82"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BatchTextCleaner.cleanup: MethodTooLong \u2014 cleanup runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/BatchTextCleaner.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"374aa722f9b013319e23b5910c5f3cab6ac49dfa5e010356f74ee98dff17a70b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SuggestionEngine: ClassTooLong \u2014 495 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 95 over it, 1.24\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/SuggestionEngine.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e03d9ceaa76b4d429ecf3d69ed0e3d3f8a9ce72e700544dec2477257be4d692"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ControlBar.body: MethodTooLong \u2014 body runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/ControlBar.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"943d8977fb7465ab6f87081a2685311a345daebb948c366fede33cea9c0dd3a6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HomeTimelineWorkspaceView: ClassTooLong \u2014 484 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 84 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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3e50d8d52321926d8f927e8021ffc4e9267379a7a6945cbe1353665b318385"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamingTranscriber.run: MethodTooLong \u2014 run runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/StreamingTranscriber.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"08db6c748c3cbdf4e1ccc00df7d9ca849cc7b872d04ddc41edc09f44b8bf6722"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotesView: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/NotesView.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0a78bcd59237e1593f510234004bd8f0748fb8434ed3371e7b35ab9e6c1375"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MeetingDetailPane.notesNoTranscriptState: MethodTooLong \u2014 notesNoTranscriptState 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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":2754}}}],"partialFingerprints":{"codehealthFindingId/v1":"867eceb9671caf5926e0d95202232b8cd212c85334bfe7c1b46c84c31042f164"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Audio/SystemAudioCapture.swift: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: SystemAudioCapture (10-821). The bar is 500 significant lines; this is 99 over it, 1.20\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":"OpenOats/Sources/OpenOats/Audio/SystemAudioCapture.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abf470b804f9a5089461f8f3ff07dd008aa83e722a3ff79e00b4067b4ab6f8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/ContentView.swift: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: ContentView (5-654). The bar is 500 significant lines; this is 93 over it, 1.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":"OpenOats/Sources/OpenOats/Views/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7411b2e713eab171bce7ff0bf9eab817ec6a89de0c92b6f970f1082e0a2955c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WizardViewModel: ClassTooLong \u2014 473 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 73 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":"OpenOats/Sources/OpenOats/Wizard/WizardViewModel.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7214512d8ff7d1d2bf27177a40a1ab09ade2e39a4efbe8e13d2a5795d522fbcb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiveSessionController.synchronizeDerivedState: MethodTooLong \u2014 synchronizeDerivedState runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec426b9631b5585c6851539d1d289ac0cef81b1a43593db344c0e3222d924e9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiveTranscriptCleaner.performCleanup: MethodTooLong \u2014 performCleanup 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":"OpenOats/Sources/OpenOats/Intelligence/LiveTranscriptCleaner.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ceac59aa41bed4f453aa1fe4d1f36b38611567ebd7b7f7b9c7cbd0c91e40224"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ContentView: ClassTooLong \u2014 430 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 30 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/ContentView.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df92c4e2ee52e76ecc0ec5211d8cccbf186000e9416dbaaff1ae7febff54703"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BatchAudioTranscriber.runTranscription: MethodTooLong \u2014 runTranscription runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac8ce9fc65369a5dad6faa019e989e5fb4761df334d12b3a3a914a2c8aef471"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SidecastSettingsTab.body: MethodTooLong \u2014 body runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/SidecastSettingsTab.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6564cd4ac6acb85380791e686de7b13eb41b7bf529067866bce0632ff31f96e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MeetingDetailPane.meetingFamilyOverviewSection: MethodTooLong \u2014 meetingFamilyOverviewSection runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35b27c9a970c2a19c9b656af44d86af1001a8ff77b3cc77afc6ba795612fd20"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MicCapture.bufferStream: MethodTooLong \u2014 bufferStream runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Audio/MicCapture.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8888e3000a8d2b14a34701eeacb79347fae6cbd1f7e2c40b0e820682c751049f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): OpenOats/Sources/OpenOats/App/LiveSessionController.swift:437-495 | OpenOats/Sources/OpenOats/App/NotesController.swift:676-754 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fa4afedd780844a1f37f44bf9446a541bf84a6cee275dce3eaaf4980bb25e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:916-969 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:984-1029 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1085-1118 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1120-1149 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1157-1187 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3b9e29897bd56efed38de022ad0869efe70048e31ec57eea53e8cfa78f4fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:668-687 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:518-537 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:885-904 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:420-439 | OpenOats/Sources/OpenOats/Views/NotesView.swift:714-733 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ba2515d133ebca6f41b0b5af8bf919473720d3e43f1a1c472b1421aecad277"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:16-40 | OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:43-67 | OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:70-94 | OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:97-121 | OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:124-155 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"569ef9d23c8156d1501aee01a26320dc21cb8917b358d9f43ff0b77d7bf19b55"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:500-552 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:734-819 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:959-1027 | OpenOats/Sources/OpenOats/Views/NotesView.swift:515-567 \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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0bbb5ddbfb8a15b49a6607443e141b40d882f8f74bd3f7f077e69507a76f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:637-648 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:408-420 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:380-400 | OpenOats/Sources/OpenOats/Views/NotesView.swift:575-586 \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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"131ece281bef64eee120657ae890602a454a0f65467097bb564c3a93bf8a4bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): OpenOats/Sources/OpenOats/Wizard/ConfirmationStepView.swift:11-104 | OpenOats/Sources/OpenOats/Wizard/IntentStepView.swift:7-88 | OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift:11-133 | OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:14-75 \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":"OpenOats/Sources/OpenOats/Wizard/ConfirmationStepView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f202fde791c93512669225e56408cee47860bb76e4c7920e06c4b6b3e27a46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1798-1890 | OpenOats/Sources/OpenOats/Views/NotesView.swift:737-819 \u2014 These two members are one piece of code written twice and then edited apart: 83 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"45df7aa1688f63aea21cd477ac2182faf300d22b2e2ec0f71bc5e6fb9904c246"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift:461-529 | OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift:972-1048 \u2014 These two members are one piece of code written twice and then edited apart: 69 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7ad57847b328a21bf79dd168c1495b7ba0ed760decba0dabd2e61d6f6e82d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): OpenOats/Sources/OpenOats/Wizard/IntentStepView.swift:90-140 | OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift:165-220 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Wizard/IntentStepView.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"059c23f8a73fccf7bfce05e33275da722d9970c5277d64c3fa2bef14831d5fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:1989-2017 | OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:2020-2054 \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":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"14af5c356bc930c92bc56ed713e7ba80d1054bf1634db1599a18357a56803078"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:915-957 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1029-1077 \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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35dde28e0a184be83d6bcbe641ecf555d496304954bc4beb88575239cc3a0a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift:313-353 | OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift:368-411 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cc8071ab8cfa3be460b8893f447500030193e648bb4ac82644ca0dbd1b8810"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1302-1345 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1347-1382 \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":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a49822672654c22551fd2684d2476a430b900164f1a8976b82da1b3d73a303"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift:94-121 | OpenOats/Sources/OpenOats/Transcription/ElevenLabsScribeBackend.swift:64-93 \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":"OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8236964bc38eec0e2ef0e668aae2b74e1a2d24581289d91f181e7ce9e0f6231"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift:910-973 | OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift:975-1024 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc60860f34bfa1eabf01b5f2432e05886a4e1a31a9cdbdf4cb7adc4c7de4963"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): OpenOats/Sources/OpenOats/Views/OverlayPanel.swift:59-90 | OpenOats/Sources/OpenOats/Views/OverlayPanel.swift:93-122 \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":"OpenOats/Sources/OpenOats/Views/OverlayPanel.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4358c0a6e0850fe4e2c994f102e430488e47c6bacf381290c07f90e8f8b614"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): OpenOats/Sources/OpenOats/Meeting/AppleNotesService.swift:43-67 | OpenOats/Sources/OpenOats/Meeting/AppleNotesService.swift:72-96 \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":"OpenOats/Sources/OpenOats/Meeting/AppleNotesService.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e0d9d662141be3a17e190622fa343636c729d2215f7f86ced1f0a2f8936b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:560-599 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1761-1796 | OpenOats/Sources/OpenOats/Views/NotesView.swift:370-404 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f302518a94118cacfed9fbaa3bd2461ddb52174c5bf18a1f4901bfefda4b1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:17-47 | OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:51-77 \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":"OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a356c993220e572958837ee76ed24cd27300ab05809606dd612380a1007b069c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): OpenOats/Sources/OpenOats/Transcription/CohereTranscribeArabicBackend.swift:171-193 | OpenOats/Sources/OpenOats/Transcription/ElevenLabsScribeBackend.swift:300-326 \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":"OpenOats/Sources/OpenOats/Transcription/CohereTranscribeArabicBackend.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2d7253597eda16b804f9e0eff045ce8ab487c474a40dbe4a3078ad193137cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): OpenOats/Sources/OpenOats/Meeting/CalendarManager.swift:110-132 | OpenOats/Sources/OpenOats/Meeting/CalendarManager.swift:136-159 \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":"OpenOats/Sources/OpenOats/Meeting/CalendarManager.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f9a4dca26b55131a9693dea935a8c497b823a19c48e6dfa0fdf877d4b72d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): OpenOats/Sources/OpenOats/Views/MiniBarPanel.swift:8-32 | OpenOats/Sources/OpenOats/Views/OverlayPanel.swift:6-31 \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":"OpenOats/Sources/OpenOats/Views/MiniBarPanel.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad9672a9c576221481a9ec360bedc1a3c2febdf0279179076b6ff9a6d7bd87c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): OpenOats/Sources/OpenOats/Transcription/ParakeetBackend.swift:28-44 | OpenOats/Sources/OpenOats/Transcription/Qwen3Backend.swift:27-47 \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":"OpenOats/Sources/OpenOats/Transcription/ParakeetBackend.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"793d3563816eb28845f6a81aa092bc3480feb79d8cfd6c00239c74d3dabfd358"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): OpenOats/Sources/OpenOats/Views/SidecastPanelContent.swift:200-219 | OpenOats/Sources/OpenOats/Views/SidecastSettingsTab.swift:409-429 \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":"OpenOats/Sources/OpenOats/Views/SidecastPanelContent.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44882a272d20ace73fb0ccbb2dccc4829a190f84d4dbf43015652827d7f4519"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): OpenOats/Sources/OpenOats/Views/SettingsView.swift:779-797 | OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:404-422 \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":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2389e1b32a5a9ff3fe3e845e5846208f192ceb47f7e703017089c84888a86c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): OpenOats/Sources/OpenOats/Views/SettingsView.swift:750-777 | OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:379-402 \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":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bb1e6e8c1e383145ad13977a165a20f0b72601d0de5853097c0ee86032d446"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): OpenOats/Sources/OpenOats/Wizard/OllamaSetupClient.swift:19-36 | OpenOats/Sources/OpenOats/Wizard/SetupSnapshot.swift:92-108 \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":"OpenOats/Sources/OpenOats/Wizard/OllamaSetupClient.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b82ed7927d9fdab42a4ea42e97cfe4663f80d579ab803a34db1eb59bc263ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): OpenOats/Sources/OpenOats/Domain/MeetingTypes.swift:60-86 | OpenOats/Sources/OpenOats/Models/Models.swift:279-305 \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":"OpenOats/Sources/OpenOats/Domain/MeetingTypes.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1335dbcfa12ae9ef6de56bc15d4afe236387516815772397c7c69ed8deab9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): OpenOats/Sources/OpenOats/Views/SettingsView.swift:799-823 | OpenOats/Sources/OpenOats/Views/SettingsView.swift:831-855 \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":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe1940e32e4e3146fcc3eec74ccb43007e38c60f37747414dd4e9df3d2bdb1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift:794-822 | OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift:840-870 \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":"OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"327726547372e48fed697933bdc5db40d8acda1eda92a0c842db8632fedcb890"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): OpenOats/Sources/OpenOats/Settings/SettingsStorage.swift:81-94 | OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:2133-2145 \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":"OpenOats/Sources/OpenOats/Settings/SettingsStorage.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5055cbfef230eed0152861a465bc50d42afde13cb5bf0a4a79fe5c3ae5d886"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): OpenOats/Sources/OpenOats/App/NotesController.swift:207-236 | OpenOats/Sources/OpenOats/App/NotesController.swift:267-286 \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":"OpenOats/Sources/OpenOats/App/NotesController.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff183d751bb21a37c3bb9381457a98a377ba84f40e640e85da47c9631def4c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): OpenOats/Sources/OpenOats/Views/ContentView.swift:557-566 | OpenOats/Sources/OpenOats/Views/TranscriptWindowView.swift:39-47 \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":"OpenOats/Sources/OpenOats/Views/ContentView.swift"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa137b2df54f87ebaf842b85ccce359f2d67a2e78554be03c53540f991b7e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): OpenOats/Sources/OpenOats/Intelligence/MarkdownMeetingWriter.swift:354-366 | OpenOats/Sources/OpenOats/Intelligence/MarkdownMeetingWriter.swift:470-482 \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":"OpenOats/Sources/OpenOats/Intelligence/MarkdownMeetingWriter.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3caeda8c692f34f24ba05630f573b0d23f523455a2ac460e6dbc72e6eb67ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift:40-53 | OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift:55-68 \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":"OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"175a8274617f4b8c9c80dc2356e8dcd4f85d659187a4f93e05a90dc2507d19ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): OpenOats/Sources/OpenOats/App/LiveSessionController.swift:1359-1378 | OpenOats/Sources/OpenOats/App/LiveSessionController.swift:1425-1444 \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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"79901f552f572855ff82304aca8c62d3f0abb14077f4806e588f2f1b5b9d2072"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1242-1256 | OpenOats/Sources/OpenOats/Views/NotesView.swift:688-701 \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":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf14a124e70bf79a1bb22f352fc24ed90fd8b8abb81d1292f640b895aa57069"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:1935-1944 | OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:1946-1957 | OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:1959-1974 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"1466943f037e6162a12d58e421576ec988e8afcf326987044d07b5134a6faa59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift:101-120 | OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift:122-140 \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":"OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc80dd34ad136120ce7304c562e307f78132df1466e645a487af81514effb4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): OpenOats/Sources/OpenOats/Meeting/NotificationService.swift:236-251 | OpenOats/Sources/OpenOats/Meeting/NotificationService.swift:255-270 \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":"OpenOats/Sources/OpenOats/Meeting/NotificationService.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ffb2234f196234ae386587a6a407630427ec968a62efcaca4ec59be387597d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): OpenOats/Sources/OpenOats/Views/ContentView.swift:580-600 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2374-2390 \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":"OpenOats/Sources/OpenOats/Views/ContentView.swift"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"433204588db61be29110743d922b24a891a078d3b4e34cb8ec7fd29f6000cd4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): OpenOats/Sources/OpenOats/Wizard/WizardViewModel.swift:464-479 | OpenOats/Sources/OpenOats/Wizard/WizardViewModel.swift:481-496 | OpenOats/Sources/OpenOats/Wizard/WizardViewModel.swift:498-513 | OpenOats/Sources/OpenOats/Wizard/WizardViewModel.swift:515-530 | OpenOats/Sources/OpenOats/Wizard/WizardViewModel.swift:532-547 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Wizard/WizardViewModel.swift"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6eae0dffc3cb4ece7405af1039669aa2e1ce4312abe7cc4bd4b46d54881c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:1333-1347 | OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:1367-1381 \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":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2088dc4f87d1d315226777a8cb9b6d770c49f780be92b190777f5b7d5f343f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): OpenOats/Sources/OpenOats/Settings/SettingsStorage.swift:54-66 | OpenOats/Sources/OpenOats/Settings/SettingsStorage.swift:68-79 \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":"OpenOats/Sources/OpenOats/Settings/SettingsStorage.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6098d23c95427702220cea11c8b949bde89bd9d497edccf081cccb1bd42e4ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): OpenOats/Sources/OpenOats/Storage/LegacySessionReader.swift:215-223 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1914-1922 \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":"OpenOats/Sources/OpenOats/Storage/LegacySessionReader.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"588b2de98ae999fad6014bd2ddc062d42f95cc74cedaa4939e06fbf0e8c96c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1258-1272 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1278-1288 \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":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2851c04846327abb8f7563c457068c25e670e90f44eeae8f406dc9112bc9ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): OpenOats/Sources/OpenOats/Views/ContentView.swift:625-638 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2415-2423 \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":"OpenOats/Sources/OpenOats/Views/ContentView.swift"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cc2dc7191608ca11dfe5c5046eb9a9a354d86d0f2d3570810bb3754d30824b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): OpenOats/Sources/OpenOats/App/LiveSessionController.swift:596-602 | OpenOats/Sources/OpenOats/App/NotesController.swift:1263-1269 | OpenOats/Sources/OpenOats/Intelligence/MarkdownMeetingWriter.swift:279-286 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab962acf1e94889391f67cd99881bde1f6bbba05e037f1cb11f5ba493aec49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): OpenOats/Sources/OpenOats/Storage/LegacySessionReader.swift:119-131 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1054-1064 \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":"OpenOats/Sources/OpenOats/Storage/LegacySessionReader.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f960c50e1522fb7b0bf5ed53864ecb4ab497757c9e13602ad4f15a84ddc7f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift:5-21 | OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift:23-38 | OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift:70-87 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5b16e8d4b45e87cbadf04685020ce5a466a737878c77fa3c67c4d9445ac192"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:491-496 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:486-491 \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":"OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f3ef78aea78a9a2a73d1854ab8190ebad31aef1f00f987f2ca5040e5a1e2fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1602-1614 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2257-2269 \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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3d3ce249cdb5c99fe5a8a1bdde6290908b9994c9bd378a977f63a984870e36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:599-605 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:904-912 \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":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dff1cba2357e70a97de1375a59b64797bdbec1bd7ffc02255e95ffcb68c371"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): OpenOats/Sources/OpenOats/Audio/MicCapture.swift:418-429 | OpenOats/Sources/OpenOats/Audio/MicCapture.swift:432-442 | OpenOats/Sources/OpenOats/Audio/MicCapture.swift:445-455 \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":"OpenOats/Sources/OpenOats/Audio/MicCapture.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"3058dde0ceb2434b23c7c36ba99a1e39c2473ea515700ff2fd314163cf6b957c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): OpenOats/Sources/OpenOats/App/LiveSessionController.swift:1446-1454 | OpenOats/Sources/OpenOats/Transcription/StreamingTranscriber.swift:405-413 \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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a705e645d49c35f9032b95e71b297093b4b62a911edfc3823800b93a78e5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:867-872 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1742-1747 \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":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a71d3a6dd01d254dd79f70794208a6828ee4928d854740376feb3ba1760de4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): OpenOats/Sources/OpenOats/Meeting/CameraActivityMonitor.swift:95-107 | OpenOats/Sources/OpenOats/Meeting/CameraActivityMonitor.swift:109-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":"OpenOats/Sources/OpenOats/Meeting/CameraActivityMonitor.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9f574184e56a53fd436114eab7dceb1c7a801c4a44461d9275b20dec41fd58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1749-1755 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1757-1766 \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":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"6192424d8858a6d3d078beeea00ff23d201e38f7bec54afb686ea2a161fdbb4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1964-1970 | OpenOats/Sources/OpenOats/Views/NotesView.swift:646-652 \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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bc3e9661b028cce36f81edf4d92b6fbe720ae19e7cc75b20e27011bd89956c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): OpenOats/Sources/OpenOats/App/NotesController.swift:914-926 | OpenOats/Sources/OpenOats/App/NotesController.swift:928-942 \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":"OpenOats/Sources/OpenOats/App/NotesController.swift"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8b39b47ac154d5e1a5d34bc7066774fca8ef3b506f95c4e28112dfd88baa63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift:89-99 | OpenOats/Sources/OpenOats/Utils/DiagnosticsSupport.swift:137-143 \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":"OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"23481f984ac92bc3545232f6b857e371e56874abd40953a0aa670c1b5124fd1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): OpenOats/Sources/OpenOats/Transcription/ParakeetBackend.swift:46-52 | OpenOats/Sources/OpenOats/Transcription/Qwen3Backend.swift:49-59 \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":"OpenOats/Sources/OpenOats/Transcription/ParakeetBackend.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb197e0675f3c2e646757964628f983567c74e19caeb89a9d3976038ef0b00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): OpenOats/Sources/OpenOats/Domain/Utterance.swift:84-91 | OpenOats/Sources/OpenOats/Domain/Utterance.swift:110-117 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Domain/Utterance.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89368391b84b532f1a90ffb4cfd2f48b50c89bb00abff68ba0c4b9593f6d27e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:253-271 | OpenOats/Sources/OpenOats/Views/NotesView.swift:423-434 \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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7eb5cae9522587ff4ebaa347175dd4a374e8effbb2a3692126c7f90555b5078"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:1865-1870 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:2323-2328 \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":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ac3a6c798c50a82ecc35343d3f9c3d227a2732fe9b51e033f276cb0f773515"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): OpenOats/Sources/OpenOats/Views/SettingsView.swift:406-417 | OpenOats/Sources/OpenOats/Views/SettingsView.swift:1076-1086 \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":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a37afefa46358f08fbc8ba3398f1a522c3529b56ac180346596070caf6f520"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): OpenOats/Sources/OpenOats/App/LiveSessionController.swift:1574-1578 | OpenOats/Sources/OpenOats/Audio/SystemAudioCapture.swift:136-140 \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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c9dfada7c53022b66ba7446db78452ca2b954820d663b3f0d9fd3923515516"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:498-501 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:497-500 \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":"OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"946bdb5ba7708158fa039903ccef4edabc15cf4394137a71c85eae52ec4184c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:315-320 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:373-378 \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":"OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d470291c7a1c6fb9e67a86d614a96875f7d4e28b135c7a69c5dd041c74b76b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:421-423 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:263-265 \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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a4c1dd570d3fcf8dcad4e194bd5a2475c0eddb7f9459689fd8ee8f80953ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift:82-86 | OpenOats/Sources/OpenOats/Transcription/CohereTranscribeArabicBackend.swift:33-37 \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":"OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c79e7d9ccedd69a9cc289201b1b2392163dd1f96b2e5692af590adc118f1d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): OpenOats/Sources/OpenOats/App/LiveSessionController.swift:591-594 | OpenOats/Sources/OpenOats/App/NotesController.swift:1271-1274 \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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6aef6eb7b5667e1b5ef3e2b47198d0c7498dc27c923d1ee3d494d20b664648"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): OpenOats/Sources/OpenOats/App/LiveSessionController.swift:615-618 | OpenOats/Sources/OpenOats/App/NotesController.swift:1287-1290 \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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"9919ffebece39d9afedf73009d281197c880c62580055a9d722fed444e390af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:486-489 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:481-484 \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":"OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3dea8015d96e426e44db268abb2e4d562d2d7032db0d86ddaf15a7d48c0e7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:451-454 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:302-305 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1490-1493 \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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f582d26897f6b81c94d2e418aab4d94acfb1268530e288a9f73baf377923fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:664-666 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:514-516 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:416-418 | OpenOats/Sources/OpenOats/Views/NotesView.swift:710-712 \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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb11cb96dc2666113719ee3bbff4cfb7122debe421aa51abbd1a8f5e352313c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (77 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1800-1876 | OpenOats/Sources/OpenOats/Views/NotesView.swift:739-815 \u2014 before extracting anything, compare \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift\u0060 and \u0060OpenOats/Sources/OpenOats/Views/NotesView.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 218 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 \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1800\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u006014\u0060 in one and \u006010\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":1800}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0496ec1732b3a9124c2e5d5365fc272d547361d62fbb5ad974fa0e2c46f7c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:502-552 | OpenOats/Sources/OpenOats/Views/NotesView.swift:517-567 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d6c8f4ca0fc301adbdbe24fe4831dcfc820d83a1d1a6387bfcb4d16a77a66e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:287-364 | OpenOats/Sources/OpenOats/Views/NotesView.swift:436-513 \u2014 before extracting anything, compare \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift\u0060 and \u0060OpenOats/Sources/OpenOats/Views/NotesView.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 218 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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7383bbca0aa70a8315ceb7bb77cf2beee7c97bca914db20f008eaf4bec4d3783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): OpenOats/Sources/OpenOats/App/LiveSessionController.swift:442-489 | OpenOats/Sources/OpenOats/App/NotesController.swift:685-732 \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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"a624d1cccd10e60c90560d1a9dd9ffb3deef4954d0494a834109b9a3e35891e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2830-2863 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2871-2904 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2830\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, \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2864\u0060 calls \u0060frame\u0060 and \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2905\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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c91a7e7c647f57fc1bf9fad9bb2b1a1678cc7ef9263cb63042fb21b7197a189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:601-635 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:372-406 \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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef57906abbab2ea58a298b4ef508d5ded7b83a1a998e5740b40fb7c1d770d6ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift:97-121 | OpenOats/Sources/OpenOats/Transcription/ElevenLabsScribeBackend.swift:67-93 \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 \u0060OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift:97\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":"OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4297406215d886dedbc056142a6eb9334f4108127e33e7435aad27a845395acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift:97-119 | OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:41-63 \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 \u0060OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift:97\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":"OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bbc82483ad036c110d5fdb38d8e206198b4698b7e74db18fc3d818a226c624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift:917-937 | OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift:983-1003 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift:917\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift:940\u0060 calls \u0060finishStream\u0060 and \u0060OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift:1005\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":"OpenOats/Sources/OpenOats/Transcription/TranscriptionEngine.swift"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcbf579c215859365811dd4a3d65e92254cc7fea08aa6fc24bbbf42ff1d14b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/ContentView.swift:603-623 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2393-2413 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/ContentView.swift"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"293ca5805213b5896bfe3b049e36e828d0e656ae9ad6db4db25394cdbc686f10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:668-687 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:518-537 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:885-904 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:420-439 | OpenOats/Sources/OpenOats/Views/NotesView.swift:714-733 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac665022169b240ea73d36c1980f334015f63dc5004525a0851b5b5a7474a82f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1326-1345 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1364-1382 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1326\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"602327781d4ba1a0ce64a23f9ea3a28d1d0f6be6e580c54e8061dbf1d5f2ffbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3260-3279 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3302-3321 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3260\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, \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3258\u0060 calls \u0060accessibilityIdentifier\u0060 and \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3300\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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":3260}}}],"partialFingerprints":{"codehealthFindingId/v1":"c450e2ffd350312521722e7fbc9fecb7d4adecb6cbc92e1d33e37aa1faac668f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/SettingsView.swift:752-770 | OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:380-399 \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 \u0060OpenOats/Sources/OpenOats/Views/SettingsView.swift:752\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":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"2320ca9d6eb6a069f94729373da1aa127c43e1cfde7541265d74ab7eb450bfcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:19-38 | OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:46-65 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:19\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":"OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbde4b7bd9ff3f5717b5af9d6c6dae724b230c19deb1eec81a66a0dc5affb47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift:11-30 | OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:14-33 \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 \u0060OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cd8d073912ceacbddba2a8565c824558a61e9f46121003c63d3c13903d84af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:1998-2016 | OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:2033-2051 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:1998\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":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50cf079c2c418ea355a1030de02878faf18e004911c325afeca0ffccf7ea5ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:937-955 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1057-1075 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:937\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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10530dc9b4666bc1f32a3c0c811bde93f74469cc24da66b4cace9c60ea85193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:232-248 | OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:458-473 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:250\u0060 calls \u0060StreamOutcome\u0060 and \u0060OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:475\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":"OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"de743aff4e461d60063caf70fc6df5135f9169d39c06e20e2c555820a9e88dbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): OpenOats/Sources/OpenOats/Intelligence/SidecastEngine.swift:399-415 | OpenOats/Sources/OpenOats/Intelligence/SuggestionEngine.swift:517-533 \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":"OpenOats/Sources/OpenOats/Intelligence/SidecastEngine.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4fefcd159ec7898cbc003ff3dad3c6fa9453a757dcaaa59e82d5a6d0c4b686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:741-756 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:973-989 \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 \u0060OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:741\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":"OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"edaad329806c944cd4caa9279da71c6730afaff7e4faf1615c3c460a23a34158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): OpenOats/Sources/OpenOats/Wizard/ConfirmationStepView.swift:14-29 | OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift:13-28 | OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:16-31 \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":"OpenOats/Sources/OpenOats/Wizard/ConfirmationStepView.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"980935dc3cf274631e97b97d56902a2e194d7bfd95627e17881c3d7fe4703bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): OpenOats/Sources/OpenOats/App/LiveSessionController.swift:1360-1375 | OpenOats/Sources/OpenOats/App/LiveSessionController.swift:1426-1441 \u2014 both copies are in the same file, so extract the block 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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ad73098b102e71798707cfcfddf246a1b944ef05658195ab1a7cadd620ab0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/MiniBarPanel.swift:18-32 | OpenOats/Sources/OpenOats/Views/OverlayPanel.swift:16-31 \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 \u0060OpenOats/Sources/OpenOats/Views/MiniBarPanel.swift:18\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":"OpenOats/Sources/OpenOats/Views/MiniBarPanel.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"94815e7fdbc6d7e7998cff2b08dab52b11241210045baa01bf31413d3113d8bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:77-92 | OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:104-119 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:77\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":"OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"76000c627d2d4813ab161669deca885397db485dcf69edb6c8843d7d2cb05853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1094-1108 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1126-1139 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1162-1175 \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 \u0060OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1094\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, \u0060OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1161\u0060 calls \u0060scheduleMirror\u0060 and \u0060OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1125\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":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"9524bdbb703347297135a6421e4e18d29c95925e819e85f1a85c57df18030901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2843-2857 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2884-2898 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3375-3389 \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 \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2843\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, \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2841\u0060 calls \u0060font\u0060, \u0060system\u0060, \u0060foregroundStyle\u0060 and \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3374\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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":2843}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f22403b48c0dcee8dbdbe3f243cec4f9745d14a80b3d57ed8f59fabd8de5870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:389-403 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:223-237 \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 \u0060OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"90aa9ac8e6bdc9e269b1f2352fc092018c660da6b6d122eecb488ecef7b233a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): OpenOats/Sources/OpenOats/Wizard/IntentStepView.swift:99-113 | OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift:175-189 \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 \u0060OpenOats/Sources/OpenOats/Wizard/IntentStepView.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":"OpenOats/Sources/OpenOats/Wizard/IntentStepView.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca6e02ab2653e9db0c5cb08d457f947a5d491cb1bd85bce6f3276d491cf4d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 3): OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift:94-105 | OpenOats/Sources/OpenOats/Transcription/CohereTranscribeArabicBackend.swift:45-56 | OpenOats/Sources/OpenOats/Transcription/ElevenLabsScribeBackend.swift:64-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift:94\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":"OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47cfe88e316560a39b49fcbd816b6f9f1f780d8e739d2a3a1bd380907382055"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): OpenOats/Sources/OpenOats/Wizard/IntentStepView.swift:127-140 | OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift:150-163 | OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift:207-220 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenOats/Sources/OpenOats/Wizard/IntentStepView.swift:127\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, \u0060OpenOats/Sources/OpenOats/Wizard/IntentStepView.swift:125\u0060 calls \u0060contentShape\u0060, \u0060Rectangle\u0060 and \u0060OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift:205\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":"OpenOats/Sources/OpenOats/Wizard/IntentStepView.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"032e9c3413c7f0e71be826ba75ab9974d3feafeab230f4a600e7ebee49723414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:941-953 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:996-1009 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:996\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":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c71a2e63641987c6335d96799532ddfe50acbc565b0704d21e5622905b569b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:521-532 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:758-769 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:995-1007 | OpenOats/Sources/OpenOats/Views/NotesView.swift:536-547 \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 \u0060OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:521\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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac344765b08f77cc956c2f71db492453e9e666edf58f0da951d1e1debbcc8c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:18-30 | OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:52-64 \u2014 both copies are in the same file, so extract the block 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":"OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf25790e222b840f819d6e833308806ecba34187c1a687bed30deabc1ed63d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:368-380 | OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:531-542 \u2014 both copies are in the same file, so extract the block 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":"OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadeb04693a2b3ec8dc604c29c75df3e6e642c27564947356eac0bd0574c8db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2626-2638 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3298-3310 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:2626\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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":2626}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c81152c0da393ef1819af5e89af37909daadfef674e73d3402b3c075d47ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/SettingsView.swift:785-797 | OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:410-422 \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 \u0060OpenOats/Sources/OpenOats/Views/SettingsView.swift:785\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":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dd85e9b175297e789eec6171970a6cad6b51d56800569f5af66436912cdfec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:29-40 | OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:56-67 | OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:83-94 | OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:110-121 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:29\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":"OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9529920b225b0507fd9934a6fc5040e0ceba797ccd5f757d2f0373bc06f1e50e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift:503-515 | OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift:1017-1028 \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 \u0060OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift:503\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":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"593f8a9f111f9c036eeb10948ee29ca787d825b734eb48ac0ca55f324eb8596a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift:549-561 | OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift:1056-1068 \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":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da52cc95edd6e7d0d792c597560530b205695dd4247c90afdfe1bc12b76ed15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:17-27 | OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:44-54 | OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:71-81 | OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:98-108 | OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift:125-135 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca631a46f75f08c2564a73162438a5deca7857a8b9851dc90fee682a07ba415a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:941-951 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1061-1071 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1087-1097 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1106-1116 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:941\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:953\u0060 calls \u0060menuStyle\u0060, \u0060buttonStyle\u0060 and \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1098\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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dc8b2f694e21b21a6ab7a6ff613ad46803b520e04bca667e5caf1306dcc303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:939-949 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:994-1004 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1169-1179 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"53983d898ad2575f68a934a5fc03c82fd797d1bbe23d04455f3fb2a7604e7cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): OpenOats/Sources/OpenOats/App/NotesController.swift:319-329 | OpenOats/Sources/OpenOats/App/NotesController.swift:472-482 \u2014 both copies are in the same file, so extract the block 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":"OpenOats/Sources/OpenOats/App/NotesController.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7870f3a86aa7ecf3ea9209b95a0b6477a53cf9bd3408607f3c762db5fe7fd78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:331-341 | OpenOats/Sources/OpenOats/Views/NotesView.swift:880-890 \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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd936fe9f8138e3f31d4734526cea9fdb989ddf78a62ec5b47161d1a907cd1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:637-648 | OpenOats/Sources/OpenOats/Views/NotesView.swift:575-586 \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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c9748e3848fc1ddc8c4a95bc15663f78f84aa84587beeef335d937407dbdaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:774-784 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:718-728 \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 \u0060OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:774\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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4e624fd86cf8588d6c231a06ef03ac19eefcf22aa52c1671880a3f9cdd0b44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1926-1937 | OpenOats/Sources/OpenOats/Views/NotesView.swift:821-832 \u2014 before extracting anything, compare \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift\u0060 and \u0060OpenOats/Sources/OpenOats/Views/NotesView.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 218 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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69b1bdd1e21ddd33a49692f5963e4530b7f62b472760b1a458f86d88c3326fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:938-947 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:993-1002 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1132-1141 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1168-1177 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9d2262133229c69bafcb4fac8f86a039497bacae77c4a91c5ece1375fbf161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:937-946 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1100-1109 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1131-1140 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1167-1176 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfd5fffbab804c9256eb3498cfb22fe426f3214620cebab5cdf59f51c4a3195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): OpenOats/Sources/OpenOats/Wizard/ConfirmationStepView.swift:84-93 | OpenOats/Sources/OpenOats/Wizard/IntentStepView.swift:74-83 | OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift:107-116 | OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:51-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 all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenOats/Sources/OpenOats/Wizard/ConfirmationStepView.swift:84\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060OpenOats/Sources/OpenOats/Wizard/IntentStepView.swift:84\u0060 calls \u0060accessibilityIdentifier\u0060 and \u0060OpenOats/Sources/OpenOats/Wizard/LanguagePrivacyStepView.swift:117\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":"OpenOats/Sources/OpenOats/Wizard/ConfirmationStepView.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3250e4e1b9e64990de2b1985561e9dbf8fb2cd742c0f220bf60bd1b223e088c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): OpenOats/Sources/OpenOats/App/LiveSessionController.swift:604-613 | OpenOats/Sources/OpenOats/App/NotesController.swift:1277-1285 \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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"93213d37bafa5d49f2e55bcfaba586a081f79fda569e0104b7affa9a3bf21cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): OpenOats/Sources/OpenOats/App/NotesController.swift:963-971 | OpenOats/Sources/OpenOats/App/NotesController.swift:1015-1024 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/App/NotesController.swift:963\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":"OpenOats/Sources/OpenOats/App/NotesController.swift"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"24eca9f3e2c71eee155ce6edf3205ca32fc8d3c0c26d58de988e4785852efac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): OpenOats/Sources/OpenOats/Settings/SettingsStorage.swift:85-94 | OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:2137-2145 \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 \u0060OpenOats/Sources/OpenOats/Settings/SettingsStorage.swift:85\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Settings/SettingsStorage.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9d0851b3ec7655c4bd866d64f41ddc017601eb09f8a74c414595b3c18eaabf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3623-3632 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3886-3895 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3623\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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":3623}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6a24e4f804cd4ca0d994332bd1dce70828437de13570863b4a716bf311324c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:79-88 | OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:250-259 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u00604\u0060 in one and \u00608\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d9c036ba0e0b0d91c048e2fba68e7a8ed7c3d38e9534c4ead93ceeadee035b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:118-126 | OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:154-162 | OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:184-192 | OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:214-222 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift:118\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":"OpenOats/Sources/OpenOats/Wizard/ProviderSetupStepView.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b87f6cdbd3a2a247dc9cffe98d4cb985ace50fc0b5d36f32c86c806828c418f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift:145-153 | OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift:156-164 \u2014 both copies are in the same file, so extract the block 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":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4cbd6a77eedbe0eb90892e43781767156cc19ba0095b62817da08ecf35d9bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:289-297 | OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:320-328 \u2014 both copies are in the same file, so extract the block 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":"OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"674d6428985b47cd5d340404bc4380101a62f920e04a53d8ffdd271c82a3e09d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/SidecastPanelContent.swift:207-215 | OpenOats/Sources/OpenOats/Views/SidecastSettingsTab.swift:416-424 \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 \u0060OpenOats/Sources/OpenOats/Views/SidecastPanelContent.swift:207\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":"OpenOats/Sources/OpenOats/Views/SidecastPanelContent.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e82b83b2013ef8cc616e9452e790e112cbdee51a8a00e72a92ed8b444543d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20139 lines \u00D7 3): OpenOats/Sources/OpenOats/Views/SidecastSettingsTab.swift:96-104 | OpenOats/Sources/OpenOats/Views/SidecastSettingsTab.swift:106-114 | OpenOats/Sources/OpenOats/Views/SidecastSettingsTab.swift:115-119 \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 \u0060OpenOats/Sources/OpenOats/Views/SidecastSettingsTab.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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060OpenOats/Sources/OpenOats/Views/SidecastSettingsTab.swift:96\u0060 calls \u0060textFieldStyle\u0060 and \u0060OpenOats/Sources/OpenOats/Views/SidecastSettingsTab.swift:115\u0060 does not \u2014 after which the two agree again for 5 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":"OpenOats/Sources/OpenOats/Views/SidecastSettingsTab.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb8203e29e49ffe9d807449b690671ac6e27cf85eec5f98ec5f46bdf7db751a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): OpenOats/Sources/OpenOats/Storage/LegacySessionReader.swift:216-223 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:1915-1922 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Storage/LegacySessionReader.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"847d939b83f1d9a590c6098bae784b995174a72d85bb12e96008c16d48e105fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): OpenOats/Sources/OpenOats/Transcription/CohereTranscribeArabicBackend.swift:172-179 | OpenOats/Sources/OpenOats/Transcription/ElevenLabsScribeBackend.swift:301-308 \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 \u0060OpenOats/Sources/OpenOats/Transcription/CohereTranscribeArabicBackend.swift:172\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":"OpenOats/Sources/OpenOats/Transcription/CohereTranscribeArabicBackend.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6eb36571bec22a30e31cedd4f869e629b70b168a4fdb84fbc134580b9072809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:846-853 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:502-509 \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":"OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"27adbc93402f946746c2c95d9bf2b7fe707972e66495c7323430113952f0f674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:639-645 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:411-417 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:386-392 | OpenOats/Sources/OpenOats/Views/NotesView.swift:577-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 all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9a40e068315a37f9762a459df25ebcb0656f5bcecfe67c4225670a902abc13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:225-232 | OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift:361-368 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"105a0f8c94d72d0f835e8d885a5349fdfcdfbee3254c1060af1e67749b07a179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3797-3803 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3804-3810 \u2014 both copies are in the same file, so extract the block 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 \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3797\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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":3797}}}],"partialFingerprints":{"codehealthFindingId/v1":"267591252e81909171ec9b37802463138cd61849d97cdf99280381c20dadfae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift:494-499 | OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift:1007-1013 \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 \u0060OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift:494\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":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"316d2797ff76bbfc008c4763d809ac4a02894c88bb4d4182d7553a3e1d657918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:2072-2077 | OpenOats/Sources/OpenOats/Settings/SettingsStore.swift:2078-2083 \u2014 both copies are in the same file, so extract the block 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":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":2072}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fc79fea1172ae969d7a3be43d78a8598d3081d044470536fd5e4f2fcd66c2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:532-537 | OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:566-571 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060ImportedSessionConfig\u0060 in one and \u0060ManualTranscriptSessionConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:540\u0060 calls \u0060appendingPathComponent\u0060, \u0060createDirectory\u0060 and \u0060OpenOats/Sources/OpenOats/Storage/SessionRepository.swift:573\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"436fc5f03a7d917c9706e9a2261232354457bbcbaecc99093845ae85850e0885"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift:110-114 | OpenOats/Sources/OpenOats/Transcription/ElevenLabsScribeBackend.swift:82-86 | OpenOats/Sources/OpenOats/Transcription/ElevenLabsScribeBackend.swift:148-152 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift:110\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, \u0060OpenOats/Sources/OpenOats/Transcription/ElevenLabsScribeBackend.swift:153\u0060 calls \u0060String\u0060, \u0060Data\u0060, \u0060prefix\u0060 and \u0060OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift:115\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":"OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fd940781e34c2710bd809d05bc2d9d9382f1c57c57b535ec30d2ea6c30e4de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3796-3801 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3803-3808 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:3810-3815 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":3796}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5f6a22f0265da7728338188eae0f02bcb2f71d64aa5d6e6540fb6815bfc018"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift:543-547 | OpenOats/Sources/OpenOats/Transcription/BatchAudioTranscriber.swift:1050-1054 \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":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3c136a635c7fb87d6493e92bde0f1cc66979d2fddf3b1f71bb3f03516ce3ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): OpenOats/Sources/OpenOats/App/LiveSessionController.swift:629-635 | OpenOats/Sources/OpenOats/App/NotesController.swift:1297-1303 \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":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"9befd2825f4db80cb53434a370cea33c3b12d8dd5cb902158d88c74b9361e4f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): OpenOats/Sources/OpenOats/Views/CalendarSettingsView.swift:461-470 | OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:456-465 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:291-300 \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":"OpenOats/Sources/OpenOats/Views/CalendarSettingsView.swift"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fec807993f283fb150a4561614ced1ac89d1a3bf27698b46af4ef20bc9aabf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:425-436 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:267-278 \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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"800b9bf331f263a499e86c09efc34ac446228befa114e6ebef7e808e7b26113e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:438-449 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:280-289 \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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cdb12a1ed646069805cef62982dd55843525d8af739c05a90d28d0ec45ced8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:554-558 | OpenOats/Sources/OpenOats/Views/NotesView.swift:569-573 \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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d34a47b07153de2e97aee10ec64429a7d2315f237b1899c0c5aa8970a8661c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:657-662 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:503-508 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:855-860 | OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:409-414 | OpenOats/Sources/OpenOats/Views/NotesView.swift:703-708 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:510\u0060 calls \u0060folderDisplayName\u0060, \u0060folderDefinition\u0060 and \u0060OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:664\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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"babf05567b3de545c5c0135bfa5b8f7e6cf1d6c44929973f55dee8e8edb63652"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift:863-869 | OpenOats/Sources/OpenOats/Views/IdleHomeDashboardView.swift:831-837 \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":"OpenOats/Sources/OpenOats/Views/HomeTimelineWorkspaceView.swift"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4e54b9e95898f478d1057feb265324e69fe082bcd24ce03eb7016ad6050014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift:1897-1901 | OpenOats/Sources/OpenOats/Views/NotesView.swift:411-415 \u2014 before extracting anything, compare \u0060OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift\u0060 and \u0060OpenOats/Sources/OpenOats/Views/NotesView.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 218 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":"OpenOats/Sources/OpenOats/Views/MeetingDetailPane.swift"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"be55691fac4640f116f0f5b2480c3a38e0d2c35dfdcb64f583872632d4027a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): OpenOats/Sources/OpenOats/App/LiveSessionController.swift:597-602 | OpenOats/Sources/OpenOats/App/NotesController.swift:1264-1269 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/App/LiveSessionController.swift"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6634c481d9b3489ca0887a812fcaed3d5fb8a0b08785476a87b27a158ad028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): OpenOats/Sources/OpenOats/Intelligence/SidecastEngine.swift:376-382 | OpenOats/Sources/OpenOats/Intelligence/SuggestionEngine.swift:711-717 \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":"OpenOats/Sources/OpenOats/Intelligence/SidecastEngine.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d995d3da01bcd2fe00fafd1688fb48ca6a04b1baa936e0118b9b9dc76229856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): OpenOats/Sources/OpenOats/Views/ContentView.swift:562-566 | OpenOats/Sources/OpenOats/Views/TranscriptWindowView.swift:43-47 \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 \u0060OpenOats/Sources/OpenOats/Views/ContentView.swift:562\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":"OpenOats/Sources/OpenOats/Views/ContentView.swift"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d820ee0bc62c62ee341df83557634eae5461d2b7ada6dc5fcc68ac8425c5637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): OpenOats/Sources/OpenOats/Wizard/OllamaSetupClient.swift:29-33 | OpenOats/Sources/OpenOats/Wizard/SetupSnapshot.swift:98-102 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"OpenOats/Sources/OpenOats/Wizard/OllamaSetupClient.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"164850e18edc2385c937903e441b0c1ff10bc1ef8cce5076ef382bf9cf958a73"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OpenOatsKit: OpenOatsKit: abstractness 0.01, instability 0.00, distance 0.99 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dab3c5337d9cd37ca227743fd25afc06b357bed58d3ba0202bc10f63a1985ecc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppCoordinator (LCOM4 6): AppCoordinator\u0027s methods fall into 6 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 6 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":"OpenOats/Sources/OpenOats/App/AppCoordinator.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11fe420d7aa94b860700c4909fdf17875be6dbc55bc1255fe1cf22bd99eb2d4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SettingsStore (LCOM4 5): SettingsStore\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":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"97332f7e14944249ed655cb248ff7ddb9ff6af36a4af68ce89c6a2547aa377cb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testStreamingWhisperTranscribesWholeRecording: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Tests/OpenOatsTests/StreamingWhisperReproTests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"139550809178040b39107a991f63643f9471f81e8374bf648eeeb8538998318f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testQwen3DisplayName: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Tests/OpenOatsTests/TranscriptionBackendTests.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f76abb0b481a851d3a574d6375714e314efe68e50c52de5ddada1e8624fd59"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testQwen3CheckStatusReturnsNeedsDownloadOrReady: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Tests/OpenOatsTests/TranscriptionBackendTests.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2416dedc79dd1ad9ef80e9bcfcbdae1b0938af5a59253664ec0b6829240248"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testQwen3TranscribeWithoutPrepareThrows: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Tests/OpenOatsTests/TranscriptionBackendTests.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0541e60d0aa83a19199464a5d3d10e4e69bab327c15b4799d9f1439567f6a0e8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStreamUsesUnboundedBuffering: This method\u0027s body runs code, and 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":"OpenOats/Tests/OpenOatsTests/MeetingDetectionControllerTests.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8673bc9faabab95e2758d0a3eebc493c2928422b1e67f73a91fdc78212bb026"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTypealiasCompiles: This method\u0027s body runs code, and 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":"OpenOats/Tests/OpenOatsTests/SettingsStoreTests.swift"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"7954de800767277db647848e9e471e41d12bc1b5dd22301544d87c3ae75fda64"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStorageTypealiasCompiles: This method\u0027s body runs code, and 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":"OpenOats/Tests/OpenOatsTests/SettingsStoreTests.swift"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"3823929fbac0423877e1fc56457053507b480f051e66af09bf092334999da623"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: OpenOats/Sources/OpenOats/Settings/SettingsStore.swift: OpenOats/Sources/OpenOats/Settings/SettingsStore.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in SettingsStore.init at line 1464. 1 of those changes was a fix/bug commit, and the other 6 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-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 15:47:14 \u002B03:00\u0027 --until=\u00272026-11-03 15:47:14 \u002B03:00\u0027 --full-history --no-merges -- OpenOats/Sources/OpenOats/Settings/SettingsStore.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad362fb25c9e0c0aa8db2adfe9985567b503374effd6a1a79dc9b428a65df52e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: OpenOats/Sources/OpenOats/Views/SettingsView.swift: OpenOats/Sources/OpenOats/Views/SettingsView.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in TranscriptionSettingsTab.body at line 459. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 15:47:14 \u002B03:00\u0027 --until=\u00272026-11-03 15:47:14 \u002B03:00\u0027 --full-history --no-merges -- OpenOats/Sources/OpenOats/Views/SettingsView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7a5553f946abc8a72fcbd0efdee442959b3bedf2b41d75d232277de0eb465f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: OpenOats/Sources/OpenOats/Views/ContentView.swift: OpenOats/Sources/OpenOats/Views/ContentView.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ContentView.contentWithLifecycle at line 283. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 15:47:14 \u002B03:00\u0027 --until=\u00272026-11-03 15:47:14 \u002B03:00\u0027 --full-history --no-merges -- OpenOats/Sources/OpenOats/Views/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":"OpenOats/Sources/OpenOats/Views/ContentView.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e286d6181feae36bfde0d0f0062b15f0303b195abee2015a90f0288c65ce5776"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift: OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in OpenRouterClient.streamCompletion at line 182. 2 of those changes were fix/bug commits, and the other 2 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-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 15:47:14 \u002B03:00\u0027 --until=\u00272026-11-03 15:47:14 \u002B03:00\u0027 --full-history --no-merges -- OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a43d97b449180ac7660761d95642773a671b4ce3841274481a9dff304ae3ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: OpenOats/Sources/OpenOats/Transcription/StreamingTranscriber.swift: OpenOats/Sources/OpenOats/Transcription/StreamingTranscriber.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in StreamingTranscriber.run at line 103. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 15:47:14 \u002B03:00\u0027 --until=\u00272026-11-03 15:47:14 \u002B03:00\u0027 --full-history --no-merges -- OpenOats/Sources/OpenOats/Transcription/StreamingTranscriber.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/StreamingTranscriber.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3412f0666c618d8db5c813ddac328939aac86227f582b45d37751ebf54a02a88"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 3 significant file(s) lose their only recent owner: OpenOats/Sources/OpenOats/Views/NoteAssetMarkdownParser.swift, OpenOats/Sources/OpenOats/Transcription/CloudTranscriptCopy.swift, OpenOats/Sources/OpenOats/Views/OpenOatsProminentButtonStyle.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"337156d05e425edb386ef2a23f06c4305202cb8b9e791ae20ba2931d477f791e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: OpenOats/Sources/OpenOats/Views/MiniBarContent.swift, OpenOats/Sources/OpenOats/Intelligence/RealtimeGate.swift, OpenOats/Sources/OpenOats/Transcription/ModelHubEndpoint.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ac20403cdf063456a4e8428bfb736148040ba6e0b0c333bf2354b9d18473a5bf"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (11 single-owned of 106 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 106 of the 133 production source files in this repository met that bar). They are anonymized user #3 (2 file(s)), anonymized user #4 (2 file(s)), anonymized user #5 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: OpenOats/Sources/OpenOats/Views/SelectableTextFlow.swift, OpenOats/Sources/OpenOats/Views/ContentExporter.swift, OpenOats/Sources/OpenOats/Storage/MirrorAttemptLedger.swift, OpenOats/Sources/OpenOats/Meeting/SpeakerNameSeeder.swift, OpenOats/Sources/OpenOats/App/MenuBarNextMeeting.swift."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"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 \u0060OpenOats/Package.swift\u0060 makes this repository a deployable product (line 13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Package.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d015d46d3e4eac0abdce88e951178fed4af75e0733ee408dedb28491c4ec71"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 3 project(s) overshoot their size bounds, lowering Project Cohesion to 3.3/10. The most over is \u0060OpenOats\u0060 (40811 LoC, 376 module-visible types across 14 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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":"9117b7c60572d30cba74f7eb99adb0fc3f8ad6aff562c2280899be01a8166c4d"},"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":"b45a216615e6434ee59ad91cf770f317d18823628db1094662ba7b2d0e89aaff"},"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":"5faeff568f047a00c562ab0a92f6920c293c1a28bea43da4a4bf353b2029bb85"},"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"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a289d99ce291a6490cdc276eaa8a9be5cb7a47fc707b09cb6bbc97966059c56"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b79bbf1f4b7d79ef0952a7c8aaf984b1bb6b305723585ce9c6c638b43ec082f"},"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":"73cf34b8c639fc307fe0abe8e08b76b71901ba8b06cd8faea04967b603d4cd0c"},"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":"3135b8be878b99df5513df0f5d3ca0ea6611e7a18eb335f172ad011bf146afc1"},"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":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94bd34366d6097b3b242336f731a958d5aa91622bc9c39fa4dd862120184840b"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56926f301bfdac6a2eeaa4d4727128d1dbba6ee799ab5d637897da99b38bb3cf"},"properties":{"dependency":{"package":"shell-quote","version":"1.8.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9fd354452b7f1deee3d239def1091277266c3890cbcb5ec4bfbe9b100bfd2c5"},"properties":{"dependency":{"package":"body-parser","version":"1.20.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2434fa24fa790fcc488821fead54ecefad8db3f983a3f8eff3053ab8c20bfe95"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1bcd171ae5fac142151ea723ed9bc05a6757c461442677a3bdbe2a70dc17b8c"},"properties":{"dependency":{"package":"postcss","version":"8.5.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74834d7e84f08a6518c606e72bbe26d0b90ee7e33892068ac8b4868f8224706a"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2faca4d7504825ccab4126bfd18f4e2b37f250100f77331065762de83a2dedc2"},"properties":{"dependency":{"package":"vite","version":"6.4.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"tools/sidecast-debug/vite.config.ts","line":1}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f94a177c9133e3a03c8da6ae9cdce3c73e2486a35b34a6481632647f405e7df"},"properties":{"dependency":{"package":"github.com/sparkle-project/Sparkle","version":"2.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bbbdb28d6ac96cd9fdcf633e085e6b357799c32b199899593830c334d35706a"},"properties":{"dependency":{"package":"github.com/sparkle-project/Sparkle","version":"2.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"291557b40a5aea4ee5fefddd6199ff412fe130bada631d2987afe16be77e27bb"},"properties":{"dependency":{"package":"qs","version":"6.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b10276baea557a442827c9c5caf26efd064044e967c934746658642f15feec0e"},"properties":{"dependency":{"package":"esbuild","version":"0.27.7","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 9 of 106 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 106 of the 133 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: OpenOats/Sources/OpenOats/Meeting/AppleNotesService.swift, OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift, OpenOats/Sources/OpenOats/Wizard/ConfirmationStepView.swift, OpenOats/Sources/OpenOats/Wizard/OllamaSetupClient.swift, OpenOats/Sources/OpenOats/Views/RecordingConsentView.swift, OpenOats/Sources/OpenOats/Wizard/SetupWizardView.swift, OpenOats/Sources/OpenOats/Wizard/WizardTypes.swift, OpenOats/Sources/OpenOats/Views/CalendarEventViews.swift (and 1 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Meeting/AppleNotesService.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb70d0b19a8afc4f6b5513dfbadbf04b9b985552a43cd6603ee18ae3fca5253"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"953aa0777c9d68185f1dd1a1dbf797d0d9ed473e1697c42bc4843b1d6ddaf089"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Wizard/ConfirmationStepView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba4f3506cd322b91dd73199bff462d6cb33493d8648c58727a8ccca0e2ee5bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Wizard/OllamaSetupClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc4fc2a8564b6cc9943605a3a5b4590278323fee378c04fae995060e7767fa8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/RecordingConsentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5175cc8bbe9137e35eb6c359f5fb13df003f84b60aa7b873067bf799351f997a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Wizard/SetupWizardView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c32ea13be0e07712df7592faec58fcb2b84688dbbedb47470b56a2e935dae6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Wizard/WizardTypes.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac2fd807837cda2f56b93b8b29f4e1f1fb5c216105328b61b688662161d45f8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/CalendarEventViews.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"914acdd62175a675267ed5c1ec6f14287921f2a407337958550ddbab470aed6c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Transcription/WAVEncoder.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bead94c6c07d5fb5b8db36709b5b5a86c32ca550fc6c3e72dfe7f7f165f57a2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: SettingsStore.swift \u2192 MeetingDetectionController.swift, KnowledgeBase.swift, NotesEngine.swift, SuggestionEngine.swift, NotificationService.swift, SettingsView.swift: \u0060OpenOats/Sources/OpenOats/Settings/SettingsStore.swift\u0060 changes together with 6 other files \u2014 \u0060OpenOats/Sources/OpenOats/App/MeetingDetectionController.swift\u0060, \u0060OpenOats/Sources/OpenOats/Intelligence/KnowledgeBase.swift\u0060, \u0060OpenOats/Sources/OpenOats/Intelligence/NotesEngine.swift\u0060, \u0060OpenOats/Sources/OpenOats/Intelligence/SuggestionEngine.swift\u0060, \u0060OpenOats/Sources/OpenOats/Meeting/NotificationService.swift\u0060, \u0060OpenOats/Sources/OpenOats/Views/SettingsView.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 6 separate couplings, not 6 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 6."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Settings/SettingsStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4935d27e728e92a54a5e837c985d78a22a2b3595b92af5aebfa80f9749c73cd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: SettingsView.swift \u2192 MeetingDetectionController.swift, SuggestionEngine.swift, NotificationService.swift: \u0060OpenOats/Sources/OpenOats/Views/SettingsView.swift\u0060 changes together with 3 other files \u2014 \u0060OpenOats/Sources/OpenOats/App/MeetingDetectionController.swift\u0060, \u0060OpenOats/Sources/OpenOats/Intelligence/SuggestionEngine.swift\u0060, \u0060OpenOats/Sources/OpenOats/Meeting/NotificationService.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Views/SettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbce46d23d64d8c40946219a2e8421c1365d6d4d934ba10db920f9a1d951e099"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/openoats-hype.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f04a811ad94ab4782aba4a6b5860dabe2e0750450eaddb9a0ffae43a1f35bc4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#start .pb\u0060 moves (\u0060transition: transform .2s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/openoats-hype.html"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d10d5a17ca6d0da9f678b45606e36a32ccc09050e6910645793e0cee3700a9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.5:1): \u0060#shareF div\u0060 sets color: #fff on background-color: #ff3b30 \u2014 3.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/openoats-hype.html"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"346278851552b0c227758fc09e3846c10166204bf2063b60ba277b28b3bdf9f2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.4:1): \u0060.model\u0060 sets color: #77777f on background-color: #26262b \u2014 3.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/openoats-hype.html"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba5927043dd3e60090ce83e7cb5813ce111480afde33b6c535c55a6b85c2109"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.8:1): \u0060#aq\u0060 sets color: #fff on background-color: #5b9bf5 \u2014 2.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/openoats-hype.html"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cf0e0b568fe727901dd3627ce80d1e426416644ddbd9dc5bb38851b5569bb8"}},{"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 4 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/package-smoke.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060tools/sidecast-debug/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/sidecast-debug/package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cae38992c206293eea1c681a691272845b6d8d591a7607e6d8302684393f57"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060bufferStream\u0060 is async and calls usleep \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Audio/SystemAudioCapture.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c26b64a3fd86600e64f410324a1e65254ddcafdb89d9dc06ee6d376287dee6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unifiedLogReport\u0060 is async and calls .waitUntilExit() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Utils/DiagnosticsSupport.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"965a65442f02a964b8aed59f93f7cc909e6e3d723e1d690ca1da3e4ebf660988"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): tools/sidecast-debug/src/ui.ts:705 \u00B7 tools/sidecast-debug/src/ui.ts:721 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/sidecast-debug/src/ui.ts"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac90d8f524def430b1851a76a19a77e1c4447f990c08f2a79dd4be367106a58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): tools/sidecast-debug/src/ui.ts:254 \u00B7 tools/sidecast-debug/src/ui.ts:263 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/sidecast-debug/src/ui.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4199d5cfe1d98554ab7caf567e41b4ca260c77ad15a0675d2e0bbfafe8cc48d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): tools/sidecast-debug/src/ui.ts:282 \u00B7 tools/sidecast-debug/src/ui.ts:355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/sidecast-debug/src/ui.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bb3a7d674ab787e86067fbd9e16bf6dd494b66e97a71489ee2ba55e2412ca4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): tools/sidecast-debug/src/ui.ts:486 \u00B7 tools/sidecast-debug/src/ui.ts:502 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/sidecast-debug/src/ui.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b55184857e537e9ffe0ee8657016bd12fb3f51ece1ea18ae1e4a38989e150d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: tools/sidecast-debug/server/transcript-proxy.ts:3 imports youtube-transcript/dist/youtube-transcript.esm.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/sidecast-debug/server/transcript-proxy.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"289e693cdedb75c46a229053f1e20950e97d4129617940b7922cf32adecd4b01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callLLM (cyclomatic 20, cognitive 26): callLLM has cyclomatic complexity 20 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/sidecast-debug/src/sidecast.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53e571631ba5020bed6ae1d5a3dc59be107d759ef7e4c22bf3fe71187d1e291"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterAndRank (cyclomatic 15, cognitive 23): filterAndRank has cyclomatic complexity 15 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/sidecast-debug/src/sidecast.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c642fdaaeb3fa485db4260af785bf5add9dbc526f05f2efb0cf67c1cc22e89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderDebugLog (cyclomatic 13, cognitive 25): renderDebugLog has cyclomatic complexity 13 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/sidecast-debug/src/ui.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"4801b6c397b32bcdb907765eeab4e3f3fdfb21454f3b78850353cefddbcda582"}},{"ruleId":"R3","level":"warning","message":{"text":"tools/sidecast-debug/src/ui.ts: 656 lines of code: tools/sidecast-debug/src/ui.ts has 656 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/sidecast-debug/src/ui.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bf0c2b13817c8f373ff741fb3bb4df2f9edb9656f00e3dbb7dc65c9f99f1bf"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc8e67e81453cf5399dd04786d18b232180426b135169175fee670bdd83ccb03"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getSummary\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/sidecast-debug/src/transcript.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f9d0c8be5eee0a7862c44d65d0c2dbe20517cba231bc9ad1c78e9bae18f936"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027fieldToggle\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/sidecast-debug/src/ui.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"729b366540772ad2d1e604592443db8dca5f8bf440a9ecfbef502098e63c3b96"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060http.statusCode == 401 || http.statusCode == 403\u0060 appears character-identically in 4 files \u2014 OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift, OpenOats/Sources/OpenOats/Transcription/CohereTranscribeArabicBackend.swift, OpenOats/Sources/OpenOats/Transcription/ElevenLabsScribeBackend.swift, OpenOats/Sources/OpenOats/Wizard/APIKeyValidator.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":"OpenOats/Sources/OpenOats/Transcription/AssemblyAIBackend.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf85cac939921414ac8aa777288c6c64cc93821f00f27a8761591723d8060a8"}},{"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":"OpenOats/Sources/OpenOats/Wizard/WizardViewModel.swift"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ace1e3356c39cd30f1c84cc23ed233848e600dccbce9f73040b24a37e1dc02"}},{"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":"OpenOats/Sources/OpenOats/Transcription/OpenOatsLocalModelStore.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b9b347d69a4abd3ab65b80f64787888ebe79acb460e16a0efc74e042c7a4ed"}},{"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":"OpenOats/Sources/OpenOats/Meeting/CalendarManager.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed31be65a3bf28d23f28005d82f9d4957a4128a2e39db55b3a2e38530310de7"}},{"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":"OpenOats/Sources/OpenOats/Meeting/NotificationService.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe9bc100ed85fcea4476d2a4e43cea1ce1e1c539da7afaeb8422a037da6d89a"}},{"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":"OpenOats/Sources/OpenOats/Meeting/NotificationService.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f94920237989d4afc2f4cab10d061e371483857343f9a204550b78ed7da115"}},{"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":"OpenOats/Sources/OpenOats/Meeting/NotificationService.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3461cea84016cbc83d99f6df81d74348e8f2e139b3cf71d763e3ce15f74cd285"}},{"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":"OpenOats/Sources/OpenOats/Intelligence/OpenRouterClient.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ae58ef085e121ad3f8c57895747dedf5f8244446838ee2ec86b5c1e3c63759"}},{"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":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6649a92fa6a8c775707b52d98a8786fee4b5b5ff88478e9077aabfeac2185d"}},{"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":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2a956a9d5700e263a5b20b7059264a6586360ebd4f886cc4b316a0995e1d49"}},{"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: \u0060readAllMono\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":"OpenOats/Sources/OpenOats/Audio/AudioRecorder.swift"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85df459ece1ce789e4b34a577b9e58b49095f0c9cf733b193e2141e0b28f229"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060detectedURLs\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":"OpenOats/Sources/OpenOats/Meeting/CalendarManager.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e727e551db9a955ed55c7dc035b9ec64fbb703bd0ff91a05057a0c08d6b86f7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listSessions\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":"OpenOats/Sources/OpenOats/Storage/LegacySessionReader.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c06f9d2757feb659d27a2073a5b985388729e4135070745a976b0b52503ac5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadLiveTranscript\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":"OpenOats/Sources/OpenOats/Storage/LegacySessionReader.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"000b1af4251f4dba0e103d4bdde81f22fb5b8c31534c43d6f8d217e94937c4ef"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadScratchpad\u0060 turns every thrown error into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"c511472ede2eb4d077e3231f5bf10e65c2c8cde0292f11e19f0975406e98cd8d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listSessions\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":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf05beb6731c8a28c51a8c68489d19af28eca6d8a78c58222622f3dfc11229f9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060scanPendingMirrorSessionIDs\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":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":2038}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abcc20ec1e982888dc5e5273a0120105347a3ac880f57ddb8658f2473aa27fb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060referencedMirrorAssetPaths\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":"OpenOats/Sources/OpenOats/Storage/SessionRepository.swift"},"region":{"startLine":2221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d726a0710b99f4f1df98efb1aa1d1e5218dbac091b52d7d7ba9b99d5d001a26"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadContents\u0060 turns every thrown error into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenOats/Sources/OpenOats/Utils/DiagnosticsSupport.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c79d0724300f9d3f52d7d358ec548c4803475cfa2a446043b47923181f1e2d8"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":23,"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."]}]}